ESP32 Preferred Access Point

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
Alan_37
Posts: 125
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 37 times
Been thanked: 17 times

ESP32 Preferred Access Point

Post 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
Last edited by Alan_37 on Mon Apr 03, 2023 11:02 pm, edited 1 time in total.

chipfryer27
Valued Contributor
Posts: 1146
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: ESP32 Preferred Access Point

Post 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

Alan_37
Posts: 125
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 37 times
Been thanked: 17 times

Re: ESP32 Preferred Access Point

Post 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

Post Reply