phando
September 10, 2024, 4:40am
1
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:
LoRa node β OMG LoRa β MQTT broker on the Pi
MQTT broker β OMG LoRa β LoRa node
For 1) you can use specifically formatted LoRa messages, see examples below
MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ the...
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:
Explore the LoRa MQTT gateway, designed for integration with devices utilizing LoRa technology, including the MakerFab soil and moisture sensor, devices from PricelessTookit. Unlock long range communication with the power of LoRa..
phando
September 10, 2024, 3:24pm
3
1technophile:
LoRa node β OMG LoRa β MQTT broker on the Pi
MQTT broker β OMG LoRa β LoRa node
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