OH3 and Fronius-Binding

Hello!

Where can i download the add on?
I am using 3.1 M3 atm and it is not listed.
I wanted to give it a try but i cannot find the addon .jar.

Thank you

Hi,

I would like to ask if there is a possibility to change the refreshInterval to fixed query times like:
every 5 minutes (12:00, 12:05, 12:10,…) to be able to have the data synchronized for example with a smart meter…

Any ideas on that :)?

Thank you

Hallo,
the Fronius Bridge has a parameter “refresh Interval”.

Yes, but that is not fixed to a certain time like described. If you set the refreshInterval 300 the data is not sent at specific times (not like 12:00, 12:05 - it could be 12:03, 12:08,…).

Ah I understand!
I don’t know how the synchronization with the SmartMeter looks like, but I would then e.g. query every minute and copy the value into a proxy item in a rule that runs exactly on your schedule.
With this one could then synchronize the data.

1 Like

@Jonas88:
In 3.0.1 it shows up in the list you get under things - Install more bindings.

I did an upgrade: 3.0.1.1 → 3.0.1.2 → 3.1.0 M3
Fronius first showed up as uninitialized, I hat to add it again, seems to work.

But …
I have the binding of
JimT
copied in my /usr/share/openhab/addons which has version 3.1.0

Hi all,
I’ve got a question on the Fronius binding as well.
I have installed the binding and have created the Bridge, Smart meter and Symo Inverter things. So far, so good.
The Symo Inverter things works fine, but with the Smart meter thing, I have the issue that all values returned by the channels (powerrealphase1, …) are zero. The thing has a valid looking serial number, the model shows the correct type (Smart Meter TS 65A-3), so it seems the binding is able to communicate with the smart meter.
Any ideas here ?
Many thanks
Brandy

@Ez2517

Can you please open this link on your browser and paste the result here:

http://%IP%/solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0&DataCollection=MeterRealtimeData

Replace %IP% with the ip address of your fronius device

Hello,

this is what comes back (device id = 0):

Many thanks, Brandy

Body
Data
ACBRIDGE_CURRENT_ACTIVE_MEAN_01_F32 1.52
ACBRIDGE_CURRENT_ACTIVE_MEAN_02_F32 -1.965
ACBRIDGE_CURRENT_ACTIVE_MEAN_03_F32 -2.021
ACBRIDGE_CURRENT_AC_SUM_NOW_F64 -2.466
ACBRIDGE_VOLTAGE_MEAN_12_F32 400.7
ACBRIDGE_VOLTAGE_MEAN_23_F32 397.5
ACBRIDGE_VOLTAGE_MEAN_31_F32 402.4
COMPONENTS_MODE_ENABLE_U16 1
COMPONENTS_MODE_VISIBLE_U16 1
COMPONENTS_TIME_STAMP_U64 1644325180
Details
Manufacturer Fronius
Model Smart Meter TS 65A-3
Serial 3550740957
GRID_FREQUENCY_MEAN_F32 50
SMARTMETER_ENERGYACTIVE_ABSOLUT_MINUS_F64 3189830
SMARTMETER_ENERGYACTIVE_ABSOLUT_PLUS_F64 1957120
SMARTMETER_ENERGYACTIVE_CONSUMED_SUM_F64 1957120
SMARTMETER_ENERGYACTIVE_PRODUCED_SUM_F64 3189830
SMARTMETER_ENERGYREACTIVE_CONSUMED_SUM_F64 2554678
SMARTMETER_ENERGYREACTIVE_PRODUCED_SUM_F64 493639
SMARTMETER_FACTOR_POWER_01_F64 0.992
SMARTMETER_FACTOR_POWER_02_F64 -0.991
SMARTMETER_FACTOR_POWER_03_F64 0.998
SMARTMETER_FACTOR_POWER_SUM_F64 -0.992
SMARTMETER_POWERACTIVE_01_F64 335
SMARTMETER_POWERACTIVE_02_F64 -445.8
SMARTMETER_POWERACTIVE_03_F64 -463.9
SMARTMETER_POWERACTIVE_MEAN_01_F64 -499.6365448504982
SMARTMETER_POWERACTIVE_MEAN_02_F64 -1275.8328903654478
SMARTMETER_POWERACTIVE_MEAN_03_F64 244.6508305647839
SMARTMETER_POWERACTIVE_MEAN_SUM_F64 -574.8
SMARTMETER_POWERAPPARENT_01_F64 337.8
SMARTMETER_POWERAPPARENT_02_F64 449.8
SMARTMETER_POWERAPPARENT_03_F64 464.7
SMARTMETER_POWERAPPARENT_MEAN_01_F64 610.6837209302328
SMARTMETER_POWERAPPARENT_MEAN_02_F64 1325.1717607973417
SMARTMETER_POWERAPPARENT_MEAN_03_F64 1185.0568106312296
SMARTMETER_POWERAPPARENT_MEAN_SUM_F64 1252.4
SMARTMETER_POWERREACTIVE_01_F64 -43.4
SMARTMETER_POWERREACTIVE_02_F64 -59.5
SMARTMETER_POWERREACTIVE_03_F64 27.6
SMARTMETER_POWERREACTIVE_MEAN_SUM_F64 -75.4
SMARTMETER_VALUE_LOCATION_U16 0
SMARTMETER_VOLTAGE_01_F64 231.9
SMARTMETER_VOLTAGE_02_F64 230.9
SMARTMETER_VOLTAGE_03_F64 230.5
SMARTMETER_VOLTAGE_MEAN_01_F64 232.36212624584707
SMARTMETER_VOLTAGE_MEAN_02_F64 231.48704318936893
SMARTMETER_VOLTAGE_MEAN_03_F64 228.83920265780753
Head
RequestArguments
DeviceClass Meter
DeviceId 0
Scope Device
Status
Code 0
Reason
UserMessage
Timestamp 2022-02-08T12:59:41+00:00

