-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.schema.json
110 lines (110 loc) · 3.44 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"pluginAlias": "deCONZ",
"pluginType": "platform",
"singular": true,
"customUi": false,
"headerDisplay": "Homebridge plugin for deCONZ",
"footerDisplay": "For a detailed description, see the [wiki](https://github.com/ebaauw/homebridge-deconz/wiki/Configuration).",
"schema": {
"type": "object",
"properties": {
"name": {
"description": "Plugin name as displayed in the Homebridge log.",
"type": "string",
"required": true,
"default": "deCONZ"
},
"forceHttp": {
"description": "Use plain http instead of https.",
"type": "boolean"
},
"hosts": {
"title": "Gateways",
"type": "array",
"items": {
"type": "string"
}
},
"noResponse": {
"description": "Report unreachable lights as <i>No Response</i> in HomeKit.",
"type": "boolean"
},
"parallelRequests": {
"description": "The number of ansynchronous requests Homebridge deCONZ sends in parallel to a deCONZ gateway. Default: 10.",
"type": "integer",
"minimum": 1,
"maximum": 30
},
"stealth": {
"description": "Stealth mode: don't make any calls to the Internet. Default: false.",
"type": "boolean"
},
"timeout": {
"description": "The timeout in seconds to wait for a response from a deCONZ gateway. Default: 5.",
"type": "integer",
"minimum": 1,
"maximum": 30
},
"waitTimePut": {
"description": "The time, in milliseconds, to wait after sending a PUT request, before sending the next PUT request. Default: 50.",
"type": "integer",
"minimum": 0,
"maximum": 50
},
"waitTimePutGroup": {
"description": "The time, in milliseconds, to wait after sending a PUT request to a group, before sending the next PUT request. Default: 1000.",
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"waitTimeResend": {
"description": "The time, in milliseconds, to wait before resending a request after an ECONNRESET or http status 503 error. Default: 300.",
"type": "integer",
"minimum": 100,
"maximum": 1000
},
"waitTimeReset": {
"description": "The timeout in milliseconds, to wait before resetting a characteristic value. Default: 500.",
"type": "integer",
"minimum": 10,
"maximum": 2000
},
"waitTimeUpdate": {
"description": "The time, in milliseconds, to wait for a change from HomeKit to another characteristic for the same light or group, before updating the deCONZ gateway. Default: 100.",
"type": "integer",
"minimum": 0,
"maximum": 500
}
}
},
"layout": [
"name",
{
"key": "hosts",
"type": "array",
"items": {
"title": "Gateway",
"description": "Hostname and port of the deCONZ gateway. Leave empty to discover gateways.",
"type": "string"
}
},
{
"type": "fieldset",
"expandable": true,
"title": "Advanced Settings",
"description": "Don't change these, unless you understand what you're doing.",
"items": [
"forceHttp",
"noResponse",
"parallelRequests",
"stealth",
"timeout",
"waitTimePut",
"waitTimePutGroup",
"waitTimeResend",
"waitTimeReset",
"waitTimeUpdate"
]
}
]
}