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

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?

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.

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

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.

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.

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?

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.

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

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.

1 Like

Today the flow failed the real testā€¦ It didnā€™t start at 6.00 AM.
Any other solution?

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

Yes

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.