-
Notifications
You must be signed in to change notification settings - Fork 63
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
Support for X3 Hybrid G4 #80
Comments
Hi, |
Hi WikiHa, this is exactly what i need, does this script go into "automation" because when i add it, it errors with : Edit: Think i sussed it, i added it to sensor.yaml and included it in configuration.yaml |
Hi, |
Also works for X3 MIC G2 curl -d "optType=ReadRealTimeData&pwd=XYZ" -X POST http://192.168.0.191 |
#100 integrated, so you should be able to try it on master now |
Can confirm it works for my inverter. |
Hi, stumbled over this post. I tried with following command to get some data: as password I tried:
As response I get following json: When I do not pass a pwd I get a 401 Unauthorized response. Anyone who can help me here. If you need additional informations, don't hestitate to ask me. Best regards, |
@98jan Hello, did you resolve mentioned issue? I have currently the same and my expectation is that the solax do not support REST API anymore. |
@98jan Is this the newest firmware for dongle? I'm running:
What's interesting, in http://192.168.1.100 web interface the firmware is slightly different: 3.001.02 Is the latter the dongle firmware? In my case api is accessible with curl above. |
Curl command:
curl -d "optType=ReadRealTimeData&pwd=SVXXXXXXXX" -X POST http://10.0.1.6
Output:
{"sn":"SVXXXXXXXX","ver":"3.003.02","type":14,"Data":[2269,2213,2269,9,10,10,106,102,111,319,2932,2958,5,5,160,159,4996,4997,4996,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,54317,65535,0,0,0,30770,0,0,3063,0,0,1,48,11538,256,12308,5906,5639,100,0,37,0,0,0,0,0,0,0,0,0,0,0,0,0,1313,0,388,0,0,0,322,0,345,0,45,51,1342,0,406,0,0,0,26,0,4882,0,0,0,3339,0,0,0,0,0,0,0,0,0,1,9,1,33,8,256,3504,2400,264,162,266,225,32,32,4,1620,775,14135,14135,14135,0,0,0,3205,3191,18509,1,20564,12339,18497,12855,16695,12612,13616,20564,12339,18754,12595,16696,12612,12598,20564,12339,18754,12595,16691,13124,12854,20564,12339,18754,12595,16691,13124,13878,0,0,0,0,0,0,0,4098,259,1281,259,0,30770,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3584,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"Information":[8.000,14,"H34A08I3438010",8,1.18,0.00,1.17,1.08,0.00,1]}
FW: 3.001.02
Connection:
Proxy: 10.0.1.6:80
Solax: 5.8.8.8 (Wi-Fi dongle) via NAT:GW:10.0.1.2 -> 5.8.8.1 (Client mode: wifi_SVXXXXXXXX)
Logs:
2022-07-24 09:46:30 WARNING (Thread-3) [matplotlib.font_manager] Matplotlib is building the font cache; this may take a moment.
Home Assistant version: core-2022.7.6 docker
I tried to write new inverter class with sensor map I found at
home-assistant/core#66617 (comment)
I didn't test the code since I'm newbie with HA and I don't know how to test it properly
I also found out that there's a pull request that was closed by author for the same model #74
I don't know what's the reason for closing it since it seems to work (based on the comments) so maybe it would be worth checking it out.
The text was updated successfully, but these errors were encountered: