growatt_api_client icon indicating copy to clipboard operation
growatt_api_client copied to clipboard

I can't log in

Open allanpedroso opened this issue 4 years ago • 5 comments

even by putting username and password in single quotes the login exception is raised

allanpedroso avatar Jan 26 '21 19:01 allanpedroso

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 a little difficult to troubleshoot. The most common issue is that the username and password are incorrect. Can you log in to the web portal with the same credentials? Can you try modifying main.py and putting your username and password directly in there? E.g.

username = "allan"
password = "something"

Sjord avatar Jan 27 '21 09:01 Sjord

yes, in the portal i can login with the same data. The problem persists even if I pass the parameters directly to main.py :((

allanpedroso avatar Jan 27 '21 17:01 allanpedroso

Hmm, I am not sure what is going on in that case.

Sjord avatar Jan 28 '21 12:01 Sjord

Do you perhaps have an account on another server? Where do you normally log in?

Sjord avatar Feb 15 '21 07:02 Sjord

Had a similar issue trying to login using the command:

python -m growatt 'username' 'password' 

but when I replaced the simple quotes, by double quotes, like this:

python -m growatt "username" "password"

It works! No idea why. Maybe specific to some username formatting (my username has 1 capital letter & some numbers, but no special characters). Anyway, hope it helps allanpedroso

ntropy-esa avatar Mar 25 '22 17:03 ntropy-esa