I'm working on a project that will need many esp8266 and esp32-based devices to communicate with one another (possibly more than 15).
In the past, I've used a Raspberry Pi as an entry point, running Mosquitto, and configuring it to communicate through MQTT with ArduinoJSON, but this seems like a more substantial approach.
What more choices are there for anything like this?
The below are the requirements:
- In the event of a break, the ability to reconnect is needed.
The ability to submit data in "near real-time" is needed (sub-second latency and multiple messages every couple of seconds, so LORA etc is out)
It must be secure (encrypted traffic or at least only accept connects from trusted hosts)
It's much cooler if it would "self-configure" or "self-discover."
Thank you very much in advance!