# When starting a manual flow, executing it at a certain time

**URL:** <https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [September 30, 2024, 9:33pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020 "2024-09-30T21:33:55Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arnaud\_Penders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnaud_penders/32/115382_2.png) [@Arnaud\_Penders](https://community.homey.app/u/Arnaud_Penders)\
**Post date:** [September 30, 2024, 9:33pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/1 "2024-09-30T21:33:56Z")

</div>

When I go to bed, I want to start a manual flow so that the next day, between a certain time my bathroom will be heated. The days I need a heated bathroom are random so I want to manually start the flow.  
How can I let it execute this?

---

<div class="post-metadata">

**Author:** ![sschot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sschot/32/116924_2.png) [@sschot](https://community.homey.app/u/sschot)\
**Post date:** [September 30, 2024, 10:52pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/2 "2024-09-30T22:52:56Z")

</div>

If you create a advanced flow with a start button, and you do add this flow to your favorits, it is quite easy, just click and it is running.

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [October 1, 2024, 3:06am UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/3 "2024-10-01T03:06:13Z")

</div>

You could run the bathroom heating flow every day and include a test of a logic variable to decide whether to do the heating, or not.

You can then set the variable directly in the Homey app, via flow or by clicking a smart button, or even turning a light on and off in quick succession.

You can use similar methods to switch the variable off. Or you can use the heating flow to set it false every day so it runs only when you request it.

Andy

---

<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:** [October 1, 2024, 8:49am UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/5 "2024-10-01T08:49:49Z")

</div>

Welcome Arnaud!

If you start a flow manually, then the flow starts exactly at this point you push the play button and not tomorrow! So the temperature and the time section will be checked in this moment.

Please note that all flow cards in the _ **When…** _ section are so-called triggers, which start the flow immediately and check all conditions in the _ **And…** _ section. If a condition is not met, the flow stops completely. If all conditions are met, the flow continues and executes all actions in the _ **Then…** _ section.

But there are several ways to achieve this of course.  
– Using the build-in alarm clock. You can switch on/off the alarm clock at the evening. But it’s only possible to use a fix time. Or use several alarm clock times. But it’s not really smart.

For the following solutions, you will need a virtual switch that you can turn on or off in the evening:  
– Using a time _ **When…** _ flow card, f.e. every 5 minutes.  
– Using _ **The temperature has changed** _ in the _ **When…** _ section as trigger.

For both versions, the status of the virtual switch must be queried in the _ **And…** _ section whether the switch is on or off.

---

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [October 1, 2024, 1:16pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/6 "2024-10-01T13:16:29Z")

</div>

![IMG_1751](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1ed80fd5b990af9965b5e5b0a559c82ce5af5065.jpeg)

 ![IMG_1752](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fe75fb1c34155d0ec19a4e6a39a8803b9f5faddd.jpeg)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [October 1, 2024, 10:02pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/7 "2024-10-01T22:02:54Z")

</div>

Another alternative:  
One flow for activating the heat, using a When-card set to run at the time in the morning you want the heating to start, and then finish it off with add a Then-card that disables this flow when it has run once.  
A second flow that you activate the night before, this should have a Then-card that enables the first flow.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Penders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnaud_penders/32/115382_2.png) [@Arnaud\_Penders](https://community.homey.app/u/Arnaud_Penders)\
**Post date:** [October 2, 2024, 11:57am UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/8 "2024-10-02T11:57:14Z")

</div>

Okay so I made the Flows Wim posted.  
I also added a Then-Card that stops the flow.  
Will this effectively stop de heating after the temperature is reached or what is the exact impact?  
If not, what can be a solution?  
Is it possible to implement this in an advanced flow?

---

<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:** [October 2, 2024, 2:07pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/9 "2024-10-02T14:07:42Z")

</div>

The _ **Then…** _ card doesn’t stops the flow, the flow will be deactivated to be exactly.  
To make the flow work again the next time, it must be activated again beforehand. This is possible, but not the best solution in my opinion.  
Instead of deactivating the flow, switch the variable “Heating in the bathroom in the morning” back to “No” at the end of the 2nd flow.

But both versions will not stop heating when the temperature of 23 °C is reached. When the temperature of 23 °C is reached, the thermostat will of course try to keep this temperature by itself. But the target temperature remains at 23 °C until you take action again, for example with another flow.

> [@Arnaud\_Penders](#):
>
> If not, what can be a solution?

With an additional flow. But the question is, when should the (target) temperature be reduced again? But only you can answer this question. 😉

Yes of course, these flows can be easily created in Advanced Flows. But it’s not possible to migrate automatically Standard into Advanced Flows.

* * *

Just a hint according sharing Standard Flows. Use the **Homey Community Link** then they look really nice and can directly seen by everyone.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Penders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnaud_penders/32/115382_2.png) [@Arnaud\_Penders](https://community.homey.app/u/Arnaud_Penders)\
**Post date:** [October 3, 2024, 6:44pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/10 "2024-10-03T18:44:04Z")

</div>

Today the flow failed the real test… It didn’t start at 6.00 AM.  
Any other solution?

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [October 3, 2024, 6:55pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/11 "2024-10-03T18:55:47Z")

</div>

Just to double-check: were both AND conditions met in the second flow at 6 AM?

---

<div class="post-metadata">

**Author:** ![Arnaud\_Penders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnaud_penders/32/115382_2.png) [@Arnaud\_Penders](https://community.homey.app/u/Arnaud_Penders)\
**Post date:** [October 3, 2024, 7:10pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/12 "2024-10-03T19:10:15Z")

</div>

Yes

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [October 3, 2024, 7:51pm UTC](https://community.homey.app/t/when-starting-a-manual-flow-executing-it-at-a-certain-time/117020/13 "2024-10-03T19:51:50Z")

</div>

That’s strange. If the second flow did not run, then your variable ‘Heating in the bathroom in the morning’ should still be set to ‘Ja’. Is that indeed the case?

You can check the current value of a variable in the Homey app on the More tab (three dots, bottom right) and then go to Variables.
