Send a downlink message to the end node via node-red

RexPr
Mon, 18 Apr 2022 22:20:02 +0000
Generic Node

I’m using node-red to send a downlink message to the end node.
The end node, also, sends an uplink message and it works.
For the MQTT down message, I use the same credential o uplink.
The topic has been changed on v3/{application id}@{tenant id}/devices/{device id}/down/replace.

This is the payload:

{"payload":{"f_port":2,"confirmed":false,"schedule":"replace","frm_payload":"AQ=="}}

The frm_payload is the base64 encryption of 0x01.
But nothing seems received by the device.

The command works if sent directly from the TTN console, where the message payload was set to ‘none’.

I’ve read the documentation (for example MQTT Server | The Things Stack for LoRaWAN or MQTT in Node-RED [HowTo]), but without results.
I need some help in order to debug the sent message and those received by the end node (if it receives it).
Thanks for any help.

5 posts - 3 participants