#
Setup Triggers
Triggers are events that result in specific action. You can define these actions yourself.
The prerequisite for setting up a new trigger is at least one control module that has been set up.
-
- Login to HXA.io Portal
- https://portal.hxa.io.
- Navigate to "Automation" -> "Triggers"
-
- Click on "Add Trigger".
-
- Set a name for the trigger
-
- Choose a control module and an event
-
- Depending of what type of device you choose as control device there must to set some values:
- For RGB/W controllers: the values for the colors (0-255) and an effect (optional)
- For relays: port name, port at the relay, port status (on or off if event was triggered)
- For Bulbs: the values for the colors (0-255) and an effect (optional)
- Color example: Red: 255,0,0,0; Green: 0,255,0,0
-
- Click on "Add".
-
- Repeat that steps for every actions you want to use.
-
- Scroll to the end of the page and click "Save".
-
- At least link a resource to the trigger.
- Click the three points behind the new added trigger and choose "Edit trigger".
- Fill out the network configuration:
- Port name.
- Port number.
- Port status.
- Automatic switching time (ON/OFF).