Fronius power meter (and inverter) - help with configuration

Hello,
I had succesfully (I think so) configured by fronius integration:
Fronius Symo 8.2-3-M (inverter)
Fronius Smart Meter 53A
this is my config:

sensor:
  - platform: fronius
    resource: http://xxx.xxx.xxx.xxx
    monitored_conditions:
      - sensor_type: inverter
        device: 1
      - sensor_type: meter
        scope: system
      - sensor_type: meter
        device: 0
      - sensor_type: power_flow
        device: 0

but I cannot find entity with current production in W and current consumption in W
Can someone help me with this.
This is the list of fronius entitys I have:

Current ac Fronius Inverter 1 http://xxx.xxx.xxx.xxx
sensor.current_ac_fronius_inverter_1_http_xxx_xxx_xxx_xxx
 
Current ac phase 1 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.current_ac_phase_1_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Current ac phase 2 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.current_ac_phase_2_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Current ac phase 3 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.current_ac_phase_3_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Current dc Fronius Inverter 1 http://xxx.xxx.xxx.xxx
sensor.current_dc_fronius_inverter_1_http_xxx_xxx_xxx_xxx
 
Enable Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.enable_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Energy day Fronius Inverter 1 http://xxx.xxx.xxx.xxx
sensor.energy_day_fronius_inverter_1_http_xxx_xxx_xxx_xxx
 
Energy day Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.energy_day_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Energy reactive ac consumed Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.energy_reactive_ac_consumed_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Energy reactive ac produced Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.energy_reactive_ac_produced_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Energy real ac minus Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.energy_real_ac_minus_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Energy real ac plus Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.energy_real_ac_plus_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Energy real consumed Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.energy_real_consumed_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Energy real produced Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.energy_real_produced_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Energy total Fronius Inverter 1 http://xxx.xxx.xxx.xxx
sensor.energy_total_fronius_inverter_1_http_xxx_xxx_xxx_xxx
 
Energy total Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.energy_total_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Energy year Fronius Inverter 1 http://xxx.xxx.xxx.xxx
sensor.energy_year_fronius_inverter_1_http_xxx_xxx_xxx_xxx
 
Energy year Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.energy_year_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Frequency ac Fronius Inverter 1 http://xxx.xxx.xxx.xxx
sensor.frequency_ac_fronius_inverter_1_http_xxx_xxx_xxx_xxx
 
Frequency phase average Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.frequency_phase_average_fronius_meter_0_http_xxx_xxx_xxx_xxx

Manufacturer Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.manufacturer_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Meter location Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.meter_location_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Meter location Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.meter_location_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Meter mode Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.meter_mode_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Model Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.model_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power ac Fronius Inverter 1 http://xxx.xxx.xxx.xxx
sensor.power_ac_fronius_inverter_1_http_xxx_xxx_xxx_xxx
 
Power apparent Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_apparent_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power apparent phase 1 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_apparent_phase_1_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power apparent phase 2 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_apparent_phase_2_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power apparent phase 3 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_apparent_phase_3_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power battery Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.power_battery_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Power factor Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_factor_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power factor phase 1 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_factor_phase_1_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power factor phase 2 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_factor_phase_2_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power factor phase 3 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_factor_phase_3_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power grid Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.power_grid_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Power load Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.power_load_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Power photovoltaics Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.power_photovoltaics_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Power reactive Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_reactive_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power reactive phase 1 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_reactive_phase_1_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power reactive phase 2 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_reactive_phase_2_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power reactive phase 3 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_reactive_phase_3_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power real Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_real_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power real phase 1 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_real_phase_1_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power real phase 2 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_real_phase_2_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Power real phase 3 Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.power_real_phase_3_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Relative autonomy Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.relative_autonomy_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Relative self consumption Fronius Power flow 0 http://xxx.xxx.xxx.xxx
sensor.relative_self_consumption_fronius_power_flow_0_http_xxx_xxx_xxx_xxx
 
Serial Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.serial_fronius_meter_0_http_xxx_xxx_xxx_xxx
 
Timestamp Fronius Inverter 1 http://xxx.xxx.xxx.xxx
sensor.timestamp_fronius_inverter_1_http_xxx_xxx_xxx_xxx
 
Timestamp Fronius Meter 0 http://xxx.xxx.xxx.xxx
sensor.timestamp_fronius_meter_0_http_xxx_xxx_xxx_xxx

The 3 Fronius sensors I use for measuring POWER flows (W - which seems to be what you are requesting) are:

          - type: history-graph
            title: "Power balance (W)"
            hours_to_show: 80
            refresh_interval: 300
            entities:
              - entity: sensor.power_photovoltaics_fronius_power_flow_...
                name: Solar # total solar production
              - entity: sensor.power_load_fronius_power_flow_0_http_...
                name: Load # total load/consumption
              - entity: sensor.power_grid_fronius_power_flow_0_http_...
                name: Grid # net flow to(-)/from(+) grid


