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

Sporadic missing value for currentpower #20

Closed
LuFo27 opened this issue Jan 10, 2022 · 5 comments
Closed

Sporadic missing value for currentpower #20

LuFo27 opened this issue Jan 10, 2022 · 5 comments

Comments

@LuFo27
Copy link

LuFo27 commented Jan 10, 2022

The API sporadically shows 0 W currentPower despite the system running.
The correct value is displayed on the website.
I use the following calls. Does anyone else have the problem besides me?

login_response = api.login("xxxxx", "xxxxxxx")

plantdata = (api.plant_list(login_response['user']['id']))
print(str(plantdata))

{'data': [{'plantMoneyText': '3.8 (€)', 'plantName': 'xxxxx', 'plantId': 'xxxxxx', 'isHaveStorage': 'false', 'todayEnergy': '0.1 kWh',
'totalEnergy': '12.8 kWh', 'currentPower': '0 W'}], 'totalData': {'currentPowerSum': '0 W', 'CO2Sum': '5.12 T',
'isHaveStorage': 'false', 'eTotalMoneyText': '3.8 (€)', 'todayEnergySum': '0.1 kWh', 'totalEnergySum': '12.8 kWh'}, 'success': True}

Thanks and best regards

@Derko01
Copy link

Derko01 commented Mar 8, 2022

Ah, I just posted a similar problem. However, as of today it is not sporadic!

@muppet3000
Copy link
Contributor

Hi, sorry, I've got no idea how I missed this back in January. Looks like it's now been replicated in #24 though. So let's continue the conversation in the most recent ticket.

@muppet3000
Copy link
Contributor

See #24 for 'fix' for this.
This ticket can be closed as a duplicate.

@LuFo27
Copy link
Author

LuFo27 commented Mar 9, 2022

Hello!
I adjusted my script as described in issue #24
For the moment it works. Hopefully this will permanently fix my problem.
Thank you all!

@LuFo27 LuFo27 closed this as completed Mar 9, 2022
@muppet3000
Copy link
Contributor

Fixed until Growatt decide to change something else on the API at least :)

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

No branches or pull requests

3 participants