Skip to content

Commit

Permalink
Changed server_url
Browse files Browse the repository at this point in the history
Testing if other url also works. Seems fine. Both https://server.growatt.com and https://server-api.growatt.com/ work
  • Loading branch information
ntropy-esa committed Mar 26, 2022
1 parent b378ce0 commit 05f140a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,9 @@ tags
[._]*.un~

# End of https://www.gitignore.io/api/vim,python

#esa-custom ignore files
data/
myscript.py
myscript.ipynb
.ipynb_checkpoints/
4 changes: 2 additions & 2 deletions growatt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class LoginError(GrowattApiError):


class GrowattApi:
server_url = "https://server.growatt.com/"

server_url = "https://server-api.growatt.com/" #"https://server.growatt.com/"
print(server_url)
def __init__(self):
self.session = requests.Session()
self.logged_in = False
Expand Down

1 comment on commit 05f140a

@WynandPrivate
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am having issues to login with "newLoginAPI.do". This used to work a few days ago, but now I can only login using "LoginAPI.do"

Has this changed or is anyone seeing the same issue?

Please sign in to comment.