Release v4.1
weewx-loopdata 4.1
WeeWX could fail to shut down if the stop signal arrived while LoopData
was starting up. Nothing else changes: no weewx.conf edits, no fields
changes, and loop-data.txt output is identical. This is a drop-in
upgrade.
What's new
- Shutdown can no longer be swallowed at startup. WeeWX stops by
raising an exception from its TERM signal handler, inside whatever code
is running when the signal lands. If that was LoopData's startup —
reading the target report configuration, or priming its accumulators
from the database on the first loop cycle — the broad error handlers
there swallowed the exception and weewx failed to stop. They now pass
it through. (Steady-state operation was never affected: per-packet
accumulation runs in LoopData's own worker thread, which the signal
cannot reach.)
Requirements
- Python 3.7 or later
- WeeWX 4 or 5
- No third-party Python packages
Installing/upgrading
Download weewx-loopdata.zip from this release, then:
weectl extension install weewx-loopdata.zip
(On WeeWX 4: sudo /home/weewx/bin/wee_extension --install weewx-loopdata.zip)
Restart WeeWX. No weewx.conf changes are needed when upgrading from 4.0.
Note that upgrading replaces the bundled skin (skins/LoopData/) — if you
customized index.html.tmpl or realtime_updater.inc, save a copy first.