Skip to content

When Block

When block let's you start an automation when something happens in your system.

Trigger KNX

Table of contents

🎬 Video tutorial

Listening for multiple triggers

You can listen for multiple triggers in the same automation.

Only one of the triggers needs to be triggered for automation to run.

Trigger types

There are multiple types of triggers available:

  1. Time & date
  2. Device change
  3. Listen for KNX telegrams

1. Time & Date

You can start an automation based on the time or date in the system (sunrise and sunset options are coming soon).

Possible options:

  • During the Week - run on selected days of the week at a specific time
  • At a Specific Date - run at a specific date at a specific time
  • Every Month - run every month on a specific day and time
  • Every Hour - run every hour at a specific minute, for example every hour at 30 minutes
  • Every Minute - run every minute
  • Every Couple of Seconds - run every 5, 10, 20 or 30 seconds
  • Sunrise & Sunset - Coming soon

Trigger KNX

A preview of when the next automation will be run is also shown (see image above).

2. Device change

You can start an automation when a device state changes.

Trigger KNX

3. Listen for KNX telegrams

You can listen for KNX telegrams received on specific group addresses and gateway and use the received value in the automation.

Learn more in the Working with KNX in Automations guide.

Trigger KNX

Using trigger value in automation

Value received in the trigger can be used later within the automation.

It can be used in the Dynamic inputs as shown below. You can quickly identify from which trigger the value was taken by looking at the tag (T1 in example below).

Trigger KNX - Dynamic data use

⚠️ Note that if multiple triggers are used, only the trigger that was triggered has a valid value set that you can use in the automation. You can always check which trigger was triggered by using dynamic data of the trigger (triggered value). See how to use Dynamic Data.

Learn more about Dynamic Data in the Using dynamic data guide.