Crazysquares This is what the Smart charging does in the Custom charge Schedules section.
It calculates the target SOC based on solar forecast.
This currently is not the case for Agile or IOG as they would need more granular forecasts, ideally hourly.