DevJav / best_friend_lamp_arduino

Best friend lamp project made with Arduino
16 stars 5 forks source link

ESP8266 doesn't connect to WiFi #5

Closed McBigBob closed 2 years ago

McBigBob commented 2 years ago

The ESP8266 doesn't connect to my friend's WiFi. It connects to my mobile hotspot and my home wifi flawlessly, but for some reason, it doesn't work for my friend.

It sees the WiFi network in the WiFi manager, but when you enter the password it doesn't connect. The WiFi network is 2.4ghz.

Here is what it writes in the serial monitor:

*wm:[2] <- HTTP WiFi save  
*wm:[2] processing save 
*wm:[2] Connecting as wifi client... 
*wm:[2] setSTAConfig static ip not set, skipping 
*wm:[1] Connecting to NEW AP: (friends wifi ssid)
*wm:[1] connectTimeout not set, ESP waitForConnectResult... 
*wm:[2] Connection result: Unknown
*wm:[0] [ERROR] Connect to new AP Failed 
*wm:[2] Disabling STA 
McBigBob commented 2 years ago

Nvm, I changed some router settings and it connected.