raomin / ESPAltherma

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

WiFi connection on Mesh WiFi system #213

Closed TommasoPino closed 10 months ago

TommasoPino commented 1 year ago

Hi everyone, I am experiencing inconvenient behavior where the device that is connected with a high signal, for some reason, reset the wifi connection and it switches on a station that has a very low signal. I do not understand why it prefers to connect to a station of the mesh with a low signal, I think the reason is that there is no order to which station connects.

I have no time or experience in modifying the code, but hypothetically speaking using a library like this https://randomnerdtutorials.com/esp32-wifimulti/ could the problem be solved?

Thanks in advance for your time.

raomin commented 1 year ago

I experience this too. The esp32 seems to randomly select the AP. In my case both AP broadcast the same SSID so wifimulti would not help. However, it seems that the problem is identified and is being fixed in esp-idf: https://github.com/espressif/esp-idf/issues/8269 (BTW it seems it's more an authentication failure (it can happen) on the best AP that make it end up on the worst).

Hopefully, it will solve this issue soon. Nothing related to ESPAltherma but I'll keep an eye on this to see if some code change is needed.

raomin commented 1 year ago

I just pushed a commit that should fix this... 🤞