Stop (not deactivate) looping flow

I want the lights in my bedroom to start blinking if some warnings are triggered. Easy enough I created that with a combination of two different flows.

  1. Blink: Turn on lights (2 seconds delay) and Turn off lights (2 seconds delay)
  2. Loop: Turn on the above Floow (2 seconds delay) and Turn on this Loop Flow (2 seconds delay)

Now I created to third Flow to Stop the blinking lights (turn off Loop Flow), but the only option is to Deactivate the Loop Flow, which indeed stop the blinking. But then I manually have to go back and Activate the Loop Flow again (for future warnings) since it has been deactivted.

So my question is if there is a way to just Stop the Loop Flow and not Deactivate it?

I can make a simple advanced flow using the chronograph app which will do the same and can easily be aborted. If you are interested I will make flow and post a screenprint here.

Thanks @Wim_Post I would love that!

And I suppose there is no alternative to STOP a flow instead of Deactivating it?

Another option:

1 Like

The simpliest way to stop the flow is to add a variable like Loop_active (y/n) and the loop is only working, when the variable is true.
If you use deactivate , you donā€™t have to activate it manually, you can also do it by another flow.
But it does not matter, if you use deactivate or stop it in any other way. You have to tell homey, when you want the loop to start again, either by activating or by setting the variable to yes or by any other means.

1 Like

When this flow is started an the transition is not running, it will start the transition. The second time the transition is running so it will stop itself. The flow ā€˜spotjesā€™ will return the spotjes ( in my case) to their original state.

The transition does 30 steps in 60 seconds. So thereā€™s two seconds between each step

If it is dark and both lights flash out it will be dark in the room during 2 seconds . So in the first step I turn one off and one on after dimming to 100%

In second step till the last step it will turn the lights on when off or off when on.

In then last step the transition restarts itself.

So it runs on and on till the flow is started for the second time.

2 Likes