Hello Apilio community - I’m hoping someone can help me out!
I have a Boolean (AcceptableWind) variable that updates when my wind sensor detects wind in an acceptable range.
I then have a condition (CALM_WIND) that is set if AcceptableWind is true for at least 20 minutes (the intent of the delay is to prevent the action (turning a water feature on and off) from cycling on and off repeatedly when the wind is “straddling” my threshold.
My issue is that IFTTT sends wind updates to trigger the Boolean frequently. So in the log, I’ll see a lot of “Boolean changed from false to false” or “Boolean changed from true to true”. The value didn’t change, but because the Boolean was updated from “false” to “false”, it resets the Delay timer and sometimes hours and hours can pass before the logicblock triggers.
Is there a way I can achieve the outcome I’m going for? Basically a 20min delay on the CALM_WIND condition that says CALM_WIND is true if AcceptableWind has been true for 20 minutes?