If I was able to set a minimum, then the -90db would always be ignored during scan (unless it is the only one available and log if so). AP sees multiple BSSIDs (same SSID).įor example one of mine is currently connected to an AP with RSSI -90db, while there is an AP far closer with -65db. Perhaps adding a setting for minimum RSSI. At least then it would be possible to design something to make it retry periodically with an automation without having to reboot.Īdditionally, if it is insisting on using an AP with a poor signal (say at the far end of your house as I often observe) and causing many re-transmitted packets due to low (but not enough to disconnect) signal quality, that introduces significant performance overhead and impact not only to the ESP device but all other devices on the same access point.Īs mentioned the most ideal would be typical roaming implementation, but if that's too much of a heavy lift and we are waiting for upstream. There is already a way to have it report back it's signal-strength, there should be a way to have that drop below a threshold and trigger a scan/reconnect without rebooting (which interrupts whatever it's doing, for example cycling the relay on a smart-plug making your TV/radio/whatever reboot too). If it doesn't initially pick the strongest BSSID to begin with, it never tries again either. It should periodically scan (or when it gets below a threshold and reconnect to the strongest one. That is part of problem, especially with multiple BSSIDs on the same SSID. But as soon as the wifi connection drops it will automatically choose the best network again. If a device connects to a wrong network, it will stay there as long as it's still connected. In my experience, on bootup the ESP also frequently does not pick the strongest BSSID for the specified SSID either (seems to go by lowest channel number not signal for which BSSID on a given SSID?) This doesn't help when they are the same network, but multiple access points (same SSID, many BSSID to provide redundancy, distribute load, and improved coverage) and it locks onto a weaker BSSID when a stronger one is available and it won't ever switch to the stronger one. If you have multiple matching networks with the same priority, they will automatically be chosen in a round-robin fashion because on each disconnect the previous network gets a -1 priority penalty. This is increasingly common with mesh networks and prosumer infrastructure. You can have may APs (BSSIDs) with one network (SSID). I mean the current priority system already does do that, no?Ĭritical distinction, "strongest AP" is NOT the same as "strongest network". Proper periodic scanning and selecting by signal periodically would correct this problem too. This complicates the issue farther.my 2-networks specifying BSSID with higher priority helps, but is still a poor workaround. Using a full reboot just to scan for WiFi is very annoying if it's connected to a light and worse if it's a TV, Radio, or other device that can not tolerate a brief blip without doing a full "reboot cycle" and probably not good for the relay contacts if it's a higher current load such as a washing-machine, dishwasher, etc.Īn additional problem, it seems to pick the first AP it sees (by lowest channel number?) out of them to try and connect to regardless of signal strength as the plugs boot up. It would be much better if it could properly support roaming in some way. I have tried setting multiple networks with the BSSID set for priority to the expected nearest one but this still doesn't work well if the AP boots up slower than the S31 (which is most times). In some cases, this could be connecting to the far end of the house and latch on forever. Sometimes I will have to reboot an AP (for firmware updates, reconfigure channel/security/add-VLAN/etc, troubleshooting, power-failure not all are on UPSs) and then they will connect back to whichever happens to come up first. I have several ESPHome smart plugs (S31) and 3 WiFi APs thru my house to provide sufficient coverage. I would like something that would periodically rescan too.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |