Page 1 of 1

It is possible to do something on 3rd connected client?

PostPosted: Fri Aug 30, 2019 12:27 pm
by ESPBeginner22
Good day everyone,

Here I had made 2 of NodeMCU as client and they will keep sending sensor reading to 1 of NodeMCU as sever throught a router. But now I would like to add a webserver on the server NodeMCU, and I wish to set the 3rd connected client to access for the webserver.
So, I would like to know is that anyway can achieve for this result.
Example like
if (clients<2)
//Listen sensor reading
else if (clients>3)
Any suggestion/solution is greatly appreciated. :D