Weather bar icon doesn't fall back to wttr.in when Open-Meteo fails and coordinates are configured
System details
Omarchy 4.0.6-1 (also checked against the v4.5.0-rc3 source of shell/plugins/panels/weather/Panel.qml), ThinkPad X13 Gen 1.
What's wrong?
When a weather location with coordinates is configured, the bar icon is set only from the Open-Meteo response. The wttr.in response is fetched on every refresh too, but with configured coordinates it never sets the bar label:
// forecastProc (wttr.in)
if (!root.hasConfiguredCoordinates)
root.label = Model.provisionalCurrentIcon(parsed.current_condition && parsed.current_condition[0], root.label)
So if Open-Meteo is unreachable when the shell starts (before any successful response), label stays empty and the widget is hidden (visible: panelLoader.item && panelLoader.item.label !== ""), even though wttr.in returned valid current conditions. The panel itself already falls back (current uses Open-Meteo, else the wttr report), only the bar icon doesn't.
The reverse case is what hid my widget today on 4.0.6: with no location configured, wttr.in was refusing connections (curl: (7) Failed to connect to wttr.in:443), and since both the location and the Open-Meteo coordinates come from wttr.in, the widget disappeared while Open-Meteo was fine. 4.5's geo.omarchy.org detection fixes that path, so this issue is only about the configured-coordinates case above.
Steps to reproduce (derived from the code, not run end to end)
omarchy-weather-location --set "Some City" <lat>,<lon>- Block
api.open-meteo.com(e.g. an/etc/hostsentry pointing to 0.0.0.0) and restart the shell. - wttr.in still answers, but the weather icon never shows in the bar.
Expected
Either provider should be enough to show the bar icon: if Open-Meteo hasn't produced a label, use wttr.in's current condition as the provisional icon (as is done when no coordinates are configured), and let Open-Meteo replace it once it answers.
Related: #11999 (the opposite direction: widget hidden when wttr.in fails).
Hit this end to end today on Omarchy 4.5.0-3 (ThinkPad T520, Intel i7-2860QM / i915), so the code analysis above matches real behavior.
State: ~/.local/state/omarchy/settings/weather.json had coordinates
{"name":"Jimo","latitude":36.38972,"longitude":120.46222}.
While api.open-meteo.com was unreachable on this network (curl --max-time 5 to the exact plugin URL timed out or returned nginx 403 for several minutes; https://wttr.in/Jimo?format=j1 returned 200 and valid current conditions throughout), the weather pill was simply absent:
$ omarchy-shell shell debugBarGeometry | jq -c '.[] | select(.id=="omarchy.weather")'
{"id":"omarchy.weather","section":"centerEnd","x":848,"y":0,"width":0,"height":0,
"visible":false,"itemVisible":false,"itemWidth":19,"itemHeight":24}
The shell process was spawning the Open-Meteo curl as expected, it just never got a usable response; wttr.in was fine and the panel's own current fallback had data.
Dropping only the coordinates (keeping the name, {"name":"Jimo","latitude":null,"longitude":null}) restored the icon within a few seconds, with no shell restart:
{"id":"omarchy.weather",...,"width":19,"height":24,"visible":true,...}
So the trigger is a fresh shell start (no previously resolved label) plus configured coordinates plus Open-Meteo being down; the retry budget (3 x 2.5s) expires and the pill stays hidden until some later 15-minute refresh happens to succeed. Same expectation as the report: if label is still empty, use wttr.in's current condition as the provisional icon and let Open-Meteo replace it once it answers.
Same here on Omarchy 4.5.0-3, and on our side the 403 isn't a network blip: it's deterministic and depends on the request itself. Tested with neutral coordinates (52.52, 13.41) from two machines, on two days:
https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&daily=weather_code,temperature_2m_max,temperature_2m_min¤t=temperature_2m,apparent_temperature,relative_humidity_2m,wind_speed_10m,weather_code,is_day&forecast_days=4&timezone=auto
→ 403 (nginx)
same URL with forecast_days=3
→ 200
Each parameter on its own returns 200; it's the combination of current + daily + forecast_days=4 + timezone=auto that gets the 403. So besides the wttr.in fallback in #17451, forecast_days=3 in refreshDailyForecast (Panel.qml) may be enough to get the icon back, if three days suit the panel.
The request fix and this fallback are separate. #19133 (AnPod) addresses the Open-Meteo 403 on the tested requests. This issue still applies when Open-Meteo times out or is otherwise unavailable but wttr.in answers. #17405 (jasasonc), #17451 (jamesponwith), and the fallback part of #19198 (grold) all cover the empty-icon case. Before picking one, I'd check both response orders with saved coordinates: wttr.in should fill an empty icon, and Open-Meteo should replace it when it answers, without changing when a location save completes.
I’m seeing a similar symptom on Omarchy 4.5 on a ThinkPad X13 Gen 2. The built-in omarchy.weather widget is enabled and present in the bar configuration, but the icon stays hidden after restarting the shell or rebooting. Running omarchy-shell omarchy.weather toggle opens the panel on one monitor. It shows weather data for Tatuí, Brazil, but displays — where the current weather symbol should be.
On November 18, 2026, I reproduced an HTTP 403 from the terminal using the same forecast parameters and five-second timeout as the installed Panel.qml, with approximate city coordinates:
curl -q -sS --max-time 5 -o /dev/null -w 'HTTP %{http_code}\n' \
'https://api.open-meteo.com/v1/forecast?latitude=-23.35&longitude=-47.85&daily=weather_code,temperature_2m_max,temperature_2m_min¤t=temperature_2m,apparent_temperature,relative_humidity_2m,wind_speed_10m,weather_code,is_day&forecast_days=4&timezone=auto'
The response body was a generic nginx 403 Forbidden page. The same curl request returned 403 when pinned to either 167.114.211.86 or 157.90.83.168 with --resolve. A shorter Open-Meteo request and wttr.in/?format=j1 both worked. The full URL also returned valid JSON in Chromium, including current.weather_code.
I haven’t captured the shell’s own HTTP response, so I can’t confirm it received the same 403 or explain why Chromium succeeded. I’m sharing this because the installed BarWidget.qml hides the widget when the icon label is empty, and #17451 looks relevant to keeping the icon visible when Open-Meteo cannot supply it.
Codex High read the report, comments and current weather-label handling on quattro. #17405 and #17451 are already open and reference this issue; I have not verified either fix or run runtime tests in this pass.
Classification remains unsettled because the classification model, deepseek-v4p1-flash, returned no usable answer. This is waiting on completion of that second classification before verification continues; no classification or verification labels were added.
The bug classification is now agreed. Reading current quattro at fee089f1647a4dc57e473c7c8df88478ee260b16 confirms the failure: with saved coordinates, the wttr.in handler stores its conditions but cannot fill an empty icon. If Open-Meteo supplies no usable current conditions, the label stays empty and BarWidget.qml hides the widget. The merged User-Agent correction does not cover general outages.
#17405 already links this issue and removes that gate while preserving Open-Meteo’s priority and the existing location-save completion rules. Its PR discussion records separate worker reproduction and tests; no new runtime tests ran in this issue pass. This issue remains open while that fix is worked and reviewed in its own queue session, pending the maintainer’s decision.
Checked by GPT-6 in Codex (reasoning effort not exposed), Opus 5.5 High and muse-wonder via pi, thinking high. Both reviewers confirmed the source diagnosis and found no actionable defect in this disposition; agreement does not guarantee independence.