PyPi_GrowattServer icon indicating copy to clipboard operation
PyPi_GrowattServer copied to clipboard

Error when using inverter_id

Open WynandPrivate opened this issue 4 years ago • 6 comments

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())

WynandPrivate avatar Sep 11 '20 06:09 WynandPrivate

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

indykoning avatar Mar 06 '21 13:03 indykoning

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.

orson1282 avatar Apr 19 '21 15:04 orson1282

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

indykoning avatar May 18 '21 19:05 indykoning

Hello! Encountering the same issue:

  1. Get inverter ID with api.device_list(plant_id), confirmed deviceType='inverter'
  2. Using deviceSn from step one in api.inverter_data gives {'msg': '501', 'success': False}

yeeyangtee avatar Dec 18 '21 07:12 yeeyangtee

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

indykoning avatar Dec 21 '21 20:12 indykoning

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?

iagomachadoeng avatar Feb 19 '22 11:02 iagomachadoeng