# Create a flow based on timer

**URL:** <https://community.homey.app/t/create-a-flow-based-on-timer/34337>\
**Category:** Questions & Help\
**Created:** [September 4, 2020, 8:23am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337 "2020-09-04T08:23:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [September 4, 2020, 8:23am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337/1 "2020-09-04T08:23:59Z")

</div>

Hi  
I have door sensor and i want to create a flow that goes like this  
If the door open  
For more then 3 minute  
Send notification to my phone

How do i do the 3 minutes part? I couldn’t find how to add tine condition

---

<div class="post-metadata">

**Author:** ![Igy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/igy/32/22144_2.png) [@Igy](https://community.homey.app/u/Igy)\
**Post date:** [September 4, 2020, 8:25am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337/2 "2020-09-04T08:25:26Z")

</div>

Use countdown app.

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [September 4, 2020, 8:27am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337/3 "2020-09-04T08:27:01Z")

</div>

Install app countdown and you can add in your flows a timer. Make e.g. Timer Deursensor and ad this timer in a flow with 180 sec.

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [September 4, 2020, 8:40am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337/4 "2020-09-04T08:40:11Z")

</div>

Oh i try to it with timer app  
Ok so i created a timer inside the app setting  
But not sure how to apply it on a flow

 ![Screenshot_20200904-113920_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a567f05be481ef9fa200f4c2be6ce05e91393533.jpeg)

What do i need to write down in the value?  
The 3 min i set it up in the app settings

---

<div class="post-metadata">

**Author:** ![Cory](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cory/32/12997_2.png) [@Cory](https://community.homey.app/u/Cory)\
**Post date:** [September 4, 2020, 8:56am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337/5 "2020-09-04T08:56:45Z")

</div>

You set the length of the timer in the flow, not in the Countdown app itself. So the value is the number of seconds.

You need these flows:

When: door open  
Start timer: 3 minutes

When: door closed  
Stop timer

When: timer ends  
Send notification to phone

(Or:  
When: door open  
Start timer: 3 minutes

When: timer ends  
And: door is open  
Send notification to phone)

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [September 4, 2020, 9:01am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337/6 "2020-09-04T09:01:49Z")

</div>

So in the app i just need to create timer with the name and not edit it to add second?  
And in the flow itself i add the time?

---

<div class="post-metadata">

**Author:** ![Cory](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cory/32/12997_2.png) [@Cory](https://community.homey.app/u/Cory)\
**Post date:** [September 4, 2020, 9:07am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337/7 "2020-09-04T09:07:39Z")

</div>

Yes. When you’re creating a timer in the app it doesn’t really matter what time you set.

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [September 4, 2020, 9:18am UTC](https://community.homey.app/t/create-a-flow-based-on-timer/34337/8 "2020-09-04T09:18:54Z")

</div>

Ok i think i got it  
Thank you all for the quickest replay!!!
