Release v7.1
weewx-celestial 7.1
A small quality release: when the page cannot fetch its loop data, it now
says so on the page instead of sitting silently dead. Drop-in upgrade
from 7.0 — install over it, no uninstall, no config changes.
What's new
- A failed loop-data fetch shows up in the badge. When the poll for
loop_data_filereturns anything but the json — the classic case being
the web server's 404 page, because weewx-loopdata writes outside
HTML_ROOT (say/dev/shm) and nothing on the web server serves that
path — the LIVE badge now readsNO DATA (HTTP 404) — check loop_data_file(orBAD DATA — check loop_data_filefor a response
that isn't json). A network-level failure or timeout showsOFFLINE.
Previously the only trace was a JSON.parse error in the browser console,
and the page just looked dead. A later successful poll rewrites the
badge to LIVE, as always.
Requirements
- Python 3.9 or later, WeeWX 5.2 or later
- weewx-loopdata 5.0
or later (evaluates the almanac fields) - weewx-skyfield
strongly recommended: it computes every position and distance the panel
runs on, and only its almanac serves Proxima Centauri. PyEphem serves
everything but Proxima; with neither, the page generates but the panel
shows an install hint. - Skyfield and NumPy are not required by this extension.
Installing/upgrading
From 7.0: download weewx-celestial.zip from this release, then
weectl extension install weewx-celestial.zip and restart WeeWX — 7.1
ships exactly the same file set as 7.0, so installing over it updates
everything and orphans nothing.
From 6.x or earlier: follow the 7.0 release notes' action-required steps
first (uninstall before installing, fields line, possible data_services
cleanup), using this release's zip.