Has anyone already used the MQTT protocol with an ESP32 for external access to the local network?

Hi! Has anyone already used the MQTT protocol with an ESP32 for external access to the local network? Is there any documentation available to set up such a system or a tutorial?
4 Replies
Camila_99$$
Camila_99$$9mo ago
I could also consider a solution via Firebase, but I don't know how to connect multiple ESPs to the same real-time database and segment the data by ESP connecting to the database.
Umesh Lokhande
Umesh Lokhande9mo ago
Yes, I'll be covering how to control devices connected to ESP32 from anywhere using the public server and MQTT Protocol.
Umesh Lokhande
Umesh Lokhande9mo ago
There are many ways you can make this happen. My preferred approach will be using MEAN/MEARN stack where MongoDB will be used as a database to store realtime data on MQTT server. I have not used firebase. But handled these scenarios very often.
youcef_ali
youcef_ali9mo ago
I'm using my own broker on Digital Ocean with NodeJs for backent and Mysql as database and React for front end, but as @Umesh Lokhande told mern is the beetter way but you have to do any thing by your self
Want results from more Discord servers?
Add your server