forked from davebeyer/homebridge-lutron-hwi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
56 lines (54 loc) · 1.34 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
{
"pluginAlias": "lutron-hwi",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Lutron Lighting Bridge"
},
"circuitsFile": {
"title": "Path to lighting circuits file",
"type": "string",
"required": true
},
"commMode": {
"title": "A single Telnet bridge can share the connection with multiple IPC bridges",
"type": "string",
"default": "Telnet",
"oneOf": [
{"title": "Telnet", "enum":["telnet"]},
{"title": "IPC", "enum":["ipc"]}
],
"required": true
},
"telnetIP": {
"title": "Telnet IP Address",
"type": "string",
"format": "hostname",
"required": true
},
"telnetPort": {
"title": "Telnet Port",
"type": "integer",
"required": true
},
"minInterCmdTime": {
"title": "Minimum delay between telnet commands (ms)",
"type": "integer",
"minimum": 0,
"default": 200,
"maximum": 1000
},
"disabled": {
"title": "Test mode (debug logging only, no commands sent via telnet)",
"type": "boolean",
"default": false
}
}
}
}