lyonlai / homebridge-unifi-guest-wlan-switch

Homebridge plugin to turn guest wifi into switches in iOS
2 stars 1 forks source link

Homebridge Unifi Guest Wifi Switch

This plugin let you control your guest wifi from Unifi Controller.

Installation

npm install -g homebridge-unifi-guest-wlan-switch

Prerequisite

You need to have Unifi Controller accessible by the plugin.

Example Config

{
    "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

            }
        }
    ]
}