# \[APP\]\[Pro\] Advanced Triggers - Trigger and action cards with eventname for Advanced Flows

**URL:** <https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651>\
**Category:** Apps\
**Tags:** app, tools, flow, homey-pro, advancedflow\
**Created:** [July 7, 2022, 10:27am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651 "2022-07-07T10:27:54Z")\
**Posts on this page:** 20\
**Page:** 3

<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:** [September 14, 2022, 8:48am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/47 "2022-09-14T08:48:18Z")

</div>

Sorry, i think i missunderstood now i read it again.

You want the Start-a-trigger action/Then Card to have a textfield instead of a dropdown/autocomplete?

---

<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:** [September 14, 2022, 9:23am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/48 "2022-09-14T09:23:42Z")

</div>

Hey @Dennis_van_Dinter , Is this what you wanted?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/3/23f0f3800288769254ee9288a581c9e394a24dbd.png)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bfa1fadaeeed0f56c9308919be89fe773d17a230.png)  
In the DynamicTriggerTag is the value DynamicNameByTag, so the Trigger gets fired.

This is what you requested?

Its live!

---

<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:** [September 14, 2022, 11:01am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/49 "2022-09-14T11:01:53Z")

</div>

The requested feature is live.

---

<div class="post-metadata">

**Author:** ![Dennis\_van\_Dinter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_van_dinter/32/28180_2.png) [@Dennis\_van\_Dinter](https://community.homey.app/u/Dennis_van_Dinter)\
**Post date:** [September 14, 2022, 2:48pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/50 "2022-09-14T14:48:35Z")

</div>

@Arie_J_Godschalk

Yes! I completely missed that.

Thank you!

---

<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:** [September 14, 2022, 3:02pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/51 "2022-09-14T15:02:58Z")

</div>

Haha, it was not there before, i just implemented it.

---

<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:** [September 28, 2022, 8:33pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/52 "2022-09-28T20:33:49Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> Debounce can be set on triggers (When cards): meaning you can manage how many times and in what way flows get executed within a certain periode.
> 
> - Execute last one waiting after each [number of] ms.
> - Execute at start, then allow execution after each [number of] ms.
> - Execute at start, then allow execution after each [number of] ms, finish with last one waiting.

Hey Arie, I have no clue what the differences are. It’s too techy 😉  
No hurries!

---

<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:** [September 28, 2022, 8:38pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/53 "2022-09-28T20:38:09Z")

</div>

Just try it with logging and timers, you’ll understand beter 😛

---

<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:** [September 28, 2022, 8:45pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/54 "2022-09-28T20:45:26Z")

</div>

- Execute last one waiting after each [number of] ms.  
Set ms to 2000.  
Start one now, then after 1000, then after 3000.  
Only 2 and 3 will run.
- Execute at start, then allow execution after each [number of] ms.  
Set ms to 2000.  
Start one now, then after 1000.  
Only 1 will run.
- Execute at start, then allow execution after each [number of] ms, finish with last one waiting.  
Set ms to 2000.  
Start one now, then after 1000, then after 3000.  
Only 1 and 3 will run.

---

<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:** [September 28, 2022, 10:32pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/55 "2022-09-28T22:32:56Z")

</div>

It is different here for 1 and 3

> [@Arie\_J\_Godschalk](#):
>
> Execute last one waiting after each [number of] ms.  
> Set ms to 2000.  
> Start one now, then after 1000, then after 3000.  
> Only 2 and 3 will run.

No  
t1 runs, t2 after 2s, t4 after 4s, t5 after 6s, t6 after 8s

> [@Arie\_J\_Godschalk](#):
>
> Execute at start, then allow execution after each [number of] ms.  
> Set ms to 2000.  
> Start one now, then after 1000.  
> Only 1 will run.

OK, only t1 runs.  
But why? Why does it do “then after 1000”, and not after 2000? B/c NEXT execution is after 2000? But there is no next execution? … to many Buts Arie.

> [@Arie\_J\_Godschalk](#):
>
> Execute at start, then allow execution after each [number of] ms, finish with last one waiting.  
> Set ms to 2000.  
> Start one now, then after 1000, then after 3000.  
> Only 1 and 3 will run.

No,  
t1 runs, t2 after 2s, t4 after 4s, t5 after 6s, t6 after 8s

---

<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:** [September 29, 2022, 5:44am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/56 "2022-09-29T05:44:56Z")

</div>

> [@Peter\_Kawa](#):
>
> t1 runs, t2 after 2s, t4 after 4s, t5 after 6s, t6 after 8s

If you have theflowcards in sequence, not if you have them paralel.

If you have flowcards in a row, the one’s that fail (don’t execute) also wait that amount of time before they fail.

Please take a look at the example that i have set for this: [Debounce Example](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/11)

Use this flow to understand how you could use Debounce.

---

<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:** [September 29, 2022, 5:50am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/57 "2022-09-29T05:50:29Z")

</div>

> [@Peter\_Kawa](#):
>
> But why? Why does it do “then after 1000”, and not after 2000? B/c NEXT execution is after 2000? But there is no next execution? … to many Buts Arie.

No, it will execute the first one as soon as it gets triggered, and then “close all incomming” triggers, only to open up the possibility to trigger again after 2000ms.

And the next debounce function does the same, only it will make sure that the last incomming trigger always gets triggered.  
This could be very handy for not overloading the Set Status Text cards of DC-AVD.  
Using the “Execute at start, then allow execution after each [number of] ms, finish with last one waiting.” and setting it to 5000ms for instance, would mean you can just constantly fire the trigger with text, but only really change the status text every 5seconds, always showing the last.

Wait i’ll make an example for it…

\_\_\_\_EDIT

@Peter_Kawa Here: [Debounce Example for Status Indicator Text Update every 3 seconds](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/41)

---

<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:** [September 29, 2022, 7:39am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/58 "2022-09-29T07:39:04Z")

</div>

There might be a bug, hang on 😉

---

<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:** [September 29, 2022, 8:03am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/59 "2022-09-29T08:03:19Z")

</div>

Would it be possible to have an option to let a new trigger wait until the current has finished the flow? Like a resource lock.  
I have a flow I start with a text and a type to send messages to my phone. If it is triggered from 2 different events at the same time ony one of the messages will be sent.

---

<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:** [September 29, 2022, 8:14am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/60 "2022-09-29T08:14:58Z")

</div>

Yes, this is what debounce is all about.

But let me resolve a bug first, then i will continue the example (message 3 on this topic).  
Then, if you have questions, i’ll help you!

---

<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:** [September 29, 2022, 8:29am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/61 "2022-09-29T08:29:59Z")

</div>

Debounce is to not have the flow started too often.  
I want all triggers to start the flow, but if a trigger is fired while the flow (triggered by advanced trigger) it must be placed in queue until the currently triggered flow has finished.

---

<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:** [September 29, 2022, 8:33am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/62 "2022-09-29T08:33:35Z")

</div>

Okay, Version 1.4.5 is now live, it fiexes the Debounce option2: Execute at start, then allow execution after each [number of] ms.  
It owuld only fire one time and wait for twice the [number of] ms before letting something in, but every time it was beofre the elapse of the first [number of] ms, it owuld reset.  
So fire to fast and nothing got fired, except the first!

This is now resolved.

---

<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:** [September 29, 2022, 8:35am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/63 "2022-09-29T08:35:39Z")

</div>

> [@Anders\_Gregow](#):
>
> I have a flow I start with a text and a type to send messages to my phone. If it is triggered from 2 different events at the same time ony one of the messages will be sent.

Then i don’t get what you mean with the above: Could you share your flow?  
Because, why would (if you don’t use debounce) the flow not get executed twice?

Is it Advanced Triggers? If so, that would be a bug i guess.

Please share your flow

---

<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:** [September 29, 2022, 8:46am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/64 "2022-09-29T08:46:16Z")

</div>

It is not a bug, I just asked if this was possible to implement.  
I do not have a flow to share.

Example:  
Say you have two flows.  
Flow1 encapsulates sending a push notis.  
Flow2 turns on a surveillance camera and if this fails it calls flow1 with the text “Camera on failed”.  
Flow3 is called when temperature in fridge is above -15 and calls flow1 with text “Fridge temp high”.

If flow2 fails simultaniously when flow3 triggers you will have two calls to flow1 more or less simultaniously. If this happens only one of the texts is sent, the last one, as the push-notis card doesn’t have any resource lock.

If you have many flows with call to flow1 this will every now and then happen.

This is where I came to tink of your advanced-trigger app. If flow1 is triggered by this it would be nice with a possibility to enable “resource lock” instead of debounce.

Not sure if it is possible, just a thought.

---

<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:** [September 29, 2022, 9:01am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/65 "2022-09-29T09:01:00Z")

</div>

Hey Gregow,

Yeah, i understand what you want: parallel execution of the Start event cards, but the Triggercards should be fired sequential.

Right? if so, yeah this can be done, sure! This was a very big part of HOOP for which Advanced Triggers is a partial replacement!

Just hang on, i have got some other work to attend to, then i’ll add a “Sequencial Mode”.

---

<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:** [September 29, 2022, 9:16am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/66 "2022-09-29T09:16:24Z")

</div>

Exactly so. Nice!

Is it possible to wait until flow/start-card is finished before executing next trigger in queue?

[Previous page](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651.md?page=2)

[Next page](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651.md?page=4)
