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
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.
Yes, I'll be covering how to control devices connected to ESP32 from anywhere using the public server and MQTT Protocol.
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.
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