-
Notifications
You must be signed in to change notification settings - Fork 38
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
Comments
Wow, really cool! If it performs better, we could definitely use this, but
maybe keep the old URLs around?
I see this is a `.cn` domain, while the current `semsportal.com` seems to
redirect based on location to `.eu`. I don't know what the performance
difference will be?
I don't know when I will have time to look into this, so feel free to fork
the component and see it you can get it working. :)
PS there also seems to be some documentation in chinese:
http://solargo.sems.com.cn/help
…On Wed, 14 Jul 2021 at 22:59, WouterJN ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#36>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEQZ3ADQNMCP7QMDOWIYZDTXX3ETANCNFSM5AMG5IAA>
.
|
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. |
@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
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.
The text was updated successfully, but these errors were encountered: