This repository contains the configuration and logic for integrating a "SG Ready" heat pump controller into a Home Assistant environment. It enables smart control of heating and hot water systems based on energy availability, solar production, and dynamic tariffs.
-
SG Ready State Management
Supports all four SG Ready operating modes (1β4) with configurable timeouts and triggers. -
Home Assistant Integration
YAML-based configuration for ESPHome and Home Assistant automations. -
Energy-Aware Control
Optimizes heat pump operation based on solar production, battery state, and grid consumption. -
Monitoring & Logging
Real-time status via Home Assistant dashboard, including COP, energy consumption, and activation history. -
Failsafe & Manual Override
Includes timeout logic and manual control options for each SG Ready state.
- Home Assistant (tested with 2025.8.x)
- ESPHome (compatible with ESP8266/ESP32)
- SG Ready-compatible heat pump (e.g. Stiebel Eltron ISG)
- Energy monitoring setup (e.g. SolarWatt, SMA, InfluxDB)
- Flash the ESPHome YAML to your microcontroller
- Import the Home Assistant configuration files
- Adjust entity IDs and thresholds to match your setup
- Restart Home Assistant and verify automation behavior
Includes:
- SG Ready state indicators
- Heat pump metrics
- Solar production and battery status
- Manual override buttons
See docs/sg-ready-overview.md
for a detailed explanation of SG Ready modes and how they interact with your energy system.
Feel free to fork, improve, or adapt this project to your own setup. Pull requests are welcome!
This project is licensed under the MIT License. See LICENSE
for details.
Created by alb-sch
For questions or feedback, feel free to open an issue or reach out via G