# \[FAQ\]\[Advanced Flow\] Infinite canvas. Infinite creativity

**URL:** <https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145>\
**Category:** Flows\
**Tags:** advancedflow\
**Created:** [June 27, 2022, 10:12pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145 "2022-06-27T22:12:00Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![Kristian\_vs](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kristian_vs/32/47841_2.png) [@Kristian\_vs](https://community.homey.app/u/Kristian_vs)\
**Post date:** [July 6, 2022, 2:36pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/104 "2022-07-06T14:36:34Z")

</div>

> [@Jo\_San](#):
>
> omations. Now just have to figure out a nice structure. In the old setup I had seperate Trigger flows and Action flows. Not sure if that still is the way to go now. Feels like combining all flows of a

Use the Countdown app. Start countdown (10 min) on motion detection. When countdown reaches zero AND no motion detected, turn off light.

---

<div class="post-metadata">

**Author:** ![I\_am\_who](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/i_am_who/32/19571_2.png) [@I\_am\_who](https://community.homey.app/u/I_am_who)\
**Post date:** [July 6, 2022, 2:45pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/105 "2022-07-06T14:45:26Z")

</div>

Been searching in several forums on AF but haven’t seen any idea on a loop? I’m trying to loop my AF until a logic is turned to “No”. Reason I want to loop is to make my lights flash with the “flash lights long” option in the hue app. This makes lights flash for 8 seconds. By looping I can make the lights keep flashing until the logic is set to “no” and not stop after 8 seconds.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 6, 2022, 2:45pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/106 "2022-07-06T14:45:50Z")

</div>

In the live questionary yesterday (or maybe in the intro for adv flows) I saw them adding and cards where you could add code. Do you need to install HomeyScript for this?

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 6, 2022, 2:49pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/107 "2022-07-06T14:49:21Z")

</div>

Which app are you using for parsing json?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [July 6, 2022, 3:27pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/108 "2022-07-06T15:27:38Z")

</div>

No app, just the new default flowcards for flow and logic.

---

<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:** [July 6, 2022, 4:51pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/109 "2022-07-06T16:51:44Z")

</div>

> [@Anders\_Gregow](#):
>
> I saw them adding and cards where you could add code. Do you need to install HomeyScript for this?

Indeed, it’s an app: [HomeyScript App for Homey | Homey](https://homey.app/a/com.athom.homeyscript/)

---

<div class="post-metadata">

**Author:** ![Genotix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/genotix/32/5004_2.png) [@Genotix](https://community.homey.app/u/Genotix)\
**Post date:** [July 6, 2022, 8:19pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/110 "2022-07-06T20:19:35Z")

</div>

Well in the exact example instead of starting the second trigger you could check with an “And” whether the light is on.

Second option would always be to store fired triggers in variables and reset them after processing.

---

<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:** [July 7, 2022, 12:15am UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/111 "2022-07-07T00:15:37Z")

</div>

I started an Adv. flow which starts itself after 5s, but they really built in a limit appearantly:  
 ![Screenshot from 2022-07-07 00-09-13](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1a2f7e7db9f4cdd733db8f3bc2ffcc4e31e70a47.png)

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 7, 2022, 1:32pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/112 "2022-07-07T13:32:43Z")

</div>

I tested Any card versus Delay(0sec) card and was expecting that the Any cards would stop all but the first signal, and that was correct.  
But I expected the Delay(0sec) to let all signals go through but this did not happen. See my attached screen captured of the tests.  
As you can see the behaviour is the same as for the Any card.  
This must be a bug?!

 ![Adv flow with Any and Delay](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/d/ad798f6a0e96b4b1b7723e5dca60bb652c2da692.png)  
 ![Adv flow with Any](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/24c0e0b47077e0167141459a46633e96ba6652a3.png)  
 ![Adv flow with Delay](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/013b5ecbac2316094cdf474074f64b585fdf062d.png)

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 7, 2022, 1:35pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/113 "2022-07-07T13:35:32Z")

</div>

Even without the delay only the 1 sec-signal is continuing.  
Is this correct. Maybe I want the messages to be sent twice??

 ![Adv flow without Any and Delay](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/2/b2b360983afcb3daf9155aefd5c72669d2223ae9.png)

---

<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 7, 2022, 1:37pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/114 "2022-07-07T13:37:09Z")

</div>

No by design within a Trigger all cards can start once,  
So \< ANY \> = \< Delay 0 Sec \> = connecting all incoming directly to a \< Condition or Action Card \>

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 7, 2022, 1:56pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/115 "2022-07-07T13:56:05Z")

