Open ignaciorecuerda opened 2 years ago
Hi apologies for the late reply. This project has been in neglect of late with the loss of two family members in recent times.
If you're able to navigate to the IP address of your Solax inverter, and append api/realTimeData.htm to the end of the URL (e.g. http://192.168.1.42/api/realTimeData.htm), and report back what you see?
Does it prompt you for a username + password? Or returns some JSON type data? If it comes back with a prompt for UN + password, are you able to enter the username and password you use to connect to the inverter, and see if it gives you back the data. If also able to show the prompt for username and password, it may give me some insights in to what sort of authentication it's using.
Thank you very much for your reply.
When I make the call to http://192.168.1.136/api/realTimeData.htm it asks me for a username and password, but when I enter it does not give me any information. I have seen the call using google chrome tools and the answer simply fails, but it doesn't tell me why it fails, and I get an ok 200, which is very rare. I attach some screenshots in case it helps.
I am also able to collect data from the inverter by making the following curl call
curl -d "optType=ReadRealTimeData&pwd=password" -X POST http://192.168.1.136
Thank you for your help and I hope you can give me the clue to get it to work. have a nice day
Thanks for investigating. It may be due to you having a newer inverter, and/or newer firmware than mine.
My only thoughts would be to try the approach suggested here; using two network adapters and a reverse proxy. https://www.home-assistant.io/integrations/solax/#note
Thanks Troy
On Thu, Nov 11, 2021 at 4:39 AM Jose Ignacio Recuerda Cambil < @.***> wrote:
Thank you very much for your reply.
When I make the call to http://192.168.1.136/api/realTimeData.htm it asks me for a username and password, but when I enter it does not give me any information. I have seen the call using google chrome tools and the answer simply fails, but it doesn't tell me why it fails, and I get an ok 200, which is very rare. I attach some screenshots in case it helps.
[image: photo_2021-11-10_16-37-32] https://user-images.githubusercontent.com/11034761/141143680-59880f3e-f306-44d8-899d-6e5868288d33.jpg
[image: photo_2021-11-10_16-37-41] https://user-images.githubusercontent.com/11034761/141143698-a4f4fefe-5d14-4012-903e-888b52077375.jpg
[image: photo_2021-11-10_16-37-46] https://user-images.githubusercontent.com/11034761/141143721-9455c7e2-7db2-4868-8748-3fd88180a33e.jpg
I am also able to collect data from the inverter by making the following curl call curl -d "optType=ReadRealTimeData&pwd=password" -X POST http://192.168.1.136
Thank you for your help and I hope you can give me the clue to get it to work. have a nice day
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/troygNZ/homebridge-solax/issues/34#issuecomment-965425724, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSNXTTE3DE2BE34TQDHZCLULKGY7ANCNFSM5HQIVW2Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I might be able to shed some light on this one. In order to capture data from the Solax X1 Boost (and others) using the Poket Wifi 2, you need to connect to the local Solax wifi network using the IP 5.8.8.8 and a username/passowrd admin/admin.
This means that the URL call to http://x.x.x.x/api/realTimeData.htm will not work on these inverters.
You can try to connect to the local Solax wifi and run a curl such as: curl -X POST http://5.8.8.8/?optType=ReadRealTimeData
Hope that helps.
Hello! I am trying to use your plugin but there is a problem with the connexion between the Solax Monitoring Dongle and the plugin. I am getting the same error all the time![image](https://user-images.githubusercontent.com/11034761/140629956-41812c50-2d42-4414-acec-d51d48b5069d.png)
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):