This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed Solved
[Solved] Stop Flow
This discussion has been closed.
Comments
if it triggers,
and all conditions are true
it executes all actions at the same time, (eventually with a configured (random) delay for each action)
there is no option to stop something.
What do you want to do ?
I created this flow with the purpose to do stuff once I plug in my phone in the power socket next to my bed:
How often is the flow triggered? Sure, the moment I plug the phone in and the charging starts, it will trigger. But, a minute later all conditions in the "AND" column are still valid, it will trigger again. Is that right?
This way the bedroom light will start again... :-(
Any suggestions?
I already see two possible solutions,
You want it once and then not for a certain time:
Add a countdown timer mycharger add the start countdown timer mycharger for (fe) 9 hours. (9*60*60 = 32400 seconds)
Add a countdowntimer my charger not running to the and column
You want to start until you unplug your phone:
Add set Boolean myphoneplugged =true in actions, and add condition myphoneplugged = false in the condition.
Add a second flow same trigger, energy less than 1 (try what works when unplugging) and myphoneplugged = true, action set myphoneplugged = false.
I like the 1 flow solution :-)
When I place my phone in the dock (connected to the PN-6 in the flow) it triggers a flow shutting down the house for the night.
However, if I just forgot to set the alarm on the phone or whatever and release it from the dock, there's no need to run the flow again two minutes later...
As I have work including being on call during the night, I've made the "one hour limit" instead of a more rigid "once every night"-bolean variable or something like that :-)
Thanks @cbh
Hi Geurt,
Thanks for your answer.
I have two flows, one to switch my lights in the livingroom on and another one to switch the lights of. The last one to switch the lights of is working with delays and the trigger is 23:00. But when somebody is still in the living room I want to start the flow to switch the lights on and want to start with a command to stop the flow to switch off the light.
So in the 'lights off' flow you check if the time is >= 23:00 and if the flag is set to false. If both are true.. you can turn of the lights.
The trigger is time (23:00).
But I want to interrupt the flow (STOP) for example when there are visitors when the lights are switched of.
And to prevent that we sit in the dark that all the lights are switching off the flow is switching off 4 different lights in the living room with a delay from 1 minute each. In this situation I want start a flow (with a remote control) that is stop the flow that is switching off the lights and start the flow again that is turn on the light.
When I start only the flow to turn on the lights, the flow that is still running that was started at 23:00 is still switch off some lights.
Maybe I must look for an option to control my KAKU with Homey so I can switch of the flows ))))))))))
I would be a nice option to be able switch off a flow in a future version!!
e.g. let's say I have a physical button that when once pushed set state "away" (waits for 10 sec and then turns off the light and rolls down the shades), but I hit it by mistake, so once again (or double tap) to set it to "at home mode" (turn on the lights and rolls the shades up) I will get both flows running, lights turning off and than back on.