# \[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:** 1

<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 7, 2022, 10:27am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/1 "2022-07-07T10:27:54Z")

</div>

Trigger and action cards with eventname for Advanced Flows.

Very lightweight app for adding multiple triggers with tags on a single flow, by adding a event name.  
The flow can be triggered using optional arguments.  
**Just create a trigger (When), type the name and select it, then select it in the actioncard (Then).**  
**You can also create an actioncard (Then) first, type and select a name, and then select it in the trigger (When).**  
(sometimes you will need to save the flow before the name becomes available in the cards.)

Triggers can be overloadable, meaning, you can select and trigger a When card with 10 arguments from a Then card with just 1 argument.

[Click here for an in-depth explaination of the Debounce function](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/3).  
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.

(Please note the extra delays during testing in Advanced Flows.)

These cards execute almost instantly, as suppose to the default Start-A-Flow cards half a second delay.

### Please report **issues** or **feature** requests at [Issues · Qluster-IT/nl.qluster-it.AdvancedTriggers](https://github.com/Qluster-IT/nl.qluster-it.AdvancedTriggers/issues).

**If you have any suggestions for the App, just let me know!**

### Apps:

> [@\[Profile\] Arie J. Godschalk](https://community.homey.app/t/profile-arie-j-godschalk/70663/2):
>
> Apps developed or maintained by me: [Advanced Triggers](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651) , [BeNext](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104) , [Better Logic](https://community.homey.app/t/app-pro-better-logic-just-some-better-logic-and-variable-management/5568) , [Chronograph](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214) , [Device Capabilities](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287) , [Advanced Virtual Device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) , [FTP Client](https://community.homey.app/t/app-pro-ftp-client/70876) , [Google Services](https://community.homey.app/t/google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257) , [Homesh Controller](https://community.homey.app/t/app-pro-homesh-controller-homesh-satellite-connect-homey-pro-2023-to-homey-pro-for-led-speaker-zwave-satellite-and-network-resource/70369) , [Homesh Satellite](https://community.homey.app/t/app-pro-homesh-controller-homesh-satellite-connect-homey-pro-2023-to-homey-pro-for-led-speaker-zwave-satellite-and-network-resource/70369) , [JSON Handler and Manipulator](https://community.homey.app/t/app-pro-json-handler-and-manipulator/66317) , [LOQED](https://community.homey.app/t/app-pro-loqed-your-personal-doorman/89816) , [Music Url Converter](https://community.homey.app/t/music-url-converter-play-music-urls-on-homey-bigger-then-900-kb/43546) , [Reverse Proxy and DDNS](https://community.homey.app/t/app-pro-reverse-proxy-and-ddns/160862) , [Simple Log](https://community.homey.app/t/simple-log-app/146) , [Universal Media Player](https://community.homey.app/t/universal-media-player-a-generic-storages-place-for-your-homey-speakers-tvs-or-other-media-devices/43450) and [Virtual Devices](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723) . [Goto profi…](https://community.homey.app/t/profile-arie-j-godschalk/70663)

### Donations or Sponsorship

> [@\[Profile\] Arie J. Godschalk](https://community.homey.app/t/profile-arie-j-godschalk/70663/3):
>
> Donations or Sponsorship. You can help with the development, maintenance and support for the Apps, by donating or becoming a sponsor. This would be much appreciated! The more donations i receive, the more time i can make free for development and support. slight_smileDonations can be done through: [[PP] PayPal](https://paypal.me/QlusterIT) Requires a PayPal account. [[GS] Github Sponsors](https://github.com/sponsors/XeroxQ) Allowes for CreditCard. Sponsorships can be done through: [[P] Patreon](https://www.patreon.com/QlusterIT/membership) Requires a Patreon account. [[GS] Github Sponsors](https://github.com/sponsors/XeroxQ) …

---

<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 7, 2022, 10:28am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/2 "2022-07-07T10:28:08Z")

</div>

Version 1.3.1 is Live.  
[Advanced Triggers - Live Version | Homey](https://homey.app/nl-nl/app/nl.qluster-it.AdvancedTriggers/Advanced-Triggers/)

**Added Debounce to triggers!**

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.

* * *

Version 1.2.3 is Live.  
[Advanced Triggers - Live Version | Homey](https://homey.app/nl-nl/app/nl.qluster-it.AdvancedTriggers/Advanced-Triggers/)

You can now also enter a name into the actioncard (Then) and then select it in the triggercard (When).

4 new trigger- and actioncards have been addded:

- With optional 1 text, 1 number and 1 yes/no
- With optional 3 texts, 3 numbers and 3 yes/no’s
- With optional 5 texts, 5 numbers and 5 yes/no’s
- With optional 10 texts, 10 numbers and 10 yes/no’s

Added overloading to the Triggers. Meaning, you can select and trigger a When card with 10 arguments from a Then card with just 1 argument.

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

Attention: Version 1.1.0 has the original 1.0.0 cards deprecated, for improved future development.  
If you have the first version triggercard, the new 1-argument-per-type card will not show the original triggercard.  
Just replace the triggercard with the new triggercard.

---

<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 7, 2022, 10:28am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/3 "2022-07-07T10:28:18Z")

</div>

# Debounce explained in-depth

Here we will explain the purpose, functioning-of and how-to use the Advanced Triggers Debounce functionality.

### Purpose

Debounce let’s you put limits on how many times a certain event, in this case a trigger, gets executed.

Debounce is used a lott for limiting the retrieving of results from input, for example, a textbox that shows a list based on the value typed.  
Usually, a textbox like that, or a filter textbox, don’t refresh the results (selectlist for example) on every key pressed on the keyboard.  
Mostly the have a simple debounce of f.i. 300 milliseconds.  
Meaning that, when you start to type, it will only ask the results every 300ms with the, then, last value.

So, let’s say you enter a word of 10 characters (lets use characters as example). If you type that word in 400ms, it will request the results/list twice: once after 300ms, with f.i. “charact” and again after 400ms now with the full word “characters”.

This helps to save a lott of resources and not bottle-neck your whole system by requesting useless results that are no longer needed.  
The results for “c”, “ch”, “cha”, “char”, etc, are not needed.

### Functioning-of

Advanced Triggers’ Debounce has three options:

- Execute last one waiting after each [number of] ms.  
This one is used in the example in the Purpose section.  
After each [number of] ms, the flow will get executed with the last requested trigger and tokens.

- Execute at start, then allow execution after each [number of] ms.  
As soon as a trigger gets requested to execute, it will.  
But all next requests to the trigger are not executed, if the are requested within the [number of] ms.  
Only after that amount of time can the trigger be requested and will it executed again, once, to then block again for that amount of time.

- Execute at start, then allow execution after each [number of] ms, finish with last one waiting.  
The same as above, but after the [number of] ms, if (a) trigger(s) was requested within that amount of time, it will, after that amount of time, execute the last one waiting.  
This means that, you can’t/shouldn’t use the _Start [event]_ flowcards sequential for these kind of debounce triggers.  
All trigger requests within in the blocked time, will be put on hold.  
Only after another trigger is requested, will another on-hold be returned as not-executed.  
Or, after the [number of] ms has elapsed, will the last one (the only one waiting, because the rest before it get’s dropped) be executed.

### How-to use

In the [Share Your Device!](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676) templates, i have placed an example on [how-to use the debounce with an AVD](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/41).  
In the [The Flow Exchange(r)](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981) templates, i have also placed a [Debounce Example](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/11).

Here is the basic idea:

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

When you execute this in the FlowEditor(!), you will see: Test 1, Test 2, Test 5 and Test 6.

----- to be continued ----

---

<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 7, 2022, 10:28am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/4 "2022-07-07T10:28:26Z")

</div>

Last one reserved.

---

<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 13, 2022, 7:52pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/7 "2022-07-13T19:52:32Z")

</div>

Hi Arie, nice initiative. Does it differ from [Event Bus](https://homey.app/a/name.klep.flow-event-bus/)?

---

<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 13, 2022, 8:11pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/8 "2022-07-13T20:11:31Z")

</div>

Its easier to use in Advanced Flows and it creates dropdowns for easier use.  
But most important, it allows all argumenttypes, so it can be used for loops within flows for easier variables-in-scope assignment without the need for the use of Logic Variables.  
Especially the use of upto 10x3 arguments can be usefull.

Also, it has Debounce.

And i plan to add more to it.

---

<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 13, 2022, 9:13pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/9 "2022-07-13T21:13:33Z")

</div>

Very helpfull!  
Thanks!  
Will definately use this when I rebuild my wakeup light flows (snoozing) into advanced ones.

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [July 13, 2022, 9:30pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/10 "2022-07-13T21:30:10Z")

</div>

Where can i donwload it ?  
Its not in de app store Homey  
or i want it to fast 😉

---

<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 13, 2022, 9:32pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/11 "2022-07-13T21:32:12Z")

