mirror of
https://github.com/oznu/homebridge-unifi-occupancy-sensor.git
synced 2025-01-22 11:18:56 +00:00
Updated documentation and configuration schema
This commit is contained in:
parent
1521ebe36c
commit
16b30b85c1
@ -23,8 +23,12 @@ The plugin connects to the UniFi Controller event web socket to get instant noti
|
||||
"site": "default", // Optional. The UniFi site to connect to.
|
||||
"secure": false // Optional. Set true to validate the SSL certificate.
|
||||
},
|
||||
"watch": ["44:00:10:f0:3e:66"] // Required. An array of device MAC addresses to watch for.
|
||||
"watchGuests": true // Optional. Set false to not monitor guest networks.
|
||||
"watch": [
|
||||
"44:00:10:f0:3e:66",
|
||||
{ "device": "44:00:10:f0:3e:67", "ap": "44:00:10:f0:3e:44" }
|
||||
], // Required. An array of device MAC addresses to watch for or objects with device MAC / AP MAC
|
||||
"watchGuests": true, // Optional. Set false to not monitor guest networks.
|
||||
"interval": 1800, // Optional. Polling interval used to query Unifi in seconds
|
||||
"mode": "any" // Optional. Set to "any", "all" or "none".
|
||||
}
|
||||
]
|
||||
|
@ -90,6 +90,12 @@
|
||||
"watchGuests": {
|
||||
"title": "Watch Guest Networks?",
|
||||
"type": "boolean"
|
||||
},
|
||||
"interval": {
|
||||
"title": "Interval in seconds to query Unifi Controller",
|
||||
"type": "integer",
|
||||
"required": false,
|
||||
"default": 1800
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user