# Advanced flow "All" card not working or wrongly used

**URL:** <https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092>\
**Category:** Questions & Help\
**Tags:** homey-pro, advancedflow\
**Created:** [October 6, 2023, 8:01am UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092 "2023-10-06T08:01:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![blutch32](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/blutch32/32/50358_2.png) [@blutch32](https://community.homey.app/u/blutch32)\
**Post date:** [October 6, 2023, 8:01am UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/1 "2023-10-06T08:01:01Z")

</div>

Hi there, I created an advanced flow, to triger my blind depending on 2 states.

- My kitchen inside temperature is higher than 20°
- My light sensor detect a value above 40000 lux  
then an all box
- month is in between june and november  
then put my blind at 15%  
I don’t know why, but it does not work at all.  
Can someone please support ?  
 ![IMG_0074](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f9c952710e27032b16959f08594435ea87510ce4.jpeg)

---

<div class="post-metadata">

**Author:** ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)\
**Post date:** [October 6, 2023, 8:32am UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/2 "2023-10-06T08:32:35Z")

</div>

The trigger cards are “If temperature is change” and “If the Brightness are change”.  
They come on the left of the “All card.”

The cards you’re using now become an “And card” like the “Date & Time card”.

When you put them after that “Date & Time card” then the flow stops if it’s not the right time.  
So Homey have not to act further.

## CORRECTION

The “All card” you not using that any more.  
Both trigger cards started the line of the “And cards”.

---

<div class="post-metadata">

**Author:** ![blutch32](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/blutch32/32/50358_2.png) [@blutch32](https://community.homey.app/u/blutch32)\
**Post date:** [October 6, 2023, 8:41am UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/3 "2023-10-06T08:41:04Z")

</div>

Hi and thank you for your answer, but it is the right time. We are well in between june and november. temperature is well above 20 in my kitchen and lux are at 80000 lux

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 6, 2023, 8:45am UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/4 "2023-10-06T08:45:34Z")

</div>

See [the tips in this post](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145).

Also, can you remove one of your questions? It’s posted [double](https://community.homey.app/t/advanced-flow-not-working/91093) now.

---

<div class="post-metadata">

**Author:** ![blutch32](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/blutch32/32/50358_2.png) [@blutch32](https://community.homey.app/u/blutch32)\
**Post date:** [October 6, 2023, 8:57am UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/5 "2023-10-06T08:57:44Z")

</div>

I have seen the tips but still cannot understand why my flow is not working. lux is higher than 40000 and temperature higher than 20, we are in between june and november. That should put my blind at 15% no ?  
I did removed the second post.

---

<div class="post-metadata">

**Author:** ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)\
**Post date:** [October 6, 2023, 9:11am UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/6 "2023-10-06T09:11:47Z")

</div>

Homey cant look every second if your Lux is 4000+ and the temperature 20+.

There for you need those trigger cards “If temperature is change” and “If the Brightness are change”.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 6, 2023, 10:45am UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/7 "2023-10-06T10:45:47Z")

</div>

> [@blutch32](#):
>
> I have seen the tips but still cannot understand why my flow is not working.

You don’t understand how ALL works, which is that both trigger cards (in your case “luminance is above 40K lux” and “temperature is above 20°C”) have to trigger _at the exact same time_ for ALL to work. Which they never will.

Instead, you have to use an ANY card, so that if one of the two becomes true, the next part of the flow is run.

Then in the next part, you have to check for all conditions to be true: luminance above 40K, temperature above 20°C, and month between June and November. You can use Logic cards for the first two.

Then you attach the outputs of those three cards to an ALL card, which basically acts as an “AND”: if _all_ the inputs are true, continue.

The output of the ALL card goes to the card that sets your blinds.

---

<div class="post-metadata">

**Author:** ![blutch32](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/blutch32/32/50358_2.png) [@blutch32](https://community.homey.app/u/blutch32)\
**Post date:** [October 6, 2023, 12:05pm UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/8 "2023-10-06T12:05:14Z")

</div>

Ok, I tried this way as I was unable to put a condition as an “and” card. As example, luminance above 40k is the starting condition, then “and” temperature is above 20%. But I am only able to see batery changes as “and” conditions for both my luminance sensor and temperature sensor.  
I guess then the solution is to go through logic cards as you said. I will try to understand now how logic cards works 🙂

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [October 6, 2023, 12:20pm UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/9 "2023-10-06T12:20:59Z")

</div>

The flow could look something like this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/0648ef7c9ea4036fb7add601f2859aebe0dfa9d1.png)  
(This is the slightly more complicated variant)

You can also create two separate flows (easier variant):

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

So that the flow is not started unnecessarily although the roller blind is already in the position of 15%, you can also check the position of the roller blind:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/683d47cb34b9ad72de7fd3b6c1e8410199304f5e.png)

And so on, and so on…

---

<div class="post-metadata">

**Author:** ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)\
**Post date:** [October 6, 2023, 3:06pm UTC](https://community.homey.app/t/advanced-flow-all-card-not-working-or-wrongly-used/91092/10 "2023-10-06T15:06:55Z")

</div>

Nice to see all those different possibility’s.

In my post I had a simple straight line in my mind.  
Both trigger cards started that line of the “And cards”

Therefore I have edit that post because the All card is not needed any more.
