OH3 and Fronius-Binding

Hello,
I wanted to test the Fronius binding under OH3.
Unfortunately, the Fronius Bridge does not have an input field for the host name (IP).
The bridge does not initialize. Did I miss something?

Thanks for fixing the bug :+1:

I’m a beginner, working on OH3 on a Raspi 400 testing the Fronius binding 3.0.0.
I could use the binding to get a Fronius Bridge thing, set the IP and got a Fronius Symo inverter thing, both are online. I can read values like Day energy, Load Power … in the channels of the inverter.

I do have a datalogger down in the cellar, datalogger ID 240.318172 (Solarmeter 63A).
But in the binding no meter shows up to get a thing.
Things - blue + button - shows Fronius Bridge and Fronius Symo Inverter, but no Meter as suggested in the documentation.

What am I missing?
Do I have to add some other binding or add-on?
Is the Smartmeter possibly malconfigured in the Fronius setup?

I configured the smart meter as in the pictures and it worked immediately.
The binding offers the following devices:
bridge
Inverter
Smart meter

1 Like

That did the job!
I forgot to set the Fronius bridge.
When creating the inverter this was done automagically, but obviously not in Meter!

I am now using the 3.1.0 version of
JimT

Quite often (about 30 times per hour) I get remarks in events.log:

2021-04-07 11:31:49.457 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'fronius:bridge:keller' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): hostname or ip is not reachable
2021-04-07 11:32:09.475 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'fronius:bridge:keller' changed from OFFLINE (COMMUNICATION_ERROR): hostname or ip is not reachable to ONLINE

The inverter is connected by ethernet cable (fritz.box → small switch → Fronius).
The powerwall, which is connected to the same switch, does not show similar errors.
The error occurs regardless of the type of connection of the raspi (cable or WIFi) .

Therefor I cannot use the data of the invertor in my charging scripts.

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