Rishi Varasada wrote:I have two options:
1) Connect RPi with Ethernet cable for internet and make RPi as wifi hotspot for communicating between ESPs.
2) Connect RPi to internet with Wifi (some other router in my home). In this case, I would have to use Wifi Direct because AFAIK, if I use Wifi direct I can keep my internet connection using Wifi active and talk to ESP over wifi direct at the same time.
I can't see the need for wifi direct.
Just connect everything to your home AP / router (wired or wireless) and you're done...
For messaging between devices I would suggest you have a look at Mosquitto.