I’ve created a simple Python script that logs into a Fronius inverter’s local web interface, checks the status of the load management relays (up to 4), and reports their state to Home Assistant using MQTT.
The relays (e.g. for resistive loads like water heaters) are only visible via the Angular frontend – no Modbus or API access – so this script uses Selenium in headless mode.
Works with Fronius Gen24 that expose
/load-management
in the local web UI.
Features:
- MQTT updates for up to 4 phases
- Timestamp-based heartbeat for offline detection
- Works with HASS.Agent or via Task Scheduler
Feedback and contributions are welcome!