Home Assistant custom component for reading data from Fronius GEN24 and Verto inverters, connected smart meters, and battery storage. Modbus TCP (SunSpec) is the primary source; the authenticated Fronius Web API is optional and adds setup assistance and battery controls that are not available over Modbus. The inverter's web interface also reports module temperatures, fans, battery health and the inverter's event log, without a login.
It began as redpomodoro/fronius_modbus and continued here. Version 1.0 is a rewrite onto Home Assistant's shared Modbus connection and the modbus-connection library.
The full documentation is in the wiki: every entity, the battery and inverter controls, the inverter's events, how data updates, examples, troubleshooting and migration.
Caution
This is an unofficial implementation and not supported by Fronius. It might stop working at any point in time. You are using this module (and its prerequisites/dependencies) at your own risk. Neither I nor any contributor to this or any prerequisite or dependency project is responsible for damage of any kind caused by this project or any of its prerequisites or dependencies.
Important
It is recommended to keep the inverter up to date; this integration is only tested on recent firmware. Firmware below 1.40.7-1 has a Solar API issue that caused outages on GEN24 inverters; with a Web API role and the Solar API switched on, the integration raises a repair issue on such firmware and offers to disable the Solar API until the inverter is updated.
- Inverter, battery and smart meter values over Modbus TCP (SunSpec), with the register map discovered at runtime: AC and DC power, energy, MPPT strings, battery state of charge, grid power per phase, household load, grid status. The grid meter's power can be read on its own, as often as every second, for a battery control that follows feed-in and draw.
- Battery control over Modbus: eight storage modes (such as Charge from Grid, Block Discharging), charge and discharge limits, grid charge power, storage reserve.
- Inverter control over Modbus: AC limit, power factor, grid connection.
- With a Web API login: the inverter's own battery management (SoC window, backup reserve, self-consumption optimisation, charge sources), the export soft limit (
technicianrole), the Solar API switch, and the setup of the inverter's Modbus. - Without a login, from the inverter's web interface: module temperatures, fans, per-phase power, battery health, the inverter's event log as entities and events, why the inverter throttles, and the state of the energy management outputs.
- Discovery over mDNS, diagnostics download with the raw register map.
See Entities and Battery Control in the wiki.
- Home Assistant 2026.9.0 or newer. The integration depends on the built-in
modbusintegration for its connection. - Modbus TCP enabled on the inverter. The setup can enable it for you when a Web API password is provided, except on a Datamanager.
- Optional: the password of a local Web API role. Without it the integration runs on Modbus alone; see Web API in the wiki.
The integration works with Fronius GEN24 inverters (Primo GEN24 and Symo GEN24, also Plus) and Verto Plus over Modbus TCP. The integration finds each device's registers through SunSpec, so it does not rely on a list of models.
Users of this integration and of redpomodoro/fronius_modbus ran it, mostly in versions before 1.x, on for example Primo GEN24 from 3.0 to 10.0, Symo GEN24 from 6.0 to 12.0 and Verto Plus from 17.5 to 30.0, with BYD Battery-Box Premium HVS, HVM and HV or Fronius Reserva batteries, and the Fronius Smart Meter TS 65A-3, TS 100A-1 and 63A. Several inverters run as separate entries.
Tauro models (Tauro ECO included) should work the same way: Fronius publishes the same SunSpec register maps for them, without the storage model. There are no reports yet.
Older Fronius inverters with a Datamanager (the SnapINverter family: Symo, Primo, Eco, Galvo without GEN24, and the Symo Hybrid) are set up Without the web API (Modbus only) or with the technician role, which logs in as the Datamanager's service user and reads its export limit. A number to set the soft limit is off by default, as nobody has confirmed the write on a device yet. Without a meter, the limit applies to what the system generates (Fronius' manual). The customer role opens nothing there; the setup says so. Switch Modbus TCP on in the Datamanager first. If it uses the float SunSpec model type, the setup asks whether to switch it to int+SF; not for split-phase inverters, which are not read after the switch. The Datamanager's smart meters are read where Fronius' manual places them. With several inverters on one Datamanager, set up its address once for each of them: the setup asks for the inverter's number. The meters, Load, the site sensors and the export limit belong to one entry, the first one set up, and only that entry can use the technician role. Disabling that entry hides them; after deleting it, another entry takes them over at its next start. No 1.x version is confirmed on a Datamanager.
Entries, entity IDs, history, statistics and options are kept; existing entries are migrated on the first start. Before you update:
- Take a Home Assistant backup. Going back to 0.3.x afterwards needs it.
- Home Assistant 2026.9.0 or newer is required. HACS refuses the installation on an older Home Assistant; a 0.3.x release stays available there.
- Check your automations and templates:
- Enum states are keys now:
Autobecameauto,Charge from Gridbecamecharge_from_grid,Enabled/Disabledbecameenabled/disabled(rule). Grid charge power,Grid discharge power,PV charge limitandDischarge limitcan give another power for the same value than in 0.3.x. Check the values you set (Battery).SoC MaximumandSoC Minimum (Web API)can only be changed while the newWeb API SoC modeis Manual. In 0.3.x they followedBattery API mode, now calledSelf-consumption optimisation(Battery).Loadcan be negative when other generation behind the grid meter, such as a balcony inverter, feeds in (Connection and data).- Values from the web interface update every 60 seconds by default, not with every Modbus poll (Connection and data).
- Enum states are keys now:
- After the update: if Home Assistant asks for the web login, log in again. Until then the values from the web interface, the events and a second smart meter are missing (Entries without a valid login). The checkbox "Restrict Modbus to this IP" is now the option Modbus IP restriction: a migrated entry keeps its choice, but an unchecked box no longer lifts the inverter's restriction (Setup and security).
Some entities show a new name; their entity IDs stay (New names). Every change in detail is in Migration, the breaking changes in the CHANGELOG.
Coming straight from 0.2.7 or older, the MPPT and storage module sensors (mppt1_power, mppt1_lfte and the like) come back under new entity IDs, as they did with 0.2.8. Entries from redpomodoro 0.1.9 are migrated as well (Migration).
The HACS catalog lists this integration in the place of redpomodoro/fronius_modbus. Home Assistant 2026.11 and later asks users of the old repository to uninstall it. Do not uninstall it, and do not delete the integration under Devices & services: deleting it can lose entities and history. Follow Switch to this repository instead. It keeps the entry, its entities and their history.
- Open the Marketplace (Home Assistant 2026.11 and later) or HACS.
- Search for Fronius Modbus (callifo/fronius_modbus) and download it.
- Restart Hom 81DE e Assistant.
- Add Fronius Modbus under Settings -> Devices & services, or accept the card under Discovered.
Copy the contents of the custom_components folder to your Home Assistant config/custom_components folder. After a restart of Home Assistant, the integration can be set up through the integration setup UI.
The setup asks for the inverter's host, the Web API access role (customer, technician or Without the web API), the update intervals and the Modbus IP restriction. With a role it asks for that role's password; this is the local login of the inverter's web interface, not the Solar.web login. The password is not stored; the integration keeps a derived token that only Home Assistant can read.
With a role, the setup sets the inverter's Modbus itself, except on a Datamanager. Without the web API, set it first in the inverter's web UI: Modbus TCP on, port 502, the SunSpec model type int + SF, inverter address 1 and meter address offset 200, and Allow Control on for the Modbus controls. On a Datamanager, whatever the role, switch Modbus TCP on in its web interface first, with port 502 and Inverter control via Modbus for the Modbus controls; if it uses the float SunSpec model type, the setup asks whether to switch it to int+SF, except on split-phase inverters. With several inverters there, or one with another number than 1, the setup asks for the inverter's number; the meters are read on Modbus units 240 to 244.
Every parameter, discovery, the Modbus IP restriction and reconfiguring are in Installation and Setup in the wiki.
- Diagnostics: Settings -> Devices & services -> Fronius Modbus -> device -> Download diagnostics. Serial numbers and the Modbus restriction IP are redacted.
- Everything the inverter reads out: on Windows, run
tools/inverter_dump.bat(it startsinverter_dump.ps1next to it; both files are needed). It only reads, and by default replaces serial numbers, addresses and names with<redacted>; still look through the file before you share it. Attached to an issue, such a file helps to support a device that is not verified yet. If no meter answers on the usual Modbus units, it looks at every unit, which can take several minutes. To do that even when one answers, add the address and-AllUnits:inverter_dump.bat <address> -AllUnits. On a Datamanager (SnapINverter) it offers theadminorservicelogin instead ofcustomerortechnician, reads the export limit and battery settings with it, and lists the other paths the interface names without reading them. It also reads Modbus unit 240 there, where the meter usually answers. - Error messages, repair notices, logs and known limitations: Troubleshooting and Diagnostics in the wiki.
- Undo the controls you set:
Storage Control Modetoauto,AC limit enableandPower factor controlto disabled,Inverter connectionto enabled, and disable the automations that drive them. The inverter keeps what was written over Modbus, with no timeout, also after the entry is gone. - Settings -> Devices & services -> Fronius Modbus -> the entry's menu -> Delete.
- The stored Web API token for the entry's host and role is deleted with it, unless another entry still uses them.
- The Modbus settings the integration wrote on the inverter (Modbus TCP, SunSpec mode, Allow Control, Restrict Control, port and addresses) stay as they are; change them in the inverter's web UI if you no longer need them.
- If you installed it from the Marketplace or HACS, uninstall it there as well.
Development happens against a WSL2 Home Assistant test environment; the integration itself only needs a recent Home Assistant.
.github/scripts/check.shruns the gates of the Test workflow: ruff (lint and format), mypy, pip-audit, gitleaks (8.30 or newer), the check of the Modbus library pins against Home Assistant's core, pytest with a coverage gate, a mutation run, and the dump tool's offline tests, which need PowerShell 7 (pwsh); see tests/README.md. Run it (or at leastpytest tests/ -q) before calling a change done. The HACS and hassfest validations run in CI only.- The default
pytest tests/ -qrun skips the end-to-end tests. Pass-m ""to include them. tests/fixtures/symo_gen24_fw1386.jsonis a captured SunSpec register map from a Fronius Symo GEN24 10.0 running firmware 1.38.6-1. To capture a fixture from another inverter/firmware combination: download diagnostics for the integration's device (Settings -> Devices -> device -> Download diagnostics), take theregistersobject ({unit_id: {space: {address: word}}}), prepend the SunSpec marker registers (40000/40001,"SunS") and append the end-of-chain header (a model id of0xFFFF) if the diagnostics dump doesn't already include them, and blank out the serial number words before committing the fixture.