Thanks! Could you please paste the raw JSON, and enclose it in triple backticks (code fence)

{
   "Body" : {
      "Data" : {
         "ACBRIDGE_CURRENT_ACTIVE_MEAN_01_F32" : 3.9510000000000001,
         "ACBRIDGE_CURRENT_ACTIVE_MEAN_02_F32" : -7.5899999999999999,
         "ACBRIDGE_CURRENT_ACTIVE_MEAN_03_F32" : -7.0250000000000004,
         "ACBRIDGE_CURRENT_AC_SUM_NOW_F64" : -10.664,
         "ACBRIDGE_VOLTAGE_MEAN_12_F32" : 402.10000000000002,
         "ACBRIDGE_VOLTAGE_MEAN_23_F32" : 393.89999999999998,
         "ACBRIDGE_VOLTAGE_MEAN_31_F32" : 401.0,
         "COMPONENTS_MODE_ENABLE_U16" : 1.0,
         "COMPONENTS_MODE_VISIBLE_U16" : 1.0,
         "COMPONENTS_TIME_STAMP_U64" : 1644326328.0,
         "Details" : {
            "Manufacturer" : "Fronius",
            "Model" : "Smart Meter TS 65A-3",
            "Serial" : "3550740957"
         },
         "GRID_FREQUENCY_MEAN_F32" : 49.899999999999999,
         "SMARTMETER_ENERGYACTIVE_ABSOLUT_MINUS_F64" : 3190110.0,
         "SMARTMETER_ENERGYACTIVE_ABSOLUT_PLUS_F64" : 1957135.0,
         "SMARTMETER_ENERGYACTIVE_CONSUMED_SUM_F64" : 1957135.0,
         "SMARTMETER_ENERGYACTIVE_PRODUCED_SUM_F64" : 3190110.0,
         "SMARTMETER_ENERGYREACTIVE_CONSUMED_SUM_F64" : 2555222.0,
         "SMARTMETER_ENERGYREACTIVE_PRODUCED_SUM_F64" : 493641.0,
         "SMARTMETER_FACTOR_POWER_01_F64" : -0.59699999999999998,
         "SMARTMETER_FACTOR_POWER_02_F64" : 0.94099999999999995,
         "SMARTMETER_FACTOR_POWER_03_F64" : 0.089999999999999997,
         "SMARTMETER_FACTOR_POWER_SUM_F64" : 0.41199999999999998,
         "SMARTMETER_POWERACTIVE_01_F64" : 543.89999999999998,
         "SMARTMETER_POWERACTIVE_02_F64" : -1644.7,
         "SMARTMETER_POWERACTIVE_03_F64" : -124.8,
         "SMARTMETER_POWERACTIVE_MEAN_01_F64" : 896.16333333333387,
         "SMARTMETER_POWERACTIVE_MEAN_02_F64" : -1308.6926666666659,
         "SMARTMETER_POWERACTIVE_MEAN_03_F64" : -371.48033333333325,
         "SMARTMETER_POWERACTIVE_MEAN_SUM_F64" : -1225.5999999999999,
         "SMARTMETER_POWERAPPARENT_01_F64" : 910.39999999999998,
         "SMARTMETER_POWERAPPARENT_02_F64" : 1747.7,
         "SMARTMETER_POWERAPPARENT_03_F64" : 1392.0999999999999,
         "SMARTMETER_POWERAPPARENT_MEAN_01_F64" : 1049.5296666666666,
         "SMARTMETER_POWERAPPARENT_MEAN_02_F64" : 1352.2953333333328,
         "SMARTMETER_POWERAPPARENT_MEAN_03_F64" : 1198.6346666666675,
         "SMARTMETER_POWERAPPARENT_MEAN_SUM_F64" : 4050.3000000000002,
         "SMARTMETER_POWERREACTIVE_01_F64" : 730.0,
         "SMARTMETER_POWERREACTIVE_02_F64" : 591.20000000000005,
         "SMARTMETER_POWERREACTIVE_03_F64" : 1386.5,
         "SMARTMETER_POWERREACTIVE_MEAN_SUM_F64" : 2707.9000000000001,
         "SMARTMETER_VALUE_LOCATION_U16" : 0.0,
         "SMARTMETER_VOLTAGE_01_F64" : 231.59999999999999,
         "SMARTMETER_VOLTAGE_02_F64" : 230.40000000000001,
         "SMARTMETER_VOLTAGE_03_F64" : 229.19999999999999,
         "SMARTMETER_VOLTAGE_MEAN_01_F64" : 232.21633333333332,
         "SMARTMETER_VOLTAGE_MEAN_02_F64" : 232.00266666666664,
         "SMARTMETER_VOLTAGE_MEAN_03_F64" : 231.04800000000003
      }
   },
   "Head" : {
      "RequestArguments" : {
         "DeviceClass" : "Meter",
         "DeviceId" : "0",
         "Scope" : "Device"
      },
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2022-02-08T13:18:48+00:00"
   }
}

