This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to

This forum is now read-only for archive purposes.

Checking if door is open for x seconds in single flow.


I am having the following difficulties. I'm looking for something simple. I've got a Xiaomi door/window contact, and this is a simple on / of device. At least, for normal usage

Closed        Opened      Closed
                   1                2

1: Open trigger (available in flows)
2 : Closed trigger             

What i want to know, is weather it is possible in a flow, to check if the door/window is open for lets say 30s, and what i'm more interested in is doing so in a single flow. what i'm looking for probably looks like a timer.tick (.net) or TON timer (PLC). Also, is it possible to check weather a device has changed status for certain period of time using standard logic?

Any idea in how to accomplish something like this?



Sign In or Register to comment.