</div>

Not sure if I follow you.  
I know that only one trigger is handled for each flow, but my flows only have one flow.  
Do you mean that every action card can only be triggered once too, for each trigger?

---

<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 7, 2022, 1:58pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/116 "2022-07-07T13:58:41Z")

</div>

> [@Anders\_Gregow](#):
>
> Do you mean that every action card can only be triggered once too, for each trigger?

Correct!

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 7, 2022, 2:16pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/117 "2022-07-07T14:16:10Z")

</div>

Good to know.  
I had a flow where I turn on 3 surveillance cameras.  
If any of them failed I called a message-card from their error-output.  
That will only work for the first failure.  
Rewriting. 🙂

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [July 7, 2022, 4:35pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/118 "2022-07-07T16:35:53Z")

</div>

From my point of view, this design is not a good decision, because:

1. This means ANY does not correspond really to the logical OR operator. The logical OR operator is used to combine operands in such a way that the expression returns “true” if **at least one** of the operands is true.

2. Every time you building a flow you have to be very carefull what intuitively should actually work and what is forbidden by design.

It’s a pity but of course not a big problem if you know it.

---

<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 7, 2022, 5:17pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/119 "2022-07-07T17:17:12Z")

</div>

> [@Joka](#):
>
> This means ANY does not correspond really to the logical OR operator.

Correct,

Therefor it isn’t called an OR , they (Athom) created an ANY, that just triggers it output on the first incoming trigger of a pervious card.

So maybe start “[Flip-Thinking](https://www.omdenken.nl/inspiratie-en-verhalen/nu-in-het-engels-huh-the-dutch-art-of-flip-thinking)”

The evaluation of a condition can be True Or False, continuing a trigger in the upper or lower Niple 😉 (I L ❤ve that one )

But Continuing al Lower Niple 😉 trigger isn’t True or False it is the result of an Evaluation that was False. Although it isn’t True or False on it’s own. Especially when it is delayed, then it can represent an evaluation of an equation back in time that was false or true (Upper ̷N̷i̷p̷p̷l̷.̷.̷. . path ) and you never know what that equation is now.

Look here:

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

Because What if Noooo was True? Then according to the first Condition it was True, Follow the upper Path… and a Second Later a trigger comes to the ANY and Flips it, and a second later something else put on the timeline.

> PS: After playing a couple a weeks with it already my first posted Topic here ^^^ was also still comparing the ALL with an AND and the ANY with an OR. Start Flip-thinking 😉

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [July 7, 2022, 7:12pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/120 "2022-07-07T19:12:21Z")

</div>

First of all, thank you for taking the time to create my personal flow example for this problem! 😊

It’s true the logic of homey flows isn’t comparable with programming languages directly. Therefore we are able to create things visually faster and more intuitively. You see Flip-Thinking works already 🤣

I see the timing problem and possible changes of condition in the sequence of a flow isn’t easy to handle.

But take care with the term niple, in times like this you/we are walking on very thin ice. 😇 But I saw athoms presentation too, they will not be able to get rid of it 😂

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 7, 2022, 8:43pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/121 "2022-07-07T20:43:36Z")

</div>

One annoying thing I found is with tags created in the flow. If you use two logic “parse json as text-tag” cards both tags will be namned “created tag”. How to know which one is from what card if both cards are connected?

---

<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 7, 2022, 8:59pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/122 "2022-07-07T20:59:15Z")

</div>

> [@Anders\_Gregow](#):
>
> How to know which one is from what card if both cards are connected?

try it,  
it wiggles…

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 7, 2022, 9:08pm UTC](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145/123 "2022-07-07T21:08:40Z")

</div>

Try how? Run test? Click on it?

[Previous page](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145.md?page=5)

[Next page](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145.md?page=7)
