forked from misanorot/ioBroker.alarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
io-package.json
887 lines (887 loc) · 23.5 KB
/
io-package.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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
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
437
438
439
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
467
468
469
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
501
502
503
504
505
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
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
666
667
668
669
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
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
{
"common": {
"name": "alarm",
"version": "3.2.0",
"news": {
"3.2.0": {
"en": "Added zones, Added presence simulation, Fixed set numbers, Fixed enableable",
"de": "Zonen hinzugefügt, Präsenzsimulation hinzugefügt, Fixed Setzen von Zahlenwerten, Fixed aktivierbar",
"ru": "Добавленные зоны, Добавлена симуляция присутствия, Фиксированные наборы, Фиксированные включительные",
"pt": "Zonas adicionadas, Simulação de presença adicionada, números fixos, habilitado fixo",
"nl": "Toegevoegd zones, Toegevoegd aanwezigheidssimulatie, gefixeerde setnummers",
"fr": "Zones ajoutées, Ajout d'une simulation de présence, des nombres fixes",
"it": "Zone aggiuntive, Aggiunta simulazione di presenza, Numeri fissi impostati, Fisso abilitabile",
"es": "Zonas agregadas, simulación de presencia agregada, números fijos de conjunto, fijo",
"pl": "Obszary dodane Fixed set number (ang.)",
"uk": "Додані зони, Додано моделювання присутності, Фіксовані номери, Фіксовані ввімкнені",
"zh-cn": "增加区, 增加存在模拟、固定数量、可预测的固定人数"
},
"3.1.1": {
"en": "added time interval for alarm speech output",
"de": "zusätzliches zeitintervall für alarm-sprachausgabe",
"ru": "добавлен интервал времени для вывода речи тревоги",
"pt": "intervalo de tempo adicionado para saída de discurso de alarme",
"nl": "vertaling:",
"fr": "intervalle de temps supplémentaire pour la sortie d'alarme",
"it": "intervallo di tempo aggiunto per l'uscita del discorso di allarme",
"es": "intervalo de tiempo añadido para la salida del habla de alarma",
"pl": "dodać czas trwania mowy alarmowej",
"zh-cn": "警觉产出增加时间"
},
"3.1.0": {
"en": "added speech delay",
"de": "Sprachverzögerung hinzugefügt",
"ru": "добавлена задержка речи",
"pt": "atraso de fala adicionado",
"nl": "spraakvertraging toegevoegd",
"fr": "délai de parole ajouté",
"it": "aggiunto ritardo del discorso",
"es": "retardo de voz añadido",
"pl": "dodano opóźnienie mowy",
"zh-cn": "增加语音延迟"
}
},
"title": "alarm system",
"titleLang": {
"en": "my own little alarm system",
"de": "meine eigene kleine Alarmanlage",
"ru": "моя собственная маленькая сигнализация",
"pt": "meu próprio pequeno sistema de alarme",
"nl": "mijn eigen kleine alarmsysteem",
"fr": "mon propre petit système d'alarme",
"it": "il mio piccolo sistema di allarme",
"es": "mi propio pequeño sistema de alarma",
"pl": "mój własny mały system alarmowy",
"zh-cn": "我自己的小报警系统"
},
"desc": {
"en": "Create your own little alarm system. Configure different alarm circuits with your own states.",
"de": "Erstellen Sie Ihr eigenes kleines Alarmsystem. ",
"ru": "Создайте свою собственную маленькую сигнализацию. ",
"pt": "Crie o seu próprio pequeno sistema de alarme. ",
"nl": "Maak je eigen kleine alarmsysteem. ",
"fr": "Créez votre propre petit système d'alarme. ",
"it": "Crea il tuo piccolo sistema di allarme. ",
"es": "Crea tu propio pequeño sistema de alarma. ",
"pl": "Stwórz swój własny mały system alarmowy. ",
"zh-cn": "创建自己的小型报警系统。"
},
"authors": [
"misanorot <[email protected]>"
],
"keywords": [
"alarm",
"security",
"burglar"
],
"license": "MIT",
"platform": "Javascript/Node.js",
"main": "main.js",
"icon": "alarm.png",
"enabled": true,
"extIcon": "https://raw.githubusercontent.com/misanorot/ioBroker.alarm/master/admin/alarm.png",
"readme": "https://github.com/misanorot/ioBroker.alarm/blob/master/README.md",
"loglevel": "info",
"mode": "daemon",
"type": "alarm",
"compact": false,
"connectionType": "local",
"dataSource": "poll",
"materialize": true,
"dependencies": [
{
"js-controller": ">=1.4.2"
}
]
},
"native": {
"new_version": false,
"circuits": [],
"shorts_in": [],
"shorts": [],
"one": [],
"two": [],
"presence": [],
"presence_activate_delay": 0,
"presence_activate_delay_select": "sec",
"time_activate": 10,
"time_alarm": 60,
"time_silent": 0,
"time_warning": 3,
"time_activate_select": "sec",
"time_alarm_select": "sec",
"time_silent_select": "sec",
"time_warning_select": "sec",
"alarm_flash": 2,
"silent_flash": 2,
"opt_say_night": true,
"opt_night_silent": false,
"opt_say_warn": true,
"opt_say_names": true,
"opt_say_changes": true,
"opt_say_warn_changes": true,
"opt_night": true,
"opt_log": true,
"opt_siren": false,
"opt_leave": false,
"opt_warning": false,
"night_from": "",
"night_to": "",
"send_alarm": true,
"send_alarm_inside": true,
"send_notification_changes": true,
"send_one_changes": true,
"send_two_changes": true,
"send_activation": false,
"send_activation_inside": false,
"send_activation_warnings": true,
"send_activation_warnings_inside": true,
"send_activation_warnings_night": true,
"send_activated_with_warnings": true,
"send_alarm_silent": true,
"send_alarm_silent_inside": true,
"send_failed": true,
"send_zone-one": true,
"send_zone-two": true,
"send_zone-three": true,
"sayit": [],
"text_activated": "Alarmanlage aktiviert",
"text_deactivated": "Alarmanlage deaktiviert",
"text_failed": "Aktivierung fehlgeschlagen",
"text_warning": "Es sind noch Sachen offen",
"text_changes": "Veränderungen erkannt",
"text_changes_night": "Veränderungen erkannt",
"text_alarm": "Verlassen Sie sofort das Haus",
"text_alarm_pause": 5,
"text_nightrest_beginn": "Nachtruhe beginnt",
"text_nightrest_end": "Nachtruhe beendet",
"text_warn_begin": "Scharf intern aktiviert",
"text_warn_end": "Scharf intern deaktiviert",
"text_countdown": "Sekunden bis zur Aktivierung",
"text_one": "Alarmanlage meldet einen Feueralarm:",
"text_two": "Alarmanlage meldet einen Wasseralarm:",
"password": "",
"sendTo": "",
"alarm": "",
"alarm_repeat": "1",
"changes_repeat": "1",
"warning": "",
"night": "",
"log_pass": "Falsches Passwort benutzt!",
"log_act_not": "Alarmanlage kann nicht aktiviert werden, kontrolliere:",
"log_act": "Alarmanlage aktiviert",
"log_warn_act": "Scharf innen aktiviert",
"log_act_warn": "Alarmanlage mit Warnungen aktiviert:",
"log_act_notice": "Es sind noch Sachen offen",
"log_deact": "Alarmanlage deaktiviert",
"log_warn_deact": "Scharf innen deaktiviert",
"log_burgle": "Alarmanlage meldet Einbruch in:",
"log_panic": "Alarmanlage meldet Einbruch durch Panik Schalter",
"log_warn": "Alarmanlage meldet eine Warnung, Veränderung bei:",
"log_night": "Alarmanlage meldet Veränderung während der Nachtruhe bei:",
"log_sleep_b": "Nachtruhe beginnt",
"log_sleep_e": "Nachtruhe endet",
"log_warn_b_w": "Scharf innen beginnt mit Warnungen:",
"log_nights_b_w": "Nachtruhe beginnt mit Warnungen:",
"log_one": "Alarmanlage meldet einen Feueralarm:",
"log_two": "Alarmanlage meldet einen Wasseralarm:",
"one_name": "Feueralarm",
"two_name": "Wasseralarm",
"log_zone_one": "Veränderungen in Zone eins",
"log_zone_two": "Veränderungen in Zone zwei",
"log_zone_three": "Veränderungen in Zone drei",
"opt_telegram": false,
"chatID": "",
"user": ""
},
"objects": [],
"instanceObjects": [
{
"_id": "zone.one",
"type": "state",
"common": {
"role": "",
"name": "Zone1",
"desc": "Changes in zone one detected",
"type": "boolean",
"def": false,
"read": true,
"write": false
},
"native": {}
},
{
"_id": "zone.two",
"type": "state",
"common": {
"role": "",
"name": "Zone2",
"desc": "Changes in zone two detected",
"type": "boolean",
"def": false,
"read": true,
"write": false
},
"native": {}
},
{
"_id": "zone.three",
"type": "state",
"common": {
"role": "",
"name": "Zone3",
"desc": "Changes in zone three detected",
"type": "boolean",
"def": false,
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.activated",
"type": "state",
"common": {
"role": "",
"name": "Activated",
"desc": "Alarm system is activated",
"type": "boolean",
"def": false,
"read": true,
"write": true
},
"native": {}
},
{
"_id": "status.gets_activated",
"type": "state",
"common": {
"role": "",
"name": "Gets activated",
"desc": "Alarm system gets activated",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.deactivated",
"type": "state",
"common": {
"role": "",
"name": "Deactivated",
"desc": "Alarm system is deactivated",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.burglar_alarm",
"type": "state",
"common": {
"role": "",
"name": "Burglary",
"desc": "Alarm system signalled burglary",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.silent_alarm",
"type": "state",
"common": {
"role": "",
"name": "Silent alarm",
"desc": "Alarm system signalled burglary with silent alarm",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.siren",
"type": "state",
"common": {
"role": "",
"name": "Alarm siren",
"desc": "Alarm system has triggered the siren",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.silent_flash",
"type": "state",
"common": {
"role": "",
"name": "Silent flash alarm",
"desc": "Alarm system signalled burglary with silent alarm",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.alarm_flash",
"type": "state",
"common": {
"role": "",
"name": "flash alarm",
"desc": "Alarm system signalled burglary",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.activation_failed",
"type": "state",
"common": {
"role": "",
"name": "Activation failed",
"desc": "Alarm system report activation failed",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.sleep",
"type": "state",
"common": {
"role": "",
"name": "Sleep",
"desc": "The automatic night rest is activated",
"type": "boolean",
"def": false,
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.activated_with_warnings",
"type": "state",
"common": {
"role": "",
"name": "Warnings",
"desc": "Alarm system activated with warnings with open things in the notification circuit",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.state",
"type": "state",
"common": {
"role": "",
"name": "State",
"desc": "State of alarm system",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.state_list",
"type": "state",
"common": {
"role": "",
"name": "State list",
"desc": "State of alarm system (list)",
"type": "number",
"states": {
"0": "deactivated",
"1": "sharp",
"2": "sharp inside",
"3": "burglary",
"4": "night rest",
"5": "gets_activated",
"6": "activation_failed",
"7": "activation_aborted"
},
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.enableable",
"type": "state",
"common": {
"role": "",
"name": "Enableable",
"desc": "Alarm system is sharp enableable",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.activation_countdown",
"type": "state",
"common": {
"role": "",
"name": "Countdown",
"desc": "Time to activate the alarm system",
"type": "number",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.silent_countdown",
"type": "state",
"common": {
"role": "",
"name": "Silent countdown",
"desc": "Time to trigger the alarm system",
"type": "number",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.sharp_inside_activated",
"type": "state",
"common": {
"role": "",
"name": "Sharp inside circuit activated",
"desc": "Sharp inside circuit is activated",
"type": "boolean",
"def": false,
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.list",
"type": "state",
"common": {
"role": "",
"name": "List array",
"desc": "Use diffrent numbers for change the state of the alarm system",
"type": "number",
"states": {
"0": "disable",
"1": "enable",
"2": "sharp inside",
"3": "enable with delay",
"4": "night rest"
},
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.enable",
"type": "state",
"common": {
"role": "button.enable",
"name": "Enable",
"desc": "Enable the alarm system",
"type": "boolean",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.disable",
"type": "state",
"common": {
"role": "button.disable",
"name": "Disable",
"desc": "Disable the alarm system",
"type": "boolean",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.toggle_password",
"type": "state",
"common": {
"role": "switch",
"name": "Disable/Enable",
"desc": "Disable or enable the alarm system with password",
"type": "string",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.activate_nightrest",
"type": "state",
"common": {
"role": "button.activate.nightrest",
"name": "Activate nightrest",
"desc": "Activate nightrest",
"type": "boolean",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.activate_sharp_inside",
"type": "state",
"common": {
"type": "boolean",
"role": "button.activate.sharp_inside",
"name": "Activate sharp inside circuit",
"desc": "Activate sharp inside circuit",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.toggle_with_delay_and_password",
"type": "state",
"common": {
"role": "switch",
"name": "Disable/Enable with delay",
"desc": "Disable or enable the alarm system with delay time and password",
"type": "string",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.enable_with_delay",
"type": "state",
"common": {
"role": "button.enable",
"name": "Enable with delay",
"desc": "Enable the alarm system with delay time",
"type": "boolean",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.quit_changes",
"type": "state",
"common": {
"role": "button.quit",
"name": "Quit changes",
"desc": "Quit changes during night rest and sharp inside",
"type": "boolean",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "use.panic",
"type": "state",
"common": {
"role": "button.panic",
"name": "Panic",
"desc": "Panic button to burgle the alarm system",
"type": "boolean",
"read": true,
"write": true
},
"native": {}
},
{
"_id": "presence.on_off",
"type": "state",
"common": {
"role": "switch",
"name": "Presence simulation",
"desc": "Use presence simulation at sharp",
"type": "boolean",
"def": false,
"read": true,
"write": true
},
"native": {}
},
{
"_id": "homekit.TargetState",
"type": "state",
"common": {
"role": "",
"name": "List array",
"desc": "Use diffrent numbers for change the state of the alarm system (TargetState)",
"type": "number",
"states": {
"0": "stayArm",
"1": "awayArm",
"2": "nightArm",
"3": "disarmed"
},
"read": true,
"write": true
},
"native": {}
},
{
"_id": "homekit.CurrentState",
"type": "state",
"common": {
"role": "",
"name": "State list",
"desc": "State of alarm system (CurrentState)",
"type": "number",
"states": {
"0": "stayArm",
"1": "awayArm",
"2": "nightArm",
"3": "disarmed",
"4": "triggered"
},
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.wrong_password",
"type": "state",
"common": {
"role": "",
"name": "Wrong password",
"desc": "Wrong password used",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "status.siren_inside",
"type": "state",
"common": {
"role": "",
"name": "Sharp inside siren",
"desc": "Changes in sharp inside circuit detected",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.notification_circuit_changes",
"type": "state",
"common": {
"role": "",
"name": "Changes notification circuit",
"desc": "Changes in notification circuit detected",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.notification_circuit_list",
"type": "state",
"common": {
"role": "",
"name": "Notification list",
"desc": "Notification list at sharp, sharp inside and night rest",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.alarm_circuit_list",
"type": "state",
"common": {
"role": "",
"name": "Alarm list",
"desc": "Alarm circuit list.",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.sharp_inside_circuit_list",
"type": "state",
"common": {
"role": "",
"name": "Sharp inside list",
"desc": "Sharp inside circuit list.",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.notification_circuit_list_html",
"type": "state",
"common": {
"role": "",
"name": "Notification list",
"desc": "Notification list at sharp, sharp inside and night rest",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.alarm_circuit_list_html",
"type": "state",
"common": {
"role": "",
"name": "Alarm list",
"desc": "Alarm circuit list.",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.sharp_inside_circuit_list_html",
"type": "state",
"common": {
"role": "",
"name": "Sharp inside list",
"desc": "Sharp inside circuit list.",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.log_today",
"type": "state",
"common": {
"role": "",
"name": "logs today",
"desc": "all logs for today",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "info.log",
"type": "state",
"common": {
"role": "",
"name": "last log",
"desc": "the last log that was oned",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "other_alarms.one_changes",
"type": "state",
"common": {
"role": "",
"name": "Changes one",
"desc": "Signalled changes in other alarm one",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "other_alarms.one_list",
"type": "state",
"common": {
"role": "",
"name": "One list",
"desc": "List other alarms one",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "other_alarms.one_list_html",
"type": "state",
"common": {
"role": "",
"name": "One list html",
"desc": "List other alarms one html",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "other_alarms.two_changes",
"type": "state",
"common": {
"role": "",
"name": "Changes two",
"desc": "Signalled changes in other alarm two",
"type": "boolean",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "other_alarms.two_list",
"type": "state",
"common": {
"role": "",
"name": "Two list",
"desc": "List other alarm two",
"type": "string",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "other_alarms.two_list_html",
"type": "state",
"common": {
"role": "",
"name": "Two list html",
"desc": "List other alarms two html",
"type": "string",
"read": true,
"write": false
},
"native": {}
}
]
}