Certain devices support the sending of downlink commands. Here, we explain how to send a downlink command to a device, use predefined commands for specific devices, view the history of commands exchanged with the device, and save commands for use on other devices of the same type.
The Devices module features a CMD panel for sending commands. By default, the panel displays:
When saved commands exist, the panel displays a “customCMD” dropdown menu followed by a “New” button“. You can either chose a pre-existing command, view it, modify it if needed by clicking on the “pen” icon, and then send or save it. Or create a new command.
For certain devices (e.g., TEK766, SI-11), where IOT Factory has implemented decoders and downlink commands, we provide specific interfaces to assist in creating commands while still allowing the option to send raw commands.
The second part of the panel displays a list of sent commands and their responses, along with technical exchanges from the device, which are categorized in this stream. A search box allows you to filter the results.
To save a downlink command, follow these steps:
The registered order can be used for all devices of this type.
You can utilize saved downlink commands in the Rules modules when an alert is activated, or manually send them to your devices using the command widget.