Phase 2: Split Energy Counters (Heating / DHW)
Priority: 🟡 Medium
Scope: Library + HA integration
Depends on: Phase 0 (#1372)
Parent: #1371
Goal
Add separate energy counters for heating and DHW (domestic hot water), enabling users to track energy consumption per function. Currently only the total energy counter (param 3113) is exposed.
Background
BSB-LAN parameter 3113 provides total cumulative energy in 1 kWh steps — this is a hardware limitation of the meter. By exposing the split counters, users can at least see the breakdown between heating and DHW energy consumption.
New Parameters
| Param ID |
Name |
Unit |
Description |
| 3124 |
energy_heating |
kWh |
Cumulative energy used for heating |
| 3125 |
energy_dhw |
kWh |
Cumulative energy used for DHW |
Tasks
Library (python-bsblan)
HA Integration
Acceptance Criteria
energy_heating and energy_dhw available as separate HA sensor entities
- Both sensors compatible with HA Energy Dashboard
state_class is total_increasing for proper long-term statistics
- Devices without these counters gracefully skip them (lazy validation)
Notes
- These counters likely have the same 1 kWh resolution as param 3113
- For finer resolution, users need the Tier 2 approach (compressor modulation × rated power) — tracked separately if param 3197 becomes available
Phase 2: Split Energy Counters (Heating / DHW)
Priority: 🟡 Medium
Scope: Library + HA integration
Depends on: Phase 0 (#1372)
Parent: #1371
Goal
Add separate energy counters for heating and DHW (domestic hot water), enabling users to track energy consumption per function. Currently only the total energy counter (param 3113) is exposed.
Background
BSB-LAN parameter 3113 provides total cumulative energy in 1 kWh steps — this is a hardware limitation of the meter. By exposing the split counters, users can at least see the breakdown between heating and DHW energy consumption.
New Parameters
energy_heatingenergy_dhwTasks
Library (python-bsblan)
constants.py→BASE_SENSOR_PARAMSSensormodel inmodels.py:UNIT_DEVICE_CLASS_MAPalready mapskWh→energy✅UNIT_STATE_CLASS_MAPalready mapskWh→total_increasing✅uv run prek run --all-filesHA Integration
sensor.py— new energy sensor entitiesstate_class=TOTAL_INCREASINGfor HA energy dashboard compatibilityAcceptance Criteria
energy_heatingandenergy_dhwavailable as separate HA sensor entitiesstate_classistotal_increasingfor proper long-term statisticsNotes