aiounifi icon indicating copy to clipboard operation
aiounifi copied to clipboard

Switch to enable and disable Wifi networks of the UniFi controller

Open MagoPoza opened this issue 2 years ago • 2 comments

I think a switch would be a good tool to be able to activate or deactivate a Wi-Fi network from the UniFi controller, being able to do it from Home Assistant without having to access the UniFi controller

unifi

MagoPoza avatar Sep 09 '22 17:09 MagoPoza

I have a use-case for this as well. I need my wife to be easily able to pause/resume the wifi ssid for our foster kids.

I could then get a physical switch or a nfc tag setup to toggle this when I'm not home.

deathbybandaid avatar Oct 01 '22 14:10 deathbybandaid

I would really like to see this too.

spbrogan avatar Oct 22 '22 00:10 spbrogan

Yeah that would be cool

mefistofelis avatar Jan 11 '23 10:01 mefistofelis

Although I would also really appreciate this feature, I'm adding a little side note: Sadly, whenever the configuration of a UniFi access point changes, it re-provisions. This causes all its networks to briefly suspend. So, toggling WiFi networks would only smoothly be possible, if only one network exists, or a roughly 30 sec total WiFi suspension is acceptable in your environment!

linusgke avatar Feb 28 '23 17:02 linusgke

https://community.home-assistant.io/t/enable-or-disable-a-unifi-wifi-network-via-switch-in-home-assistant/61787/40

Kane610 avatar Mar 27 '23 20:03 Kane610

Without promising anything, I've more or less completed the refactoring and can soon start building out new features in the integration

Kane610 avatar Mar 27 '23 20:03 Kane610

Without promising anything, I've more or less completed the refactoring and can soon start building out new features in the integration

Great news! @Kane610 any update on where this sits in the backlog? I have an additional use case for using this feature to toggle on/off a guest wifi and when I toggle guest mode in HA.

kernel610 avatar Jun 08 '23 17:06 kernel610

PR is up https://github.com/home-assistant/core/pull/97204 unsure if it will make tomorrows beta cut off.

Kane610 avatar Jul 25 '23 11:07 Kane610

PR had been merged Try it out during 2023.8 beta please

Kane610 avatar Jul 26 '23 06:07 Kane610