Local Home Assistant custom integration for Idegis pool controllers over a Modbus TCP bridge.
This project was built to replace large manual YAML Modbus definitions with a native Home Assistant integration that can be installed through HACS and configured from Settings -> Devices & Services.
It targets devices such as the Idegis Domotic 2 LS and exposes:
- relay switches
- relay state binary sensors
- pH, ORP, free chlorine, temperature and salt sensors
- editable target numbers for pH, ORP, chlorine and electrolysis production
- UV status, availability and lifetime counters
- digital inputs
- maintenance buttons for documented reset actions
- diagnostics support for troubleshooting
- Native UI setup with
Config Flow - HACS-installable custom integration
- Native
numberentities for setpoints - Single coordinated Modbus polling path
- Local-only operation, no cloud required
- Options flow to enable or disable UV, inputs, diagnostics and maintenance buttons
- Diagnostics dump with raw Modbus register snapshots
-
Open HACS in Home Assistant.
-
Go to
Integrations. -
Open the menu in the top right and choose
Custom repositories. -
Add this repository URL:
https://github.com/julianbl/IdegisModbus -
Select category
Integration. -
Install
Idegis Modbus. -
Restart Home Assistant.
Copy custom_components/idegis_modbus into your Home Assistant custom_components directory and restart Home Assistant.
After Home Assistant restarts:
- Go to
Settings -> Devices & Services. - Click
Add Integration. - Search for
Idegis Modbus. - Enter:
- bridge host
- bridge port
- Modbus slave
- timeout
- delay between Modbus requests
The integration validates the bridge before creating the config entry.
The options flow lets you control:
- polling interval
- whether UV entities are created
- whether digital input entities are created
- whether diagnostics entities are created
- whether maintenance buttons are created
- Pool Pump
- Relay Square
- Relay Triangle
- Pool Led Light
- Target PH
- Target ORP
- Target Free Chlorine
- Target Electrolysis Production
- Water Temperature
- Salt Concentration
- Current PH
- Current ORP
- Current Free Chlorine
- Electrolysis Production
- Cell Current
- Cell Voltage
- Instant Chlorine Production
- UV counters
- Electrolysis counters
- Electrolisys ON
- Water Flow Problem
- Digital Input 1..4
- Relay state feedback
- UV status and UV alarms
- Reset Partial Electrolysis Hours
- Reset PH Pumpstop
- Reset CL Pumpstop
- Restart PH Dose
- Restart CL Dose
- Reset UV Hours And Ignitions
- Relay writes use
read-modify-writeso schedule-related bits are preserved. - The integration polls register blocks instead of individual entities, which reduces queue pressure compared with large YAML Modbus setups.
- Setpoints are exposed as native
numberentities instead ofinput_number + automationworkarounds. - Diagnostics expose the raw input and holding registers gathered by the coordinator.
custom_components/idegis_modbus: integration codetests: unit testsdocs/images: README screenshots20210723 Tabla modbus 1.63.xlsmandIDEGIS modbus v1.3.0 ES (1).pdf: source documentation used for reverse engineering and mapping
Useful commands:
python3 -m compileall custom_components/idegis_modbus
pytestThis integration is based on reverse engineering, Idegis Modbus tables and field validation against real hardware behavior. Validate every write action carefully on your own equipment before relying on it in production pool automations.