raomin / ESPAltherma

Monitor your Daikin Altherma / ROTEX heat pump with ESP32
MIT License
317 stars 105 forks source link

Connect to strongest signal AP in case of multiple AP's with same SSID #343

Closed arjenhiemstra closed 5 months ago

arjenhiemstra commented 8 months ago

Had issues with connecting to my WiFi network. Fixed this a while ago for my other project. Saw an earlier commit for #213 but it also being reverted a little later. This PR should fix these kind of issues for both ESP32 and ESP8266.

For ESP32 SDK based functions are used, tested with espressif32@6.4.0 and confirmed to be solving issues For ESP8266 a function to find the AP with the strongest signal has been added, tested to be working.

Should fix #213 for both platforms

greem commented 6 months ago

Just to say that I've added this change to my setup and I've now had several hours of unbroken connectivity. Prior to this the ESP32 board would hunt around every minute or so and go "missing" despite there being a 2.4GHz AP less than 2m from it!

raomin commented 5 months ago

Thanks @arjenhiemstra, well appreciated!