PyPi_GrowattServer
PyPi_GrowattServer copied to clipboard
Error when using inverter_id
I'm trying to get details from my inverter, but the inverter ID I'm using is giving me the following error message:
{'msg': '501', 'success': False}
I'm using the inverter ID that is displayed on the web page of the Growatt server:
test = api.inverter_data('NAC5A142E4', datetime.date.today())
Could you try using the deviceSn that shows up if you run:
api.device_list(plant_id)
Maybe the alias (which is what shows up on the website) differs from the inverter ID
I have the exact same issue.
I used the deviceSn
that shows up when I run api.device_list(plant_id)
Also tried it with the deviceAilas
and the datalogSn
, I even removed the spaces I had in the alias, but the response is always
{'msg': '501', 'success': False}
Any help would be appreciated.
Are you certain it is only an inverter and not a different device? e.g. mix/hybrid, battery
You can do so by checking the deviceType
Hello! Encountering the same issue:
- Get inverter ID with
api.device_list(plant_id)
, confirmeddeviceType='inverter'
- Using
deviceSn
from step one inapi.inverter_data
gives{'msg': '501', 'success': False}
Hmm after some digging it could maybe be a username/password issue as well https://github.com/DiedB/Homey-SolarPanels/issues/105#issuecomment-654303602
Could you maybe try changing your password and see if this fixes the issue? Maybe they changed their way of storing passwords after you created your account
I'm trying to get details from my inverter, but the inverter ID I'm using is giving me the following error message:
{'msg': '501', 'success': False}
I'm using the inverter ID that is displayed on the web page of the Growatt server:
test = api.inverter_data('NAC5A142E4', datetime.date.today())
Same problem here, tested in 4 different inverters. I'd like to create a dashboard that integrate the day generation of each inverter in a month and report by email. Anyone got successful to get the daily generation of the month?