Window door sensor automation

I’m new to automation, and Homey Pro is the first hub I’ve started using.

Could you assist me in setting up a flow? I have a window/door sensor on my door, and I’d like Alexa to announce when the door is open. I’ve managed most of it, but I’m struggling with ensuring the second announcement only happens if the door remains open after 10 minutes. Also, I want to avoid any announcement if the door is closed.

Any help would be appreciated. Thanks!

Show the flow that you have made already.

I have tried these options.


In the second flow you have to test again if the door is open, before sending the second message.
However, if you want to cope with the door being closed (and open again) you have to introduce a timer or work with zone activity. The timer starts when the door opens and stops when the door is closed. When the timer ends, the message is send. So a total of 3 flows. The problem is very simular to having a motion sensor to switch on and of a light.

Creating a zone is most simple
WHEN the door_zone is active for one minute THEN give message1
WHEN the door_zone is active for 10 minutes THEN give message2

1 Like

Thanks for the information. I will try this and will update you.