specify a list of alarms (in weewx.conf under [Alarms]), each alarm being
[[name]]
metric ("observation type” i think is the weewx-speak for this)
threshold value
is_rising (does trigger occur when go above, or below, the threshold)
abatement (once triggered, how long before this alarm can trigger again)
mailto (when triggered, action is to send email to comma-separated recipient list)
e.g.
[[Hot Outside]]
metric = outTemp
is_rising = true
threshold = 30.0, degree_C
abatement = 480 # 8 h
also, superior alarms suppress inferior alarms (i.e. if alarm metric/threshold has triggered, then any other alarms with same metric but lesser threshold are skipped)
i haven’t bothered with tls/password for email as i use ISP's relay. better to go via localhost anyway so that alarms are spooled pending offline connections