homebridge-unifi-guest-occupancy-sensor
v1.2.3
Published
An occupancy sensor for Homebridge and UniFi to monitor Guest presence
Downloads
19
Readme
Unifi Guests Presence Sensor
This simple homebridge plugin emulates a presence sensor which marks presence when a client is connected to a Unifi guest network
Standalone Unifi Controller
"accessories": [
{
"name": "Guests are Present",
"unifi": {
"controller": "https://unifi-controller:8443",
"username": "superadmin",
"password": "password",
"site": "default",
"secure": false,
"unifios": false
},
"interval": 180, // polling interval in case websocket connection is lost
"accessory": "UniFi Guest Occupancy Sensor",
"exclude": [
"01:23:45:67:89:ab"
]
}
]
For UnifiOS based device (UDM, KC, etc.), use port 443 (default) and set unifios to "true".
"accessories": [
{
"name": "Guests are Present",
"unifi": {
"controller": "https://unifi-controller",
"username": "superadmin",
"password": "password",
"site": "default",
"secure": false,
"unifios": true
},
"interval": 180, // polling interval in case websocket connection is lost
"accessory": "UniFi Guest Occupancy Sensor",
"exclude": [
"01:23:45:67:89:ab"
]
}
]