@Ez2517 I’ll upload something for you to test soon.

1 Like

@Ez2517 Please try this JAR:

To install, simply drop this jar file into your addons folder. It should override your existing binding.
To verify that you’ve got the right binding installed, check the version number below

bundle:list -s | grep froni
237 │ Active │  80 │ 3.3.0.202202081345    │ org.openhab.binding.fronius

Let me know the result either way. If it works, I will submit the changes to be included into openhab-addons.

3 Likes

@chilobo are you still experiencing this issue?

Unfortunately the binding didnt update. I’ll need to find out why … will do that as soon as possible.

Yes, and there does not seem to be any pattern to it:
Fronius_eventlog_220207.txt (12.4 KB)
But I am not using your posted binding but the one supplied with openhab 3.3:

238 â Active â 80 â 3.3.0.M1 â openHAB Add-ons :: Bundles :: Fronius Binding

Other devices (Powerwall, Shelly) attached to this router do not show these problems, so it seems to be a problem of the Fronius Symo.

After copying a jar to the addons directory I stop and start openhab in the console:

 sudo systemctl stop openhab.service
 sudo systemctl start openhab.service
1 Like

Hi,
the list command shows both versions as active now. Do I have to uninstall the old binding first ?

openhab> bundle:list -s | grep froni
243 x Active x  80 x 3.2.0                 x org.openhab.binding.fronius
263 x Active x  80 x 3.3.0.202202081345    x org.openhab.binding.fronius
 openhab>

Yes you could try uninstalling the binding from the ui if that’s where youu installed it originally.

If you installed it via addons.cfg remove fronius from the list, if you have other binding on the list.

If it is the only binding, do not just comment out the line. You need to just delete the word fronius from the file.

And try restarting openhab after uninstalling if necessary.

@chilobo the version I posted above for Franz doesn’t fix the timeout errors. I have a different version that does, but I’m still testing it. I can see the timeout errors on my system too, hence the fix. Hopefully I’ll be able to post it here very soon.

1 Like