Skip to content

fix(weather): fix openmeteo forecast stuck in the past#4064

Open
KristjanESPERANTO wants to merge 1 commit intoMagicMirrorOrg:developfrom
KristjanESPERANTO:fix/openmeteo
Open

fix(weather): fix openmeteo forecast stuck in the past#4064
KristjanESPERANTO wants to merge 1 commit intoMagicMirrorOrg:developfrom
KristjanESPERANTO:fix/openmeteo

Conversation

@KristjanESPERANTO
Copy link
Collaborator

The URL was built once at startup with a hardcoded start_date. Since HTTPFetcher reuses the same URL, the forecast never advanced past day one.

Use forecast_days instead — Open-Meteo resolves it relative to today on every request. Other providers are not affected as they don't use dates in their URLs.

Fixes #4063

The URL was built once at startup with a hardcoded start_date. Since
HTTPFetcher reuses the same URL, the forecast never advanced past day one.

Use forecast_days instead — Open-Meteo resolves it relative to today on
every request. Other providers are not affected as they don't use dates in their URLs.

Fixes MagicMirrorOrg#4063
@KristjanESPERANTO KristjanESPERANTO requested a review from rejas March 22, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant