Click on the icon on the top right with the plus in the square to create a sensor-based trigger:
This will open the trigger popup:
Give your trigger a sensible name, we recommend to name it after the condition that triggers the trigger.
Assign it to the correct area.
You have three tabs:
- When: At which point in time the trigger should get triggered
- Conditions: Under which conditions the trigger should get triggered
- Action: Which action should be triggered and with which parameters
The Calendar function is reserved to enterprise customers who can create very detailed calendars in Gravio Coordinator. These calendars will then appear in this drop-down list.
If you tick the “Active Time” the trigger will be active during the times specified here. If Active Time is not ticked, the trigger will trigger around the clock.
The interval is specified in seconds and determines how long the trigger should wait until it can be triggered again. This is useful if you for example don’t want a motion to be detected multiple times if the sensors send multiple signals in short succession.
The “Use Threshold” tickbox means that the trigger should only be triggered if the threshold of the sensor data is changed. For example, rather than triggering when reaching 20 degrees, you could tell the trigger to activate every time the temperature changes.
The tickbox “Skip still running” means that the trigger will only be activated if the associated action has finished.
Under the Conditions tab you can set the conditions under which the trigger should be triggered. This is depending on the nature of the sensor layer type that you have picked. For example if it’s a door sensor, you will have “open” and “close” as parameters. But if it’s a temperature sensor you might have a temperature field and “more”, “less”, “equal”, etc.
You can also combine conditions by choosing the “and” or “or” item in the dropdown and chaining the conditions up.
In the above example, it’s a vibration sensor that is triggered.
Finally, the “Action” section allows you to set the action that should be triggered. You need to have an action available for this. You can also pass arguments and values to those actions if required.
You can use trigger properties as parameters to pass on. You can find more details under Trigger Variables and Properties
After clicking the Save button, the trigger will appear in the triggers list:
Don’t forget to switch the trigger on on the far right side:
You’re done. Your sensors are now connected to the actions.
Need more help with this?
Join our slack community for help