Door Open Alert "timeout" in CoRE piston?


(Sun) #1

Hello all, new to IoT and ST but have managed to get my hub up and several Z wave/Z Wave Plus GE light switches and Monoprice recessed door sensors in and successfully working.

I was also able to get CoRE running in the hub and setup a working event to have my Zooz Chime & Alarm speaker beep when a door sensor opens. The thing I am trying to figure out now is how to have the piston timeout for a set period (ie. 90 seconds) after the first beep. If the door is opened and closed multiple times within that 90 seconds I only want to hear the first beep, not each time the sensor opens.

Any guidance appreciated!


(Robin) #2

If you use webCoRE instead of regular CoRE you can do the following:

IF
door’s sensor opens
AND
{previousAge(door : contact)} is more than 90 seconds
Then
with siren
Chime

With regular CoRE try adding a 90 second wait after the chime and change the ‘task override scope’ to none.


(Sun) #3

Which piston mode would you recommend I build from to achieve this with CoRE?