Page 1 of 1
Alert clearing on rain notification
Posted: Fri Jan 07, 2022 7:04 pm
by Daali
Situation: I would like to receive an alert at the start of rainfall at most 1 time an hour
Background: I am using [rain0rate-act] > 0 to trigger and [rain0rate-act] = 0 to clear
Problem: This works exactly as intended, except in intermittent rains, I get lots of alerts.
What is the best practice to use in the clear line for only receiving the alert 1 time in an hour? Thank you in advance!
Re: Alert clearing on rain notification
Posted: Fri Jan 07, 2022 8:54 pm
by ToTo
I used the following commands
Trigger: [rain0rate-act.0:0] > 0
Delete: [rain0rate-act.0:0] == 0
Re: Alert clearing on rain notification
Posted: Fri Jan 07, 2022 9:02 pm
by Daali
In intermittent rains, do you get an alert every time it starts back up?
I'm trying this currently in the raise:, but no rain in the forecast!
RAISE: [rainrate-max60] = 0 && [rain0rate-act] > 0
Re: Alert clearing on rain notification
Posted: Fri Jan 07, 2022 11:26 pm
by ToTo
Daali wrote: Fri Jan 07, 2022 9:02 pm
In intermittent rains, do you get an alert every time it starts back up?
Yes, a warning always comes when it rains properly, but not at 0.2 mm.
Re: Alert clearing on rain notification
Posted: Thu Jan 13, 2022 2:10 pm
by Daali
Code: Select all
RAISE: [rainrate-max60] = 0 && [rain0rate-act] > 0
failed to trigger rain. makes sense now
Code: Select all
RAISE: [rain0rate-act.0:0] > 0
CLEAR: [rain0rate-act.0:0] == 0
last intermittent rain this triggered 3 times in an hour
Code: Select all
RAISE: [rainrate-max60.0:0] == 0 && [rain0rate-act.0:0] > 0
CLEAR: [rain0rate-act.0:0] == 0
trying this now, but this may suffer from the same logic flaw as first attempt.
the ultimate goal would be to narrow down triggers to at most 1x an hour. Any help would be appreciated