Hello Sara & Rui,
I want to combine two projects in your courses: (Home Automation and ESP32 Arduino):
I Would like to Send sensor data from an ESp32 via LoRa to an Raspberry PI Home controller and use the data in Node-RED.
The LorA part with the ESP32 is not the problem. And I am able to to so with WiFi . But now would love to use the ESP32 with batteries as remote soil and temperature sensor and send the data to the Raspberry Pi where I can use that sensor data in Node-RED flows. (To make an automated Garden watering system and more).
I looked into lots of examples, but could not find a good way to receive the LoRa data with the Raspberry PI and use it in Node-Red. I would like to use the standard RFM95 module 868 Mhz, or an E32 serial module at the PI and use a Node that reads the Data in a Node-Red flow.
Do you have any suggestions for me ? Would be much appreciated.
Thanks in advance,
Leo van Selm.
Hi Leo.
Have you thought about using MQTT?
The ESP32 boards can send data to Node-RED that is hosted on the Raspberry Pi. What do you think?
If you want to receive LoRa in the Raspberry Pi, you need to connect a module with LoRa “capabilities”.
Unfortunately, at the moment, we don’t have any tutorial to receive data via LoRa on a Raspberry Pi.
Alternatively, you can have two ESP32 boards. One is a Lora sender, and the other is the receiver. The receiver (closer to the RPi) gets the LoRa packets and sends them to the RPi via MQTT.
What do you think of these suggestions?
Regards,
Sara
@Leo, did you succeed in doing the above topology? Even, I am looking to connect two ESP32 boards with LoRa modules to a Raspberry Pi using MQTT. It would be helpful for me to understand how to do this?
Hello Dhanush,
I have not investigated this further, so I’m sorry but I have no suggestions for you.