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

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Flows

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

Hi,

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?

Tagged:

Comments

Sign In or Register to comment.