Comments (4)
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.
from homebridge-solax.
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
from homebridge-solax.
from homebridge-solax.
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.
from homebridge-solax.
Related Issues (16)
- Dynamic polling HOT 1
- Support battery status
- Adjustable polling frequency, and debounced alerts HOT 1
- Add exponential moving average HOT 1
- Expose info panel as camera HOT 2
- Battery state not working with SolaX hybrid inverter HOT 9
- Verbose mode HOT 3
- Ability to change battery use times in inverter settings HOT 1
- Implement High/Low motion sensors HOT 1
- Request to include solax cloud api HOT 13
- Crashing Homebridge on default new install HOT 4
- Hostname vs IP Address HOT 2
- Only absolute URLs are supported HOT 5
- Implement rolling average HOT 1
- FetchError: network timeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-solax.