generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathconfig.schema.json
80 lines (80 loc) · 2.17 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"pluginAlias": "iRobotPlatform",
"pluginType": "platform",
"singular": true,
"customUi": true,
"headerDisplay": "<p align=\"center\"><img width=\"60%\" src=\"https://user-images.githubusercontent.com/75853497/143301930-e2f3bc9a-9f0d-4e03-95f8-c69769712ca5.png\"></p><p align=\"center\">For help and support please visit the <a href=\"https://github.com/bloomkd46/homebridge-iRobot/wiki\">GitHub Wiki</a>. I hope you find this plugin useful!</p>",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "For logging purposes",
"type": "string",
"default": "iRobot",
"required": true
},
"accessories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"blid": {
"type": "string"
},
"password": {
"type": "string"
},
"sw": {
"type": "string"
},
"sku": {
"type": "string"
},
"ipResolution": {
"type": "string"
},
"hostname": {
"type": "string"
},
"ip": {
"type": "string"
}
}
}
},
"logLevel": {
"title": "Log Level",
"type": "number",
"minimum": 0,
"maximum": 4,
"default": 3,
"description": "TODO",
"required": true
},
"autoConnect": {
"title": "Automatically Connect",
"description": "Whether or not to automatically establish a connection to your devices at boot",
"type": "boolean",
"default": true,
"required": false
},
"alwaysShowModes": {
"title": "Always Show Actions",
"description": "Whether or not to always show actions in HomeKit (Not Recommended; Use With Caution)",
"type": "boolean",
"default": false,
"required": false
}
}
},
"layout": [
"name",
"logLevel",
"autoConnect",
"alwaysShowModes"
]
}