Repository navigation
omamobile-owl-widgets 0.1.2, omamobile-shell 0.2.90: weather widgets from Open-Meteo, wttr.in gone - #366
Merged
Conversation
…from Open-Meteo wttr.in refused connections from both the laptop and the phone on 2026-11-02, so the Today widget showed only the date. The phone's own weather service (omamobile-weather) already uses Open-Meteo, and the maintainer decided to drop wttr.in everywhere. omamobile-owl-widgets ships its own copies of the store widgets that used it (overrides/, indexed and sha256-checked like the store's files): today, forecast, sun and moon, air and pollen, planes overhead, red panda and omaprayer. Each keeps its look: current conditions, the next 24 hours, three days, wind, UV, sunrise and sunset come from api.open-meteo.com; a typed city is looked up with geocoding-api.open-meteo.com (the result matching "Town, Region", else the first); the phone's "lat,lon" goes straight in; with neither the widget says "set a city or turn on Location", since Open-Meteo has no IP location. The moon phase is worked out from the date. Forecast and sun and moon fetch with http() now, so they no longer run curl and jq. Red panda reads the phone's weather reading instead of the internet; omaprayer's "auto" uses its own default city. Each credits Open-Meteo (CC BY 4.0) and is one version step past the store's. Their hosts changed, so earlier approvals ask again. omamobile-shell: the catalog's sources and city descriptions name Open-Meteo, OwlCell gives the copies the phone's locale unit as their phoneUnit state (HomeModel.localeUnit, the same rule as omamobile-weather, which test/weather.py checks), and the OWL tests and render fixtures use Open-Meteo answers. It depends on omamobile-owl-widgets 0.1.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
# Conflicts: # packages/omamobile-shell/version
… the Open-Meteo copies From the review of #366: - Today showed visibility about 3.3 times too large in imperial mode: with precipitation_unit=inch Open-Meteo answers visibility in feet (hourly_units.visibility "ft"). Today now converts from the unit the answer reports; wind and rain come in the units asked for and pressure is always hPa. The test has a feet fixture and a metres one. - "Town, Region" now picks the place as omamobile-weather's pick_place does (each part after a comma, US state codes read as states), since the lock screen reads Today's city too: "Springfield, IL" is Illinois in both. The test runs pick_place on the same answers. - Not every copy asks for approval again: approvals compare command strings, and air and pollen and planes overhead kept theirs. The package README and the owl-review note now say which five ask. - overrides/LICENSE carries the store's MIT licence, and each copy's first line names the store file and commit it was modified from. - Omaprayer's "auto" asks for a city instead of showing Jakarta's prayer times. - A comment says why the geocoding and first forecast requests always go out (the fixed host the approval sheet names). omamobile-shell takes 0.2.90: main has 0.2.88 (#362) and #358 holds 0.2.89. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
derekross
added a commit
that referenced
this pull request
Nov 9, 2026
test/weather.py (since 0.2.90, #366) runs plugins/omamobile.home/HomeModel.js under node, but the PKGBUILD never said so. CI's runner and the build image have node, so nothing noticed until tools/phone-install-package built the shell on the Pixel 7 Pro, which has no node: check() failed at "omamobile-weather" and the package wasn't installed (2026-11-08, while installing #420 for its test). phone-install-package installs a package's checkdepends for the build and removes them afterwards, so with this line the phone built and installed it and nodejs was gone again. No version change: the package's files are the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
robertzas
pushed a commit
to robertzas/omarchy-mobile
that referenced
this pull request
Nov 14, 2026
…from Open-Meteo, wttr.in gone (derekross#366) wttr.in refused connections from the laptop and the phone, so the Today widget showed only the date. Seven OWL store widgets now ship as override copies on Open-Meteo (today, forecast, sun-and-moon, air-and-pollen, planes-overhead) or on the phone's own weather file (red panda), and omaprayer's IP lookup is gone ('set a city'). Places: lat,lon from the phone, or a typed city through Open-Meteo's geocoding with omamobile-weather's pick_place rule (US state codes); units from the phone's locale, converted from Open-Meteo's own unit fields (visibility comes in feet in imperial mode). Each copy credits Open-Meteo (CC BY 4.0), keeps its author's credit, and says what it was modified from (MIT, overrides/LICENSE). The store pin and sha256 checks are unchanged. Today, forecast, sun and moon, red panda and omaprayer ask for approval once; air and pollen and planes overhead keep theirs. omamobile-owl-widgets 0.1.2, omamobile-shell 0.2.90. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
robertzas
pushed a commit
to robertzas/omarchy-mobile
that referenced
this pull request
Nov 14, 2026
test/weather.py (since 0.2.90, derekross#366) runs plugins/omamobile.home/HomeModel.js under node, but the PKGBUILD never said so. CI's runner and the build image have node, so nothing noticed until tools/phone-install-package built the shell on the Pixel 7 Pro, which has no node: check() failed at "omamobile-weather" and the package wasn't installed (2026-11-08, while installing derekross#420 for its test). phone-install-package installs a package's checkdepends for the build and removes them afterwards, so with this line the phone built and installed it and nodejs was gone again. No version change: the package's files are the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wttr.in refused connections from both the laptop and the phone today, so the Today widget showed only the date. The maintainer decided (2026-11-02) to drop wttr.in everywhere: weather comes from Open-Meteo, the same source the phone's own weather service (
omamobile-weather) uses.What changes
omamobile-owl-widgets 0.1.2 ships its own copies of the store widgets that used wttr.in, in
packages/omamobile-owl-widgets/overrides/.update-index.jsindexes them andinstallchecks them against the index's sha256, as it does the store's files. The pinned store commit is unchanged. The newpackages/omamobile-owl-widgets/README.mdlists how each copy differs from the store and says the change should go upstream.simonschubert/todayapi.open-meteo.com. Open-Meteo has no moon phase, so it is worked out from the date. The yr.no link stays.simonschubert/forecasthttp()instead ofcurl | jq, so it no longer runs commands or needs curl and jqsimonschubert/sun-and-moonhttp()(no commands); the moon from the datesimonschubert/air-and-pollensimonschubert/planes-overheadssalentin/red-panda~/.local/state/omamobile/weather.json,file(...) optional, soowl: 5) instead of wttr.in by IP. It no longer uses the internet.setiapam/omaprayerHow the weather copies find the place:
city: the home screen's GeoClue position, asOwlCellfeeds it today. It goes straight into the request.geocoding-api.open-meteo.com. The result is picked withomamobile-weather'spick_placerule: the first result whose region, county, country or country code matches a part after a comma, with US state codes read as states ("Springfield, IL" is Illinois), otherwise the first result. The test checks it agrees withpick_place, since the lock screen reads Today's city too.Units: a
phoneUnitstate that the home screen fills from the locale (°F for US locales, the same rule asomamobile-weather). Without it, the found place's country decides. Each copy credits "weather: open-meteo.com (cc by 4.0)" where it shows its source, as Open-Meteo's terms require, and keeps its author credit.Versions: each copy is one step past the store's version, never a suffix.
catalog.newer("1.1", "1.1-x")is true, so a suffixed version would have let the Store tab offer the store's wttr.in copy as an "update".omamobile-shell 0.2.90 (main has 0.2.88; #358 holds 0.2.89):
HomeModel.js: the catalogsourcehosts for the five weather built-ins are Open-Meteo's, and the city hint no longer says "Empty: wttr.in guesses from your address".HomeModel.localeUnit.test/weather.pychecks that it agrees withomamobile-weather'slocale_unit.OwlCell.qmlsetsphoneUnit.test/owl-core.js,test/home-renderandtests/owl/render/layout-jobs.jsuse Open-Meteo stand-ins and fixtures.omamobile-owl-widgets>=0.1.2.Docs:
docs/owl-review/README.md(new note, regenerated approval rows, 19 of 47 now pass), and a note indocs/WIDGET-INTEROP-PLAN.md.tests/owl/port-approvals.jsreads our copies, and forecast is now approved after migration.Which widgets ask for approval again
An approval holds for the exact command strings the compiler prints, and a URL built from widget values is listed without its host (
approvalMatches).Putting the hosts into the approval record would close that gap; it predates this PR and belongs in its own.
Review fixes (round 40)
precipitation_unit=inchOpen-Meteo answers in feet, so Today now converts fromhourly_units. Wind and rain come in the units requested; pressure is always hPa. Tested with a feet fixture and a metres one.pick_place's rule, with tests.overrides/LICENSE(the store's MIT), and a "Modified from omarchy-widgets widgets//widget.owl@b63886b …" first line in each copy.Left as it is
packages/omamobile-shell/widgets/OWL.mdstill has wttr.in in its examples. It is Simon Schubert's language guide, vendored unchanged as its header states.weatherIcon()still takes the older World Weather Online codes, and our copies map WMO codes onto them. Only the comment changed.Tests (laptop only, no phone)
packages/omamobile-owl-widgets/test/all, with the newtest/open-meteo.js: every copy compiles and names only Open-Meteo hosts plus its own service. It drives each copy with made-up Open-Meteo answers through our OWL runtime and checks URLs, rounding, region pick, units, WMO words, the credit, the "set a city or turn on Location" message, the moon, red panda's rain and omaprayer's auto.installships it in place of the store's.packages/omamobile-shell/test/all,tests/allandtools/pr-check origin/mainall pass.test/home-renderandtests/owlconformance (they need the OWL container).To check on the phone
omamobile-weather showreports rain.🤖 Generated with Claude Code
https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d