longzheng / homebridge-fronius-inverter-lights Goto Github PK
View Code? Open in Web Editor NEWHomebridge plugin for Fronius inverter with smart meter as a lightbulb accessory
License: MIT License
Homebridge plugin for Fronius inverter with smart meter as a lightbulb accessory
License: MIT License
Would it be possible to hide stuff that is not relevant?
If i call the API i get this data.
"Data" : { "Inverters" : { "1" : { "DT" : 232, "E_Day" : 508, "E_Total" : 20628.001953125, "E_Year" : 20628.099609375, "P" : 832 } }, "Site" : { "E_Day" : 508, "E_Total" : 20628.001953125, "E_Year" : 20628.099609375, "Meter_Location" : "unknown", "Mode" : "produce-only", "P_Akku" : null, "P_Grid" : null, "P_Load" : null, "P_PV" : 832, "rel_Autonomy" : null, "rel_SelfConsumption" : null }, "Version" : "12" }
So P_Akku, P_Grid and P_Load is null but still the plugin shows 4 lightbulbs. For me the PV one is the only one that cotains any data. So would it be possible to hide them if they are null or in a setting?
Hello @longzheng
Have you ever consider making this pretty looking plugin also for another inverters? e.g GoodWe? :)
Hi Love the plugin, I am using it to alert me when I am importing or exporting electricity so i can modify my usage. One problem is that the Export Light Bulb is not showing as “on” even when the lux value is >0 and I am exporting.
It seems work only when the %value on the switch is below 100. The inverter is capable of exceeding its watt value by at least 2x
Not sure if the other bulbs have the same issue.
Thanks, Ros
How is it possible to handle an installation with more than one inverter ?
The P_PV should be the sum of all inverters ?
你好,我在teslamate上看见你做了很多homeassistant、MQTT改善的推送,我在实际使用中遇到一下问题,但是因为我是菜鸟,所以想跟你这咨询一些解决方法,可以吗?
Would be possible to add an option to show Lightbulb brightness percentage as percentage of max energy instead of the import/export relative to the solar generation. I can't fix the max value in the API, but as I know it my self it could be at setting where you type in 9600 W in my case. So when 1600 W is created at the moment I would like the Lightbulb brightness percentage 17%.
i have a BYD 5,1kWh Battery installed. How to chek the balance?
It is connected to the fronius inverter and is visible within the webinterface.
Thanks for the nice plug-in,
However, is it possible to include also the power flow to the battery or back from the battery. This would be a nice additional feature.
Thanks a lot
Searching the 'net for a Homebridge plugin for my Fronius PV inverter, fancy coming across a familiar name! I remember you wrote a certain iOS app to allow topping up a certain public transport smart card to solve a certain crappy mobile website issue, as I recall... :)
Anyway, your plugin works brilliantly mate! Thank you!
Newer Fronius inverters have a redesigned web interface. Before setting up your plugin, one must first login to the local web UI as Customer or Technician user, open the hamburger menu on the left, select Communication, select Solar API, then turn on Activate communication via Solar API, and finally select Save. Otherwise, the inverter does not make the JSON data available.
It might be worth adding this to the readme.md?
My feature request for this plugin would be to allow user customisation of the Serial Number and Model which appears in HomeKit (as seen in below screenshot)
It appears that fronius-accessory.ts currently configures the Manufacturer and Model values (line 95-97), though I don't see references to a serial number in your code. Would it be possible to expose these as user-configurable fields in the config.schema.json and pass them through to this?
Thanks for your work!
Hi,
First of all, thanks for sharing this plugin, I really liked your idea and I'm already using it with my inverter :)
I've noticed that although is a configuration option in JSON, it does not appear a checkbox to enable or disable battery accessory. It would be great to have that checkbox in the UI.
Thanks for your work!
hi there,
i have a fronius primo gen24 and a symo inverter, both have half of the solarcells for power-generation.
until now, the gen24 local-ip webinterface showed the consumtion and creation of both inverters.
After an update the gen24 only shows the creation of his own creation and i have to look into solwarweb to check the whole system (powercreation and consumption etc.).
Is ist possible to take those values from solarweb to dispay them in homebridge-Plugin?
If yes: what do i have to do?
thanks in advance
HI,
since today (Homebridge ui 4.57.1; node 20.11.0, homebirdge 1.8.4) I got this Error meessage on the console and the fronius plugin does not start and causes homebridge to stop work:
AxiosError: timeout of 2000ms exceeded
at RedirectableRequest.handleRequestTimeout (/var/lib/homebridge/node_modules/homebridge-fronius-inverter-lights/node_modules/axios/lib/adapters/http.js:657:16)
at RedirectableRequest.emit (node:events:518:28)
at RedirectableRequest.emit (node:domain:488:12)
at Timeout. (/var/lib/homebridge/node_modules/homebridge-fronius-inverter-lights/node_modules/follow-redirects/index.js:210:12)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7)
at Axios.request (/var/lib/homebridge/node_modules/homebridge-fronius-inverter-lights/node_modules/axios/lib/core/Axios.js:45:41)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:540:9)
at processTimers (node:internal/timers:514:7)
at FroniusApi.getInverterInfo (/var/lib/homebridge/node_modules/homebridge-fronius-inverter-lights/src/fronius-api.ts:34:13)
at FroniusInverterLightsStaticPlatform.getDeviceMetadata (/var/lib/homebridge/node_modules/homebridge-fronius-inverter-lights/src/fronius-platform.ts:129:27)
at /var/lib/homebridge/node_modules/homebridge-fronius-inverter-lights/src/fronius-platform.ts:48:30
Hi
Thanks for this plugin. I was wondering about the Lightbulb brightness lux which represents watts.
What value is this actually showing? The load or export or even a combination?
Thanks for your time and help
Best regards
Nicolas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.