Trigger
Define rules that will trigger actions when they are met
Written By Aleksander Bless
Last updated 14 days ago
The Trigger app can be used to define custom rules for one or more data points, which will trigger actions when they are met.
Get started
1. Go to Configuration β Applications
2. Click Add Application
3. Fill in the fields for the application
The following fields must be filled in:
- Enter a name, a description if desired, and select a Gateway
Trigger data points
These are the data points that will be checked by the application.- Activation rule
This is a JavaScript expression that will be used to determine whether the trigger should be activated. - Deactivation rule
This is a JavaScript expression that will be used to determine whether the trigger should be deactivated. - Data points for writing
These are the data points to be written, and their defined values.
In cases where both the activation and deactivation rules are true at the same time, the activation rule takes precedence.
In the example below, Gateway will turn on the outdoor heating cables if the following conditions are met:
- The hourly electricity price is not among the 6 highest.
- Expected precipitation is greater than 0.5.
- The expected outdoor temperature is less than 0.

Finish with Create