</div>

> [@HuisCHovens](#):
>
> Its not in de app store Homey

It is: 🙂

> **[Advanced Triggers](https://homey.app/nl-nl/app/nl.qluster-it.AdvancedTriggers/Advanced-Triggers/)**
>
> Trigger and action cards with eventname for Advanced Flows

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [July 13, 2022, 9:37pm UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/12 "2022-07-13T21:37:57Z")

</div>

Thank you. I searched with the search bar but it didn’t come up. Also searched by different names.

---

<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 14, 2022, 8:00am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/13 "2022-07-14T08:00:10Z")

</div>

Maybe search in the app store is periodically indexed?

---

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

</div>

Hi Arie, I would like to optionally pass more than one variable of a type. For example 10 text, number, boolean.

What do you think?

---

<div class="post-metadata">

**Author:** ![Jens.Hummelmose](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jens.hummelmose/32/34209_2.png) [@Jens.Hummelmose](https://community.homey.app/u/Jens.Hummelmose)\
**Post date:** [July 14, 2022, 8:17am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/15 "2022-07-14T08:17:43Z")

</div>

Hi Arie.

It might be a stupid question - But could you show some examples. I’m not sure I understand the way it work - Where do you define the triggers.

Sorry if it’s a stupid question - but would love to have multible arguments to my flows.

An example of what I need.

I’m working on a generic log flow that logs and raises notifications, right now i send a string to the flow and then do a javascript split to have multible arguments into the flow. Can this app do the same ?

---

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

</div>

> [@Jens.Hummelmose](#):
>
> right now i send a string to the flow and then do a javascript split to have multible arguments into the flow

Exactly, that is a usecase for my feature request:

> [@Joka](#):
>
> I would like to optionally pass more than one variable of a type. For example 10 text, number, boolean.

---

<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 14, 2022, 8:35am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/17 "2022-07-14T08:35:55Z")

</div>

Working on it right now.

---

<div class="post-metadata">

**Author:** ![Jens.Hummelmose](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jens.hummelmose/32/34209_2.png) [@Jens.Hummelmose](https://community.homey.app/u/Jens.Hummelmose)\
**Post date:** [July 14, 2022, 8:37am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/18 "2022-07-14T08:37:06Z")

</div>

But Joka- Can you give me an example how to use it now - I don’t know what you pass to the WHEN parameter.

---

<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 14, 2022, 8:50am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/19 "2022-07-14T08:50:10Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/7/270feb50583111be359251e25ca99b42fb5bebdb.png)

I’m honest, I see the potential of the app but for these usecases I use the flow+variables cards of advanced flows right now. But with the option to pass more than one variables of a type (multiple variables) it is much more powerful.

As I understand it works like that:  
In the then card you define a trigger (name) and the variables (tags) + values you want to use.  
In the when card you can use these triggers and the values as tags in the following then cards.

> [@Advanced Flow — Community Q&A (from Ask Me Anything 05-07-2022)](https://community.homey.app/t/advanced-flow-community-q-a-from-ask-me-anything-05-07-2022/65579/257):
>
> You could do it like this:
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/018fa60aeff9f9a972d311187fe92810c11e3d22.png)
> 
> (I used temperature because of the lack of the cards you have, but just as an example)

---

<div class="post-metadata">

**Author:** ![Jens.Hummelmose](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jens.hummelmose/32/34209_2.png) [@Jens.Hummelmose](https://community.homey.app/u/Jens.Hummelmose)\
**Post date:** [July 14, 2022, 9:00am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/20 "2022-07-14T09:00:51Z")

</div>

Thanks a mill. Couldn’t find the “key” to use it 🙂

---

<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 14, 2022, 9:13am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/21 "2022-07-14T09:13:36Z")

</div>

Hey @Joka, @Jens.Hummelmose and @Peter_Kawa,

The App is updated, and 1.1.0 is available for testing.  
I have added 3 triggercards and actioncards: one with 1 argument of each type, one with 5 of each and 10 of each type.  
I have deprecated the original first trigger- and actioncard, for future development. So the 1-argument-per-type-cards are new.

> **[Advanced Triggers](https://homey.app/en-us/app/nl.qluster-it.AdvancedTriggers/Advanced-Triggers/)**
>
> Trigger and action cards with eventname for Advanced Flows

(This is the link to the Test version.)

---

<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 14, 2022, 10:40am UTC](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/22 "2022-07-14T10:40:32Z")

</div>

Hi Arie, works for like charm and thx for the lightspeed implementation of multitype!

One question from a user point of view. Doesn’t it make more sense to define the trigger itself in the when card as in the then card. And use the browser of the trigger-name in the when card. Because I start with the when card and I know at this point the type of variable/value, so it would be nice if I’m able to fill in the trigger/name there.

Found a bug:

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

when card, click trigger-name, select the empty browser field, the trigger field will disappear.

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