There's been an example alarm.py in weewx for over a decade. Search for "weewx alarm" for some old threads.
On Tuesday, October 12, 2021 at 5:04:20 PM UTC-7 WindnFog wrote: > Lastly, I wonder if there’s already a way to trigger an alarm. That’s a > feature that I haven’t researched, if it does exist. > -- 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/97e58e4c-1e48-40a1-b03b-9e9bfc3d7835n%40googlegroups.com.