Overview
The Radix Mobile Device Management Platform has features to allow you to execute commands on devices remotely, according to a defined time schedule or according to a trigger. You can create a trigger for a device (by timing, geofencing, or by a Wi-Fi signal) from within the Device Dashboard. This lets you program the device’s reaction to the trigger, by selecting a particular command to be executed. You can set different events and set their thresholds and selectively apply different triggered events accordingly.Accessing the Trigger Command
The Radix Device Management Platform has a variety of ways of accessing the Trigger command:
Method One: From the Sidebar Menu
You can create a new trigger from the sidebar menu. This will allow you to store the trigger for quick access when you want to apply it to a device in the future. However, you can only store the trigger in a library of Schedule & Trigger commands. You will have to use the other methods described here to apply the trigger to a device.
To create a new trigger from the sidebar menu:
1. Click on the Automation>Schedules & Triggers in the sidebar menu.
The Schedule & Trigger window opens.
2. Click on Add New in the lower left corner of the Schedule & Trigger window. The New Schedule & Trigger Command window opens:
We’ll see below in the section Creating a Trigger on how to create and store a new trigger.
Method Two: From the Device Dashboard
You can create and employ a trigger on a single device from the Device Dashboard, which opens when you click on the row of a particular device.
To access Schedule & Trigger from the Device Dashboard:
1. Click on Devices in the sidebar menu to open the Devices Table.
2. Search for the device you would like to apply a new trigger using the search bar.
3. Click anywhere on the line of the particular device to which you would like to apply the trigger. The Device Dashboard opens.
4. In the right hand panel, click on Schedule & Trigger Command.
The Schedule & Trigger Command window opens.
5. Supply a command name and click on Select Trigger. The Schedule & Trigger repository opens.
6. Click Add New in the lower left-hand corner to open the New Scheduler and Trigger Window.
7. Proceed from the section Creating a Trigger below.
Method Three: From the Device’s Kebab Menu
You can create and employ a trigger on a single device from the device’s kebab menu (the icon with three vertical dots):
To access Schedule & Trigger from the device’s kebab menu:
- Click on the Devices icon in the sidebar menu to get a list of all active devices.
- Search for the device you would like to apply a new trigger, using the search bar at the top of the page.
- After you find the desired device, click on the three-dot menu icon in the far-right column>Automate>Schedules & Triggers.
The Schedule & Trigger Command window opens.
4. Supply a command name and click on Select Trigger. The Schedule & Trigger repository opens.
5. Click Add New in the lower left-hand corner to open the New Scheduler and Trigger Window.
6. Proceed from the section Creating a Trigger below.
Method Four: From the Bulk Actions Button
If you wish to set and deploy a trigger on several devices, you can do it from the Bulk Actions button in the Devices Table.
To activate a trigger on several devices:
1. Click on the Devices icon in the sidebar menu. The Devices Table list opens up.
2. From the list of devices, select the devices to which you want to apply the trigger by clicking on their checkboxes on the far left of the device listing. The Bulk Actions button will become active.
3. Click on Bulk Actions>Automate>Schedule & Trigger.
The Schedule & Trigger Command window opens.
4. Supply a command name and click on Select Trigger. The Schedule & Trigger repository opens.
5. Click Add New in the lower left-hand corner to open the New Scheduler and Trigger Window.
6. Proceed from the section Creating a Trigger below.
Creating a Trigger
1. When you get to the New Scheduler and Trigger window, supply the name and (optional) description to the trigger command.
2. Click on the Add trigger icon in the sidebar menu. You can select a trigger, as well as an optional command-line condition.
You have 4 options to select as a trigger:
- Timing
- Geofencing
- Wi-Fi
- Startup
3. After you select the desired trigger and set its parameters, click on Confirm. The new Schedule & Trigger that you have created will now appear in the repository of triggers.
We will go through each trigger option in detail.
Timing Trigger
This trigger allows you to execute a command at a particular date and time. The timing can be a one-time trigger, a trigger limited to a range of dates, or a perpetual trigger with no definite end date. You can have a trigger that executes a command every X number of days, or every day at a specific time, etc.
Timing Type--Once
Timing option with a one-time trigger
This option allows you to execute a command once, on a specific date and time.
There are two more optional commands that you can choose by clicking on the sliding button:
- Time to Live option: In case the device is not accessible at the defined time, the Time to Live option is how long the command will be executed, after the assigned time. After that time, the trigger is irrelevant and no longer applies.
- Apply only if idle option: When you select this option, the trigger will be applied only if the remote device is idle. This may be a consideration if the remote user is watching a video or listening to music and doesn’t want to be disturbed in the middle.
Timing Type--Forever
This option allows you to execute a command forever, at a specified interval, starting from an assigned date. There are three range options:
- Interval: To execute a command at an assigned time interval: every X number of minutes, hours, days, or weeks. For example, the following trigger will execute a command every 4 days:
- Day of the week: To execute a command on a particular day of the week, every week.
- Day of the month: To execute a command on a particular date of every month.
Timing Type—From/To Date
Timing option with a trigger on defined dates
This option allows you to execute a command within a specific range of dates, at a specified time interval, starting from an assigned date. In the above example, the trigger will execute the command from December 18, 2023, to January 18, 2024, at an interval of once every 4 days.
Geofencing Trigger
This trigger allows you to execute a command within a certain geographic perimeter. You can draw the perimeter on a map and specify that the command should be executed if the device leaves that perimeter. (The minimum size for an area is a 20-meter radius.)
This feature can be useful if a device is lost or stolen. For example, you can use this feature to track a lost device and lock it down using the Lock Device command, or even wipe all personal data with the Wipe Device command.
Geofencing Option, delimiting a geographical area
In the above example, a command will be triggered to start when you leave the perimeter of the circle on the map and will stop when you enter the circled area again.
Wi-Fi Trigger
This allows you to execute a command to trigger an event upon receiving a Wi-Fi SSID connection trigger. This can also be used as a security precaution, to shut down or erase a device if it leaves a specific Wi-Fi SSID.
Startup Trigger
If you choose to employ the startup trigger, you can execute a command:
- At every startup or
- Only the first time when a device is registered in the Radix Device Management Platform.
You can also assign a command line condition, and have the command execute when the exit code for the command equals or doesn't equal to "0".
Creating Trigger-Based Commands
Now that we have a trigger, we will want to employ the trigger to execute a command. Linking the trigger to the command will differ slightly, depending on where we are in the Radix Device Management Platform. For our example, we will take the Send Message command, which is relatively uncomplicated.
To link a trigger to a command:
1. Find the device to which you wish to send the command from the Devices Table.
2. Click on the device’s three-dot menu>Automate>Schedule & Trigger Command tile.
The Schedule & Trigger Command window opens.
3. Supply a name for the trigger & command combination. In our example, we named it Tryout.
4. Click on the Select Trigger button. The Schedule & Trigger window opens.
5. Select the desired trigger or create a new trigger with Add New, to set the command into action. For example, we’ll use YLP Timing. We have set it to trigger the command for a single day: December 18, 2023, at 19:25:
6. Click Confirm. The trigger will be saved with the desired parameters.
7. Click on the YLP Timing tile and click Add. It will be added to the Schedule and Trigger command.
8. Click Select Command, and choose the tile Send Message.
9. Fill in the fields in the Send Message command and click Confirm.
You will receive confirmation that the Trigger and Command were sent properly to the device.
Stopping and Resuming a Trigger Command
You may want to stop a trigger command at some later point. This can be done from the Command History Log.
In the example below, we have created a Schedule and Trigger command. When applied, it will send a text message “Wake up!” to the remote device.
It will display this message every minute:
To stop this command:
1. Click on the Commands History icon in the sidebar menu in the Radix Device Management Platform.
2. Find the Schedule & Trigger command that you wish to stop.
3. Click on the three-dots menu on the far-right and select the Stop command.
4. You will receive a prompt to verify whether you are sure you wish to stop the command.
5. Click Yes.
The command will cease to be executed, and the message will no longer be displayed on the remote device every minute.
To resume the Trigger command:
1. Click on the three-dots menu of the Schedule & Trigger command that you wish to resume.
2. Click Start command. You will be prompted whether you are certain that you wish to resume the command.
3. Click Yes.
The device will receive the “Wake up!” message every minute, as before.