/domoticz-fronius-inverter-plugin

Domoticz Fronius Inverter plugin

Primary LanguagePythonMIT LicenseMIT

domoticz-fronius-inverter-plugin

Domoticz Fronius Inverter plugin

This plugin is running without issues since 2 feb 2018 (Domoticz 3.8799).
As of june 2020 it is still running on Domoticz beta 12119.
It's not feature complete yet, but it's working.
As the original author does not maintain it anymore, i will give it a try.

As of june 2022 I have found some issues. Do not know if it was because of the update of my Fronius or something else. Anyway it was a good reason to update the plugin and get most open ends finished.

If you have the original version of this plugin or my 0.1 version, it is not possible to update to this 0.9 version.

The plugin now creates 4 devices on the Utility page. One custom meter showing only the current generated Watts. The second is a kWh type meter with the current generated Watts and the day total. The third is a kWh type meter with the day total and the year total. The fourth is a kWh type meter with the year total and the overall total.

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 inverter returns one kWh more. Then the fraction part is reset and starts calculating again.
The option to turn this calculation off has been added.

Comparing the Fronius phone app with this plugin, there is a small difference. Acceptable for now.

  • Fronius app - Dommoticz plugin (kWh generated per day)
  • 10.4 - 10.692
  • 8.62 - 8.431
  • 5.72 - 5.859

Installation

In your domoticz/plugins directory do

git clone https://github.com/robhiddinga/domoticz-fronius-inverter-plugin.git

To update: in your domoticz-fronius-inverter-plugin directory do

git pull

Restart your Domoticz service with:

sudo service domoticz.sh restart

Now go to Setup, Hardware in Domoticz. There you add Fronius Inverter. Do not forget to allow new devices to be created.

Fill in the IP address and device ID of your inverter. The device ID is usually 1.

Choose if you want to use the fraction calculations. Default Yes.

The plugin supports Fronius API version V1
(I am not aware of any other version)

Features to add

  • Finish selection of devices to create
  • Find a better way to present the year and overall totals
  • Some things I can't come up with right now, let me know what you want!

This plugin uses an icon by Vectors Market from www.flaticon.com and is licensed by CC 3.0 BY