Multi_alarm.py is a super python program for different test alarm on each
loop pack et {ex outTemp<0, rainRate>0, inTemp<17 etc. etc}.
If you want only battery power test, perhaps this is more for you... :

https://github.com/weewx/weewx/blob/master/examples/lowBattery.py

If you want I can send you multi alarm.py but i made little change in the
code to have a different delay between 2 alarms for each type of alert {ex
36000 seconds for inTemp<17 but 3600 seconds for rainRate>1 etc. Etc}
In the original you specify a delay in weewx.conf and the delay is the same
for each alarm you program




Le mar. 8 juin 2021 à 18:13, Rob Cranfill <[email protected]> a écrit :

> Remy, I am sorry if I am missing the obvious - where do I find
> Multi_alarm.py?
>
> On Monday, June 7, 2021 at 10:31:28 AM UTC-7 [email protected] wrote:
>
>> 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/08a11db7-2cf9-4029-94b3-f8d13eb656f5n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/08a11db7-2cf9-4029-94b3-f8d13eb656f5n%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/CADhm9YeeStdVYHcNDvLzOtNegVc6CRsZW0Yu0qYyPnd0XC-Z%2Bw%40mail.gmail.com.

Reply via email to