Connecting the dots

Trying to get my head around the big picture. My project has a lot of moving parts and could really use a sanity check.

There are 3 Lora devices that need bidirectional communication with a central server.

With a Lora32 running OpenMQTT and an rPi running a mosquito mqtt server, will events flow freely from Lora β†’ pi and WiFi as well as WiFi β†’ Lora?

On my devices needing to send mqtt events over Lora, do I just include an open mqtt library or send specifically formatted Lora messages?

Thank you!

Hello

You could have:

  1. LoRa node β†’ OMG LoRa β†’ MQTT broker on the Pi
  2. MQTT broker β†’ OMG LoRa β†’ LoRa node

For 1) you can use specifically formatted LoRa messages, see examples below

For 2) We don’t have an example yet of node receiving LoRa data to trigger an action, nevertheless you can refer to the documentation:

Thank you, this is exactly what I am looking to-do. You worded it way better than I could type on my phone. So long as lora clients can subscribe and publish to mqtt messages and devices on the lan can subscribe and publish mqtt messages, I should be good to go. Removing the device connectivity protocol from mqtt is kind of amazing, thank you for the awesome project.

1 Like