Flow using door sensor to turn on lights, then back off

On the surface this will work, except for one caveat. In the scenario that you open the door, close it, and 6 mins later you open the door again, in this setup I am not sure what the delay of the first trigger does. Might be it sends the off signal within the minute, and again after 7 mins.

Therefore I use Homey delays only for the short and simple ones, and use an app like [App] Chronograph - Adds precise timer, stopwatch and transition functionality to Homey or similar to start actual timers.

Using that you can start the timer when the door opens, and cancel it when you close the door. That way you are sure you won’t be surprised by inexplicable events caused by hidden delays.

With hidden delays I mean that in normal Homey delay operation you cannot see that an action is pending. With the above app you can see any running timers in the app configuration page, so you can see what is going on and debugging is way easier.

2 Likes