HA_Power_50pct

I need to know the following

the grid consumption,
return to grid
and solar production

I’m not sure I have them in my entities.

You need

  • real produced Fronius Meter
  • real consumed Fronius Meter
  • total Fronius Inverter

for the energy panel. (If your Fronius Smartmeter is right behind your providers Grid Meter)
These are all energy - kWh or Wh - values. Not power (W or kW).

It was what I need. Thank you.

Hi vobo70 and the community
Did you get this resolved?
I have the fronius integration, but I don’t know how to get the grid consumption and return to grid entities to appear in the Energy Configuration screen?
Do I need to rename the entities or give them a new class?
My knowledge is really basic here, so an ‘idiots guide’ would be really appreciated.

many thanks
regards

Update to the latest HA version.
Then grid consumption is energy_real_consumed_meter_0
Return to grid energy_real_produced_meter_0

You obviously need a Fronius smartmeter installed and configured in yaml Fronius - Home Assistant

I’ve got Fronius and after trying to configure it myself and getting completely confused, I used suggestion from @farmio (thanks!)

Oddly, however, the numbers shown in the summary on the left are cumulative. I would have thought they’d be instantaneous

image

I snagged the image above earlyish in the morning and it shows I’ve used 2 kWh so far today (overnight usage), which is correct, but kind of misleading as the animation still shows power flowing from the grid to the house (it’s not - it’s super sunny and there’s little usage).

Anyone else have similar experience/thoughts?

2 Likes

Thank you so much,

It turns out I had an error in my configuration.yaml file. I had the sensor as 0, not 1.
I made the change, restarted HA and boom! All the sensors appeared :slight_smile:

Hello all,

I have a similar problem, so use this threat to ask for support. As @vobo70, I habe a Fronius Symo with an Fronius Smart Meter.

From the JSON (IP/solar_api/v1/GetPowerFlowRealtimeData.fcgi) I get the following data:

{
   "Body" : {
      "Data" : {
         "Inverters" : {
            "1" : {
               "DT" : 105,
               "E_Day" : 289.39999389648438,
               "E_Total" : 337318.03125,
               "E_Year" : 337318.90625,
               "P" : 442
            }
         },
         "Site" : {
            "E_Day" : 289.39999389648438,
            "E_Total" : 337318.03125,
            "E_Year" : 337318.90625,
            "Meter_Location" : "grid",
            "Mode" : "meter",
            "P_Akku" : null,
            "P_Grid" : -3.2000000000000002,
            "P_Load" : -438.80000000000001,
            "P_PV" : 442,
            "rel_Autonomy" : 100,
            "rel_SelfConsumption" : 99.276018099547514
         },
         "Smartloads" : {
            "Ohmpilots" : {
               "720896" : {
                  "P_AC_Total" : 113,
                  "State" : "normal",
                  "Temperature" : 0
               }
            }
         },
         "Version" : "12"
      }
   },
   "Head" : {
      "RequestArguments" : {},
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2021-12-04T10:01:36+01:00"
   }
}

However, with the following config, I do not get all the data for the Engery Panel

sensor:
  - platform: fronius
    resource: http://192.168.8.162
    monitored_conditions:
    - sensor_type: logger_info
    - sensor_type: inverter
      scope: system
    - sensor_type: meter
      device: 1
    - sensor_type: storage
      device: 0
    - sensor_type: power_flow

I can read some data, but not all. Did not find a possibility to get an export.

May someone can guid me, so I get the energy panel running. Has anyone experience with the Fronius Ohmpilot in combination with HA?

Cheers, Thomas

Powerflow and meter are two different endpoints.
The Meters device is is probably 0.

Maybe you can try the current beta - the integration is completely rewritten - with added Ohmpilot support.

Hello again,
sorry for long time without answer,
my power monitoring works but not accurate, lets get 3 december for instance,
solarweb says:
enegy taken from network: 50,11 kWh
used directly: 2,06 kWh
used total: 52,17 kWh

produced to the network: 934 Wh
used directly: 2062 Wh
production total: 2996 Wh

but HA says:

Imgur

so there’s something to change …
but what?
regards
Maciek

Change the purple with the yellow.

Thanks for quick answer, now seems OK
regards
Maciek

1 Like

How do I get the current beta. Did not find it.

I do the power values, but not the energy values. So I can not use it for the energy panel. May be the new version can fix it for me.

There is Power Flow and Meter data.

