fix: solar forecast charging

This commit is contained in:
Björn Stormwall
2026-06-23 15:22:05 +02:00
parent 27ed07f0c4
commit d2f7c1dc73
7 changed files with 676 additions and 70 deletions
@@ -17,12 +17,18 @@
"charging_profile": "Charging profile",
"stop_grace_minutes": "Stop grace period",
"dead_band_resync_minutes": "Dead-band resync interval",
"forecast_sensor": "Forecast.Solar sensor",
"forecast_confidence": "Forecast confidence",
"forecast_lookahead_minutes": "Look-ahead window",
"notify_target": "Notification target"
},
"data_description": {
"charging_profile": "Conservative: charge only on true solar surplus (production house load current EV draw). All Surplus: allocate all solar production to the EV; house load draws from the grid.",
"charging_profile": "Conservative: charge only on true solar surplus (production house load current EV draw). All Surplus: allocate all solar production to the EV; house load draws from the grid. Forecast look-ahead: start charging early using the full confidence-adjusted forecast as the surplus. Forecast surplus: same but subtracts current house load and EV draw — more cautious early start.",
"stop_grace_minutes": "How many minutes to keep charging after solar excess drops below the minimum threshold, before stopping the charger.",
"dead_band_resync_minutes": "How often to re-send the current charging level when within the dead-band, to track gradual solar drift.",
"forecast_sensor": "Pick a power sensor from your Forecast.Solar integration. If the sensor exposes a 'watts' attribute the look-ahead window is used to find the matching period; otherwise the sensor state is used directly.",
"forecast_confidence": "Scale the forecast value by this factor before comparing to the charging threshold. At 80%, a 7000 W forecast is treated as 5600 W.",
"forecast_lookahead_minutes": "How many minutes ahead to look in the Forecast.Solar power curve when deciding to start early.",
"notify_target": "Name of a notify service to receive start/stop alerts (e.g. mobile_app_my_phone). Leave empty to disable notifications."
}
}