mirror of
https://github.com/oznu/homebridge-unifi-occupancy-sensor.git
synced 2025-01-22 19:37:37 +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.
|
"site": "default", // Optional. The UniFi site to connect to.
|
||||||
"secure": false // Optional. Set true to validate the SSL certificate.
|
"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.
|
"watch": [
|
||||||
"watchGuests": true // Optional. Set false to not monitor guest networks.
|
"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".
|
"mode": "any" // Optional. Set to "any", "all" or "none".
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -90,6 +90,12 @@
|
|||||||
"watchGuests": {
|
"watchGuests": {
|
||||||
"title": "Watch Guest Networks?",
|
"title": "Watch Guest Networks?",
|
||||||
"type": "boolean"
|
"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