-
Notifications
You must be signed in to change notification settings - Fork 33
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
What happened to currentPower #24
Comments
You are not the only one. Same problem here. Last correct reading was 8.45 CET |
Strange that the App is still working as expected. This suggests that they've possibly changed the API call that the App is making but the old one is still active. However, throughout today I've seen no issue with the readings either in the Growatt Android App, Growatt Website or my usage of this library (which is via the HomeAssistant plugin). |
Right, so I've had a bit of a play.
Which would give output something like this:
And you're referring to the Now, after a bit of investigation, I don't believe this value is used anywhere in the ShinePhone app - which explains why the app still appears to work. Personally, I have never used that value, instead I've queried the value from the API based on calls specific to my system. e.g. in the case of my system (a 'mix' system) see an extended version of the above script but with a call to
It would be good to know what Anyway, I'm happy to help out more if I can, if you can respond to some of the above I'll see what I can do. |
Hi, Thanks so far. My simplified code:
Output:
Regards, |
Thanks Derko. Looking at the logic we have in the Home Assistant plugin for "inverter" type systems you should be able to extend your code similar to mine from above, but for your own system:
That will print out ALL values for your 'inverter' system. All of the ones with 'ppv' in the name are to do with Wattage, you can see how they're mapped in the home-assistant plugin here: https://github.com/home-assistant/core/blob/dev/homeassistant/components/growatt_server/sensor_types/inverter.py Each You should be able to run that command now to check what it outputs and then run it again tomorrow when the sun is shining and compare it to the app to work out what the correct value is. Let me know your results. |
@Derko01 I ran my script again today and I can confirm that the
The API provides values for each PV group (I have two) and then the total is the combined amount. |
@muppet3000 It looks as if api-key pac (or pacr, because they show identical values) is what I am looking for. The value of these corresponds to "Huidig vermogen" that I see in the Android APP. |
No problem at all @Derko01 I think we should consider this bug as "fixed" now. |
How do I change Sjord's script to include pac or pacr in the output? |
Hi,
As of today the currentPower is constantly 0. (Not in the Growatt Android APP). But via my Pythoncode it is.
I used Sjoerd's plain Python-example for a couple of years now.
And now I found this package. But that also gives currentPower:0
Looks like a problem in the Growatt-API?
Anybody same problem?
Thanks in advance,
Derko
The text was updated successfully, but these errors were encountered: