# Advanced Flow — Community Q&A (from Ask Me Anything 05-07-2022)

**URL:** <https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579>\
**Category:** Questions & Help\
**Tags:** advancedflow\
**Created:** [July 5, 2022, 7:38pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579 "2022-07-05T19:38:10Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [June 29, 2022, 5:16pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/41 "2022-06-29T17:16:16Z")

</div>

Dont have advanced flows yet. But looking at the flows I am wondering:  
\*\* About the “All” card. How much time does it wait for all to become true? Is that a setting you can do? (I hope so)  
Or is it just going to wait forever? (That would be pretty useless)

---

<div class="post-metadata">

**Author:** ![widameista](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/widameista/32/23333_2.png) [@widameista](https://community.homey.app/u/widameista)\
**Post date:** [June 29, 2022, 5:19pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/42 "2022-06-29T17:19:00Z")

</div>

> [@Ralf\_Groot](#):
>
> This will never been triggered:

you are right, i posted the final version is well. that should work. at least it did in old flows.

---

<div class="post-metadata">

**Author:** ![Ralf\_Groot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ralf_groot/32/16474_2.png) [@Ralf\_Groot](https://community.homey.app/u/Ralf_Groot)\
**Post date:** [June 29, 2022, 5:25pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/43 "2022-06-29T17:25:11Z")

</div>

@Dijker did some nice experiments, maybe he knows?

> [@\[FAQ\]\[Advanced Flow\] Infinite canvas. Infinite creativity](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/42):
>
> As I see some questions on “Performance” I tested some delays that the different conditions take in execution. We all see the nice animations during developing but what takes a Delay of 0 seconds? a Any or an All? Luck the Copy - Paste works great and 5 x 5 is 25 … Here the flows and the results: 25 x Delay 0 Seconds: On Canvas ~ 29 seconds , Normal 53 ms. 25x Any: On Canvas ~ 29 seconds , Normal 20ms. 25x All: On Canvas ~ 35 seconds , Normal 39 ms. So I gu…

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [June 29, 2022, 5:36pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/44 "2022-06-29T17:36:45Z")

</div>

> [@Fafois](#):
>
> As you can see, two of the “ALL” blocks are triggered even if only one of their conditions is met.

Confirmed as an Bug / Issue but only in the Simulation on tha canvas.  
When it is triggered (fe in my case a Favorit Flow) it doesn’t fail, then the execution is OK

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/b/bbb1fdf6923aea7d51662dd5425f9927b3de20e5.png)  
Here my Workaround, delete the direct line and replace with a Delay 0 seconds.  
Then it simulates OK.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [June 29, 2022, 5:58pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/45 "2022-06-29T17:58:58Z")

</div>

> [@FKey](#):
>
> How much time does it wait for all to become true?

> [@Advanced Flow — Ask Me Anything](https://community.homey.app/t/advanced-flow-ask-me-anything/65167/132):
>
> maybe he knows?

As a consultant I can say I most often have the correct answer:  
In this case: It depends…

And you can see that,  
Untill  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fbe0593e95b86f3d8d5bb149ef761e7564a7288d.png)  
stops spinning… 😉

---

<div class="post-metadata">

**Author:** ![Tom\_andre\_Bjerke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tom_andre_bjerke/32/37131_2.png) [@Tom\_andre\_Bjerke](https://community.homey.app/u/Tom_andre_Bjerke)\
**Post date:** [June 29, 2022, 7:40pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/46 "2022-06-29T19:40:22Z")

</div>

Hi!

Does anyone know how to do a motion → lights on → delay → off correct?

A simple flow is running at my walk in closet. Motion is triggered, lights turn on, the delay runs and the lights go off.

But if i enter the room after 2.5 min, the timer does not reset and the lights turn off after only 30 sec.  
It seems as the timer keeps its delay running, even with a second trigger signal.

Is there a option anywhere to reset the timer when motion is triggered a second time?

 ![Capture](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/4/94324a378761f07d710a74f2e157f182fb67d706.png)  
// Tom

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [June 29, 2022, 7:56pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/47 "2022-06-29T19:56:25Z")

</div>

> [@Dijker](#):
>
> As a consultant I can say I most often have the correct answer:  
> In this case: It depends…
> 
> And you can see that,  
> Untill  
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fbe0593e95b86f3d8d5bb149ef761e7564a7288d.png)  
> stops spinning… 😉

But what if I use it in a flow hat is not started by a button, but with a “oldfashioned” card

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [June 29, 2022, 7:58pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/48 "2022-06-29T19:58:49Z")

</div>

> [@Tom\_andre\_Bjerke](#):
>
> Does anyone know how to do a motion → lights on → delay → off correct?

The big pitfall with motion…  
You should switch the lights ON when the zone becomes active  
And switch them OFF when the zone becomes inactive (if needed “is inactive for a certain period of time)

---

<div class="post-metadata">

**Author:** ![mluecke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mluecke/32/34405_2.png) [@mluecke](https://community.homey.app/u/mluecke)\
**Post date:** [June 29, 2022, 8:13pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/49 "2022-06-29T20:13:43Z")

</div>

Zone activity won‘t work if you also have a contact sensor in that zone (open window).

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [June 29, 2022, 8:21pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/50 "2022-06-29T20:21:57Z")

</div>

> [@FKey](#):
>
> But what if I use it in a flow hat is not started by a button, but with a “oldfashioned” card

That answer is slightly longer:  
Read it here: [[FAQ][Advanced Flow] Infinite canvas. Infinite creativity - #44 by Dijker](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/44)

in that case the light was off, the first Run triggered from fe a Favorite Flow from the homescreen it runs for ~ the time of the delay (In my case 1s, but would not differ in result if it was 999 minutes)

The Second run initiated from the card Right above Turn on Light =\> Triggerd by Left bottom “The Light turned On” I guess a couple of ms.

But As I said, Why do you want to know? It doesn’t change the result of the executions.  
Do you have an example where you think it does matter how long a flow runs?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 29, 2022, 8:53pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/51 "2022-06-29T20:53:55Z")

</div>

So I misunderstood. It will be triggered, but never finished because of the ALL card 😉

---

<div class="post-metadata">

**Author:** ![Fafois](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fafois/32/22290_2.png) [@Fafois](https://community.homey.app/u/Fafois)\
**Post date:** [June 29, 2022, 9:05pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/52 "2022-06-29T21:05:40Z")

</div>

Yes it’s fixed, thanks a lot

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [June 29, 2022, 9:33pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/53 "2022-06-29T21:33:17Z")

</div>

Yes, but he combines/combined two triggers with contradicting terms with an ALL. I don’t think this will work. Even if they would not contradict, combining two triggers with an ALL seems very weird to me. I don’t think it works that way (but, I am also new to this).

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 29, 2022, 9:38pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/54 "2022-06-29T21:38:40Z")

</div>

I just wanted to point at the “not triggered” statement. It’s a difference whether a flow is not triggered or if it doesn’t end/continue. So the topoc comments should better use the correct words.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 29, 2022, 10:09pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/55 "2022-06-29T22:09:39Z")

</div>

> [@mluecke](#):
>
> Zone activity won‘t work if you also have a contact sensor in that zone (open window)

In that case you could consider moving the window contact sensor to it’s own zone. _But do not use a subzone though (they activate the parent zone as well)_

---

<div class="post-metadata">

**Author:** ![christian-alares](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christian-alares/32/45782_2.png) [@christian-alares](https://community.homey.app/u/christian-alares)\
**Post date:** [June 29, 2022, 10:14pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/56 "2022-06-29T22:14:45Z")

</div>

How come this is not possible? (see video and you’ll understand what i mean)

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/d/ad87969e7dfd5e84f58fb0f867354dd976fc543d.jpeg "Not possible to feed back in advanced flow?") ](https://www.youtube.com/watch?v=qOP_TUu-mnY)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 29, 2022, 10:39pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/57 "2022-06-29T22:39:34Z")

</div>

@Jero Curious: Taking the words ‘_Advanced_’ and ‘_infinite_’ serious:  
Are delays in flows now ‘saved’ in case Homey loses power or restarts, and the flow is busy running a delay timer during that event?  
Because that is somewhat odd with the simple flow editor:  
 ![Screenshot from 2022-06-30 00-34-43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bfe704e75166648000f6b9673947692724bc2a33.png)

(I know one can use a timer app for fixing this, but we are going advanced here, aren’t we 😉 )

---

<div class="post-metadata">

**Author:** ![GaryOz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/garyoz/32/43146_2.png) [@GaryOz](https://community.homey.app/u/GaryOz)\
**Post date:** [June 29, 2022, 11:00pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/58 "2022-06-29T23:00:22Z")

</div>

@Emile

What is the intent on adding ability to edit advanced flow on the mobile app?  
For example fold phones or tablets have screen space.

In the mean time, would it be possible to provide a screenshot of the flow in its MQTT graph like state when one clicks on the advanced flow in the mobile app??

(At moment it just displays the Advanced Flow Icon and States to go my.homey.app to edit)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 29, 2022, 11:38pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/59 "2022-06-29T23:38:20Z")

</div>

You can try the phone / tablet browser with "Desktop Mode’ enabled (and probably “override zoom settings”)

Phone screenshots:

> 

 ![Screenshot_20220630-013139_Firefox](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8f11047381ae53e266b7022a27ee61c7575a25fa.jpeg)

.

> ![Screenshot_20220630-013317_Firefox~01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/0/705287df838003b703ab0a0f4f6999eb486b4bc2.jpeg)

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [June 30, 2022, 3:30am UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/60 "2022-06-30T03:30:45Z")

</div>

Any given card in a flow will always only run once, so even if it was possible it will stop after the delay as the logic flow card was already run (to stop (accidental) loops from happening)

[Previous page](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579.md?page=2)

[Next page](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579.md?page=4)
