This Home Assistant integration connects to your Qube heat pump via Modbus/TCP and exposes the full set of registers as native entities (sensors, binary sensors, switches, numbers, buttons). It uses the python-qube-heatpump library for standardized protocol-level entity definitions.
All entity IDs include a configurable prefix (default: qube) for clear identification:
sensor.qube_temp_supply
sensor.qube_temp_return
sensor.qube_energy_total_electric
switch.qube_bms_summerwinter
select.qube_sgready_mode
The prefix can be customized via the integration's Options (Configure button) to match your device name.
- Open HACS in Home Assistant
- Click the three dots menu → Custom repositories
- Add
https://github.com/mattiegit/qube_heatpumpas an Integration - Search for Qube Heat Pump and click Download
- Restart Home Assistant
- Download the latest release from GitHub
- Copy the
custom_components/qube_heatpumpfolder to yourconfig/custom_components/directory - Restart Home Assistant
- Go to Settings → Devices & Services → Integrations
- Click Add Integration and search for Qube Heat Pump
- Enter the IP address or hostname of your heat pump
- The integration auto-discovers all Modbus entities
- Sensors - Temperatures, power, energy, setpoints, operating hours
- Binary sensors - Alarms, valve states, digital inputs/outputs
- Switches - Summer mode, DHW boost, SG Ready, heating curve
- Number entities - DHW setpoint control
- Select entity - SG Ready mode selector
- Button - Integration reload
Beyond raw Modbus values, the integration provides:
- Standby power/energy - Fixed 17W standby consumption tracking
- Total energy (incl. standby) - Combined active + standby consumption
- Monthly/daily energy splits - CH and DHW consumption separated
- SCOP calculations - Daily and monthly efficiency ratios
- Status sensors - Human-readable heat pump and valve states
- Qube Info sensor - Version, host, entity counts
- Error counters - Connection and read error tracking
- IP Address sensor - Resolved IP for hostname setups
The integration implements monotonic clamping for total_increasing sensors. When the heat pump occasionally reports glitched values lower than the accumulated total (a known hardware quirk), the integration preserves the previous valid value to prevent energy statistics from being corrupted.
- Network: Modbus/TCP is an unencrypted protocol. The integration assumes a trusted local network
- Write access: The
write_registerservice allows raw register writes for advanced users. Normal setpoint control should use thenumberentity actions - No external connections: All communication stays within your local network
See the project wiki for detailed documentation on:
- SG Ready signal configuration
- Virtual thermostat setup
- Dashboard examples
- Troubleshooting
Contributions are welcome! Please open issues for bugs or feature requests.
If you find this integration useful, consider buying me a coffee.
This project is licensed under the MIT License.