This plugin let you control your guest wifi from Unifi Controller.
npm install -g homebridge-unifi-guest-wlan-switch
You need to have Unifi Controller accessible by the plugin.
{
"bridge": {
... // homebridge configuration
},
"platforms": [
{
"platform" : "UnifyGuestWifiPlatform",
"name" : "Guest Controller",
"controller": {
"address": "192.168.1.254", // address to your unifi controller
"port": 8443, // port of your unifi controller
"username": "your-guest-wifi-admin", // your unifi controller username
"password": "yourguestwifiadminpassword", //your unifi controller password
"updateInterval": 60000 // guest wifi update interval
}
}
]
}