e.g. with
( http://froniussymo/solar_api/v1/GetPowerFlowRealtimeData.fcgi )
I get

{
   "Body" : {
      "Data" : {
         "Inverters" : {
            "1" : {
               "DT" : 232,
               "E_Day" : 52.5,
               "E_Total" : 42272000,
               "E_Year" : 12304134,
               "P" : 254
            }
         },
         "Site" : {
            "E_Day" : 52.5,
            "E_Total" : 42272000,
            "E_Year" : 12304134,
            "Meter_Location" : "grid",
            "Mode" : "meter",
            "P_Akku" : null,
            "P_Grid" : 331.94999999999999,
            "P_Load" : -585.95000000000005,
            "P_PV" : 254,
            "rel_Autonomy" : 43.348408567283897,
            "rel_SelfConsumption" : 100
         },
         "Version" : "12"
      }
   },
   "Head" : {
      "RequestArguments" : {},
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2021-12-06T06:53:09+11:00"
   }
}

while with
( http://froniussymo/solar_api/v1/GetMeterRealtimeData.cgi?Scope=System )

I get

{
   "Body" : {
      "Data" : {
         "2" : {
            "Current_AC_Phase_1" : 1.272,
            "Current_AC_Phase_2" : 0.92300000000000004,
            "Current_AC_Phase_3" : 1.3580000000000001,
            "Details" : {
               "Manufacturer" : "Fronius",
               "Model" : "Smart Meter 63A",
               "Serial" : "XXXXXXXX"
            },
            "Enable" : 1,
            "EnergyReactive_VArAC_Sum_Consumed" : 4744680,
            "EnergyReactive_VArAC_Sum_Produced" : 82509300,
            "EnergyReal_WAC_Minus_Absolute" : 37967311,
            "EnergyReal_WAC_Plus_Absolute" : 10520881,
            "EnergyReal_WAC_Sum_Consumed" : 10520881,
            "EnergyReal_WAC_Sum_Produced" : 37967311,
            "Frequency_Phase_Average" : 50,
            "Meter_Location_Current" : 0,
            "PowerApparent_S_Phase_1" : 305.0256,
            "PowerApparent_S_Phase_2" : 221.79690000000002,
            "PowerApparent_S_Phase_3" : 323.88300000000004,
            "PowerApparent_S_Sum" : 687,
            "PowerFactor_Phase_1" : 0.39000000000000001,
            "PowerFactor_Phase_2" : 0.60999999999999999,
            "PowerFactor_Phase_3" : 0.40000000000000002,
            "PowerFactor_Sum" : 0.46000000000000002,
            "PowerReactive_Q_Phase_1" : -211.31999999999999,
            "PowerReactive_Q_Phase_2" : -142.56,
            "PowerReactive_Q_Phase_3" : -256.27999999999997,
            "PowerReactive_Q_Sum" : -610.15999999999997,
            "PowerReal_P_Phase_1" : 89.859999999999999,
            "PowerReal_P_Phase_2" : 112.58,
            "PowerReal_P_Phase_3" : 114.77,
            "PowerReal_P_Sum" : 317.20999999999998,
            "TimeStamp" : 1638734002,
            "Visible" : 1,
            "Voltage_AC_PhaseToPhase_12" : 415.80000000000001,
            "Voltage_AC_PhaseToPhase_23" : 414.69999999999999,
            "Voltage_AC_PhaseToPhase_31" : 414.19999999999999,
            "Voltage_AC_Phase_1" : 239.80000000000001,
            "Voltage_AC_Phase_2" : 240.30000000000001,
            "Voltage_AC_Phase_3" : 238.5
         }
      }
   },
   "Head" : {
      "RequestArguments" : {
         "DeviceClass" : "Meter",
         "Scope" : "System"
      },
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2021-12-06T06:53:22+11:00"
   }
}

It depends on your installation method - HassOS, Supervised, Container, Core - but I’m sure you can google this.

Can you share your config entry?

Hi there,

I’m an HA newbee trying to configure the Energy dashboard entries for Solar panel and grid flow readings etc to include the power flow sensor data from my Fronius.

I’ve setup the Fronius sensors in HA and I can see the entities in the general config but the power flow sensors are not available for me to add as a valid sensor option to the Energy Dashboard

My yaml config:

sensor:

  • platform: fronius
    resource: http://myipaddress
    monitored_conditions:
    • sensor_type: logger_info
    • sensor_type: inverter
      scope: system
    • sensor_type: meter
      device: 1
    • sensor_type: storage
      device: 0
    • sensor_type: power_flow

The sensors I’d like to use for real time power flow (but aren’t available in my Energy Dashboard Setup):

(‘sensor.power_photovoltaics_fronius_power_flow_0_http_myipaddressgoeshere’)
(‘sensor.power_grid_fronius_power_flow_0_http_myipaddressgoeshere’)
(‘sensor.power_load_fronius_power_flow_0_http_myipaddressgoeshere’)

Any help would greatly be appreciated.

Hi :wave:!
Power is not energy. These aren’t compatible with the energy dashboard.

If you have your meter in feed-in path:

  • For Grid consumption use the meters Energy real consumed entity.
  • For Return to grid use the meters Energy real produced entity.
  • For Solar production add each inverters Energy total entity.

Use sensor_type: inverter with scope: device instead of system.

1 Like