Downlink Commands Generator
Build a STICKER downlink command below. Choose a command, fill in its parameters, and the JSON and the fPort 85 byte payload (hex) update live. The encoding runs entirely in your browser using the firmware's ttn.js codec, so nothing is sent anywhere.
{
"command": "get_info",
"seq": 1
}08012200Encoding runs in your browser with the STICKER ttn.js codec, pinned to firmware v1.4.0. Queue the hex on fPort 85, or send the JSON if the codec is installed as the downlink payload formatter.
How to use it
- Pick a command. For Set alarm rule, choose the slot, source, quantity and thresholds; for Set configuration parameter, pick the field and value. The Custom JSON option lets you author any command by hand.
- Copy the JSON if your network server has the STICKER codec installed as the downlink payload formatter, then enqueue it on fPort 85.
- Or copy the hex and queue it directly as a downlink byte payload on fPort 85, with no codec.
For set_param commands, keep Save and reboot ticked so the change is written to flash (the device persists the config and reboots). Untick it to apply a change live without saving, or when staging several set_param downlinks: in that case set save only on the last one.
Queue it on fPort 85
Once the generator gives you a payload, enqueue it as a downlink on fPort 85 in your network server. The screenshots below queue the device-info request, hex 08012200 (the encoding of {"command":"get_info","seq":1}); swap in whichever payload you built above.
The Things Stack
- Open the device and select Messaging, then the Schedule downlink tab.
- Set Insert Mode to Push to downlink queue (append).
- Enter
85in FPort. - Set Payload type to Bytes and paste the hex payload (for example
08 01 22 00). - Keep Confirmed downlink ticked so the device acknowledges the command, then click Schedule downlink.
ChirpStack
- Open the device and select the Queue tab.
- Enter
85in FPort and leave Is encrypted off. - On the HEX tab, paste the hex payload (for example
08012200). - Turn on Confirmed so the device acknowledges the command, then click Enqueue.
The screenshots use the raw hex payload, which needs no codec. To send the JSON form, install the STICKER codec as the downlink formatter (see the setup pages linked below) and switch the payload type to JSON.
For the command reference and copy-ready examples, see Downlink Commands. For installing the codec, see the ChirpStack or The Things Stack setup pages.