I have NodeMcu which I wanted to work as MQTT node, and I will have 50 nodes which will connect to routers(total 3) where these routers are connected to the main router through LAN.
For a broker, I will use Rpi 3b+.
So can I use local MQTT broker? If not
- What should I do? a public MQTT broker?
- other better option?