Hello Rob. Multi_alarm.py is perfect for the job ! And the battery will be checked at each loop packet record ! After, you can sens à mail or SMS or... all what you want ! ;-)
Le lun. 7 juin 2021 à 18:27, Rob Cranfill <[email protected]> a écrit : > Apologies if this has been asked - I searched without luck - let me know > where to look..... > > I would like to have WeeWX tell me when my weather station's battery is > low - perhaps running a script once a day that can check the battery status > and send me mail if it's low. (All kinds of weirdness happens when it gets > that way, which I always forget about and freak out thinking the whole > system is boofed, when it's really only a low battery.) > > Currently I have a cron job that "screen scrapes" the main page, where the > Sensor Status / Battery Status / Transmitter Battery field has the info I > want ("OK", or "LOW", I think). But that's kinda clunky. > > The best I can come up with so far is to configure the system to also > output a simple HTML page - or maybe just a text file? - with that one > value in it, that will simplify the parsing/scraping, but that's still not > very elegant. > > Or is this just beyond the scope of WeeWX? > > Thanks for any suggestions, > Rob in Seattle > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/633505d8-0882-40c0-9bc9-7e8f7118cac7n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/633505d8-0882-40c0-9bc9-7e8f7118cac7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CADhm9YfhP9MpukMumBp6FAMz4Tht%3D67bpH7LqeZSugjqMY2%3DhA%40mail.gmail.com.
