cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
2,456 Views
Message 1 of 4

BT WholeHome with ESP32-CAM

Go to solution

I'm seeking help from anyone with experience of this combination. 

I have BTWHolehome (3 discs) connected to a BT Hub. Works just fine and I have turned off the wifi on the hub.

For various reasons I am tinkering with an ESP32-CAM.

https://randomnerdtutorials.com/esp32-cam-video-streaming-face-recognition-arduino-ide/

My problem is this...

It simply will not connect to the main wifi provided by the WholeHome. so then I have....

  • turned 5Ghz off whilst trying to connect it.
  • quadruple checked that I have PW and SSID correct

Still, nothing.

Having read something about ESP32 being picky about SSIDs I then...

  • set up a guest network with trivial ID and PW
  • tried to connect ESP32 to it
  • Perfect! It connects, but of course because the guest network is isolated from the main one I cannot access the ESP32 to stream from it.
  • Just to test out the SSID theory, tried all manner of combinations, including one very similar to main network - perfect, connects with no issues, but... still cannot stream for same reasons. 

So..... 

  • turned the wifi on my hub back on
  • tried to connect ESP32 to that
  • Perfect - connects, same IP as before and I can access the video stream! The full streaming web page is accessible and works.

So, now I have been into both the router pages and the WholeHome pages and carefully deleted the ESP32 and started again. (Even though it connected to its wifi the router kept insisting it was a dual band device, which it is not). 

Still will not connect to the main Wifi, but works as described above with the other networks.

Any suggestions as to how to get it working with the main WholeHome signal (because I want to put it somewhere that the router wifi cannot reach!) 

 

Thanks for any thoughts.

0 Ratings
3 REPLIES 3
2,445 Views
Message 2 of 4

Re: BT WholeHome with ESP32-CAM

Go to solution

I have now trawled through the logs for the WholeHome devices....

 

When the ESP tries to connect to the "main" wifi the logs contain...

10.01.2021 17:14:58 [2 4 2] IF[2.4G]:STA(7C:9E:BD:ED:36:30) had associated successfully,rssi is -40
10.01.2021 17:14:58 [2 4 2] IF[2.4G]:STA(7C:9E:BD:ED:36:30) had associated successfully,rssi is -40
10.01.2021 17:14:59 [4 4 1] IF[2.4G]:STA(7c:9e:bd:ed:36:30) occurred MIC different in Key Handshaking
10.01.2021 17:15:00 [4 4 1] IF[2.4G]:STA(7c:9e:bd:ed:36:30) occurred MIC different in Key Handshaking
10.01.2021 17:15:01 [4 4 1] IF[2.4G]:STA(7c:9e:bd:ed:36:30) occurred MIC different in Key Handshaking
10.01.2021 17:15:01 [2 4 2] IF[2.4G]:AP deauth STA(7C:9E:BD:ED:36:30),reason is 15
10.01.2021 17:15:01 [4 2 1] IF[2.4G]:STA(7c:9e:bd:ed:36:30) Pairwise Key Handshaking timeout

 

When it connects (successfully) to the guest network the logs show...

09.01.2021 12:55:33 [2 4 2] IF[2.4G-GUEST]:STA(7C:9E:BD:ED:36:30) had associated successfully,rssi is -38
09.01.2021 12:55:34 [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.
09.01.2021 12:56:46 [2 4 2] IF[5G]:STA(24:A0:74:39:A8:C2) had disassociated,reason is 8

Can anyone suggest why this difference and what to do about it?

I am, for obvious reasons, reluctant to change the SSID or PWD on the main wifi network just because of the number of devices that will then need updating!!! 

0 Ratings
2,430 Views
Message 3 of 4

Re: BT WholeHome with ESP32-CAM

Go to solution

I have now tried various further steps to fix this, with no success.... (My Wholehome is on the latest firmware.)

  • Power off all WholeHome discs, leave minimum of one minute, power back on. Fails to connect with same messages as before. 
  • Changed SSID of main network, tried to connect, fails with same result in logs
  • Changed PW of main network, same result, fails as before
  • turned off 5Ghz temporarily - makes no difference, still fails to connect and the logs suggest that it is being recognised as 2.4Ghz anyhow. 
  • re-tried Guest network using PWD of main network - connects perfectly
  • use wifi of BT hub, connects perfectly as before.

I have to conclude this is something to do with the WholeHome devices, specifically the "main" wifi network they generate because the ESP32 ...

  • connects perfectly, every time, to another, unrelated, wifi network
  • connects perfectly, every time, to the "guest" network with a wide range of SSID/Password combinations very like the one the main network is using
  • fails to connect to the Wholehome "main" wifi despite re-start, change of SSID, change of PWD. 

 

I'm now out of ideas so would very much welcome any suggestions before I abandon the entire project. If I can't get the ESP32 to connect to my main wifi so I can place it where I need to the project is untenable. 

0 Ratings
2,408 Views
Message 4 of 4

Re: BT WholeHome with ESP32-CAM

Go to solution
SOLVED - still cannot explain it as to the eyeball they looked correct, but cutting and pasting SSID and PWD from wifi control page on WholeHome to the "sketch" that powers the camera fixed it - all now working. Sighs of relief!
0 Ratings