# 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:** 7

<div class="post-metadata">

**Author:** ![Marc\_Jurriens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc_jurriens/32/11951_2.png) [@Marc\_Jurriens](https://community.homey.app/u/Marc_Jurriens)\
**Post date:** [July 1, 2022, 12:53pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/121 "2022-07-01T12:53:09Z")

</div>

I use an “if power changes” as the starting point but an “AND” after that, that “AND” has a better logic card that checks a specific status, so you can have:"

- power changes and the dishwasher was off (so set status to on now, its running)

- power changes and the dishwaser was on (so set status to “cooldown” now, it seems to have finished cleaning but is still “on”, the amount of time after that timestamp is fixed so set a countdown;

- when power changes, the status is cooldown and the countdown is finished then it must be finished, so set atatus to off again and tell me its done (the dishwasher itself beeps within 10 seconds of that notification\_

And yes: My dishwasher allready beeps when its done but this is WAY WAY COOLER !!!

---

<div class="post-metadata">

**Author:** ![Chris\_nl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_nl/32/27194_2.png) [@Chris\_nl](https://community.homey.app/u/Chris_nl)\
**Post date:** [July 1, 2022, 12:57pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/122 "2022-07-01T12:57:53Z")

</div>

Haha yeah, way cooler to setup Homey flows. But still don’t get why the 3rd would ever trigger, since the power never changes again after it starts the cooldown right?

---

<div class="post-metadata">

**Author:** ![Marc\_Jurriens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc_jurriens/32/11951_2.png) [@Marc\_Jurriens](https://community.homey.app/u/Marc_Jurriens)\
**Post date:** [July 1, 2022, 1:00pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/123 "2022-07-01T13:00:55Z")

</div>

It does, what happens is:

1. cleaning cycle
2. wait a bit
3. some shit I do not know what it is doing, but 5 seconds of dishwasher noise again
4. couple of beeps to indicate finished

Number 3 triggers a power change… But basically I could also just trigger that last one on the countdown only… The effect would be the same I think…

---

<div class="post-metadata">

**Author:** ![Chris\_nl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_nl/32/27194_2.png) [@Chris\_nl](https://community.homey.app/u/Chris_nl)\
**Post date:** [July 1, 2022, 1:03pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/124 "2022-07-01T13:03:46Z")

</div>

Ah okay, so yeah if the power does change it would trigger again and there is no issue, for example my dishwasher beeps for 2 min after it is done, then turns completely off, so there won’t be any power change afterwards. I’ll just keep using my old flows with the separate when trigger then, Don’t fix it if it ain’t broken haha

---

<div class="post-metadata">

**Author:** ![Marc\_Jurriens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc_jurriens/32/11951_2.png) [@Marc\_Jurriens](https://community.homey.app/u/Marc_Jurriens)\
**Post date:** [July 1, 2022, 1:04pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/125 "2022-07-01T13:04:54Z")

</div>

Understand… still some kind of loops would also be nice… Sometimes you need something in a loop… I am now doing that by making use of statusses… I mainly use it combined with automation triggered by power usage, so "when power changes"is always my start, that makes loops work, but a “real loop” would be even nicer I think !

---

<div class="post-metadata">

**Author:** ![Marc\_Jurriens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc_jurriens/32/11951_2.png) [@Marc\_Jurriens](https://community.homey.app/u/Marc_Jurriens)\
**Post date:** [July 1, 2022, 1:07pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/126 "2022-07-01T13:07:48Z")

</div>

You could fake it… instead of looping back set a variable or increase a number and create a second flow that looks for such a change…:

our of the primary loop: set variable to “loopback”  
secundary loop: check if variable is set to “loopback”, if so then make variable empty again and restart primary flow.

---

<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:** [July 1, 2022, 1:09pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/127 "2022-07-01T13:09:33Z")

</div>

> [@Marc\_Jurriens](#):
>
> I have now added the next one, actually my most complex one, to track the charging of the car of my girlfriend… Used to be five different flows:
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/9/d97d11c5369151432ab9095cdeb7e302527591bc.png)
> 
> I think it should work… Lets wait…
> 
> For those who wonder why I am checking for “negative usage”… My fibaro wall plug for some reason is registering usage as a negative… No idea why, but with this flow it captures both…

question on the else part:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/e/7ec6d8d779ca5b2ad551e57417ba230889ae7f4f.png)

in understand the “then” part, so if all conditions are true, then execute the 4 actions on the right, that means if only 3 conditions are true no action will take place.  
but the else part would ONLY fire if ALL conditions are false and i guess you want an else whenever the then is false.  
do you understand what i mean?  
you have x different states of you conditions and only one state leads to execute the then, x-1 states leads to else which is only fired in 1 single state.

---

<div class="post-metadata">

**Author:** ![Marc\_Jurriens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc_jurriens/32/11951_2.png) [@Marc\_Jurriens](https://community.homey.app/u/Marc_Jurriens)\
**Post date:** [July 1, 2022, 1:18pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/128 "2022-07-01T13:18:32Z")

</div>

I have not been able to test this one out, its basically just my old flows combined into one (and those worked), but lets see if I understand:

For what you have circled withe the red line:

When this part of the flow is reached the logic thinks the car is in cooldown mode, next step should be that charging is finished. If after the timer runs out the car has started to use power again then it was not finished but the car apparently decided to pause charging (maybe it got to hot or something), in that case the status should be “Aan” (meaning its charging).

In other words: The bottom flow should EITHER finish the charging cycle (THEN) or just put the car in charging mode again (ELSE)…

I get you… I would be better off just saying “ANY” at the "ELSE"here instead of ALL right ?

---

<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:** [July 1, 2022, 1:22pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/129 "2022-07-01T13:22:09Z")

</div>

> [@Marc\_Jurriens](#):
>
> I get you… I would be better off just saying “ANY” at the "ELSE"here instead of ALL right ?

exactly! so else should come when at least ONE condition fails, not ALL…

---

<div class="post-metadata">

**Author:** ![Marc\_Jurriens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc_jurriens/32/11951_2.png) [@Marc\_Jurriens](https://community.homey.app/u/Marc_Jurriens)\
**Post date:** [July 1, 2022, 1:22pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/130 "2022-07-01T13:22:23Z")

</div>

Fixed it, thanks!

---

<div class="post-metadata">

**Author:** ![Marc\_Jurriens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc_jurriens/32/11951_2.png) [@Marc\_Jurriens](https://community.homey.app/u/Marc_Jurriens)\
**Post date:** [July 1, 2022, 1:24pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/131 "2022-07-01T13:24:58Z")

</div>

No no… always fix… more new flow is more better 🙂

---

<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:** [July 1, 2022, 1:28pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/132 "2022-07-01T13:28:59Z")

</div>

but you inspired me to restructure my advanced flow.  
i started with having triggers multible and conditions only once, but now i changed like you to have each trigger only once, but conditions can be more often in one flow. feels better…

so from here:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/2/22393900dec4fb3a445da13260b1b1c00ff0d3c8.jpeg)

to here:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/1/11bb81dcc43c608a47762886e0d5c0facb228518.jpeg)

---

<div class="post-metadata">

**Author:** ![Marc\_Jurriens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marc_jurriens/32/11951_2.png) [@Marc\_Jurriens](https://community.homey.app/u/Marc_Jurriens)\
**Post date:** [July 1, 2022, 1:33pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/133 "2022-07-01T13:33:06Z")

</div>

More wrinkly lines is more better 🙂

You way worked also…

I notice this:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed9e7d1dc110076df09a6f2f3cc98b269ff60e8c.png)

Does “any” work in both ways ? I figured it worked “left to right”, any condition met would lead to the flow continuing, it also works the other way around? So all actions will be taken ?

Would it not also work without the ANY ?

---

<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:** [July 1, 2022, 1:39pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/134 "2022-07-01T13:39:49Z")

</div>

yes it works in both directions, all actions will be taken.  
i only use it for more structure 🙂

---

<div class="post-metadata">

**Author:** ![BertSP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bertsp/32/33015_2.png) [@BertSP](https://community.homey.app/u/BertSP)\
**Post date:** [July 1, 2022, 3:00pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/135 "2022-07-01T15:00:19Z")

</div>

I’m missing a card in “ALS” (IF) → “FLOW” when i use Advanced Flow.  
It’s the card with only “Deze flow is gestart” (This flow did start).

I did try a view times but i don’t see this card any more in Advanced Flow, i still can see it in the “normal” Flow.

Do i something wrong or is it a error in Advanced Flow?  
Thanks for helping.

In “normal” Flow:

 ![Homey - Flow card 01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/f/1fa190d57a63487f45964c7b0ddd5da8656f6653.jpeg)

In Advanced Flow:

 ![Homey - Flow card 02](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/c/fcd6742e094f8897aefa2e0babaaa2eb7518b278.jpeg)

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [July 1, 2022, 3:06pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/136 "2022-07-01T15:06:28Z")

</div>

> [@BertSP](#):
>
> I’m missing a card in “ALS” (IF) → “FLOW” when i use Advanced Flow.

That one has been replaced by the play(Start)-button.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1c2aea32c469c9dfd43ccc8f0e24f00a50b05193.jpeg)

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [July 1, 2022, 3:06pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/137 "2022-07-01T15:06:32Z")

</div>

You just use the Start option instead  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/9/a9ce66470fd1e23c75d75a08ad28dffe371b1a6e.png)

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/3/c33993f03f93267034e764bb4dea9ca127b21d26.png)

---

<div class="post-metadata">

**Author:** ![Alessandro\_Rossi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alessandro_rossi/32/37432_2.png) [@Alessandro\_Rossi](https://community.homey.app/u/Alessandro_Rossi)\
**Post date:** [July 1, 2022, 3:10pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/138 "2022-07-01T15:10:15Z")

</div>

> [@Dijker](#):
>
> Your Advanced Flows you want to start need a Start button!  
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/dd5819236de8ba778135ce7e4e820193622c16ab.png)

I can’t understand how I can start an Advanced Flow with a “When” or “And” card 🤨  
I can only select standard “old” flows…

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e01a227bce020a26f358963491fa44dd0dd51623.png)

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [July 1, 2022, 3:14pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/139 "2022-07-01T15:14:21Z")

</div>

As @Dijker said, you need to add the Start button to your advanced flow for them to show up in the list.

---

<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:** [July 1, 2022, 3:17pm UTC](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/140 "2022-07-01T15:17:51Z")

</div>

> [@Alessandro\_Rossi](#):
>
> how I can start an Advanced Flow with a “When” or “And” card

Starting another flow is always done with an action card aka Then card. That is no difference from a simple Flow.

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

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