Page 1 of 1

ESP32 Preferred Access Point

Posted: Sun Apr 02, 2023 10:53 pm
by Alan_37
Hi ,

I have a Wifi mesh at home with 3 access points and same SSID problem is the esp32 is not choosing to connect
to the nearest AP ending up with low signal and sometimes even dropping the connection

Is there a way to make it choose the strongest signal or at least have the control on the Preferred AP MAC address ?

Thanks

Re: ESP32 Preferred Access Point

Posted: Mon Apr 03, 2023 7:14 pm
by chipfryer27
Hi

Whilst the component Macro allows you to scan for SSIDs (returning a numeric value), and can subsequently obtain the SSID name and received power, the problem is (I think) that the component connects to a named SSID. As you would have multiple SSIDs with the same name, then as you already know the ESP would probably connect to the wrong one (in terms of power).

Is it practical to rename your SSIDs? For example, say it was "MyHouse". Could you then have "MyHouse-1" / "MyHouse-2" etc? The ESP could then scan and connect to the one with the highest power.

Regards

Re: ESP32 Preferred Access Point

Posted: Mon Apr 03, 2023 11:11 pm
by Alan_37
Hi chipfryer27,

Thanks for your reply

Having different SSID's will Kill the main purpose of a mesh network , forcing clients to switch between
different SSID's as they move around.

It seems that the problem has resolved by it self after leaving the esp32 connected for some time the mesh system automatically
switched it to the nearest AP .

So the problem is solved .

Regards