Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New API calls #83

Closed
reyntjensw opened this issue Apr 9, 2023 · 9 comments
Closed

New API calls #83

reyntjensw opened this issue Apr 9, 2023 · 9 comments
Labels
Huawei Issue Issue with Huawei, contact Huawei

Comments

@reyntjensw
Copy link

Hi

I came across this post #68 (comment) and I am working on a similar integration for the Homey platform (https://github.com/reyntjensw/Homey-FusionSolar), where I am running into the same issue.

Some users are not able to use the plugin, because their account is to new.

What I was wondering is do you already have a use case for the api call ** getDevHistoryKpi**, I am not finding any examples online nor in the code base. Or did you get any feedback from Huawei?

Thanks in advance.

@tijsverkoyen
Copy link
Owner

Never got a decent response. Only some helpdesk person that did not know what he was talking about

I altered my code in https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/78/files to call the new endpoint if the “old” one fails.

@reyntjensw
Copy link
Author

Hi @tijsverkoyen thanks for the update.
I have the same feeling regarding Huawei support.

I tried some things but I was noticing that no data was coming in via the getDevRealKpi, did you find a workaround for this call?

@tijsverkoyen
Copy link
Owner

I should look into it. I don’t know for sure if I use that call in the integration. But I am on my phone at the moment. But I will check later

@tijsverkoyen
Copy link
Owner

@reyntjensw I was wrong. The integration does use getDevRealKpi but not getDevHistoryKpi.
I did not got any complaints (yet) that getDevRealKpi is not returning any data.

I think the best approach is to get in touch with Huawei support. Keep me posted please!

@tijsverkoyen tijsverkoyen added the Huawei Issue Issue with Huawei, contact Huawei label Apr 12, 2023
@tijsverkoyen
Copy link
Owner

@reyntjensw any update on this issue. Feel free to reopen this issue is you get any news.

@reyntjensw
Copy link
Author

Hi @tijsverkoyen just fyi I am looking at this https://github.com/jgriss/FusionSolarPy/tree/main.
At the moment I am getting a lot of support requests regarding the API and in my opinion it's not worth it.

If I can translate the FusionSolarPy to node and get it working, I'll migrate everything to that.

@reyntjensw
Copy link
Author

Thank you for the links.
The issue where I am running into is that at random times I get a 305 error, even tho, the session is still valid.

For most people the integration is working but is sometimes stuck for a unknown reason.
A lot of users also have issues with their api key that is expired or not setup correctly. (that is why I want to get rid of it)

@tijsverkoyen
Copy link
Owner

I know the feeling ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Huawei Issue Issue with Huawei, contact Huawei
Projects
None yet
Development

No branches or pull requests

2 participants