Is it somehow possible to change the value for CHARGER_FORECAST_THRESHOLD? That would allow to update the value based on the forecast for the next day based on weather forecast or assumed consumption (heat pump, other bigger consumers which cannot be shifted).
One could change the environment variable in the container and then send the reload command (similar to power-splitter for recalculation). Or is the variable checked before every run?