Hey, WeeWX'ers.
I've written a watchdog to notify via e-mail if WeeWX is not getting data from
the station for any reason. This is entirely based on weewx log records, so
even if weewx has crashed out entirely, you can get notified.
This arose In my case out of a re-occurring issue on Raspberry Pi with my
WMR300A, where weewx is generally running fine, but some combination of Raspian
USB bug vs. flakey WMR300 firmware bug leads to loss of communication with the
station, so records just stop coming in.
In addition to detecting lack of records / weewx crash, the watchdog script
also runs wunderfixer periodically. I haven't figured out why WU is often
missing records -- I expect it is WU flakiness in that sometimes wunderfixer
reports REST connection issues, and the WU website itself says there is an
issue ("dark clouds pass" etc.).
I think WU is often just overwhelmed. :-/
Since weewx_watchdog is just a script, of course you can tweak it all you need
to remove any features that don't apply to you. =D
Seeking feedback.
And if you need help getting the pre-requisite "mailx" working a la exim4
(default "sendmail" on Raspian), feel free reaching out to me off-alias.
The weewx_watchdog is over here, for now:
https://github.com/UberEclectic/weewx/tree/master/examples/watchdog
Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPad Pro)
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.