Publishing MQTT JSON Does Nothing #3988
Replies: 3 comments
-
I've expanded my testing to Node-Red. Sending a JSON payload via node-red injection also does not work. But I now appear to be in the correct channel/topic for MQTT. Here is an output from the serial monitor.
I am not sure what a valid envelope is, but I am using node-red's and mqtt-explorer JSON functions. |
Beta Was this translation helpful? Give feedback.
-
Well I've given up on using MQTT to push payloads/messages out Meshtastic. I cannot get the correct envelope. I asked on Discord, Github, Reddit, Disourse, I have found zero answers on how to properly get this working. |
Beta Was this translation helpful? Give feedback.
-
i have done it the other way around. i have sent a message to the mesh and hooked up a mqtt broker on the other end. i have recieved json payload within nodered: {"topic":"msh/gw1/2/json/LongFast/!335d7a38","payload":{"channel":0,"from":862597848,"hops_away":0,"id":1534351354,"payload":{"text":"Hallo101"},"rssi":-50,"sender":"!335d7a38","snr":5.75,"timestamp":0,"to":4294967295,"type":"text"},"qos":0,"retain":false,"_topic":"msh/gw1/2/json/LongFast/!335d7a38","_msgid":"c5bd739f49d5329d"} I have configures a topic inside node red with "msh/gw1/#" (the /# is the major point here ) This was the message: Hallo101 hope that will help Best |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to publish a MQTT JSON for my Meshtastic to read and send out to my private mesh radio. I have dug through several Issues in GH and Posts on Reddit , Discourse and others. I don't think I've found a solution. I have read the documentation regarding MQTT and the JSON, and I came up with the below.
While monitoring the logs via USB I found the attached error.
WARN | 12:25:53 1311 [mqtt] JSON downlink received on channel not called 'mqtt' or without downlink enabled.
Here is my MQTT Payload/JSON
{ "from": "625433568", "type": "sendtext", "payload": "this is a test" }
Are there parameters I am missing in anything there, Payload or Configuration. I feel like I am close to a solution, but I fear there is an issue with MT reading JSON as indicated by several other users in this thread on Reddit.
Beta Was this translation helpful? Give feedback.
All reactions