Alarm.py is an excellent little Python program which allows you to be 
informed by email when a condition is verified (temperature> 40 ° F or 
rainfall rate> 0, etc. etc.) -> 
https://github.com/weewx/weewx/blob/master/examples/alarm.py

This software has been modernized and has been renamed alarm_multi.py 
https://raw.githubusercontent.com/gjr80/weewx_utilities/master/services/alarm_multi.py

>From now on it is possible to indicate several alarms at the same time: if 
temperature> 0 or if rain rate> 0, or if temperature <40 etc. etc.
This is a big improvement but the problem is that the delay between two 
alarms is only specified once in the weewx.conf ( time_wait = 3600 ).

However, it would be interesting to have an alarm delay specific to each 
type of alarm (eg time_wait1 = 10800 for expression.1 = "outTemp> 90.0", 
time_wait2 = 3600 for expression.2 = "rainrate> 0.0" etc. . etc.).

Not being a Python specialist, would anyone know how to modify this 
arlarm_multi.py file to take into account these varying delays depending on 
each type of alarm set by the user ...?

Thank you !

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4cddc89a-b00f-4c20-9957-0efa918d7cbfn%40googlegroups.com.

Reply via email to