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

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)

3 Likes

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

@Dijker did some nice experiments, maybe he knows?

1 Like

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


Here my Workaround, delete the direct line and replace with a Delay 0 seconds.
Then it simulates OK.

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
stops spinning… :wink:

1 Like

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?


// Tom

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

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)

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

That answer is slightly longer:
Read it here: [FAQ] [Advanced Flow] Infinite canvas. Infinite creativity - #44 by Dijker

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?

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

Yes it’s fixed, thanks a lot

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).

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.

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)

2 Likes

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

@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

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

@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)

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

Phone screenshots:

.

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)