Hi everyone,
I’d like to share Solar Energy Management (SEM) — a Home Assistant integration that turns your solar panels, battery, and EV charger into one intelligent system.
The Problem
Home Assistant’s Energy Dashboard shows you great data — but it doesn’t act on it. Your EV still charges from the grid even when the sun is shining. Your battery and EV compete for solar. Night charging wastes money when tomorrow will be sunny.
What SEM Does
SEM reads your solar production every 10 seconds and automatically:
- Adjusts EV charging current (6-32A) to match real-time solar surplus — pauses for clouds, resumes when sun returns
- Coordinates battery and EV with a 4-zone SOC strategy — battery charges to priority level first, then EV gets the surplus
- Reduces night charging when tomorrow’s solar forecast is good — why charge from the grid tonight if the sun will do it tomorrow?
- Sheds loads before peak demand — tracks your 15-minute rolling average and protects you from demand charges
3 switches, everything else automatic. No YAML, no automations to build, no templates to maintain.
Hardware Support
Works with any inverter, battery, and EV charger that has a Home Assistant integration:
- Huawei SUN2000, SolarEdge, Fronius
- KEBA P30, Easee, go-eCharger, Wallbox
- Huawei LUNA2000, BYD, Tesla Powerwall
- Any smart meter with power sensors in HA
SEM auto-detects your hardware from the HA Energy Dashboard — no manual sensor configuration needed.
Setup
3-step wizard, takes about 5 minutes:
- SEM reads your Energy Dashboard sensors automatically
- Select your EV charger sensors
- Set battery capacity and peak limit — done
Auto-generates a 5-tab monitoring dashboard (Home, Energy, Costs, Battery, EV).
Install
Available on HACS:
- HACS > Integrations > search Solar Energy Management
- Download, restart, add integration
Or as custom repository: https://github.com/traktore-org/sem-community
What You Get
- 150+ sensors (power, energy, flows, costs, performance)
- Smart EV charging with solar surplus matching
- Battery-EV coordination (4-zone SOC strategy)
- Night charging with forecast reduction
- Peak load management
- Cost tracking (daily/monthly in your local currency)
- 6 languages (EN, DE, FR, IT, ES, NL)
Feedback and contributions welcome!
