Hi all,
I am trying to get a standard Mosquitto downlink message (from my PC) through my RAK2287 gateway(EU868) to my node (Heltec V2 with THP sensor and two LEDs).
What does work ok:
- my node sends the THP data to the gateway every 2 minutes. I see the data coming to the gateway, and in the TTN Console.
- When I do a simulated downlink message in the console to the node, the message comes through and the data in the node (send to the serial interface on Arduino IDE) is correct.
- When I do a:
mosquitto_sub -v -h eu1.cloud.thethings.network -t “v3/bme280-sensor-xxxx@ttn/devices/eui-70b3d57ed005c2xx/up” -u “bme280-sensor-xxxx@ttn” -P “NNSXS.4EDQZHGKO7IIFCRNGM2RLNH26L6W5KVO6GMFFPQ.7NXP5CXF5KMOWJCC7W54XNVBZNLZ3P5G4DEZD6Z3KVDYB7URLWxx” -d (changed a few characters to x’s)
I get
Client null sending CONNECT
Client null received CONNACK (0)
Client null sending SUBSCRIBE (Mid: 1, Topic: v3/bme280-sensor-xxxx@ttn/devices/eui-70b3d57ed005c2xx/up, QoS: 0, Options: 0x00)
Client null received SUBACK
Subscribed (mid: 1): 0
And nicely every two minutes a message from TTN containing about all details of my node. Good!
- When I do a:
mosquitto_pub -h eu1.cloud.thethings.network -t “v3/bme280-sensor-xxxx@ttn/devices/eui-70b3d57ed005c2xx/down/push” -u “bme280-sensor-xxxx@ttn” -P “NNSXS.FOI3MH7XQWJXSQDESNB3IL7UZJONE662NKWSTHY.IEUPZTPCSVVH7ZO5YFLAYFBS6JBIUUC7A4ZDGHIGISUNXUWFR7xx” -m “{“downlinks”:[{“f_port”: 15,“frm_payload”:“vu8=”,“priority”: “NORMAL”}]}” -d
I get
Client null sending CONNECT
Client null received CONNACK (0)
Client null sending PUBLISH (d0, q0, r0, m1, ‘v3/bme280-sensor-xxxx@ttn/devices/eui-70b3d57ed005c2xx/down/push’, … (59 bytes))
Client null sending DISCONNECT
BUT:
It is radio silence,…no message in the TTN console, no message in the gateway and no message in the node.
I did play with types of messages (hex, string, etc.) which brought me no further.
Also with names, id’s, API keys, and read everything I can get my hands on.
It goes over my head for some reason,…
Any help, docu links, or hints, would be highly appreciated.
Loek