MQTT to LORA OMG using Node-Red flows

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.

Do you succeed in sending MQTT to LORA without NodeRed (with mosquitto or another MQTT client)?

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.

Thank you so much for your advice and I will try that. Thanks again.

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.