devWaves / SwitchBot-MQTT-BLE-ESP32

Allows for multiple SwitchBot bots and curtains to be controlled via MQTT sent to ESP32. ESP32 will send BLE commands to switchbots and return MQTT responses to the broker. Also supports Temperature, Motion, Contact sensors
MIT License
530 stars 66 forks source link

No Wifi connection #125

Closed MrMoblys closed 1 year ago

MrMoblys commented 1 year ago

Good morning,

I bought a D1 Mini ESP32 (exactly ESP32-WROOM-32) from AZ-Delivery and when I fill in my IDs for Wifi, there is no connection. Are there any specific prerequisites for the WiFi settings? I tried SSID hidden or not, without special characters, on another terminal, near or far from the terminal... nothing works.

Or did I mess up?

Thanks

devWaves commented 1 year ago

Is your WIFI 2.4 Ghz? It won't work with 5 Ghz

You can try with a simple ESP32 wifi sketch to test the wifi

MrMoblys commented 1 year ago

Hello,

The Wifi is 2.4Ghz and tested with a Wifi test sketch. I have an ESP8266 lying around and I put the same type of sketch and it connects. I tried going through ESPHome and it blocks the Wifi connection. The scan is possible but not the connection. I even tried to put the WifiAccessPoint sketch and I don't see it with my phone. On my ESP8266, it works though. I think the problem comes from my ESP32. I am in contact with AZ-Delivery for the return of the ESP.

Sorry to bother you

DrRSatzteil commented 1 year ago

I use the exact same model from AZ delivery without any issues so I guess you should have this unit replaced by them.

MrMoblys commented 1 year ago

Thank you for your return.

Indeed, that's what I'm going to do. I'm waiting for the ESP32 and I'll get back to you ;-)

MrMoblys commented 1 year ago

Hello

Changing the ESP solved my problem. Thanks for your help.