PyPi_GrowattServer icon indicating copy to clipboard operation
PyPi_GrowattServer copied to clipboard

Server name changed?

Open oene opened this issue 2 years ago • 3 comments

Hi,

Wasn't able to retrieve data using server-api.growatt.com using username and password:

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://server-api.growatt.com/newTwoLoginAPI.do

Changing the to server.growatt.com solved the issue for me.

__init__.py

class GrowattApi

    server_url = 'https://server.growatt.com/'

Regards,

Oene

oene avatar Mar 06 '23 13:03 oene

picking up on this, is it possible to change the default url to this? I'm having trouble getting my build to accept the change in the module.

bompaization avatar Mar 06 '23 14:03 bompaization

I am having the same problem. Manually hacking the init makes it work. We are waiting for this I assume?

mreferre avatar May 29 '23 16:05 mreferre

Fixed by https://github.com/indykoning/PyPi_GrowattServer/pull/77 @indykoning this issue could be closed

marcovtwout avatar Feb 14 '24 14:02 marcovtwout