forked from dustindclark/homebridge-envisalink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
140 lines (140 loc) · 3.91 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
{
"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"
},
"deviceType": {
"title": "Alarm Manufacturer",
"type": "string",
"required": true,
"default": "DSC",
"oneOf": [
{
"title": "DSC",
"enum": [
"DSC"
]
}
]
},
"password": {
"title": "Envisalink Password",
"type": "string",
"required": true,
"description": "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"
},
"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
},
"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
}
}
}
},
"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"
]
}
]
}
}
}
}
}
}
}