homebridge-securitysystem 7.2.1 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +16 -16
- package/.github/FUNDING.yml +2 -2
- package/.github/ISSUE_TEMPLATE/bug_report.yml +46 -46
- package/.github/ISSUE_TEMPLATE/feature-request.yml +17 -17
- package/.github/ISSUE_TEMPLATE/questions-answers.yml +40 -40
- package/.github/dependabot.yml +19 -19
- package/.github/release.yml +36 -36
- package/.github/workflows/codeql.yml +76 -76
- package/.github/workflows/create-release.yml +82 -0
- package/.github/workflows/{update-version.yml → create-version.yml} +52 -52
- package/.github/workflows/dependency-review.yml +24 -24
- package/.github/workflows/install-package.yml +29 -29
- package/.github/workflows/stale.yml +26 -26
- package/.vscode/settings.json +12 -11
- package/CODE_OF_CONDUCT.md +128 -128
- package/CONTRIBUTING.md +5 -5
- package/LICENSE +21 -21
- package/README.md +47 -49
- package/SECURITY.md +12 -12
- package/config.schema.json +835 -756
- package/package.json +52 -52
- package/sounds/README +22 -22
- package/src/index.js +2418 -2396
- package/src/utils/options.js +368 -352
- package/.github/workflows/new-tag.yml +0 -39
- package/.github/workflows/publish-package.yml +0 -51
package/config.schema.json
CHANGED
|
@@ -1,756 +1,835 @@
|
|
|
1
|
-
{
|
|
2
|
-
"pluginAlias": "security-system",
|
|
3
|
-
"pluginType": "accessory",
|
|
4
|
-
"headerDisplay": "Create a security system accessory that can be triggered by HomeKit sensors.",
|
|
5
|
-
"footerDisplay": "[Need help?](https://github.com/MiguelRipoll23/homebridge-securitysystem/issues) | [Donate](https://paypal.
|
|
6
|
-
"schema": {
|
|
7
|
-
"title": "Security System",
|
|
8
|
-
"type": "object",
|
|
9
|
-
"properties": {
|
|
10
|
-
"name": {
|
|
11
|
-
"title": "Name",
|
|
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
|
-
"type": "
|
|
74
|
-
"default":
|
|
75
|
-
"required": false
|
|
76
|
-
},
|
|
77
|
-
"trip_switch_name": {
|
|
78
|
-
"title": "Trip Switch Name",
|
|
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
|
-
"required": false
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
115
|
-
"type": "
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
},
|
|
119
|
-
"
|
|
120
|
-
"title": "
|
|
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
|
-
"type": "integer",
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
"
|
|
185
|
-
"type": "integer",
|
|
186
|
-
"required": false,
|
|
187
|
-
"minimum": 0
|
|
188
|
-
},
|
|
189
|
-
"
|
|
190
|
-
"title": "Away
|
|
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
|
-
"required": false
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
"required": false
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
},
|
|
259
|
-
"
|
|
260
|
-
"title": "
|
|
261
|
-
"description": "
|
|
262
|
-
"type": "
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
"
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
"
|
|
289
|
-
"type": "
|
|
290
|
-
"default":
|
|
291
|
-
"required": false
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
},
|
|
301
|
-
"
|
|
302
|
-
"title": "Show
|
|
303
|
-
"description": "Adds
|
|
304
|
-
"type": "boolean",
|
|
305
|
-
"default": false,
|
|
306
|
-
"required": false
|
|
307
|
-
},
|
|
308
|
-
"
|
|
309
|
-
"title": "Show
|
|
310
|
-
"description": "Adds
|
|
311
|
-
"type": "boolean",
|
|
312
|
-
"default": false,
|
|
313
|
-
"required": false
|
|
314
|
-
},
|
|
315
|
-
"
|
|
316
|
-
"title": "Show
|
|
317
|
-
"description": "Adds a
|
|
318
|
-
"type": "boolean",
|
|
319
|
-
"default":
|
|
320
|
-
"required": false
|
|
321
|
-
},
|
|
322
|
-
"
|
|
323
|
-
"title": "Show
|
|
324
|
-
"description": "Adds
|
|
325
|
-
"type": "boolean",
|
|
326
|
-
"default":
|
|
327
|
-
"required": false
|
|
328
|
-
},
|
|
329
|
-
"
|
|
330
|
-
"title": "Show
|
|
331
|
-
"description": "Adds a
|
|
332
|
-
"type": "boolean",
|
|
333
|
-
"default": false,
|
|
334
|
-
"required": false
|
|
335
|
-
},
|
|
336
|
-
"
|
|
337
|
-
"title": "
|
|
338
|
-
"description": "
|
|
339
|
-
"type": "
|
|
340
|
-
"default":
|
|
341
|
-
"required": false
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
},
|
|
372
|
-
"
|
|
373
|
-
"title": "
|
|
374
|
-
"description": "
|
|
375
|
-
"type": "
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
},
|
|
379
|
-
"
|
|
380
|
-
"title": "Audio
|
|
381
|
-
"
|
|
382
|
-
"
|
|
383
|
-
"default":
|
|
384
|
-
"
|
|
385
|
-
},
|
|
386
|
-
"
|
|
387
|
-
"title": "
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
"
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
"
|
|
395
|
-
"
|
|
396
|
-
"
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
"
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
"
|
|
403
|
-
"
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
"
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
"
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
"
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
"placeholder": "
|
|
437
|
-
},
|
|
438
|
-
"
|
|
439
|
-
"title": "
|
|
440
|
-
"
|
|
441
|
-
"
|
|
442
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
"
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
"
|
|
454
|
-
"
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
"
|
|
466
|
-
"placeholder": "
|
|
467
|
-
},
|
|
468
|
-
"
|
|
469
|
-
"title": "
|
|
470
|
-
"
|
|
471
|
-
"
|
|
472
|
-
"
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
"
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
"
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
"
|
|
488
|
-
"
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
"
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
"
|
|
500
|
-
"type": "string",
|
|
501
|
-
"required": false,
|
|
502
|
-
"placeholder": "
|
|
503
|
-
},
|
|
504
|
-
"
|
|
505
|
-
"title": "Current Mode: Home",
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
"
|
|
513
|
-
"
|
|
514
|
-
"
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
"
|
|
520
|
-
"
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
"
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
"
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
"
|
|
530
|
-
"
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
"
|
|
536
|
-
"
|
|
537
|
-
"
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
"
|
|
561
|
-
|
|
562
|
-
"
|
|
563
|
-
"
|
|
564
|
-
"
|
|
565
|
-
"
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
"
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
"
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
"
|
|
597
|
-
"
|
|
598
|
-
"
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
"
|
|
624
|
-
"
|
|
625
|
-
"
|
|
626
|
-
"
|
|
627
|
-
"items": [
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
{
|
|
665
|
-
"type": "div",
|
|
666
|
-
"displayFlex": true,
|
|
667
|
-
"flex-flow": "row wrap",
|
|
668
|
-
"flex-direction": "row",
|
|
669
|
-
"items": [
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
"
|
|
683
|
-
"
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
"
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
"
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
"
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
"
|
|
738
|
-
"
|
|
739
|
-
"
|
|
740
|
-
"
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
"
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
1
|
+
{
|
|
2
|
+
"pluginAlias": "security-system",
|
|
3
|
+
"pluginType": "accessory",
|
|
4
|
+
"headerDisplay": "Create a security system accessory that can be triggered by HomeKit sensors.",
|
|
5
|
+
"footerDisplay": "[Need help?](https://github.com/MiguelRipoll23/homebridge-securitysystem/issues) | [Donate](https://www.paypal.com/donate/?hosted_button_id=CQTHU44XTXK2L)",
|
|
6
|
+
"schema": {
|
|
7
|
+
"title": "Security System",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"name": {
|
|
11
|
+
"title": "Name",
|
|
12
|
+
"description": "",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "Security System",
|
|
15
|
+
"required": true
|
|
16
|
+
},
|
|
17
|
+
"serial_number": {
|
|
18
|
+
"title": "Serial Number",
|
|
19
|
+
"description": "",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"default": "S3CUR1TYSYST3M",
|
|
22
|
+
"required": true
|
|
23
|
+
},
|
|
24
|
+
"default_mode": {
|
|
25
|
+
"title": "Default Mode",
|
|
26
|
+
"description": "",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"default": "Off",
|
|
29
|
+
"required": true,
|
|
30
|
+
"enum": ["Off", "Home", "Night", "Away"]
|
|
31
|
+
},
|
|
32
|
+
"arm_seconds": {
|
|
33
|
+
"title": "Arming Delay Seconds",
|
|
34
|
+
"description": "",
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"default": 0,
|
|
37
|
+
"required": false,
|
|
38
|
+
"minimum": 0
|
|
39
|
+
},
|
|
40
|
+
"trigger_seconds": {
|
|
41
|
+
"title": "Trigger Delay Seconds",
|
|
42
|
+
"description": "",
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"default": 0,
|
|
45
|
+
"required": false,
|
|
46
|
+
"minimum": 0
|
|
47
|
+
},
|
|
48
|
+
"reset_minutes": {
|
|
49
|
+
"title": "Reset Delay Minutes",
|
|
50
|
+
"description": "",
|
|
51
|
+
"type": "integer",
|
|
52
|
+
"default": 10,
|
|
53
|
+
"required": false,
|
|
54
|
+
"minimum": 1
|
|
55
|
+
},
|
|
56
|
+
"save_state": {
|
|
57
|
+
"title": "Save Data Using Storage",
|
|
58
|
+
"description": "Persists the previous state after shutdowns and reboots.",
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"default": false,
|
|
61
|
+
"required": false
|
|
62
|
+
},
|
|
63
|
+
"proxy_mode": {
|
|
64
|
+
"title": "Enable Proxy Mode",
|
|
65
|
+
"description": "Ignores webhooks/commands for server requests.",
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"default": false,
|
|
68
|
+
"required": false
|
|
69
|
+
},
|
|
70
|
+
"test_mode": {
|
|
71
|
+
"title": "Enable Test Mode",
|
|
72
|
+
"description": "Ignores the webhook and command when the security system triggers.",
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"default": false,
|
|
75
|
+
"required": false
|
|
76
|
+
},
|
|
77
|
+
"trip_switch_name": {
|
|
78
|
+
"title": "Trip Switch Name",
|
|
79
|
+
"description": "",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"default": "Trip",
|
|
82
|
+
"required": false
|
|
83
|
+
},
|
|
84
|
+
"trip_home_switch_name": {
|
|
85
|
+
"title": "Trip Home Switch Name",
|
|
86
|
+
"description": "",
|
|
87
|
+
"type": "string",
|
|
88
|
+
"default": "Trip Home",
|
|
89
|
+
"required": false
|
|
90
|
+
},
|
|
91
|
+
"trip_away_switch_name": {
|
|
92
|
+
"title": "Trip Away Switch Name",
|
|
93
|
+
"description": "",
|
|
94
|
+
"type": "string",
|
|
95
|
+
"default": "Trip Away",
|
|
96
|
+
"required": false
|
|
97
|
+
},
|
|
98
|
+
"trip_night_switch_name": {
|
|
99
|
+
"title": "Trip Night Switch Name",
|
|
100
|
+
"description": "",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"default": "Trip Night",
|
|
103
|
+
"required": false
|
|
104
|
+
},
|
|
105
|
+
"trip_override_switch_name": {
|
|
106
|
+
"title": "Trip Override Switch Name",
|
|
107
|
+
"description": "",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"default": "Trip Override",
|
|
110
|
+
"required": false
|
|
111
|
+
},
|
|
112
|
+
"mode_home_switch_name": {
|
|
113
|
+
"title": "Mode Home Switch Name",
|
|
114
|
+
"description": "",
|
|
115
|
+
"type": "string",
|
|
116
|
+
"default": "Mode Home",
|
|
117
|
+
"required": false
|
|
118
|
+
},
|
|
119
|
+
"mode_away_switch_name": {
|
|
120
|
+
"title": "Mode Away Switch Name",
|
|
121
|
+
"description": "",
|
|
122
|
+
"type": "string",
|
|
123
|
+
"default": "Mode Away",
|
|
124
|
+
"required": false
|
|
125
|
+
},
|
|
126
|
+
"mode_night_switch_name": {
|
|
127
|
+
"title": "Mode Night Switch Name",
|
|
128
|
+
"description": "",
|
|
129
|
+
"type": "string",
|
|
130
|
+
"default": "Mode Night",
|
|
131
|
+
"required": false
|
|
132
|
+
},
|
|
133
|
+
"mode_off_switch_name": {
|
|
134
|
+
"title": "Mode Off Switch Name",
|
|
135
|
+
"description": "",
|
|
136
|
+
"type": "string",
|
|
137
|
+
"default": "Mode Off",
|
|
138
|
+
"required": false
|
|
139
|
+
},
|
|
140
|
+
"log_directory": {
|
|
141
|
+
"title": "Log Directory Path",
|
|
142
|
+
"description": "",
|
|
143
|
+
"type": "string",
|
|
144
|
+
"required": false,
|
|
145
|
+
"placeholder": "/home/user/logs"
|
|
146
|
+
},
|
|
147
|
+
"home_arm_seconds": {
|
|
148
|
+
"title": "Home Arming Delay Seconds",
|
|
149
|
+
"description": "",
|
|
150
|
+
"type": "integer",
|
|
151
|
+
"required": false,
|
|
152
|
+
"minimum": 0
|
|
153
|
+
},
|
|
154
|
+
"night_arm_seconds": {
|
|
155
|
+
"title": "Night Arming Delay Seconds",
|
|
156
|
+
"description": "",
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"required": false,
|
|
159
|
+
"minimum": 0
|
|
160
|
+
},
|
|
161
|
+
"away_arm_seconds": {
|
|
162
|
+
"title": "Away Arming Delay Seconds",
|
|
163
|
+
"description": "",
|
|
164
|
+
"type": "integer",
|
|
165
|
+
"required": false,
|
|
166
|
+
"minimum": 0
|
|
167
|
+
},
|
|
168
|
+
"home_trigger_seconds": {
|
|
169
|
+
"title": "Home Trigger Delay Seconds",
|
|
170
|
+
"description": "",
|
|
171
|
+
"type": "integer",
|
|
172
|
+
"required": false,
|
|
173
|
+
"minimum": 0
|
|
174
|
+
},
|
|
175
|
+
"night_trigger_seconds": {
|
|
176
|
+
"title": "Night Trigger Delay Seconds",
|
|
177
|
+
"description": "",
|
|
178
|
+
"type": "integer",
|
|
179
|
+
"required": false,
|
|
180
|
+
"minimum": 0
|
|
181
|
+
},
|
|
182
|
+
"away_trigger_seconds": {
|
|
183
|
+
"title": "Away Trigger Delay Seconds",
|
|
184
|
+
"description": "",
|
|
185
|
+
"type": "integer",
|
|
186
|
+
"required": false,
|
|
187
|
+
"minimum": 0
|
|
188
|
+
},
|
|
189
|
+
"away_extended_trigger_seconds": {
|
|
190
|
+
"title": "Away Extended Delay Trigger Seconds",
|
|
191
|
+
"description": "",
|
|
192
|
+
"type": "integer",
|
|
193
|
+
"required": false,
|
|
194
|
+
"minimum": 0
|
|
195
|
+
},
|
|
196
|
+
"override_off": {
|
|
197
|
+
"title": "Trigger During Off Mode",
|
|
198
|
+
"description": "Allows the security system to be triggered while disarmed.",
|
|
199
|
+
"type": "boolean",
|
|
200
|
+
"default": false,
|
|
201
|
+
"required": false
|
|
202
|
+
},
|
|
203
|
+
"reset_off_flow": {
|
|
204
|
+
"title": "Reset Using Off Mode",
|
|
205
|
+
"description": "Resets the security system when triggered by passing through the Off mode.",
|
|
206
|
+
"type": "boolean",
|
|
207
|
+
"default": false,
|
|
208
|
+
"required": false
|
|
209
|
+
},
|
|
210
|
+
"double_knock": {
|
|
211
|
+
"title": "Use Double-Knock",
|
|
212
|
+
"description": "Needs the Trip switch to be turn on twice within a time window.",
|
|
213
|
+
"type": "boolean",
|
|
214
|
+
"default": false,
|
|
215
|
+
"required": false
|
|
216
|
+
},
|
|
217
|
+
"double_knock_seconds": {
|
|
218
|
+
"title": "Time Window Seconds",
|
|
219
|
+
"description": "",
|
|
220
|
+
"type": "integer",
|
|
221
|
+
"default": 90,
|
|
222
|
+
"required": false,
|
|
223
|
+
"minimum": 0
|
|
224
|
+
},
|
|
225
|
+
"home_double_knock_seconds": {
|
|
226
|
+
"title": "Home Double-Knock Seconds",
|
|
227
|
+
"description": "",
|
|
228
|
+
"type": "integer",
|
|
229
|
+
"required": false,
|
|
230
|
+
"minimum": 0
|
|
231
|
+
},
|
|
232
|
+
"away_double_knock_seconds": {
|
|
233
|
+
"title": "Away Double-Knock Seconds",
|
|
234
|
+
"description": "",
|
|
235
|
+
"type": "integer",
|
|
236
|
+
"required": false,
|
|
237
|
+
"minimum": 0
|
|
238
|
+
},
|
|
239
|
+
"night_double_knock_seconds": {
|
|
240
|
+
"title": "Night Double-Knock Seconds",
|
|
241
|
+
"description": "",
|
|
242
|
+
"type": "integer",
|
|
243
|
+
"required": false,
|
|
244
|
+
"minimum": 0
|
|
245
|
+
},
|
|
246
|
+
"double_knock_modes": {
|
|
247
|
+
"title": "Double-Knock Modes",
|
|
248
|
+
"description": "",
|
|
249
|
+
"type": "array",
|
|
250
|
+
"default": ["Away"],
|
|
251
|
+
"required": false,
|
|
252
|
+
"items": {
|
|
253
|
+
"title": "Mode",
|
|
254
|
+
"type": "string",
|
|
255
|
+
"enum": ["Home", "Night", "Away"],
|
|
256
|
+
"uniqueItems": true
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"disabled_modes": {
|
|
260
|
+
"title": "Disabled Modes",
|
|
261
|
+
"description": "",
|
|
262
|
+
"type": "array",
|
|
263
|
+
"required": false,
|
|
264
|
+
"items": {
|
|
265
|
+
"title": "Mode",
|
|
266
|
+
"type": "string",
|
|
267
|
+
"enum": ["Home", "Night", "Away"],
|
|
268
|
+
"uniqueItems": true
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"tripped_sensor": {
|
|
272
|
+
"title": "Show Tripped Sensor",
|
|
273
|
+
"description": "Adds a sensor that triggers multiple times when any of the Trip switches have been turned on.",
|
|
274
|
+
"type": "boolean",
|
|
275
|
+
"default": false,
|
|
276
|
+
"required": false
|
|
277
|
+
},
|
|
278
|
+
"tripped_sensor_seconds": {
|
|
279
|
+
"title": "Tripped Sensor Seconds",
|
|
280
|
+
"description": "",
|
|
281
|
+
"type": "integer",
|
|
282
|
+
"default": 5,
|
|
283
|
+
"required": false,
|
|
284
|
+
"minimum": 0
|
|
285
|
+
},
|
|
286
|
+
"siren_sensor": {
|
|
287
|
+
"title": "Show Triggered Sensor",
|
|
288
|
+
"description": "Adds a sensor that triggers multiple times when the security system has been triggered.",
|
|
289
|
+
"type": "boolean",
|
|
290
|
+
"default": false,
|
|
291
|
+
"required": false
|
|
292
|
+
},
|
|
293
|
+
"siren_sensor_seconds": {
|
|
294
|
+
"title": "Triggered Sensor Seconds",
|
|
295
|
+
"description": "",
|
|
296
|
+
"type": "integer",
|
|
297
|
+
"default": 5,
|
|
298
|
+
"required": false,
|
|
299
|
+
"minimum": 0
|
|
300
|
+
},
|
|
301
|
+
"reset_sensor": {
|
|
302
|
+
"title": "Show Triggered Reset Sensor",
|
|
303
|
+
"description": "Adds a sensor that triggers when the security system has reset after being triggered.",
|
|
304
|
+
"type": "boolean",
|
|
305
|
+
"default": false,
|
|
306
|
+
"required": false
|
|
307
|
+
},
|
|
308
|
+
"mode_switches": {
|
|
309
|
+
"title": "Show Mode Switches",
|
|
310
|
+
"description": "Adds switches for every mode in order to create automations based on a mode change or bypass confirmations.",
|
|
311
|
+
"type": "boolean",
|
|
312
|
+
"default": false,
|
|
313
|
+
"required": false
|
|
314
|
+
},
|
|
315
|
+
"mode_off_switch": {
|
|
316
|
+
"title": "Show Mode Off Switch",
|
|
317
|
+
"description": "Adds a switch to disarm the security system if the \"Show Mode Switches\" option is enabled.",
|
|
318
|
+
"type": "boolean",
|
|
319
|
+
"default": true,
|
|
320
|
+
"required": false
|
|
321
|
+
},
|
|
322
|
+
"mode_away_extended_switch": {
|
|
323
|
+
"title": "Show Mode Away Extended Switch",
|
|
324
|
+
"description": "Adds a switch that sets the Away mode and can be used as a condition in automations.",
|
|
325
|
+
"type": "boolean",
|
|
326
|
+
"default": false,
|
|
327
|
+
"required": false
|
|
328
|
+
},
|
|
329
|
+
"mode_pause_switch": {
|
|
330
|
+
"title": "Show Mode Pause Switch",
|
|
331
|
+
"description": "Adds a switch that will temporarily or indefinitely (if minutes is to zero) disarm the security system.",
|
|
332
|
+
"type": "boolean",
|
|
333
|
+
"default": false,
|
|
334
|
+
"required": false
|
|
335
|
+
},
|
|
336
|
+
"pause_minutes": {
|
|
337
|
+
"title": "Pause Minutes",
|
|
338
|
+
"description": "",
|
|
339
|
+
"type": "integer",
|
|
340
|
+
"default": 0,
|
|
341
|
+
"required": false,
|
|
342
|
+
"minimum": 0
|
|
343
|
+
},
|
|
344
|
+
"arming_lock_switch": {
|
|
345
|
+
"title": "Show Arming Lock Switch (experimental)",
|
|
346
|
+
"description": "Adds a global switch that will prevent arming the security system.",
|
|
347
|
+
"type": "boolean",
|
|
348
|
+
"default": false,
|
|
349
|
+
"required": false
|
|
350
|
+
},
|
|
351
|
+
"arming_lock_switches": {
|
|
352
|
+
"title": "Show Arming Lock Mode Switches (experimental)",
|
|
353
|
+
"description": "Adds switches that will prevent arming the security system when their mode is set.",
|
|
354
|
+
"type": "boolean",
|
|
355
|
+
"default": false,
|
|
356
|
+
"required": false
|
|
357
|
+
},
|
|
358
|
+
"siren_switch": {
|
|
359
|
+
"title": "Show Trip Switch",
|
|
360
|
+
"description": "Adds a global switch that will trip the security system.",
|
|
361
|
+
"type": "boolean",
|
|
362
|
+
"default": false,
|
|
363
|
+
"required": false
|
|
364
|
+
},
|
|
365
|
+
"siren_override_switch": {
|
|
366
|
+
"title": "Show Trip Override Switch",
|
|
367
|
+
"description": "Adds a special switch that will trigger the security system bypassing the conditions set.",
|
|
368
|
+
"type": "boolean",
|
|
369
|
+
"default": false,
|
|
370
|
+
"required": false
|
|
371
|
+
},
|
|
372
|
+
"siren_mode_switches": {
|
|
373
|
+
"title": "Show Trip Mode Switches",
|
|
374
|
+
"description": "Adds switches that will trigger the security system when their mode is set.",
|
|
375
|
+
"type": "boolean",
|
|
376
|
+
"default": true,
|
|
377
|
+
"required": false
|
|
378
|
+
},
|
|
379
|
+
"audio_switch": {
|
|
380
|
+
"title": "Show Audio Switch",
|
|
381
|
+
"description": "Adds a global switch to enable or disable audio except for alarm triggered.",
|
|
382
|
+
"type": "boolean",
|
|
383
|
+
"default": false,
|
|
384
|
+
"required": false
|
|
385
|
+
},
|
|
386
|
+
"audio": {
|
|
387
|
+
"title": "Play Sounds (local-only, ffmpeg required)",
|
|
388
|
+
"description": "Warns of pending or current events by playing sounds.",
|
|
389
|
+
"type": "boolean",
|
|
390
|
+
"default": false,
|
|
391
|
+
"required": false
|
|
392
|
+
},
|
|
393
|
+
"audio_language": {
|
|
394
|
+
"title": "Audio Language",
|
|
395
|
+
"description": "",
|
|
396
|
+
"type": "string",
|
|
397
|
+
"default": "en-US",
|
|
398
|
+
"required": false,
|
|
399
|
+
"enum": ["en-US", "de-DE"]
|
|
400
|
+
},
|
|
401
|
+
"audio_extra_variables": {
|
|
402
|
+
"title": "Audio Extra Variables",
|
|
403
|
+
"description": "Add extra environment variables to the ffplay command that will be executed",
|
|
404
|
+
"type": "array",
|
|
405
|
+
"items": {
|
|
406
|
+
"title": "Environment Variable",
|
|
407
|
+
"type": "object",
|
|
408
|
+
"properties": {
|
|
409
|
+
"key": {
|
|
410
|
+
"title": "Name",
|
|
411
|
+
"type": "string",
|
|
412
|
+
"required": true
|
|
413
|
+
},
|
|
414
|
+
"value": {
|
|
415
|
+
"title": "Value",
|
|
416
|
+
"type": "string",
|
|
417
|
+
"required": true
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"required": true
|
|
422
|
+
},
|
|
423
|
+
"audio_path": {
|
|
424
|
+
"title": "Custom Audio Path",
|
|
425
|
+
"description": "Instructions will be created in this path.",
|
|
426
|
+
"type": "string",
|
|
427
|
+
"required": false,
|
|
428
|
+
"placeholder": "/home/user/sounds"
|
|
429
|
+
},
|
|
430
|
+
"audio_volume": {
|
|
431
|
+
"title": "Audio Volume",
|
|
432
|
+
"description": "",
|
|
433
|
+
"type": "string",
|
|
434
|
+
"required": false,
|
|
435
|
+
"default": 100,
|
|
436
|
+
"placeholder": "100"
|
|
437
|
+
},
|
|
438
|
+
"audio_arming_looped": {
|
|
439
|
+
"title": "Loop Arming Sound",
|
|
440
|
+
"description": "",
|
|
441
|
+
"type": "boolean",
|
|
442
|
+
"default": false,
|
|
443
|
+
"required": false
|
|
444
|
+
},
|
|
445
|
+
"audio_alert_looped": {
|
|
446
|
+
"title": "Loop Tripped Sound",
|
|
447
|
+
"description": "",
|
|
448
|
+
"type": "boolean",
|
|
449
|
+
"default": false,
|
|
450
|
+
"required": false
|
|
451
|
+
},
|
|
452
|
+
"server_port": {
|
|
453
|
+
"title": "Listening Port",
|
|
454
|
+
"description": "",
|
|
455
|
+
"type": "integer",
|
|
456
|
+
"required": false,
|
|
457
|
+
"minimum": 0,
|
|
458
|
+
"placeholder": 80
|
|
459
|
+
},
|
|
460
|
+
"server_code": {
|
|
461
|
+
"title": "Security Code",
|
|
462
|
+
"description": "All requests will require this code to be sent.",
|
|
463
|
+
"type": "integer",
|
|
464
|
+
"required": false,
|
|
465
|
+
"minimum": 0,
|
|
466
|
+
"placeholder": "XXXX"
|
|
467
|
+
},
|
|
468
|
+
"webhook_url": {
|
|
469
|
+
"title": "Base URL",
|
|
470
|
+
"description": "",
|
|
471
|
+
"type": "string",
|
|
472
|
+
"required": false,
|
|
473
|
+
"format": "uri",
|
|
474
|
+
"placeholder": "http://localhost"
|
|
475
|
+
},
|
|
476
|
+
"webhook_target_home": {
|
|
477
|
+
"title": "Target Mode: Home",
|
|
478
|
+
"description": "",
|
|
479
|
+
"type": "string",
|
|
480
|
+
"required": false,
|
|
481
|
+
"placeholder": "/target/home"
|
|
482
|
+
},
|
|
483
|
+
"webhook_target_away": {
|
|
484
|
+
"title": "Target Mode: Away",
|
|
485
|
+
"description": "",
|
|
486
|
+
"type": "string",
|
|
487
|
+
"required": false,
|
|
488
|
+
"placeholder": "/target/away"
|
|
489
|
+
},
|
|
490
|
+
"webhook_target_night": {
|
|
491
|
+
"title": "Target Mode: Night",
|
|
492
|
+
"description": "",
|
|
493
|
+
"type": "string",
|
|
494
|
+
"required": false,
|
|
495
|
+
"placeholder": "/target/night"
|
|
496
|
+
},
|
|
497
|
+
"webhook_target_off": {
|
|
498
|
+
"title": "Target Mode: Off",
|
|
499
|
+
"description": "",
|
|
500
|
+
"type": "string",
|
|
501
|
+
"required": false,
|
|
502
|
+
"placeholder": "/target/off"
|
|
503
|
+
},
|
|
504
|
+
"webhook_current_home": {
|
|
505
|
+
"title": "Current Mode: Home",
|
|
506
|
+
"description": "",
|
|
507
|
+
"type": "string",
|
|
508
|
+
"required": false,
|
|
509
|
+
"placeholder": "/current/home"
|
|
510
|
+
},
|
|
511
|
+
"webhook_current_away": {
|
|
512
|
+
"title": "Current Mode: Away",
|
|
513
|
+
"description": "",
|
|
514
|
+
"type": "string",
|
|
515
|
+
"required": false,
|
|
516
|
+
"placeholder": "/current/away"
|
|
517
|
+
},
|
|
518
|
+
"webhook_current_night": {
|
|
519
|
+
"title": "Current Mode: Night",
|
|
520
|
+
"description": "",
|
|
521
|
+
"type": "string",
|
|
522
|
+
"required": false,
|
|
523
|
+
"placeholder": "/current/night"
|
|
524
|
+
},
|
|
525
|
+
"webhook_current_off": {
|
|
526
|
+
"title": "Current Mode: Off",
|
|
527
|
+
"description": "",
|
|
528
|
+
"type": "string",
|
|
529
|
+
"required": false,
|
|
530
|
+
"placeholder": "/current/off"
|
|
531
|
+
},
|
|
532
|
+
"webhook_current_warning": {
|
|
533
|
+
"title": "Current Event: Warning",
|
|
534
|
+
"description": "",
|
|
535
|
+
"type": "string",
|
|
536
|
+
"required": false,
|
|
537
|
+
"placeholder": "/current/warning"
|
|
538
|
+
},
|
|
539
|
+
"webhook_current_triggered": {
|
|
540
|
+
"title": "Current Mode: Triggered",
|
|
541
|
+
"description": "",
|
|
542
|
+
"type": "string",
|
|
543
|
+
"required": false,
|
|
544
|
+
"placeholder": "/current/triggered"
|
|
545
|
+
},
|
|
546
|
+
"command_target_home": {
|
|
547
|
+
"title": "Target Mode: Home",
|
|
548
|
+
"description": "",
|
|
549
|
+
"type": "string",
|
|
550
|
+
"required": false,
|
|
551
|
+
"placeholder": "echo target home"
|
|
552
|
+
},
|
|
553
|
+
"command_target_away": {
|
|
554
|
+
"title": "Target Mode: Away",
|
|
555
|
+
"description": "",
|
|
556
|
+
"type": "string",
|
|
557
|
+
"required": false,
|
|
558
|
+
"placeholder": "echo target away"
|
|
559
|
+
},
|
|
560
|
+
"command_target_off": {
|
|
561
|
+
"title": "Target Mode: Off",
|
|
562
|
+
"description": "",
|
|
563
|
+
"type": "string",
|
|
564
|
+
"required": false,
|
|
565
|
+
"placeholder": "echo target off"
|
|
566
|
+
},
|
|
567
|
+
"command_target_night": {
|
|
568
|
+
"title": "Target Mode: Night",
|
|
569
|
+
"description": "",
|
|
570
|
+
"type": "string",
|
|
571
|
+
"required": false,
|
|
572
|
+
"placeholder": "echo target night"
|
|
573
|
+
},
|
|
574
|
+
"command_current_home": {
|
|
575
|
+
"title": "Current Mode: Home",
|
|
576
|
+
"description": "",
|
|
577
|
+
"type": "string",
|
|
578
|
+
"required": false,
|
|
579
|
+
"placeholder": "echo current home"
|
|
580
|
+
},
|
|
581
|
+
"command_current_away": {
|
|
582
|
+
"title": "Current Mode: Away",
|
|
583
|
+
"description": "",
|
|
584
|
+
"type": "string",
|
|
585
|
+
"required": false,
|
|
586
|
+
"placeholder": "echo current away"
|
|
587
|
+
},
|
|
588
|
+
"command_current_night": {
|
|
589
|
+
"title": "Current Mode: Night",
|
|
590
|
+
"description": "",
|
|
591
|
+
"type": "string",
|
|
592
|
+
"required": false,
|
|
593
|
+
"placeholder": "echo current night"
|
|
594
|
+
},
|
|
595
|
+
"command_current_off": {
|
|
596
|
+
"title": "Current Mode: Off",
|
|
597
|
+
"description": "",
|
|
598
|
+
"type": "string",
|
|
599
|
+
"required": false,
|
|
600
|
+
"placeholder": "echo current off"
|
|
601
|
+
},
|
|
602
|
+
"command_current_warning": {
|
|
603
|
+
"title": "Current Event: Warning",
|
|
604
|
+
"description": "",
|
|
605
|
+
"type": "string",
|
|
606
|
+
"required": false,
|
|
607
|
+
"placeholder": "echo current warning"
|
|
608
|
+
},
|
|
609
|
+
"command_current_triggered": {
|
|
610
|
+
"title": "Current Mode: Triggered",
|
|
611
|
+
"description": "",
|
|
612
|
+
"type": "string",
|
|
613
|
+
"required": false,
|
|
614
|
+
"placeholder": "echo current triggered"
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"layout": [
|
|
619
|
+
"name",
|
|
620
|
+
"serial_number",
|
|
621
|
+
"default_mode",
|
|
622
|
+
{
|
|
623
|
+
"type": "div",
|
|
624
|
+
"displayFlex": true,
|
|
625
|
+
"flex-flow": "row wrap",
|
|
626
|
+
"flex-direction": "row",
|
|
627
|
+
"items": ["arm_seconds", "trigger_seconds", "reset_minutes"]
|
|
628
|
+
},
|
|
629
|
+
"save_state",
|
|
630
|
+
"test_mode",
|
|
631
|
+
{
|
|
632
|
+
"type": "fieldset",
|
|
633
|
+
"title": "Accessory Names",
|
|
634
|
+
"description": "Change the accessory names provided by your own.",
|
|
635
|
+
"expandable": true,
|
|
636
|
+
"expanded": false,
|
|
637
|
+
"items": [
|
|
638
|
+
"trip_switch_name",
|
|
639
|
+
"trip_home_switch_name",
|
|
640
|
+
"trip_away_switch_name",
|
|
641
|
+
"trip_night_switch_name",
|
|
642
|
+
"trip_override_switch_name",
|
|
643
|
+
"mode_home_switch_name",
|
|
644
|
+
"mode_away_switch_name",
|
|
645
|
+
"mode_night_switch_name",
|
|
646
|
+
"mode_off_switch_name"
|
|
647
|
+
]
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"type": "fieldset",
|
|
651
|
+
"title": "Advanced Options",
|
|
652
|
+
"description": "Need more options? You know what do do.",
|
|
653
|
+
"expandable": true,
|
|
654
|
+
"expanded": false,
|
|
655
|
+
"items": [
|
|
656
|
+
"log_directory",
|
|
657
|
+
{
|
|
658
|
+
"type": "div",
|
|
659
|
+
"displayFlex": true,
|
|
660
|
+
"flex-flow": "row wrap",
|
|
661
|
+
"flex-direction": "row",
|
|
662
|
+
"items": ["home_arm_seconds", "away_arm_seconds", "night_arm_seconds"]
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"type": "div",
|
|
666
|
+
"displayFlex": true,
|
|
667
|
+
"flex-flow": "row wrap",
|
|
668
|
+
"flex-direction": "row",
|
|
669
|
+
"items": [
|
|
670
|
+
"home_trigger_seconds",
|
|
671
|
+
"away_trigger_seconds",
|
|
672
|
+
"night_trigger_seconds"
|
|
673
|
+
]
|
|
674
|
+
},
|
|
675
|
+
"override_off",
|
|
676
|
+
"reset_off_flow",
|
|
677
|
+
"proxy_mode",
|
|
678
|
+
{
|
|
679
|
+
"type": "div",
|
|
680
|
+
"displayFlex": true,
|
|
681
|
+
"flex-flow": "row wrap",
|
|
682
|
+
"flex-direction": "row",
|
|
683
|
+
"items": ["double_knock", "double_knock_seconds"]
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"type": "div",
|
|
687
|
+
"displayFlex": true,
|
|
688
|
+
"flex-flow": "row wrap",
|
|
689
|
+
"flex-direction": "row",
|
|
690
|
+
"items": [
|
|
691
|
+
"home_double_knock_seconds",
|
|
692
|
+
"away_double_knock_seconds",
|
|
693
|
+
"night_double_knock_seconds"
|
|
694
|
+
]
|
|
695
|
+
},
|
|
696
|
+
"double_knock_modes",
|
|
697
|
+
"disabled_modes"
|
|
698
|
+
]
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"type": "fieldset",
|
|
702
|
+
"title": "Switches",
|
|
703
|
+
"description": "Create simpler automations or bypass HomeKit confirmations.",
|
|
704
|
+
"expandable": true,
|
|
705
|
+
"expanded": false,
|
|
706
|
+
"items": [
|
|
707
|
+
"mode_switches",
|
|
708
|
+
"mode_off_switch",
|
|
709
|
+
{
|
|
710
|
+
"type": "div",
|
|
711
|
+
"displayFlex": true,
|
|
712
|
+
"flex-flow": "row",
|
|
713
|
+
"flex-direction": "row",
|
|
714
|
+
"items": [
|
|
715
|
+
"mode_away_extended_switch",
|
|
716
|
+
"away_extended_trigger_seconds"
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"type": "div",
|
|
721
|
+
"displayFlex": true,
|
|
722
|
+
"flex-flow": "row",
|
|
723
|
+
"flex-direction": "row",
|
|
724
|
+
"items": ["mode_pause_switch", "pause_minutes"]
|
|
725
|
+
},
|
|
726
|
+
"arming_lock_switch",
|
|
727
|
+
"arming_lock_switches",
|
|
728
|
+
"siren_switch",
|
|
729
|
+
"siren_override_switch",
|
|
730
|
+
"siren_mode_switches",
|
|
731
|
+
"audio_switch"
|
|
732
|
+
]
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"type": "fieldset",
|
|
736
|
+
"title": "Sensors",
|
|
737
|
+
"description": "Automate based on custom events or get alerted by multiple notifications.",
|
|
738
|
+
"expandable": true,
|
|
739
|
+
"expanded": false,
|
|
740
|
+
"items": [
|
|
741
|
+
"tripped_sensor",
|
|
742
|
+
"siren_sensor",
|
|
743
|
+
{
|
|
744
|
+
"type": "div",
|
|
745
|
+
"displayFlex": true,
|
|
746
|
+
"flex-flow": "row wrap",
|
|
747
|
+
"flex-direction": "row",
|
|
748
|
+
"items": ["tripped_sensor_seconds", "siren_sensor_seconds"]
|
|
749
|
+
},
|
|
750
|
+
"reset_sensor"
|
|
751
|
+
]
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"type": "fieldset",
|
|
755
|
+
"title": "Audio",
|
|
756
|
+
"description": "Play sounds on your connected speakers to notify events.",
|
|
757
|
+
"expandable": true,
|
|
758
|
+
"expanded": false,
|
|
759
|
+
"items": [
|
|
760
|
+
{
|
|
761
|
+
"type": "div",
|
|
762
|
+
"displayFlex": true,
|
|
763
|
+
"flex-flow": "row wrap",
|
|
764
|
+
"flex-direction": "row",
|
|
765
|
+
"items": ["audio", "audio_language"]
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"type": "div",
|
|
769
|
+
"displayFlex": true,
|
|
770
|
+
"flex-flow": "row wrap",
|
|
771
|
+
"flex-direction": "row",
|
|
772
|
+
"items": ["audio_path", "audio_volume"]
|
|
773
|
+
},
|
|
774
|
+
"audio_arming_looped",
|
|
775
|
+
"audio_alert_looped",
|
|
776
|
+
{
|
|
777
|
+
"key": "audio_extra_variables",
|
|
778
|
+
"type": "tabarray",
|
|
779
|
+
"title": "{{ value.key || 'Environment Variable' }}",
|
|
780
|
+
"items": [
|
|
781
|
+
"audio_extra_variables[].key",
|
|
782
|
+
"audio_extra_variables[].value"
|
|
783
|
+
]
|
|
784
|
+
}
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"type": "fieldset",
|
|
789
|
+
"title": "Server",
|
|
790
|
+
"description": "Expose a server to interact with the security system remotely.",
|
|
791
|
+
"expandable": true,
|
|
792
|
+
"expanded": false,
|
|
793
|
+
"items": ["server_port", "server_code"]
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"type": "fieldset",
|
|
797
|
+
"title": "Webhooks",
|
|
798
|
+
"description": "Interact with other devices or web services during events",
|
|
799
|
+
"expandable": true,
|
|
800
|
+
"expanded": false,
|
|
801
|
+
"items": [
|
|
802
|
+
"webhook_url",
|
|
803
|
+
"webhook_target_home",
|
|
804
|
+
"webhook_target_away",
|
|
805
|
+
"webhook_target_night",
|
|
806
|
+
"webhook_target_off",
|
|
807
|
+
"webhook_current_home",
|
|
808
|
+
"webhook_current_away",
|
|
809
|
+
"webhook_current_night",
|
|
810
|
+
"webhook_current_off",
|
|
811
|
+
"webhook_current_warning",
|
|
812
|
+
"webhook_current_triggered"
|
|
813
|
+
]
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"type": "fieldset",
|
|
817
|
+
"title": "Commands",
|
|
818
|
+
"description": "Execute commands on this device based on events.",
|
|
819
|
+
"expandable": true,
|
|
820
|
+
"expanded": false,
|
|
821
|
+
"items": [
|
|
822
|
+
"command_target_home",
|
|
823
|
+
"command_target_away",
|
|
824
|
+
"command_target_night",
|
|
825
|
+
"command_target_off",
|
|
826
|
+
"command_current_home",
|
|
827
|
+
"command_current_away",
|
|
828
|
+
"command_current_night",
|
|
829
|
+
"command_current_off",
|
|
830
|
+
"command_current_warning",
|
|
831
|
+
"command_current_triggered"
|
|
832
|
+
]
|
|
833
|
+
}
|
|
834
|
+
]
|
|
835
|
+
}
|