-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathconfig.schema.json
233 lines (233 loc) · 7.15 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
{
"pluginAlias": "Envisalink",
"pluginType": "platform",
"schema": {
"type": "object",
"properties": {
"host": {
"title": "Host/IP Address",
"type": "string",
"required": true,
"description": "IP Address of Envisalink device. Should be static or DHCP-reserved"
},
"password": {
"title": "Envisalink Password",
"type": "string",
"required": true,
"description": "This is the password you use to login to the Envislink locally. Access the IP address of your Envisalink in a browser. The password that you use to login is the password that should be used here. Default is 'user' but should be changed in Envisalink settings for security",
"default": "user"
},
"pin": {
"title": "Alarm PIN",
"type": "string",
"required": true,
"description": "Should be a user PIN (not Installer or Master code)",
"default": "1234"
},
"port": {
"title": "Envisalink Port",
"type": "number",
"required": true,
"description": "Port that Envisalink is listening on.",
"default": 4025
},
"proxyPort": {
"title": "Proxy Port",
"type": "number",
"required": false,
"description": "Envisalink only supports 1 connection. If configured, a proxy server will listen on this port in support of multiple connections.",
"default": 4026
},
"enableVerboseLogging": {
"title": "Enable Verbose Logging",
"type": "boolean",
"required": false,
"description": "Enable verbose debug logging, including Envisalink connection info.",
"default": false
},
"suppressZoneAccessories": {
"title": "Suppress Accessories",
"type": "boolean",
"description": "If selected, panel sensors (contact, motion, etc) will not be added as accessories.",
"default": false
},
"suppressClockReset": {
"title": "Suppress Clock Reset",
"type": "boolean",
"description": "Plugin will update the date/time of your alarm system hourly unless selected",
"default": true
},
"policePanic" :{
"type": "object",
"properties": {
"enabled": {
"title": "Enable Police Panic",
"type": "boolean",
"description": "Creates a switch for police panic button",
"default": false
},
"name": {
"title": "Police Panic Switch Name",
"type": "string",
"description": "Name for police panic button.",
"default": "Police Panic"
}
}
},
"ambulancePanic" :{
"type": "object",
"properties": {
"enabled": {
"title": "Enable Ambulance Panic",
"type": "boolean",
"description": "Creates a switch for ambulance panic button",
"default": false
},
"name": {
"title": "Ambulance Panic Switch Name",
"type": "string",
"description": "Name for ambulance panic button.",
"default": "Ambulance Panic"
}
}
},
"firePanic" :{
"type": "object",
"properties": {
"enabled": {
"title": "Enable Fire Panic",
"type": "boolean",
"description": "Creates a switch for fire panic button",
"default": false
},
"name": {
"title": "Fire Panic Switch Name",
"type": "string",
"description": "Name for fire panic button.",
"default": "Fire Panic"
}
}
},
"partitions": {
"title": "Partitions",
"type": "array",
"items": {
"title": "Partition",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"description": "Distinguish between partitions if you have multiple (i.e. Upstairs/Downstairs). Otherwise, name your alarm.",
"required": true
},
"enableChimeSwitch": {
"title": "Enable Chime Switch",
"type": "boolean",
"description": "Adds a switch to the partition for enabling/disabling door chime.",
"required": false,
"default": false
},
"pin": {
"title": "Partition PIN",
"type": "string",
"required": false,
"description": "Should be a user PIN (not Installer or Master code)"
}
}
}
},
"zones": {
"title": "Zones",
"type": "array",
"items": {
"title": "Zone",
"type": "object",
"properties": {
"name": {
"title": "Zone Name",
"type": "string",
"required": true,
"description": "Front Door, Guest Windows, etc."
},
"partition": {
"title": "Partition",
"type": "integer",
"required": true,
"default": 1,
"minimum": 1,
"description": "Partition number that the zone belongs to."
},
"zoneNumber": {
"title": "Zone Number",
"type": "integer",
"required": false,
"minimum": 1,
"description": "Assign a zone number (required for nonconsecutive zones), or just list them in the correct order."
},
"type": {
"title": "Sensor Type",
"type": "string",
"required": true,
"description": "Select the type of sensor",
"oneOf": [
{
"title": "Door",
"enum": [
"door"
]
},
{
"title": "Window",
"enum": [
"window"
]
},
{
"title": "Leak",
"enum": [
"leak"
]
},
{
"title": "Smoke",
"enum": [
"smoke"
]
},
{
"title": "Motion",
"enum": [
"motion"
]
}
]
}
}
}
},
"customCommands": {
"title": "Custom Commands",
"type": "array",
"items": {
"title": "Custom Command",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"description": "Name of Custom Command",
"required": true
},
"command": {
"title": "Command",
"type": "string",
"description": "Custom Command Sequence",
"required": true
}
}
}
}
}
}
}