-
Notifications
You must be signed in to change notification settings - Fork 5
Phase 2: Split energy counters (heating vs DHW) #1374
Copy link
Copy link
Open
Labels
new-featureNew features or options.New features or options.no-staleThis issue or PR is exempted from the stable bot.This issue or PR is exempted from the stable bot.priority-mediumThis issue may be useful, and needs some attention.This issue may be useful, and needs some attention.
Description
Activity
Metadata
Metadata
Assignees
Labels
new-featureNew features or options.New features or options.no-staleThis issue or PR is exempted from the stable bot.This issue or PR is exempted from the stable bot.priority-mediumThis issue may be useful, and needs some attention.This issue may be useful, and needs some attention.
Projects
- StatusShow more project fieldsTodo
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