I added the Fronius Binding and I have one issue with value “Power Flow”:
I have two Fronius Power Inverters, so I added 2 “Things” “fronius:powerinverter”,
with device ID 1 and ID 2.
When calling Point “Power Flow”, I get back the same value for each Inverter,
it’s the actual watts value for Inverter 1.
I am totally new to openHAB, so I was only able to install the Fronius Binding,
and as additional Things, my two Symo “Power Inverters”.
The source of data is the Fronius “Datamanager 2.0” card, which indeed has just one IP adress.
You cannot call the two Inverters directly, the Power Inverters are connected
to the “Datamanager 2.0” card via “Fronius Solar.Net”.
The “Fronius Solar.Net” is a bus system, every device on the bus has a “Device ID”.
The “Datamanager 2.0” card is “Device 0”.
For every other device (Power Inverter, Smart Meter etc, …) You have to set
a specific Device ID (other than 0 …).
Back to the issue of the binding:
Every Point I used until now, works as expected.
Both Power Inverters deliver their specific data - as expected.
ONYL Point “Power Flow” is wrong.
Requesting Point “Power Flow” from Inverter 2 returns the “Power Flow” value from Inverter 1.
As You can see here, the binding returns the same value for the two different Power Inverters:
Both Points return the power flow value of Inverter One.
Even in the title of the Point You can see/read that there’s something wrong.
Note that if you did this, be sure to remember to delete this custom jar file once this fix has been merged and you’ve upgraded your openhab installation.
Alternatively, use this command in your Karaf console:
Once it’s installed, you should see that the old channels for Power and State of Charge for inverter1 is marked DEPRECATED. Two new channels are added:
powerflowinverterpower and powerflowinvertersoc (Note the old channels have 1 in them).
Please use those channels for your corresponding items instead.
The old channels powerflowinverter1power and powerflowinverter1soc are still there to maintain compatibility - but depending on what other maintainers decide, they may be removed.