Predictive charging¶
Predictive charging is an optional feature that charges batteries from the grid when the expected energy balance for the following day is negative.
Decision logic¶
If (Usable battery + Solar forecast) < Expected consumption:
Charge from grid the exact deficit
Else:
Do not charge (cost saving)
- Usable battery: energy currently stored above the configured min SOC.
- Solar forecast: estimated production for tomorrow (Solcast/Forecast.Solar sensor).
- Expected consumption: 7-day rolling average. See Daily consumption estimate.
Available modes¶
| Mode | Description |
|---|---|
| Time Slot | Charges during a fixed window (e.g. overnight off-peak tariff) |
| Dynamic Pricing | Automatically selects the cheapest hours of the day |
| Real-Time Price | Activates/deactivates charging based on the current price |

Notifications¶
The integration sends Home Assistant notifications:
- 1 hour before the slot starts: energy balance analysis and charging decision.
- When the slot starts: confirmation that charging has begun.
Use the Override Predictive Charging switch to cancel predictive charging at any time.
