v4.4.0 β π Battery Time Remaining (time to full / empty)
π NEW: Battery Time Remaining β see at a glance when your battery is full or empty!
PV Energy Management Spot now estimates the remaining time of your battery. A new "Time Remaining" sensor on your Battery device shows:
- β³ Discharging β time until empty
- β‘ Charging β time until full
- π€ Idle β "β"
It uses your full/empty SoC thresholds (soc_high / soc_low) as the bounds β so it matches exactly how you defined "full" and "empty".
Built honest, not jumpy
- Uses your real battery power for an accurate estimate (config: Battery Power Sensor).
- No battery power sensor? It can derive the value from PV β house β grid (just point it at your grid power sensor).
- Smoothed (moving average) so the time doesn't flicker every second.
- Clean behaviour at idle / near-full / near-empty (no division-by-zero).
Plus attributes: voraussichtlich_um (the clock time it will be full/empty), leistung_w, modus, dauer, quelle.
How to enable
Settings β Devices & Services β PV Energy Management Spot β Configure β Sensors, then set Battery Power Sensor (W) + Battery Capacity (kWh) (and your SoC sensor, if not already). π