Action Trigger
Currently, there is only 1 type of trigger you can use:
- Variable: The Action will be triggered when one or more variables meet certain conditions. If your Device has sent data and the variables are meeting those conditions, the Action will be triggered.
Trigger by Variable
This type allows you to execute your Actions when one or more variables meet certain conditions.
There are 2 (two) categories inside of this trigger type:
-
Single device: Allows you to watch a specific Device in your list. Any data that is sent by that device will be tested against your conditions to decide if this action should be triggered or not.
-
Multiple devices: Allows you to watch multiple Devices. Any data that is sent by those devices will be tested against your conditions to decide if this action should be triggered or not. For this type, you must supply the tag key and tag value of the devices you want to watch.
Trigger Conditions
After setting up the Device, you should set a condition for your Action to be executed.
- Select a variable to be tested. This will be one of the variables that will be compared against the data from the device.
- Define the type of condition to test the variable. The available test conditions are:
- Less than: matches when the value of the variable is less than the value defined;
- Greater than: matches when the value of the variable is greater than the value defined;
- Equal to: matches when the value of the variable is equal to the value defined;
- Different from: matches when the value of the variable is different from the value defined;
- Any: matches whenever a new value of the variable is sent to the bucket;
- Between: matches when the new value is between a fixed value range.
- Set a value to complement the condition. In the example above, the value for the condition is 15.
Roadmap
Just like our TagoIO Cloud platform, we plan to implement new Action triggers in the future, such as Trigger by Resource, and Trigger by Schedule.