Example: Schedule an automation to update the device firmware using Remote Manager
You can use an automation to update the XBee Cellular firmware. Since the device is configured by default to poll Remote Manager once a day, you need to be able to set up a scheduled task to update the device's firmware to take advantage of new features and fixes.
Note You must upgrade your device to the latest firmware for all features to be available. See Update the firmware.
Note Digi Remote Manager requires TCP and will not work with NB-IoT, unless the carrier supports TCP.
To upgrade using an automation, perform the following steps:
- Log into Remote Manager.
- Make sure that you have enabled SM/UDP. See Enable SM/UDP.
- Click Automations.
- Click Create to launch the wizard.
-
In the Details section:
-
In the Name field, enter a descriptive name for the automation, such as "Firmware update".
-
Click Save and Continue.
-
-
In the Steps section:
-
Click the garbage icon to delete any existing steps.
-
Click + to add a step, and select SM/UDP Request Connect.
-
Click + again to add another step, and select Update Firmware.
-
From the Device Type list box, select the device type.
-
From the Firmware Version list box, select the version of the firmware to which you want to update the device.
-
-
Click + to add a step, and select Disconnect.
-
Click Save and Continue.
-
- In the Targets section, click Skip to skip this section.
- In the Triggers section, click Skip to skip this section.
-
Start the automation on a set of devices.
-
Click Automations to show the list of available automations.
-
Select the automation that you just created.
-
Click Action > Run Automation. The Run Automations window displays.
-
Click the Devices tab.
-
Select all of the devices you want to run the automation on.
-
Click Confirm to start the automation.
-
-
Verify the results of running the automation.
-
Click Automations to show the list of automations.
-
Click on the name of the automation you just ran to display the status window.
-
Click the Runs tab to see all of the runs for this automation.
-
Click on the run you are interested in to display a details for each device.
-
For the device you are interested in, click the Status link under the Summary column to see more details and the responses.
-