The plugin integrates Luxtronik 2.0/2.1 based heat pump controllers (Alpha Innotec, Siemens Novelan, Roth, Elco, Buderus, Nibe, Wolf Heiztechnik, and others) with Domoticz, providing comprehensive monitoring and control of your heating system.
Why a New Plugin?
The original plugin served well, but had limitations that couldn't be fixed without a complete rewrite:
- Legacy Domoticz framework with 256-device limit
- Device IDs could change, causing orphaned devices
- COP values logged during idle periods skewed efficiency statistics
- No multi-instance support for multiple heat pumps
Key Improvements
- DomoticzEx Framework: Modern Device/Unit model with proper callback support
- Stable Device IDs: HardwareID-based identifiers that never change across restarts or updates
- Intelligent COP Tracking: Separate measurements for heating mode, DHW mode, and combined total — only logged during steady-state operation
- Gated Sensors: Pressure, superheat, and ΔT values only update during active cycles, keeping your statistics clean
- Multi-Instance Support: Run multiple plugin instances for homes with more than one heat pump
- Secure Write Protection: All write commands validated against an explicit allowlist
- Logical Device Organization: 62 devices organized into 14 functional groups with room for expansion
- Multi-Language: English, Polish, Dutch, German, and French
The plugin creates 62 devices organized into logical groups:
Code: Select all
Group | Units | Description
-------------------|-----------|---------------------------------------------
Status | 1 | Working mode (Heating/DHW/Cooling/Idle)
Controls | 10-16 | Heating mode, DHW mode, cooling, setpoints
Power Input | 30-32 | Electrical consumption (total, heating, DHW)
Heat Output | 40-42 | Thermal energy produced (total, heating, DHW)
Efficiency | 50-52 | COP values (total, heating, DHW) — gated
Heating Circuit | 60-67 | Supply/return temps, ΔT, pump speed, flow
DHW | 80 | Hot water tank temperature
Environment | 90-93 | Outside temp, room temp and targets
Source Circuit | 100-106 | Brine/ground loop temps, ΔT, pump, flow
Mixing Circuits | 120-131 | MC1 and MC2 temperatures
Compressor | 140-144 | Frequency, target/min/max freq, capacity %
Refrigerant | 160-167 | Hot gas, suction, discharge, evap/cond temps
Statistics | 180-185 | Runtime hours, start count, cycle duration
Diagnostics | 200-201 | Error count, cooling permitted status
New Sensors in v2
- Compressor runtime hours and start count
- Last cycle duration
- Capacity utilization percentage
- Discharge, evaporating, and condensing temperatures
- Controller spread targets (heating and source ΔT setpoints)
- Heating and source flow rates
- Mode-specific runtimes (heating, DHW, cooling hours)
Code: Select all
cd /path/to/domoticz/plugins
git clone https://github.com/Rouzax/luxtronik-domoticz-plugin-v2.git luxtronik-domoticz-plugin-v2
sudo systemctl restart domoticzMigration from v1
The new plugin uses a different key (luxtronikex vs luxtronik), so both can run simultaneously. Migration scripts are included to transfer your historical data:
Code: Select all
# 1. Backup first!
sudo systemctl stop domoticz
cp domoticz.db domoticz.db.backup
# 2. Preview what will be migrated
sqlite3 domoticz.db < plugins/luxtronik-domoticz-plugin-v2/migration/discover.sql
# 3. Run migration
sqlite3 domoticz.db < plugins/luxtronik-domoticz-plugin-v2/migration/migrate.sql
sudo systemctl start domoticzCOP Accuracy Recommendation
For meaningful efficiency statistics, enable Settings → Log History → "Only add newly received values to the Log" in Domoticz.
The plugin only reports COP during steady-state operation (compressor running at or above minimum frequency, not during startup or idle). Combined with the Domoticz setting, this ensures your monthly/yearly COP averages reflect actual operating efficiency rather than being diluted by idle periods.
Debug Levels
Configurable logging for troubleshooting:
- None: Errors only
- Basic: Lifecycle events, connection status, update summaries
- Device: Individual device updates and state changes
- Comms: Socket communication details
- Verbose: Detailed value conversions and gating decisions
- All: Everything (generates a lot of output!)
Code: Select all
2025-12-04 14:20:25.100 HP: [VERBOSE] Heartbeat triggered
2025-12-04 14:20:25.100 HP: [VERBOSE] Full update starting
2025-12-04 14:20:25.101 HP: [COMMS] Connected to 192.168.2.63:8889
2025-12-04 14:20:25.105 HP: [COMMS] READ_CALCUL: Received 272 values
2025-12-04 14:20:25.105 HP: [VERBOSE] Fetched READ_CALCUL: 272 values
2025-12-04 14:20:25.106 HP: [COMMS] Connected to 192.168.2.63:8889
2025-12-04 14:20:25.321 HP: [COMMS] READ_PARAMS: Received 1162 values
2025-12-04 14:20:25.321 HP: [VERBOSE] Fetched READ_PARAMS: 1162 values
2025-12-04 14:20:25.321 HP: [VERBOSE] Updating devices for READ_CALCUL
2025-12-04 14:20:25.321 HP: [VERBOSE] working_mode: No changes
2025-12-04 14:20:25.321 HP: [VERBOSE] power_total: Next update in 285s
2025-12-04 14:20:25.323 HP: [VERBOSE] Skipping cop_dhw: gated - mode filtered (mode=0, allowed=[1])
2025-12-04 14:20:25.336 HP: [DEVICE] Updated heating_flow: Values changed - sValue: 300.0 -> 400.0
2025-12-04 14:20:25.357 HP: [DEVICE] Updated evaporating_temp: Values changed - sValue: 6.4 -> 6.5
2025-12-04 14:20:25.396 HP: [VERBOSE] Skipping last_cycle: gated - cycle in progress
2025-12-04 14:20:25.396 HP: [VERBOSE] cooling_permitted: No changes
2025-12-04 14:20:25.396 Status: HP: READ_CALCUL: Updated 7, unchanged 46, gated 2
2025-12-04 14:20:25.397 HP: [VERBOSE] Updating devices for READ_PARAMS
2025-12-04 14:20:25.397 HP: [VERBOSE] heating_mode: No changes
2025-12-04 14:20:25.397 HP: [VERBOSE] hot_water_mode: No changes
2025-12-04 14:20:25.397 HP: [VERBOSE] dhw_power_mode: No changes
2025-12-04 14:20:25.397 HP: [VERBOSE] cooling_enabled: No changes
2025-12-04 14:20:25.397 HP: [VERBOSE] temp_offset: Next update in 285s
2025-12-04 14:20:25.397 HP: [VERBOSE] dhw_temp_target: Next update in 285s
2025-12-04 14:20:25.397 HP: [VERBOSE] room_temp_setpoint: Next update in 285s
2025-12-04 14:20:25.397 Status: HP: READ_PARAMS: Updated 0, unchanged 7, gated 0
2025-12-04 14:20:25.397 HP: [VERBOSE] Full update complete Utility devices (power, energy, COP) Temperature sensors Control switches and selectors Link
GitHub Repository
Credits
This project builds upon the excellent work of ajarzyn, whose plugin served as the original foundation.