Comments (13)
And this is the URL that you need to use to fetch the above JSON
The user would need to enter in the settings just the token and the inverter serial number. Both are available in the cloud.
https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId=< TOKEN String >&sn=< Inverter serial number>
That’s all I can provide. If it helps, I can test the hombridge plugin for you.
from homebridge-solax.
Be advised, that people with battery may have two inverter.
from homebridge-solax.
The API output has been changed: (they added : batPower in/out and powerdc1 + powerdc2 ( solar cell output ) )
{"exception":"Query success!","result":{"inverterSN":"H3DE11111111111","sn":"SEXXXXXXXXXX","acpower":183.0,"yieldtoday":4.0,"yieldtotal":210.0,"feedinpower":-33.0,"feedinenergy":117.82,"consumeenergy":178.12,"feedinpowerM2":0.0,"soc":20.0,"peps1":0.0,"peps2":0.0,"peps3":0.0,"inverterType":"5","inverterStatus":"102","uploadTime":"2021-03-11 09:40:00","batPower":200.0,"powerdc1":242.0,"powerdc2":135.0},"success":true}
from homebridge-solax.
That's a great idea @HeuerJan - for whatever reason, my inverter doesn't allow me to sign-up to the cloud version, as it doesn't accept my serial number of the WiFi dongle. So have no easy way to develop and test this. If you were able to provision me a read-only type token to access your data (if happy with that), I could see what I can do?
from homebridge-solax.
Do you have no access to the following page?
from homebridge-solax.
Sadly no, as I can't create the account to get to that area. The demo account only shows the overview, and nothing else for me.
from homebridge-solax.
Here is the JSON output that I receive from the API ( SN are changed )
{"exception":"Query success!","result":{"inverterSN":"H3DE3443664742","sn":"SE3HDOZZEN","acpower":435.0,"yieldtoday":1.0,"yieldtotal":5.6,"feedinpower":-21.0,"feedinenergy":3.29,"consumeenergy":9.14,"feedinpowerM2":0.0,"soc":63.0,"peps1":0.0,"peps2":0.0,"peps3":0.0,"inverterType":"5","inverterStatus":"102","uploadTime":"2021-02-24 12:38:34"},"success":true}
from homebridge-solax.
And this is the URL that you need to use to fetch the above JSON
The user would need to enter in the settings just the token and the inverter serial number. Both are available in the cloud.https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId=&sn=< Inverter serial number>
That’s all I can provide. If it helps, I can test the hombridge plugin for you.
Thanks, the sample reply itself will go a long way for me. Will likely make a start in about 10 days time (busy time of year for me)
from homebridge-solax.
Thanks @HeuerJan . I haven’t had a chance to get my hands dirty with it yet, but thanks for the update, much appreciated.
from homebridge-solax.
Any news? I would really appreciate a way to control for example our pool heater according to solax output. For this a adaption of your home bridge plug-in would be really appreciated.
I have in the meantime created a iOS app that uses the same api to show the data as a alternative to the solax cloud app: if you like to check out :
from homebridge-solax.
Any news? I would really appreciate a way to control for example our pool heater according to solax output. For this a adaption of your home bridge plug-in would be really appreciated.
I have in the meantime created a iOS app that uses the same api to show the data as a alternative to the solax cloud app: if you like to check out :
Hi, my apologies - it's definitely been on the forefront of my thoughts, but since the weekend I was planning on working on it, several things have changed in my life. It's still on my TODO list, but has fallen down my priority list.
In the interim, you're welcome to fork off of it if keen, and can I prioritise the time for review pull-requests. No biggie if not, it is something I'm wanting to get to.
from homebridge-solax.
Hi,
it would be great if solax cloud could also be used as a source as well. A api is available:
https://www.eu.solaxcloud.com/phoebus/resource/files/userGuide/Solax_API_for_End-user_V1.0.pdf
Hi @HeuerJan , feel free to try my Solax Cloud API homebridge plugin at https://github.com/AllMightySauron/homebride-solaxcloud-api.
from homebridge-solax.
Yeah sorry @HeuerJan it never happened, and given @AllMightySauron has done a stellar job of a cloud version, I'd reccomend checking his one out.
He's recently added averaging algorithms to smooth out cloud cover variations etc, and exposes the values as light-meter values.
from homebridge-solax.
Related Issues (16)
- Dynamic polling HOT 1
- Expose info panel as camera HOT 2
- Implement High/Low motion sensors HOT 1
- Implement rolling average HOT 1
- Support battery status
- Adjustable polling frequency, and debounced alerts HOT 1
- Add exponential moving average HOT 1
- 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
- Failed to read from Solax. Error: Error: Authorization Required HOT 4
- Crashing Homebridge on default new install HOT 4
- Hostname vs IP Address HOT 2
- Only absolute URLs are supported HOT 5
- 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.