-
Notifications
You must be signed in to change notification settings - Fork 14
/
config.schema.json
245 lines (217 loc) · 7.6 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
234
235
236
237
238
239
240
241
242
243
244
245
{
"pluginAlias": "Doorbird",
"pluginType": "platform",
"singular": true,
"headerDisplay": "homebridge-doorbird: Nearly complete HomeKit support for Doorbird. See the [Github project page](https://github.com/brownad/homebridge-doorbird) for more documentation.",
"footerDisplay": "The **ffmpeg** binary must be installed on your system for this plugin to work. For audio support, make sure your version of ffmpeg is compiled with support for **fdk-aac**.",
"schema": {
"type": "object",
"properties": {
"doorbirds": {
"type": "array",
"title": "Doorbirds",
"items": {
"type": "object",
"title": "Doorbird Configuration",
"properties": {
"ip": {
"title": "DoorBird IP Address",
"description": "IP address for this Doorbird.",
"type": "string",
"format": "ipv4",
"placeholder": "Enter Doorbird IP address",
"required": true
},
"username": {
"title": "Username",
"description": "Username for this Doorbird",
"type": "string",
"placeholder": "Enter Doorbird username",
"required": true
},
"password": {
"title": "Password",
"description": "Password for the Doorbird user.",
"type": "string",
"placeholder": "Enter Doorbird password",
"required": true
},
"name": {
"title": "Doorbird Name",
"description": "Name to use for this Doorbird.",
"type": "string"
},
"primaryRelay": {
"title": "Primary Relay",
"description": "Primary relay to trigger for doorbell lock events. Default: 1",
"type": "string"
},
"nightVisionSnapshot": {
"title": "Use Night Vision for Snapshots (Always)",
"description": "Always enable night vision for snapshots.",
"type": "boolean"
},
"nightVisionDoorbell": {
"title": "Use Night Vision for Doorbell (Always)",
"description": "Always enable night vision when a doorbell event is detected.",
"type": "boolean"
},
"nightVisionVideo": {
"title": "Use Night Vision for Video (Always)",
"description": "Always enable night vision for video streaming.",
"type": "boolean"
},
"nightVisionSnapshotNight": {
"title": "Use Night Vision for Snapshots (Night)",
"description": "Always enable night vision for snapshots at night.",
"type": "boolean"
},
"nightVisionDoorbellNight": {
"title": "Use Night Vision for Doorbell (Night)",
"description": "Always enable night vision when a doorbell event is detected at night.",
"type": "boolean"
},
"nightVisionVideoNight": {
"title": "Use Night Vision for Video (Night)",
"description": "Always enable night vision for video streaming at night.",
"type": "boolean"
},
"snapshotUrl": {
"title": "Snapshot URL",
"description": "Alternate URL to use for Doorbird snapshots in HomeKit. This URL must return an image.",
"type": "string"
},
"options": {
"type": "array",
"title": "Doorbird Feature Options",
"items": {
"type": "string",
"title": "Feature Option",
"required": false,
"description": "Enter only one option per entry. See project page for the complete list of available options.",
"placeholder": "e.g. Relay.Hide.2"
}
}
}
}
},
"name": {
"title": "Name",
"description": "Name to use for logging purposes in homebridge. Default: Doorbird",
"type": "string"
},
"videoProcessor": {
"title": "Video Processor",
"description": "Path to ffmpeg or your preferred video processor. Default: ffmpeg",
"type": "string"
},
"ffmpegOptions": {
"title": "FFmpeg Options",
"description": "Alternate command line options for ffmpeg.",
"type": "string"
},
"debug": {
"title": "Plugin Debug Mode",
"description": "Enable debug mode for the plugin.",
"type": "boolean"
}
}
},
"layout": [
{
"type": "section",
"title": "Doorbirds",
"expandable": true,
"expanded": false,
"items": [
{
"key": "doorbirds",
"type": "array",
"name": " ",
"description": "Provide the IP address and login details of your Doorbirds.",
"orderable": false,
"buttonText": "Add Doorbird",
"items": [
"doorbirds[].ip",
"doorbirds[].username",
"doorbirds[].password",
"doorbirds[].name",
{
"key": "doorbirds[]",
"type": "section",
"title": "Feature Options",
"expandable": true,
"expanded": false,
"items": [
{
"key": "doorbirds[].options",
"type": "array",
"name": " ",
"description": "Feature Options allow you to further configure how this plugin works.",
"orderable": false,
"buttonText": "Add Feature Option",
"items": [
"doorbirds[].options[]"
]
}
]
},
{
"key": "doorbirds[]",
"type": "section",
"title": "Night Vision Settings",
"expandable": true,
"expanded": false,
"items": [
{
"description": "These settings allow you to configure how night vision is used on the Doorbird.",
"items": [
"doorbirds[].nightVisionSnapshotNight",
"doorbirds[].nightVisionDoorbellNight",
"doorbirds[].nightVisionVideoNight",
"doorbirds[].nightVisionSnapshot",
"doorbirds[].nightVisionDoorbell",
"doorbirds[].nightVisionVideo"
]
}
]
},
{
"key": "doorbirds[]",
"type": "section",
"title": "Optional Settings",
"expandable": true,
"expanded": false,
"items": [
{
"description": "These settings provide additional customization options for this plugin.",
"items": [
"doorbirds[].primaryRelay",
"doorbirds[].snapshotUrl"
]
}
]
}
]
}
]
},
{
"type": "section",
"title": "Additional Settings (Optional)",
"expandable": true,
"expanded": false,
"items": [
{
"description": "These settings should be rarely used or needed by most people. Use these with caution.",
"items": [
"name",
"videoProcessor",
"ffmpegOptions",
"debug"
]
}
]
}
]
}