-
Getting Started
-
Device Management
-
Automations
-
Dashboard
-
User Management
-
LoraWAN
-
API and Integrations
-
Boards
-
DIY
-
Gateway
Telemetry Trigger
Let’s say you want to set a limit for one of your telemetries, and when that limit is reached, you want something to happen, such as an alarm or the automatic activation of another device to handle the situation. If that is the case, you should use this type of trigger.
Telemetry Trigger allows you to set the limit on one or multiple telemetries with the same or different limit.
Once you select the Telemetry Trigger as your Automation Type, name and describe your new rule, then set the desired repeating interval by clicking on the Repeat Every dropdown. This allows you to specify when the automation actions should be repeated at your preferred intervals.
Then set your deadband, click on the Deadband dropdown menu.
The automation deadband function is used to eliminate multiple triggers of the same event caused by chatter (slight fluctuation) in analog parameters (temperature, analog input, voltage, etc). The condition is triggered when the analog parameter rises above the comparison value when using the greater than (>) comparison. The condition will not be triggered again until the analog parameter falls below the comparison value minus the dead-band and then rises above it. The condition is triggered when the analog parameter falls below the comparison value when using the less than () comparison. The condition will not be triggered again until the analog parameter rises above the comparison value plus the dead-band and then falls below it.
In a simple word, deadband is typically used to reduce wear and tear on mechanical components by preventing unnecessary or excessive control system activity. It is also used to prevent the system from constantly making small adjustments that could lead to instability or oscillations. Deadband values can be set and adjusted based on the specific application and system requirements.
You can only access the Deadband option if you choose the repeating interval as No Repeat If you set the repeating interval to a value other than No Repeat, you must set the delay time.
Setting a delay time at Delay Before Trigger as Action, would be useful because some sensors sometimes read data inaccurately in a short period of time.
If 0 minute is chosen, automation action will be executed immediately once the trigger meets the threshold condition.
Click Next to go on the next step.
The next step is to specify on which trigger you want and from which device’s telemetry it should be based on. You also need to set the condition for your rule.
Click Add Trigger to select your device. Then, click on the Device dropdown menu to search your device.
After selecting your device, you will need to specify which telemetry will act as the trigger by selecting it from the Telemetries dropdown menu. You have the option to select more than one telemetry, and each selected telemetry will be linked with an OR relation.
Note: if you had a grouped telemetry before, the main Telemetry Key will be shown next to your group name on the list
Set the Condition for your trigger. There are six options available that you could choose.
Choose one condition that you want to set. Then set the threshold value to complete the condition. Click Add Trigger when done.
You could set another trigger by repeating the same step.
Add Relation
Suppose you have two triggers and want your action is activated when one of the triggers meets the preset conditions. This feature is best used when you have multiple triggers and need to set a condition between them.
To do it, click on Add Relation.
After you click it, then you need to select what you want for your triggers; you could set a group for your triggers or set a relation for your triggers. There are four options from which to choose.
You can use an open and close bracket to group your triggers. If you set the relation to OR, the automation action will be activated when any one of the triggers reaches its threshold limit. If you set the relation to AND, the automation action will be activated only when all of the selected triggers reach their threshold limits.
Select the relation option and click the checklist button.
There are an up and down arrow next to your triggers and your relation. Click on it to move your trigger or your relation. Then, click Next when done.