Fronius: not all values available (OH3)

Hello, I’m running OpenHAB 3.1.0. I have a Fronius Symo GEN24 Plus 6.0 inverter and a Fronius Smartmeter (configured as separate meter) in my network. The smartmeter doesn’t show any values in OH, the item states are all “0”. The inverter shows all values (powers, currents, voltages, …) except for the energy counter items (day energy, year energy, total energy), they are all also zero. The inverter firmware version is 1.11.6-0. Any ideas how to fix the missing zero values?

Hi @dr.gonzo is your Smart Meter model 65A by any chance? If it is, I’ve just pushed a PR into the snapshot which should be available later today. It should support this smart meter model.

It is indeed the 65A. Thank you! Looking forward to trying it out.

You could use the 3.3.0 snapshot now, or just use this jar from here:

I’m happy to report that it works! Thank you

Could you check, if you get the meter reading even when the inverter itself is in powersave (at night and without battery power). I’m curious to hear if the meter’s data remain accessible in that case …

Thanks,
Curlyel

I think so, yes: I don’t have a battery, and it’s dark outside already so the system produces 0 W right now. It is also reported to be “stopped” in the Fronius Web UI, which I guess means it is in this power-safe mode. Meter values are updated though.

1 Like

By the way, the energy counter items (day energy, year energy, total energy) on the inverter are still all zero, is this expected?

It shouldn’t be zero. Is it connected to a bridge? What’s the model number of your inverter?

Could you please post the JSON data from here:

http://%IP%/solar_api/v1/GetInverterRealtimeData.cgi?Scope=Device&DeviceId=1&DataCollection=CommonInverterData

Replace %IP% with the address of your inverter.

It is directly connected to the network. The model is Fronius Symo GEN24 6.0 Firmware Version 1.12.5. The output of the JSON requestt is this:

{
   "Body" : {
      "Data" : {
         "DeviceStatus" : {
            "InverterState" : "Running"
         },
         "FAC" : {
            "Unit" : "Hz",
            "Value" : 50.075664520263672
         },
         "IAC" : {
            "Unit" : "A",
            "Value" : 1.3368764221668243
         },
         "IAC_L1" : {
            "Unit" : "A",
            "Value" : 0.33894839882850647
         },
         "IAC_L2" : {
            "Unit" : "A",
            "Value" : 0.33412164449691772
         },
         "IAC_L3" : {
            "Unit" : "A",
            "Value" : 0.33190318942070007
         },
         "IDC" : {
            "Unit" : "A",
            "Value" : 0.35859653353691101
         },
         "PAC" : {
            "Unit" : "W",
            "Value" : 225.09877777099609
         },
         "SAC" : {
            "Unit" : "VA",
            "Value" : 225.4197998046875
         },
         "UAC" : {
            "Unit" : "V",
            "Value" : 224.29305521647134
         },
         "UAC_L1" : {
            "Unit" : "V",
            "Value" : 224.81712341308594
         },
         "UAC_L2" : {
            "Unit" : "V",
            "Value" : 225.17056274414062
         },
         "UDC" : {
            "Unit" : "V",
            "Value" : 678.12457275390625
         }
      }
   },
   "Head" : {
      "RequestArguments" : {
         "DataCollection" : "CommonInverterData",
         "DeviceClass" : "Inverter",
         "Scope" : "Device"
      },
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2022-02-12T15:04:21+00:00"
   }
}

I just did an update to the newest available firmware version 1.17.2, and there the output is slightly different:

{
   "Body" : {
      "Data" : {
         "DAY_ENERGY" : {
            "Unit" : "Wh",
            "Value" : null
         },
         "DeviceStatus" : {
            "ErrorCode" : 0,
            "InverterState" : "Startup",
            "StatusCode" : 0
         },
         "FAC" : {
            "Unit" : "Hz",
            "Value" : null
         },
         "IAC" : {
            "Unit" : "A",
            "Value" : 0.0
         },
         "IDC" : {
            "Unit" : "A",
            "Value" : 0.01299994345754385
         },
         "IDC_2" : {
            "Unit" : "A",
            "Value" : null
         },
         "IDC_3" : {
            "Unit" : "A",
            "Value" : null
         },
         "PAC" : {
            "Unit" : "W",
            "Value" : 0.0
         },
         "SAC" : {
            "Unit" : "VA",
            "Value" : 0.0
         },
         "TOTAL_ENERGY" : {
            "Unit" : "Wh",
            "Value" : null
         },
         "UAC" : {
            "Unit" : "V",
            "Value" : 226.86463928222656
         },
         "UDC" : {
            "Unit" : "V",
            "Value" : 700.448486328125
         },
         "UDC_2" : {
            "Unit" : "V",
            "Value" : null
         },
         "UDC_3" : {
            "Unit" : "V",
            "Value" : null
         },
         "YEAR_ENERGY" : {
            "Unit" : "Wh",
            "Value" : null
         }
      }
   },
   "Head" : {
      "RequestArguments" : {
         "DataCollection" : "CommonInverterData",
         "DeviceId" : "1",
         "Scope" : "Device"
      },
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2022-02-12T15:18:43+00:00"
   }
}

This new one with the upgraded firmware has the DAY_ENERGY, YEAR_ENERGY, and TOTAL_ENERGY, so you should be able to have this data from now on (using the same binding).

I was referring to the Fronius “Bridge” thing in openhab, not “bridge” as in a networking device for connecting two networks.

Indeed the values are there now. Thanks for your support, it’s truly appreciated!

1 Like