← Return to Top Page 日本語

Table of Contents

Trigger Basics

To create a trigger, you first need an action to execute. There are three types of triggers:

  1. Triggered by events identified by sensor data
  2. Triggered by time
  3. Triggered by conditions of variables and properties

Sensor Event Triggers

To create a sensor-based trigger, click the icon with a plus sign in a square in the top right corner of the screen.

Trigger Settings

  1. Give the trigger a clear name (recommended to base it on the trigger conditions)
  2. Assign it to the appropriate area
  3. There are three tabs:

When Tab

Conditions Tab

You can set conditions based on the sensor layer type:

Action Tab

After creating the trigger, don’t forget to turn on the switch on the right to enable it. This connects the sensor and action.

Trigger Parameter Examples

Setting Trigger Active Time

Threshold

This parameter applies to sensors that constantly send state data (temperature sensors, door open/close sensors, wireless switches, etc.).

Example 1: Temperature Sensor

If a threshold trigger is set and the trigger is set to above 20°:

Example 2: Door/Window Sensor

If a door/window sensor’s threshold trigger is set to “close”:

Setting Trigger Execution Conditions

Key Layer and Layer

The key layer needs conditions specified. When conditions are met, the corresponding action executes.

Complex Condition Example

Example: Want to execute trigger only when CO2 exceeds 1000ppm AND motion sensor detects people in the room

Time-based Triggers

You can create triggers based on time and time-related parameters (intervals, days of week, days of month, etc.).

Schedule Types

Custom Trigger Syntax

| Unit | Required | Allowed Values | Available Special Characters | |——|———-|—————-|—————————–| | Seconds | Required | 0-59 | ・/,- | | Minutes | Required | 0-59 | ・/,- | | Hours | Required | 0-23 | ・/,- | | Days | Required | 1-31 | ・/,-? | | Months | Required | 1-12 or JAN-DEC | ・/,- | | Days of Week | Required | 0-6 or SUN-SAT | ・/,-? |

Example: Execute once a year on February 4th at 14:23:51 → “51 23 14 4 2 *”

Trigger Variables and Properties

In device/timer triggers, you can pass trigger properties and trigger variables as arguments when executing actions.

Trigger Variables

Trigger variables are tv. and are passed to actions as tv.. Used in event-driven triggers that receive sensor data.

Trigger Properties

Trigger properties tp. can be defined in the trigger settings dialog, and even when the same action is called, you can change behavior through conditional branching based on tp. values.

Trigger properties can be set to these three predefined properties and any property name: