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

Found a better API #36

Open
WouterJN opened this issue Jul 14, 2021 · 3 comments
Open

Found a better API #36

WouterJN opened this issue Jul 14, 2021 · 3 comments

Comments

@WouterJN
Copy link

While decompiling the Solargo app I found a better API that's refreshes the data more often and results in less errors

Get token:
POST /api/Solargo/Login HTTP/1.1 Host: solargo.sems.com.cn language: en Content-Type: application/json Content-Length: 74 {"sn": "_serial_of_goodwe_", "password": "_MD5_hash_of_password_"}

Geta data:
GET /api/Solargo/GetRealdataOverview?language=%22en%22&sn=_serial_of_goodwe_ HTTP/1.1 Host: solargo.sems.com.cn token: _token_ language: en

Are you willing to use this API for your HA Custom Component? If not then I will try to make my own component.

@TimSoethout
Copy link
Owner

TimSoethout commented Jul 15, 2021 via email

@WouterJN
Copy link
Author

Time is also always an issue for me, hopefully I have some times after my holiday.

Meanwhile I made a temporally test in Node-red and the results are looking very promising, the data frequency is one minute instead of 5 minutes with the SEMS API.

@Silv0rShad0w
Copy link

@WouterJN do you use the solargo API in Home Assitant??

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