Mqtt send block not sending data to the things network

We are trying to send data to the thing network using mqtt. It connects to the things network but does not send the data. We have tried using multiple topics but it still would not work. The topic we are using now is brandweerlora/devices/microcontroller/down. In the pictures below you can see our configuration and the data we are trying to send.

Thanks in advance!


your hostname was and port 1883, right ?

can you share here code of this flow ?

yes it is indeed with port 1883.

[Moderator note: I've edited this post to make the flow importable]

[{"id":"63a9948e.a5fe1c","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"8fb86f3e.10f92","type":"inject","z":"63a9948e.a5fe1c","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[48,120,48,51]","payloadType":"bin","x":270,"y":200,"wires":[["122fb165.01424f","316ce673.97fb8a"]]},{"id":"122fb165.01424f","type":"mqtt out","z":"63a9948e.a5fe1c","name":"","topic":"brandweerlora/devices/microcontroller/down","qos":"0","retain":"false","broker":"f69f7f15.917c8","x":590,"y":420,"wires":[  ]},{"id":"316ce673.97fb8a","type":"debug","z":"63a9948e.a5fe1c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":570,"y":240,"wires":[  ]},{"id":"f69f7f15.917c8","type":"mqtt-broker","name":"","broker":"","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]

download flow and share.

I am a new user i cant upload attachments

Check on this video how need convert data and send to mqtt

now you data was send like raw and you have resul on topic 0x03

If you want send data like object need convert to str or json after send to mqtt

Did you try TLS (secure connection) with port 8883?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.