Ragoth
September 4, 2020, 11:59am
1
How do I send this:
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoLORA -m ‘{“message”:“hello OMG1”}’
using Node-red flow to OMG LoRa gateway to test my MQTT to LoRa communication. My setup works fine for LoRa to MQTT with Node-Red.
Someone help me please.
Ragoth:
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoLORA -m ‘{“message”:“hello OMG1”}’
using Node-red flow to OMG LoRa gateway to test my MQTT to LoRa communication. My setup works fine for LoRa to MQTT with Node-Red.
Do you succeed in sending MQTT to LORA without NodeRed (with mosquitto or another MQTT client)?
Ragoth
September 4, 2020, 2:11pm
3
I am using headless Raspberry pi MQTT server and Node-Red. I didn’t try other options only trying through Node-Red.
I think, it could be a good first step, I advise you to use MQTT Explorer , it will make things easier to deal with regarding MQTT.
Ragoth
September 4, 2020, 2:26pm
5
Thank you so much for your advice and I will try that. Thanks again.
Ragoth
September 6, 2020, 10:09pm
6
With the help of MQTT Explorer, I was able to troubleshoot. I made a mistake in messaging format and it works fine now.
1 Like
Great ! Glad to hear you got it working.