Release v6.2
weewx-loopdata 6.2
A small quality release for the sample skin: when the instrument panel
cannot fetch its loop data, it now says so on the page instead of sitting
silently dead. Drop-in upgrade — install over 6.x, no config changes.
(The loopdata service itself is unchanged from 6.1.)
What's new
- A failed loop-data fetch shows up in the LIVE indicator. When the
poll forloop_data_filereturns anything but the json — the classic
case being the web server's 404 page, because loopdata writes outside
HTML_ROOT (say/dev/shm) and nothing on the web server serves that
path — the indicator 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 showsOFFLINE. Previously
the only trace was a JSON.parse error in the browser console, and the
panel just looked dead. A later successful poll rewrites the indicator
to LIVE, as always. (weewx-celestial 7.1 ships the same change for its
Geocentric page.)
Requirements
- WeeWX 4 or 5
- Python 3.7 or later
- No third-party Python packages required
Installing/upgrading
Download weewx-loopdata.zip
and install it over your existing copy, then restart weewxd:
weectl extension install weewx-loopdata.zip
(or wee_extension --install weewx-loopdata.zip on WeeWX 4).