Forked from Auke de Jong, al credits go to him. I forked it to make changes for my own needs. However, no changes have been made yet I own a Fronius IG 40 inverter
This version of the plugin is running on my Domoticz 2021.1 without any problem. It's not feature complete, but it's working, so I decided to share.
It creates 2 devices on the Utility page. One custom meter showing only the current generated Watts. The other is a kWh type meter
The Fronius API only returns the generated kWhs as an integer. To make the graphs more fluent the plugin calculates the fractions by using the current Watts generated, until the intverter return one kWh more. Then the fraction part is reset and starts calculating again.
Comparing the Fronius phone app with this plugin, there is a small difference. Acceptable for me.
- Fronius app - Dommoticz plugin (kWh generated per day)
- 10.4 - 10.692
- 8.62 - 8.431
- 5.72 - 5.859
In your domoticz/plugins
directory do
git clone https://github.com/bbossink/domoticz-fronius-inverter-plugin.git
Restart your Domoticz service with:
sudo service domoticz.sh restart
Now go to Setup, Hardware in Domoticz. There you add Fronius Inverter.
Fill in the IP address and device ID. For me the device ID is 1.
Currently the plugin only supports Fronius API version 1
- Debug options.
- Option to select which devices should be created
- Option the disable the fraction calculation feature
- Detection of Fronius API version
- Some things I can't remember now.
I don't have much spare time, so this can take a while.
This plugin uses an icon by Vectors Market from www.flaticon.com and is licensed by CC 3.0 BY