I’ve just discovered that ESPhome supports multiple wifi networks. And it seems to work well.
Is there a sensor that can report which SSID ESPHome is connected to?
I’ve just discovered that ESPhome supports multiple wifi networks. And it seems to work well.
Is there a sensor that can report which SSID ESPHome is connected to?
I haven’t tried this myself, but this is probably what you’re looking for:
- ssid ( Optional ): Expose the SSID of the currently connected WiFi network as a text sensor.
Nice!
Thanks.
You can also expose BSSID. Handy if you have a system (like my ubiquity setup) that exposes a whole lot of AP’s all with the same SSID, but each SSID has a different BSSID.You may want to make sure which AP your esphome device is actually connected to.
I’ve actually got each AP broadcasting a different ssid for IoT. I had greater control over which AP the devices connected to that way. As often they would connect to the first one they saw which was not the best signal strength wise.
Along with the unique IoT ssid there is a common ssid to all APs on 2.5 and 5GHz. There’s also a guest portal on both bands as well. I’m kind of amazed at what these Ubiquity AP’s can do.
I’ve also decided not to go with multiple networks for my ESP devices. Mainly because sorting them by connected ssid using the auto-entitis card causes a rather annoying issue.
You can use whitelists/blacklists to handle this it makes sure your on the edge sensors are connecting to the ap best for them.
Jim, do you mean in the AP or ESPHome?
In the AP itself or controller if you use one.