@zwave-js/config 8.11.0 → 8.11.2

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.
@@ -56,11 +56,11 @@
56
56
  "value": 2
57
57
  },
58
58
  {
59
- "label": "Relays 1/2 - Previous state; Relays 3/4 - Off",
59
+ "label": "Relays 1/2 - Previous state; Relay 3 - Off",
60
60
  "value": 3
61
61
  },
62
62
  {
63
- "label": "Relays 1/2 - Previous state, Relays 3/4 - On",
63
+ "label": "Relays 1/2 - Previous state, Relay 3 - On",
64
64
  "value": 4
65
65
  }
66
66
  ]
@@ -68,8 +68,7 @@
68
68
  {
69
69
  "#": "2",
70
70
  "$if": "firmwareVersion <= 1.1",
71
- "label": "Switch Type for Relay 1 (Sw1)",
72
- "description": "Choose the wall switch type you want to connect to the Sw1 terminal.",
71
+ "label": "Switch 1: Type",
73
72
  "valueSize": 1,
74
73
  "minValue": 0,
75
74
  "maxValue": 3,
@@ -78,15 +77,15 @@
78
77
  "allowManualEntry": false,
79
78
  "options": [
80
79
  {
81
- "label": "Momentary Switch",
80
+ "label": "Momentary",
82
81
  "value": 0
83
82
  },
84
83
  {
85
- "label": "Toggle switch (follow switch)",
84
+ "label": "Toggle (follow switch)",
86
85
  "value": 1
87
86
  },
88
87
  {
89
- "label": "Toggle switch (change state on toggle)",
88
+ "label": "Toggle (change state on toggle)",
90
89
  "value": 2
91
90
  }
92
91
  ]
@@ -94,8 +93,7 @@
94
93
  {
95
94
  "#": "2",
96
95
  "$if": "firmwareVersion >= 1.2",
97
- "label": "Switch Type for Relay 1 (Sw1)",
98
- "description": "Choose the wall switch type you want to connect to the Sw1 terminal.",
96
+ "label": "Switch 1: Type",
99
97
  "valueSize": 1,
100
98
  "minValue": 0,
101
99
  "maxValue": 3,
@@ -104,15 +102,15 @@
104
102
  "allowManualEntry": false,
105
103
  "options": [
106
104
  {
107
- "label": "Momentary Switch",
105
+ "label": "Momentary",
108
106
  "value": 0
109
107
  },
110
108
  {
111
- "label": "Toggle switch (follow switch)",
109
+ "label": "Toggle (follow switch)",
112
110
  "value": 1
113
111
  },
114
112
  {
115
- "label": "Toggle switch (change state on toggle)",
113
+ "label": "Toggle (change state on toggle)",
116
114
  "value": 2
117
115
  },
118
116
  {
@@ -124,8 +122,7 @@
124
122
  {
125
123
  "#": "3",
126
124
  "$if": "firmwareVersion <= 1.1",
127
- "label": "Switch Type for Relay 2 (Sw2)",
128
- "description": "Choose the wall switch type you want to connect to the Sw2 terminal.",
125
+ "label": "Switch 2: Type",
129
126
  "valueSize": 1,
130
127
  "minValue": 0,
131
128
  "maxValue": 3,
@@ -134,15 +131,15 @@
134
131
  "allowManualEntry": false,
135
132
  "options": [
136
133
  {
137
- "label": "Momentary Switch",
134
+ "label": "Momentary",
138
135
  "value": 0
139
136
  },
140
137
  {
141
- "label": "Toggle switch (follow switch)",
138
+ "label": "Toggle (follow switch)",
142
139
  "value": 1
143
140
  },
144
141
  {
145
- "label": "Toggle switch (change state on toggle)",
142
+ "label": "Toggle (change state on toggle)",
146
143
  "value": 2
147
144
  }
148
145
  ]
@@ -150,8 +147,7 @@
150
147
  {
151
148
  "#": "3",
152
149
  "$if": "firmwareVersion >= 1.2",
153
- "label": "Switch Type for Relay 2 (Sw2)",
154
- "description": "Choose the wall switch type you want to connect to the Sw2 terminal.",
150
+ "label": "Switch 2: Type",
155
151
  "valueSize": 1,
156
152
  "minValue": 0,
157
153
  "maxValue": 3,
@@ -160,15 +156,15 @@
160
156
  "allowManualEntry": false,
161
157
  "options": [
162
158
  {
163
- "label": "Momentary Switch",
159
+ "label": "Momentary",
164
160
  "value": 0
165
161
  },
166
162
  {
167
- "label": "Toggle switch (follow switch)",
163
+ "label": "Toggle (follow switch)",
168
164
  "value": 1
169
165
  },
170
166
  {
171
- "label": "Toggle switch (change state on toggle)",
167
+ "label": "Toggle (change state on toggle)",
172
168
  "value": 2
173
169
  },
174
170
  {
@@ -179,8 +175,7 @@
179
175
  },
180
176
  {
181
177
  "#": "4",
182
- "label": "Switch Type for Relay 3 (Sw3)",
183
- "description": "Choose the wall switch type you want to connect to the Sw3 terminal.",
178
+ "label": "Switch 3: Type",
184
179
  "valueSize": 1,
185
180
  "minValue": 0,
186
181
  "maxValue": 3,
@@ -189,23 +184,22 @@
189
184
  "allowManualEntry": false,
190
185
  "options": [
191
186
  {
192
- "label": "Momentary Switch",
187
+ "label": "Momentary",
193
188
  "value": 0
194
189
  },
195
190
  {
196
- "label": "Toggle switch (follow switch)",
191
+ "label": "Toggle (follow switch)",
197
192
  "value": 1
198
193
  },
199
194
  {
200
- "label": "Toggle switch (change state on toggle)",
195
+ "label": "Toggle (change state on toggle)",
201
196
  "value": 2
202
197
  }
203
198
  ]
204
199
  },
205
200
  {
206
201
  "#": "5",
207
- "label": "LED Indicator Control",
208
- "description": "Choose the LED indicator behavior",
202
+ "label": "LED Indicator",
209
203
  "valueSize": 1,
210
204
  "minValue": 0,
211
205
  "maxValue": 3,
@@ -218,7 +212,7 @@
218
212
  "value": 0
219
213
  },
220
214
  {
221
- "label": "On when any relays is on",
215
+ "label": "On when any relay is on",
222
216
  "value": 1
223
217
  },
224
218
  {
@@ -233,8 +227,32 @@
233
227
  },
234
228
  {
235
229
  "#": "6",
236
- "label": "Auto Turn-Off Timer for Relay 1",
237
- "description": "Sets the time after which you want relay 1 to automatically turn off once it has been turned on.",
230
+ "$if": "firmwareVersion < 1.1",
231
+ "label": "Relay 1: Auto Turn-Off Timer",
232
+ "description": "Sets the time after which relay 1 turns off once it has been turned on.",
233
+ "unit": "minutes",
234
+ "valueSize": 4,
235
+ "minValue": 0,
236
+ "maxValue": 65535,
237
+ "defaultValue": 0,
238
+ "unsigned": true
239
+ },
240
+ {
241
+ "#": "6",
242
+ "$if": "firmwareVersion >= 1.1",
243
+ "label": "Relay 1: Auto Turn-Off Timer",
244
+ "description": "Sets the time after which relay 1 turns off once it has been turned on. Using the units defined in parameter 15.",
245
+ "valueSize": 4,
246
+ "minValue": 0,
247
+ "maxValue": 65535,
248
+ "defaultValue": 0,
249
+ "unsigned": true
250
+ },
251
+ {
252
+ "#": "7",
253
+ "$if": "firmwareVersion < 1.1",
254
+ "label": "Relay 1: Auto Turn-On Timer",
255
+ "description": "Sets the time after which relay 1 turns on once it has been turned off.",
238
256
  "valueSize": 4,
239
257
  "minValue": 0,
240
258
  "maxValue": 65535,
@@ -243,8 +261,21 @@
243
261
  },
244
262
  {
245
263
  "#": "7",
246
- "label": "Auto Turn-On Timer for Relay 1",
247
- "description": "Sets the time after which you want relay 1 to automatically turn off once it has been turned on, using the unit defined in parameter 16.",
264
+ "$if": "firmwareVersion >= 1.1",
265
+ "label": "Relay 1: Auto Turn-On Timer",
266
+ "description": "Sets the time after which relay 1 turns on once it has been turned off. Using the units defined in parameter 16.",
267
+ "valueSize": 4,
268
+ "minValue": 0,
269
+ "maxValue": 65535,
270
+ "defaultValue": 0,
271
+ "unsigned": true
272
+ },
273
+ {
274
+ "#": "8",
275
+ "$if": "firmwareVersion < 1.1",
276
+ "label": "Relay 2: Auto Turn-Off Timer",
277
+ "description": "Sets the time after which relay 2 turns off once it has been turned on.",
278
+ "unit": "minutes",
248
279
  "valueSize": 4,
249
280
  "minValue": 0,
250
281
  "maxValue": 65535,
@@ -253,8 +284,20 @@
253
284
  },
254
285
  {
255
286
  "#": "8",
256
- "label": "Auto Turn-Off Timer for Relay 2",
257
- "description": "Sets the time after which you want relay 1 to automatically turn off once it has been turned on.",
287
+ "$if": "firmwareVersion >= 1.1",
288
+ "label": "Relay 2: Auto Turn-Off Timer",
289
+ "description": "Sets the time after which relay 2 turns off once it has been turned on. Using the units defined in parameter 17.",
290
+ "valueSize": 4,
291
+ "minValue": 0,
292
+ "maxValue": 65535,
293
+ "defaultValue": 0,
294
+ "unsigned": true
295
+ },
296
+ {
297
+ "#": "9",
298
+ "$if": "firmwareVersion < 1.1",
299
+ "label": "Relay 2: Auto Turn-On Timer",
300
+ "description": "Sets the time after which relay 2 turns on once it has been turned off.",
258
301
  "valueSize": 4,
259
302
  "minValue": 0,
260
303
  "maxValue": 65535,
@@ -263,8 +306,21 @@
263
306
  },
264
307
  {
265
308
  "#": "9",
266
- "label": "Auto Turn-On Timer for Relay 2",
267
- "description": "Sets the time after which you want relay 1 to automatically turn off once it has been turned on.",
309
+ "$if": "firmwareVersion >= 1.1",
310
+ "label": "Relay 2: Auto Turn-On Timer",
311
+ "description": "Sets the time after which relay 2 turns on once it has been turned off. Using the units defined in parameter 18.",
312
+ "valueSize": 4,
313
+ "minValue": 0,
314
+ "maxValue": 65535,
315
+ "defaultValue": 0,
316
+ "unsigned": true
317
+ },
318
+ {
319
+ "#": "10",
320
+ "$if": "firmwareVersion < 1.1",
321
+ "label": "Relay 3: Auto Turn-Off Timer",
322
+ "description": "Sets the time after which relay 3 turns off once it has been turned on.",
323
+ "unit": "minutes",
268
324
  "valueSize": 4,
269
325
  "minValue": 0,
270
326
  "maxValue": 65535,
@@ -273,8 +329,9 @@
273
329
  },
274
330
  {
275
331
  "#": "10",
276
- "label": "Auto Turn-Off Timer for Relay 3",
277
- "description": "Sets the time after which you want relay 1 to automatically turn off once it has been turned on.",
332
+ "$if": "firmwareVersion >= 1.1",
333
+ "label": "Relay 3: Auto Turn-Off Timer",
334
+ "description": "Sets the time after which relay 3 turns off once it has been turned on. Using the units defined in parameter 19.",
278
335
  "valueSize": 4,
279
336
  "minValue": 0,
280
337
  "maxValue": 65535,
@@ -283,18 +340,37 @@
283
340
  },
284
341
  {
285
342
  "#": "11",
286
- "label": "Auto Turn-On Timer for Relay 3",
287
- "description": "Sets the time after which you want relay 1 to automatically turn off once it has been turned on.",
343
+ "$if": "firmwareVersion < 1.1",
344
+ "label": "Relay 3: Auto Turn-On Timer",
345
+ "description": "Sets the time after which relay 3 turns on once it has been turned off.",
288
346
  "valueSize": 4,
289
347
  "minValue": 0,
290
348
  "maxValue": 65535,
291
349
  "defaultValue": 0,
292
350
  "unsigned": true
293
351
  },
352
+ {
353
+ "#": "11",
354
+ "$if": "firmwareVersion >= 1.1",
355
+ "label": "Relay 3: Auto Turn-On Timer",
356
+ "description": "Sets the time after which relay 3 turns on once it has been turned off. Using the units defined in parameter 20.",
357
+ "valueSize": 4,
358
+ "minValue": 0,
359
+ "maxValue": 65535,
360
+ "defaultValue": 0,
361
+ "unsigned": true
362
+ },
363
+ {
364
+ "#": "12",
365
+ "$if": "firmwareVersion < 1.2",
366
+ "label": "Switch 1: Manual Control",
367
+ "$import": "~/templates/master_template.json#base_enable_disable",
368
+ "defaultValue": 1
369
+ },
294
370
  {
295
371
  "#": "12",
296
- "label": "Enable/Disable Manual Control for SW1",
297
- "description": "Determine whether you can control the indicated switch manually.",
372
+ "$if": "firmwareVersion >= 1.2",
373
+ "label": "Switch 1: Manual Control",
298
374
  "valueSize": 1,
299
375
  "minValue": 0,
300
376
  "maxValue": 2,
@@ -303,19 +379,30 @@
303
379
  "allowManualEntry": false,
304
380
  "options": [
305
381
  {
306
- "label": "Disabled",
382
+ "label": "Disable",
307
383
  "value": 0
308
384
  },
309
385
  {
310
- "label": "Enabled",
386
+ "label": "Enable",
311
387
  "value": 1
388
+ },
389
+ {
390
+ "label": "Disable (with switch reports)",
391
+ "value": 2
312
392
  }
313
393
  ]
314
394
  },
315
395
  {
316
396
  "#": "13",
317
- "label": "Enable/Disable Manual Control for SW2",
318
- "description": "Determine whether you can control the indicated switch manually.",
397
+ "$if": "firmwareVersion < 1.2",
398
+ "label": "Switch 2: Manual Control",
399
+ "$import": "~/templates/master_template.json#base_enable_disable",
400
+ "defaultValue": 1
401
+ },
402
+ {
403
+ "#": "13",
404
+ "$if": "firmwareVersion >= 1.2",
405
+ "label": "Switch 2: Manual Control",
319
406
  "valueSize": 1,
320
407
  "minValue": 0,
321
408
  "maxValue": 2,
@@ -324,19 +411,30 @@
324
411
  "allowManualEntry": false,
325
412
  "options": [
326
413
  {
327
- "label": "Disabled",
414
+ "label": "Disable",
328
415
  "value": 0
329
416
  },
330
417
  {
331
- "label": "Enabled",
418
+ "label": "Enable",
332
419
  "value": 1
420
+ },
421
+ {
422
+ "label": "Disable (with switch reports)",
423
+ "value": 2
333
424
  }
334
425
  ]
335
426
  },
336
427
  {
337
428
  "#": "14",
338
- "label": "Enable/Disable Manual Control for SW3",
339
- "description": "Determine whether you can control the indicated switch manually.",
429
+ "$if": "firmwareVersion < 1.2",
430
+ "label": "Switch 3: Manual Control",
431
+ "$import": "~/templates/master_template.json#base_enable_disable",
432
+ "defaultValue": 1
433
+ },
434
+ {
435
+ "#": "14",
436
+ "$if": "firmwareVersion >= 1.2",
437
+ "label": "Switch 3: Manual Control",
340
438
  "valueSize": 1,
341
439
  "minValue": 0,
342
440
  "maxValue": 2,
@@ -345,20 +443,23 @@
345
443
  "allowManualEntry": false,
346
444
  "options": [
347
445
  {
348
- "label": "Disabled",
446
+ "label": "Disable",
349
447
  "value": 0
350
448
  },
351
449
  {
352
- "label": "Enabled",
450
+ "label": "Enable",
353
451
  "value": 1
452
+ },
453
+ {
454
+ "label": "Disable (with switch reports)",
455
+ "value": 2
354
456
  }
355
457
  ]
356
458
  },
357
459
  {
358
460
  "#": "15",
359
461
  "$if": "firmwareVersion >= 1.1",
360
- "label": "Auto Turn-Off Timer Unit for Relay 1",
361
- "description": "Choose between second, minutes, and hours as the unit for Auto Turn-Off time for Relay 1.",
462
+ "label": "Relay 1: Auto Turn-Off Timer Unit",
362
463
  "valueSize": 1,
363
464
  "minValue": 0,
364
465
  "maxValue": 2,
@@ -383,8 +484,7 @@
383
484
  {
384
485
  "#": "16",
385
486
  "$if": "firmwareVersion >= 1.1",
386
- "label": "Auto Turn-On Timer Unit for Relay 1",
387
- "description": "Choose between second, minutes, and hours as the unit for Auto Turn-On time for Relay 1.",
487
+ "label": "Relay 1: Auto Turn-On Timer Unit",
388
488
  "valueSize": 1,
389
489
  "minValue": 0,
390
490
  "maxValue": 2,
@@ -409,8 +509,7 @@
409
509
  {
410
510
  "#": "17",
411
511
  "$if": "firmwareVersion >= 1.1",
412
- "label": "Auto Turn-Off Timer Unit for Relay 2",
413
- "description": "Choose between second, minutes, and hours as the unit for Auto Turn-Off time for Relay 2. Default: minutes",
512
+ "label": "Relay 2: Auto Turn-Off Timer Unit",
414
513
  "valueSize": 1,
415
514
  "minValue": 0,
416
515
  "maxValue": 2,
@@ -435,8 +534,7 @@
435
534
  {
436
535
  "#": "18",
437
536
  "$if": "firmwareVersion >= 1.1",
438
- "label": "Auto Turn-On Timer Unit for Relay 2",
439
- "description": "Choose between second, minutes, and hours as the unit for Auto Turn-On time for Relay 2.",
537
+ "label": "Relay 2: Auto Turn-On Timer Unit",
440
538
  "valueSize": 1,
441
539
  "minValue": 0,
442
540
  "maxValue": 2,
@@ -461,8 +559,7 @@
461
559
  {
462
560
  "#": "19",
463
561
  "$if": "firmwareVersion >= 1.1",
464
- "label": "Auto Turn-Off Timer Unit for Relay 3",
465
- "description": "Choose between second, minutes, and hours as the unit for Auto Turn-Off time for Relay 3.",
562
+ "label": "Relay 3: Auto Turn-Off Timer Unit",
466
563
  "valueSize": 1,
467
564
  "minValue": 0,
468
565
  "maxValue": 2,
@@ -487,8 +584,7 @@
487
584
  {
488
585
  "#": "20",
489
586
  "$if": "firmwareVersion >= 1.1",
490
- "label": "Auto Turn-On Timer Unit for Relay 3",
491
- "description": "Choose between second, minutes, and hours as the unit for Auto Turn-On time for Relay 3.",
587
+ "label": "Relay 3: Auto Turn-On Timer Unit",
492
588
  "valueSize": 1,
493
589
  "minValue": 0,
494
590
  "maxValue": 2,
@@ -513,8 +609,7 @@
513
609
  {
514
610
  "#": "21",
515
611
  "$if": "firmwareVersion >= 1.3",
516
- "label": "Normally open/close state for Relay 1",
517
- "description": "Decide whether you'd like Relay 1 to be normally open (NO) or normally closed (NC).",
612
+ "label": "Relay 1: Type",
518
613
  "valueSize": 1,
519
614
  "minValue": 0,
520
615
  "maxValue": 2,
@@ -523,15 +618,15 @@
523
618
  "allowManualEntry": false,
524
619
  "options": [
525
620
  {
526
- "label": "Normally open (reports off when switch is off / on when switch is on)",
621
+ "label": "Normally open (reports off when relay is open / on when relay is closed)",
527
622
  "value": 0
528
623
  },
529
624
  {
530
- "label": "Normally closed (reports off when is on / on when switch is off)",
625
+ "label": "Normally closed (reports off when relay is open / on when relay is closed)",
531
626
  "value": 1
532
627
  },
533
628
  {
534
- "label": "Normally closed (reports off when switch is off / on when switch is on)",
629
+ "label": "Normally closed (reports off when relay is closed / on when relay is open)",
535
630
  "value": 2
536
631
  }
537
632
  ]
@@ -539,8 +634,7 @@
539
634
  {
540
635
  "#": "22",
541
636
  "$if": "firmwareVersion >= 1.3",
542
- "label": "Normally open/close state for Relay 2",
543
- "description": "Decide whether you'd like Relay 2 to be normally open (NO) or normally closed (NC).",
637
+ "label": "Relay 2: Type",
544
638
  "valueSize": 1,
545
639
  "minValue": 0,
546
640
  "maxValue": 2,
@@ -549,15 +643,15 @@
549
643
  "allowManualEntry": false,
550
644
  "options": [
551
645
  {
552
- "label": "Normally open (reports off when switch is off / on when switch is on)",
646
+ "label": "Normally open (reports off when relay is open / on when relay is closed)",
553
647
  "value": 0
554
648
  },
555
649
  {
556
- "label": "Normally closed (reports off when is on / on when switch is off)",
650
+ "label": "Normally closed (reports off when relay is open / on when relay is closed)",
557
651
  "value": 1
558
652
  },
559
653
  {
560
- "label": "Normally closed (reports off when switch is off / on when switch is on)",
654
+ "label": "Normally closed (reports off when relay is closed / on when relay is open)",
561
655
  "value": 2
562
656
  }
563
657
  ]
@@ -565,8 +659,7 @@
565
659
  {
566
660
  "#": "23",
567
661
  "$if": "firmwareVersion >= 1.3",
568
- "label": "Normally open/close state for Relay 3",
569
- "description": "Decide whether you'd like Relay 3 to be normally open (NO) or normally closed (NC).",
662
+ "label": "Relay 3: Type",
570
663
  "valueSize": 1,
571
664
  "minValue": 0,
572
665
  "maxValue": 2,
@@ -575,15 +668,15 @@
575
668
  "allowManualEntry": false,
576
669
  "options": [
577
670
  {
578
- "label": "Normally open (reports off when switch is off / on when switch is on)",
671
+ "label": "Normally open (reports off when relay is open / on when relay is closed)",
579
672
  "value": 0
580
673
  },
581
674
  {
582
- "label": "Normally closed (reports off when is on / on when switch is off)",
675
+ "label": "Normally closed (reports off when relay is open / on when relay is closed)",
583
676
  "value": 1
584
677
  },
585
678
  {
586
- "label": "Normally closed (reports off when switch is off / on when switch is on)",
679
+ "label": "Normally closed (reports off when relay is closed / on when relay is open)",
587
680
  "value": 2
588
681
  }
589
682
  ]
@@ -593,22 +686,7 @@
593
686
  "$if": "firmwareVersion >= 1.3",
594
687
  "label": "DC Motor Mode",
595
688
  "description": "When enabled only one relay may be on at a time, the other relay is automatically turned off.",
596
- "valueSize": 1,
597
- "minValue": 0,
598
- "maxValue": 1,
599
- "defaultValue": 0,
600
- "unsigned": true,
601
- "allowManualEntry": false,
602
- "options": [
603
- {
604
- "label": "Disabled",
605
- "value": 0
606
- },
607
- {
608
- "label": "Enabled",
609
- "value": 1
610
- }
611
- ]
689
+ "$import": "~/templates/master_template.json#base_enable_disable"
612
690
  }
613
691
  ],
614
692
  "compat": {