Hi everyone ![]()
I’ve been working on a custom integration for Home Assistant focused on automatic solar optimization.
The idea is simple:
Detect sustained solar surplus and automatically activate loads to maximize self-consumption — without writing complex YAML automations.
What it does
- Calculates solar / load / grid balance every 10 seconds
- Detects sustained export and import conditions
- Sends persistent alerts
- Automatically controls up to 3 loads with priorities
- Includes built-in anti-flapping logic (min on time, cooldown, duration thresholds)
It also includes a simulation mode so it can be tested without real solar hardware.
Example
Configuration
Everything is configured via UI (no YAML required):
- Simulation or real mode
- Thresholds
- Optimization strategy
- Load priorities
Installation
Available via HACS (custom repository):
https://github.com/springerd/energy-control-pro
Status
This is an early public release (v0.1.0).
I’m mainly looking for feedback and real-world testing.
If you have solar panels and are willing to try it, I’d really appreciate any feedback or suggestions.
Thanks!
