# Delai / delay

**URL:** <https://community.homey.app/t/delai-delay/36622>\
**Category:** Questions & Help\
**Created:** [October 28, 2020, 8:42am UTC](https://community.homey.app/t/delai-delay/36622 "2020-10-28T08:42:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![freeshare](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/freeshare/32/16639_2.png) [@freeshare](https://community.homey.app/u/freeshare)\
**Post date:** [October 28, 2020, 8:42am UTC](https://community.homey.app/t/delai-delay/36622/1 "2020-10-28T08:42:15Z")

</div>

Bonjour,

j’aimerai couper mon chauffage lorsqu’une porte est ouverte, mais uniquement si la porte reste ouverte plus de 5 secondes… est ce possible ? je n’ai pas trouvé de fonction de temporisation.  
je sais couper le chauffage immédiatement après l’ouverture de la porte, mais je ne sais pas le faire uniquement si la porte reste ouverte plus de X secondes.

+++

Hello,

I would like to turn off my heating when a door is open, but only if the door remains open for more than 5 seconds … is this possible? I did not find a timer function.  
I know how to turn off the heating immediately after opening the door, but I cannot do this only if the door remains open for more than X seconds.

Merci / thanks

---

<div class="post-metadata">

**Author:** ![Walter\_vande\_kerkhof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/walter_vande_kerkhof/32/28963_2.png) [@Walter\_vande\_kerkhof](https://community.homey.app/u/Walter_vande_kerkhof)\
**Post date:** [October 28, 2020, 11:33am UTC](https://community.homey.app/t/delai-delay/36622/2 "2020-10-28T11:33:01Z")

</div>

You can use the app Chronograph for this. Simply set a timer and after the timer has finished, shut down heating. Don’t forget to stop the timer when the door closes 🙂

---

<div class="post-metadata">

**Author:** ![danone](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/danone/32/115743_2.png) [@danone](https://community.homey.app/u/danone)\
**Post date:** [October 28, 2020, 11:42am UTC](https://community.homey.app/t/delai-delay/36622/3 "2020-10-28T11:42:10Z")

</div>

There are a number of apps that deal with timers. Like [COUNTDOWN](https://homey.app/en-au/app/nl.bevlogenheid.countdown/CountDown/) or [CHRONOGRAPH](https://homey.app/en-au/app/nl.fellownet.chronograph/Chronograph/)  
Use the search function, won’t hurt.

I use Chronograph and here is my solution. For sure it can be done in less flows, perhaps someone else can tell you.

First flow, triggers when a door or window is open and starts a timer, in my case 60 seconds.

[https://homey.app/f/mlVZKl](https://homey.app/f/mlVZKl)

Second flow, triggers when the door or window is closed before the 60 sec timer has finished.

[https://homey.app/f/6kT-Kl](https://homey.app/f/6kT-Kl)

Third flow triggers when the timer is done, and changes the heating program to Away (in your case stops the heating).

[https://homey.app/f/p3n0Ll](https://homey.app/f/p3n0Ll)

And final fourth flow, triggers when the door or window closed after 60 seconds and sets back the thermostat to its normal program.

[https://homey.app/f/bKV0Ll](https://homey.app/f/bKV0Ll)

---

<div class="post-metadata">

**Author:** ![freeshare](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/freeshare/32/16639_2.png) [@freeshare](https://community.homey.app/u/freeshare)\
**Post date:** [October 28, 2020, 11:53am UTC](https://community.homey.app/t/delai-delay/36622/4 "2020-10-28T11:53:53Z")

</div>

Thanks, I will use the Chronograph app and therefore 4 flows

but you confirm to me that we cannot do it in a single flow: the door is open, and as long as a timer does not reach 0 I do not launch the action of stopping the heating

---

<div class="post-metadata">

**Author:** ![freeshare](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/freeshare/32/16639_2.png) [@freeshare](https://community.homey.app/u/freeshare)\
**Post date:** [October 28, 2020, 4:19pm UTC](https://community.homey.app/t/delai-delay/36622/5 "2020-10-28T16:19:46Z")

</div>

Thanks to you both, I managed to do what I wanted with 3 flows 😉
