fronius sensor polls a Fronius solar inverter, battery system or smart meter and presents the values as sensors in Home Assistant. Data is gathered directly from a Fronius device connected to your local network, this integration doesn’t access the cloud.
You will need to either set a static IP on the Fronius device or assign a static DHCP lease for it, or alternatively access it through the local DNS name if your network is properly configured for this.
To enable this sensor, add the following lines to your
sensor: - platform: fronius resource: FRONIUS_URL_OR_IP monitored_conditions: - sensor_type: logger_info - sensor_type: inverter scope: system - sensor_type: meter device: 1
The hostname or IP address of the Fronius device (e.g.,
Conditions to display in the frontend
The kind of device, can be one of “inverter”, “storage”, “meter”, or “power_flow”
The device type for storage and inverter, can be either “device” or “system”
Each sensor type chosen as monitored condition adds a set of sensors to Home Assistant.
General information about the Fronius Datalogger. Not available on “Gen24” devices.
- The serial number and software and hardware platforms
- The current price of energy consumed from the grid (“cash factor”)
- The current price of energy returned to the grid (“delivery factor”)
Cumulative data such as the energy produced in the current day or year and overall produced energy. Also, live values such as:
- Power fed to the grid (if positive) or taken from the grid (if negative).
- Power load as a generator (if positive) or consumer (if negative).
- Battery charging power (if positive) or discharging power (if negative) and information about backup or standby mode.
- Photovoltaic production.
- Current relative self-consumption of produced energy.
- Current relative autonomy.
Cumulative data such as the energy produced in the current day or year and overall produced energy. Also, live values about AC/DC power, current, voltage and frequency. The data is only shown when choosing device scope.
Detailed information about power, current and voltage, if supported split among the phases. The data is only shown when choosing device scope.
Detailed information about current, voltage, state, cycle count, capacity and more about installed batteries.
Note that some data (like photovoltaic production) is only provided by the Fronius device when non-zero. The corresponding sensors are added to Home Assistant as entities as soon as they are available. This means for example that when Home Assistant is started at night, there might be no sensor providing photovoltaic related data. This does not need to be problematic as the values will be added on sunrise, when the Fronius devices begins providing the needed data.
To find out the device ID of the inverter visit the URL:
In the returned JSON, under the key Body > Data > Inverters you should see your inverters listed with IDs starting from 1.
To find out the device ID of the meter visit the URL:
In the returned JSON, under the key Body > Data you should see your meters listed with IDs starting from 0.
To find out which API version your system runs, visit the URL:
When including more of the components that one Fronius device offers, a list of sensors that are to be integrated can be given like below.
sensor: - platform: fronius resource: FRONIUS_URL 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
Fronius often provides firmware updates for the datamanager interfaces and the devices in their system, it’s recommended to check and apply them regularly. This integration relies on functionality present in rather recent firmware.