Skip to content
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

I can't log in #19

Open
allanpedroso opened this issue Jan 26, 2021 · 5 comments
Open

I can't log in #19

allanpedroso opened this issue Jan 26, 2021 · 5 comments

Comments

@allanpedroso
Copy link

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

@Sjord
Copy link
Owner

Sjord commented Jan 27, 2021

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"

@allanpedroso
Copy link
Author

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

@Sjord
Copy link
Owner

Sjord commented Jan 28, 2021

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

@Sjord
Copy link
Owner

Sjord commented Feb 15, 2021

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

@ntropy-esa
Copy link

ntropy-esa commented Mar 25, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants