r/homeassistant • u/mikeonepu • 6h ago
⚡ Energy Grid electricity goes over €1/kWh tonight in Belgium. Home Assistant already planned for it: my battery sells into the peak and I didn't touch a thing
Opened my dashboard this morning and saw some pretty insane Belgian day-ahead electricity prices.
⚡ Today's electricity prices Belgium, December 3
- Cheapest: €0.20/kWh at 05:30
- Daily average: €0.46/kWh
- Peak: €0.87/kWh at 17:45 (wholesale)
- Peak all-in cost: ~€1.06/kWh including VAT, grid fees and taxes
For comparison, my November average was €0.23/kWh. Today's average is literally twice that.
I'm on a dynamic electricity contract with 15-minute pricing, so a day like this can either hurt or pay.
What Home Assistant is doing about it
1. Overnight Charging
Pulled 19 kWh from the grid during the cheapest slots (cheap for today, anyway). Battery was full by 07:00.
2. Morning Selling
Already sold 2.4 kWh during the 08:00 price bump for €1.52. In December, with basically no sun.
3. Daytime Solar production
Whatever little sunshine there is goes into the battery to top it up.
4. Evening Peak export
From around 17:00 to 19:45, EMHASS plans to push ~11 kW into the grid, right across the evening price peak.
The estimated numbers:
- Energy exported: 30–32 kWh
- Gross revenue: €24–25
- Overnight energy cost: ~€0.37/kWh (all-in)
- Conversion losses: ~6%
- Estimated evening margin: ~€12
The exact numbers shift slightly every time EMHASS re-optimises the schedule.
🛠️ The technical stack
For anyone interested in replicating this setup:
- Home Assistant central automation and monitoring.
- EPEX Spot 15-minute electricity pricing, with Nord Pool as a backup.
- EMHASS predictive energy optimisation using MPC, re-planning every few minutes based on PV production and household consumption forecasts.
- Deye hybrid inverters battery charging and discharging, with battery data read through ESPHome.
- Roofcast my own open-source, self-calibrating, multi-model solar forecasting solution that feeds directly into EMHASS. Today's forecast basically says: "It's December."
- Custom energy dashboard pulling everything directly from Home Assistant's API.
I used to stare at electricity price apps all day, trying to figure out when to charge and discharge.
Now I just check where the purple bars landed.
I'll update this post tonight with the actual results once the peak is over. I'm curious whether the system manages to export everything as planned or whether my capacity-tariff guard steps in.
Anyone else doing this?
- What electricity prices are you seeing today? Especially curious about NL / DE / FR.
- Are you actively doing battery arbitrage on a dynamic contract?
- If you're running EMHASS, do you allow battery-to-grid exports or optimise purely for self-consumption?
Would love to compare setups and real-world results.

