Phase 4: Smart Grid / Energy Tariff Support
Priority: 🔵 Low
Scope: Library + HA integration
Depends on: Phase 2 (#1374)
Parent: #1371
Goal
Enable smart grid integration allowing the heating system to respond to energy tariffs (cheap/expensive electricity) via BSB-LAN's SG-Ready interface. This is increasingly relevant as more users combine heat pumps with solar PV and dynamic electricity tariffs.
Background
BSB-LAN supports the SG-Ready (Smart Grid Ready) interface, which is a German standard for heat pump demand response. It allows external systems to signal the heat pump to:
- Block: Stop heating (grid overload)
- Normal: Standard operation
- Boost: Increase setpoints (cheap energy / solar surplus)
- Max boost: Force maximum heating (very cheap energy)
New Parameters
| Param ID |
Name |
Unit |
Description |
| 3264 |
smart_grid_mode |
enum |
Current SG-Ready mode (0-3) |
| 3265 |
smart_grid_status |
enum |
Smart grid status feedback |
| 3266 |
smart_grid_boost_setpoint_offset |
K |
Temperature boost offset |
| 3267 |
smart_grid_dhw_boost_setpoint |
°C |
DHW boost setpoint |
SG-Ready Modes
| Mode |
Signal |
Heat Pump Behavior |
| 0 |
Block |
Compressor off (grid overload) |
| 1 |
Normal |
Standard operation |
| 2 |
Boost |
Increased setpoints (cheap tariff / solar) |
| 3 |
Max boost |
Forced maximum output |
Tasks
Library (python-bsblan)
HA Integration
Acceptance Criteria
- Users can read current smart grid mode and status
- Users can set smart grid mode from HA (select entity or service call)
- Automations can control heat pump based on energy tariff / solar production
- Gracefully handles devices without SG-Ready support (param validation skips)
Future Ideas
- Integration with HA energy dashboard tariff tracking
- Automatic switching based on Nordpool / Tibber / ENTSO-E prices
- Solar surplus detection via HA energy sensors
Phase 4: Smart Grid / Energy Tariff Support
Priority: 🔵 Low
Scope: Library + HA integration
Depends on: Phase 2 (#1374)
Parent: #1371
Goal
Enable smart grid integration allowing the heating system to respond to energy tariffs (cheap/expensive electricity) via BSB-LAN's SG-Ready interface. This is increasingly relevant as more users combine heat pumps with solar PV and dynamic electricity tariffs.
Background
BSB-LAN supports the SG-Ready (Smart Grid Ready) interface, which is a German standard for heat pump demand response. It allows external systems to signal the heat pump to:
New Parameters
smart_grid_modesmart_grid_statussmart_grid_boost_setpoint_offsetsmart_grid_dhw_boost_setpointSG-Ready Modes
Tasks
Library (python-bsblan)
constants.pySmartGridmodel inmodels.pysmart_grid()method to read statusset_smart_grid()method to write modeuv run prek run --all-filesHA Integration
smart_grid_modeas aselectentity (Block / Normal / Boost / Max Boost)smart_grid_statusas a sensor entityAcceptance Criteria
Future Ideas