-
Notifications
You must be signed in to change notification settings - Fork 28
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
Log in problems - again #37
Comments
Hello,
Does anyone know if something has changed in the login prosess or are requests not coming from the official app blocked? |
Hello, I can still login but keep getting "account locked" errors from time to time. I call the API once a minute. Nothing changed in the login process for me. |
Not working . I gave user id and password. Any one knows if we can get the token? growatt support doesnt know what i am talking about |
The login is working for me now with newLogin() at "https://server.growatt.com". But I also never got a reply from Growatt support. I don't have any hopes in them that they will ever reply to my query. |
is it using python code? can you share the code? |
I am using this class for a successful connection growatt.py |
same problem for days growatt.GrowattApiError: Request failed: <Response [400]> What can I do? I use the class from post olliebu... |
For me the request still works without Error-Response. |
Apologies - Have downloaded and installed. Updated as per advice in issue 32 and 30. Have tried all versions of server url (growatt-api.com, growatt-us.com and growatt.com - all with both https:// and http://) but I am still getting failed login. Any advice greatly received. I am trying to use my pi to create a power switch that turns on when the PV panels are generating sufficient power (to charge my EV)
(venv) rstedman@raspberrypi:~/growatt_api_client $ venv/bin/python3.9 -m growatt '{my-username}' '{my-password}'
Traceback (most recent call last):
File "/home/rstedman/growatt_api_client/growatt/init.py", line 71, in login
result = self._back_success_response(response)
File "/home/rstedman/growatt_api_client/growatt/init.py", line 157, in _back_success_response
raise GrowattApiError("Request failed: %s" % response)
growatt.GrowattApiError: Request failed: <Response [400]>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/rstedman/growatt_api_client/growatt/main.py", line 9, in
api.login(username, password)
File "/home/rstedman/growatt_api_client/growatt/init.py", line 76, in login
raise LoginError
growatt.LoginError
The text was updated successfully, but these errors were encountered: