Skip to content

Align Caelus forecasts and bundle nine weather glyphs - #25

Merged
mot-yelraf merged 1 commit into
trunkfrom
improve-forecast-glyphs
Sep 15, 2026
Merged

mot-yelraf merged 1 commit into
trunkfrom
improve-forecast-glyphs

Conversation

@mot-yelraf

@mot-yelraf mot-yelraf commented Sep 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

Align Sensorius's hourly provider conditions, daily summaries, and representative daily condition with standalone Caelus. The Today card now covers the remaining local day. MET precipitation amounts and probabilities use the same forecast period, including Caelus's estimates when probability is absent; old cached summaries refresh automatically.

Bundle nine local Twemoji SVGs, including clear and partly cloudy night variants, so forecast artwork works offline without system emoji fonts. Hourly night selection uses provider daylight indicators or station solar position. Include artwork attribution, license, documentation, and version v0.26.258.2.

Verification

  • macOS, Python 3.13.9; isolated provider fixtures, no MQTT broker or direct hardware required.
  • python3 -m pytest testApparatus/test_weather_forecast.py testApparatus/test_integrated_weather_forecast.py testApparatus/test_compile_python.py -q — 83 passed.
  • npm run validate:pr — 31 passed using the isolated host fixture and Playwright Chromium.
  • Inspected the nine-glyph preview and phone forecast screenshot; desktop/tablet/phone layout checks passed.
  • Compared condition mappings against local Caelus source: 100 WMO codes, 27 MET symbol/glyph combinations, and three representative daily summaries passed before replacing the artwork with SVGs.
  • Source diff whitespace checks passed. The bundled upstream graphics license is preserved verbatim, including one existing trailing space.

Contributor checklist

  • This pull request is focused on one logical change.
  • I added or updated tests for behavior changes.
  • I updated the canonical documentation when behavior or configuration changed.
  • I did not commit credentials, private runtime configuration, databases, or logs.
  • I preserved compatibility-sensitive MQTT, settings, switch identity, and persistence behavior, or documented an intentional break.

Maintainer verification

  • Required remote checks pass (Python 3.11/3.13 compile and full regression suite with coverage).
  • npm run validate:pr passes on a trusted host when the change can affect rendered UI behavior.
  • Hardware-, broker-, onboarding-, and platform-specific behavior not covered remotely is recorded below.

Residual risk or unverified areas

Live provider results, Windows/Linux browsers, and direct hardware were not exercised locally. Legacy offline records without usable location/time retain daytime artwork. Existing NWS grid probability supplementation remains in place. Caelus and cPyNodus III are unchanged; cross-project asset synchronization is a separate task.

@mot-yelraf
mot-yelraf merged commit 7a4e2d1 into trunk Sep 15, 2026
3 checks passed
@mot-yelraf
mot-yelraf deleted the improve-forecast-glyphs branch September 15, 2026 13:16
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