UI warning plan outside of forecast
Description
I'm getting warning messages that my plan is outside of forecast range - which is clear because my plan is set for Monday 10.11 and today is 05.11, so 5 days ahead. Doesn't matter which forecast (energy forecast, co2 or price), as forecast is usually provided only for next 2-3 days max. No forecast provider is providing data so far in the future.
So, it's a given that it's outside. Can this warnings be excluded in the logs?
Steps to Reproduce
- Set forecasts for co2, energy production, pricing
- Define a plan (in my case it's a recurring plan from Mon to Wed) in the future outside of the forecast
- Warning messages will appear.
Logs
[site ] WARN 2025/11/05 19:24:08 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site ] WARN 2025/11/05 19:24:08 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:26:13 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:28:17 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:30:25 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:32:29 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:34:59 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:37:02 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:39:05 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:41:26 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:43:39 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
[site ] WARN 2025/11/05 19:45:55 plan beyond forecast range: 50340.0 at 2025-11-10 07:00:00 +0100 CET
Version
v0.209.7
So how do you suggest a user to be notified his plan never gets executed due to missing rates?
Hmm..I thought a plan always gets executed, isn't that the case? If I'm setting a target SoC to a specific time it's always executed, right - independent of the rates?
If it's something you always want to warn about, it's also fine - then I will automize it via HA to activate and deactivate the plans accordingly.
Only my "inner Monk" is getting crazy if there is a constant warning, with yellow sign in the corner ;-)
Yes, this is not a real warning the user as to act upon. I'd suggest not logging this at all or not aas WARN, since this normal expected behavior for charge targets far into the future. Worst case, tariff never becomes available and we'll default to late charging but still hit the goal.
The case that tariffs become completely unavailable and user has to check/update his config is a different topic: device health indicator.
Hmm..I thought a plan always gets executed, isn't that the case?
Also true, letz make the warning a debug log. Do you want to open a PR?
Unfortunately I cannot code, I'm only a end user (with maybe some extended) knowledge. But never actually have written any line of code myself. So you probably would not be happy if I'm making a PR ^^
Just change warn to debug…