# Run flow for X hours

**URL:** <https://community.homey.app/t/run-flow-for-x-hours/74765>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [January 8, 2023, 2:22pm UTC](https://community.homey.app/t/run-flow-for-x-hours/74765 "2023-01-08T14:22:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oysf](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oysf/32/67525_2.png) [@oysf](https://community.homey.app/u/oysf)\
**Post date:** [January 8, 2023, 2:22pm UTC](https://community.homey.app/t/run-flow-for-x-hours/74765/1 "2023-01-08T14:22:42Z")

</div>

Is it possible to start a flow, and add a timer that stops it after x hours? I have a flow that i ordinary runs all the time, but sometimes when i go to bed i want to start another flow, and then after maybe 6 hours, i want i to go back running my “ordinary” flow. How can i do this?

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [January 8, 2023, 2:41pm UTC](https://community.homey.app/t/run-flow-for-x-hours/74765/2 "2023-01-08T14:41:12Z")

</div>

Sure, there are action (then) cards to disable a flow and to enable a flow.  
Search for “flow” when adding an action (then) card.

---

<div class="post-metadata">

**Author:** ![Hamster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hamster/32/16580_2.png) [@Hamster](https://community.homey.app/u/Hamster)\
**Post date:** [January 9, 2023, 9:27am UTC](https://community.homey.app/t/run-flow-for-x-hours/74765/3 "2023-01-09T09:27:41Z")

</div>

Take a look at [Chronograph App voor Homey | Homey](https://homey.app/nl-nl/app/nl.fellownet.chronograph/Chronograph/) or [CountDown App voor Homey | Homey](https://homey.app/nl-nl/app/nl.bevlogenheid.countdown/CountDown/) where you can set a timer and react when a timer has finished.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [January 9, 2023, 10:08am UTC](https://community.homey.app/t/run-flow-for-x-hours/74765/4 "2023-01-09T10:08:55Z")

</div>

If you have a fix time slot when the flow has to run every X minutes/hours you can do it like this:

You can also add a condition cards like **oysf is awake**.
