I have an ESP32-CAM provided by DIYMore. From the pinout I am assuming it is an AI-Thinker board for the purposes of setting it up in the IDE. I am using the Arduino IDE with the latest espressif library.
I have learned how to find, compile and load sketches and verified the ESP32 is OK by running one that takes pictures to an SD card and one that searches for andreports what wifi networks it can "see". There is an external aerial connected and it is very effective, picking up all my APs and neighbour's wifi SSID from 50-100m away.
I then loaded this
https://randomnerdtutorials.com/esp32-c ... assistant/
to generate a camera web server.
My wifi is provided by a BT WholeHome mesh network. It supports a range of devices - IP cameras, Raspberry Pi's, TVs ipads, iphones etc etc and works well.
The problem is this..... the ESP32 will not connect to the main SSID from this network. it shows the following in the logs...
10.01.2021 17:13:28 [2 4 2] IF[2.4G]:STA(7C:9E:BD:ED:36:30) had associated successfully,rssi is -40
10.01.2021 17:13:28 [4 4 1] IF[2.4G]:STA(7c:9e:bd:ed:36:30) occurred MIC different in Key Handshaking
10.01.2021 17:13:29 [4 4 1] IF[2.4G]:STA(7c:9e:bd:ed:36:30) occurred MIC different in Key Handshaking
10.01.2021 17:13:30 [4 4 1] IF[2.4G]:STA(7c:9e:bd:ed:36:30) occurred MIC different in Key Handshaking
10.01.2021 17:13:31 [2 4 2] IF[2.4G]:AP deauth STA(7C:9E:BD:ED:36:30),reason is 15
10.01.2021 17:13:31 [4 2 1] IF[2.4G]:STA(7c:9e:bd:ed:36:30) Pairwise Key Handshaking timeout
It will connect to the separate wifi that my router/hub can provide. When it does, this works perfectly and I can stream the video. Unfortunately this has limited range and so it is usually turned off and I have the mesh wifi for excellent coverage. I turned it on only to try the ESP32 when it would not connect to my main wifi.
The ESP32, oddly, WILL connect to the guest network of my mesh wifi when the logs show the following
10.01.2021 15:05:39 [2 4 2] IF[2.4G-GUEST]:STA(7C:9E:BD:ED:36:30) had associated successfully,rssi is -33
10.01.2021 15:05:39 [2 4 2] OWL-(Study)IF[2.4G-GUEST](EE:F4:51:91:1C:5F):STA(7C:9E:BD:ED:36:30)(Legacy Device) connected.
10.01.2021 15:05:52 [2 4 2] IF[5G]:STA(24:A0:74:39:A8:C2) had disassociated,reason is 8
I have tried the following
- power off, disconnect from power completely, wait a while, power on mesh network devices(3 of them)
- different SSID and PW for main mesh wifi
- temporarily turn off 5G part of network
To be honest I don't think this is an ESP32 problem, but I'm hoping somebody has come across a similar situation and their experience might help me. I have posted similar requests in the forum for the WHoleHome devices.
If I can't fix this, the project is untenable, because I cannot place the ESP32 where I need to!