The use of the ESP8266 in the world of IoT

User avatar
By rudy
#85438 Switch off three of the ESPs. Can the remaining one connect?
Switch that one off an switch on a different one.
Make sure that each one works individually. Then power up two.

Does the broker have a log? What does it say?

Can you get one ESP to work and another device like a PC?
User avatar
By dionisis.bozikis
#85464 i solved the problem by setting the wifi mode to WiFi.mode(WIFI_STA) ( meaning station) before calling the WiFi.begin() .
most probably the default mode of the wifi client is AP (ACCESS POINT) or something else, which may be causing the problem of multiple connectivity, because with one esp client was always working, but the rest were unable to connect. something somewhere in the RaspI has saved the one working client as an AP and not allowing others.. probably..
i found the solution here :
https://github.com/knolleary/pubsubclie ... -274112911