I can't log in
even by putting username and password in single quotes the login exception is raised
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"
yes, in the portal i can login with the same data. The problem persists even if I pass the parameters directly to main.py :((
Hmm, I am not sure what is going on in that case.
Do you perhaps have an account on another server? Where do you normally log in?
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