generated from homebridge/homebridge-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.schema.json
48 lines (48 loc) · 1.89 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"pluginAlias": "BleThermoBeacon",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"debug": {
"type": "boolean",
"default": false,
"title": "Debugging enabled"
},
"buttonAsLock": {
"type": "boolean",
"default": false,
"title": "Publish all button press states as locks",
"description": "Pressed button is presented as unlocked, otherwise locked. Can help identify the beacon"
},
"devices": {
"type": "array",
"title": "List of devices",
"default": [],
"items": {
"type": "object",
"required": ["address", "name"],
"properties": {
"address": {
"type": "string",
"title": "Address",
"pattern": "^(([0-9a-fA-F]{8}-?)([0-9a-fA-F]{4}-?){3}([0-9a-fA-F]{12}-?)|([0-9a-fA-F]{2}:?){5}[0-9a-fA-F]{2})$",
"description": "Bluetooth address of the thermometer. MAC address on Linux, UUID on Mac"
},
"name": {
"type": "string",
"title": "Name",
"description": "Specify a name for the thermometer in Homebridge"
},
"buttonAsLock": {
"type": "boolean",
"title": "Publish button press state as lock",
"description": "Per device settings to publish button pressed state as a lock"
}
}
}
}
}
}
}