Sjoerd Langkemper

Results 204 comments of Sjoerd Langkemper

This happens when the Growatt API returns a valid JSON response indicating that the login attempt was not succesful. This usually happens when the username or password is incorrect. Please...

Thanks for reporting this. Can you still use the mobile app? How would the app know to connect to the other server?

It seems that the app determines the server from the username, using the following request: https://server-api.growatt.com/newLoginAPI.do?op=getServerUrlByName&userName=username

Thanks, @Peterpc58. This is kind of hard to test for me, since my environment only has one inverter. Could you try out the new `get_all_device_list` function?

I added the `get_all_device_list` on a separate branch. First, you have to switch to that branch, using git. If you haven't got a git repo yet, clone it like this:...

[Indy Koning's Growatt script](https://github.com/indykoning/PyPi_GrowattServer/blob/master/growattServer/__init__.py#L156) uses `newPlantAPI.do?op=getAllDeviceListThree`, while I use `newTwoPlantAPI.do?op=getAllDeviceList`. It would be interesting to compare these.

The client performs a request to the server. The server sends a response. The client expects that response to be [JSON](https://en.wikipedia.org/wiki/JSON), but it isn't, so you get a JSONDecodeError. I...

I may have a fix: https://github.com/Sjord/growatt_api_client/pull/24 Could you test it?

I have merged that PR and made [a new release](https://pypi.org/project/growatt/0.0.4/).

Thank you for the feedback. I am sorry to hear that you have problems logging in. Unfortunately, the server doesn't give much information on what goes wrong, so this is...