@zwave-js/config 12.9.1 → 12.10.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.
|
@@ -28,5 +28,16 @@
|
|
|
28
28
|
"metadata": {
|
|
29
29
|
"reset": "Press and hold the button on the control for approximately 15 seconds (the LED will stop flashing when complete.\n\n\n\"Please use this procedure only when the network primary controller is missing or otherwise inoperable.\"",
|
|
30
30
|
"manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/1787/Graber%20Virtual%20Cord%20Owner's%20Manual.pdf"
|
|
31
|
+
},
|
|
32
|
+
"compat": {
|
|
33
|
+
// The device reports version 0 for the Central Scene command class
|
|
34
|
+
"commandClasses": {
|
|
35
|
+
"add": {
|
|
36
|
+
"Central Scene": {
|
|
37
|
+
"isSupported": true,
|
|
38
|
+
"version": 1
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
31
42
|
}
|
|
32
43
|
}
|
|
@@ -954,6 +954,110 @@
|
|
|
954
954
|
}
|
|
955
955
|
]
|
|
956
956
|
},
|
|
957
|
+
// zen16 and zen17 relay devices now (Zen16 FW >=2.0, Zen17 FW >= 1.04) share common definition for switch type (and value inversion) and input trigger duration
|
|
958
|
+
"multi_universal_relay_switch_type": {
|
|
959
|
+
"valueSize": 1,
|
|
960
|
+
"defaultValue": 2,
|
|
961
|
+
"unsigned": true,
|
|
962
|
+
"allowManualEntry": false,
|
|
963
|
+
"options": [
|
|
964
|
+
{
|
|
965
|
+
"label": "Momentary",
|
|
966
|
+
"value": 0
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"label": "Toggle (Follow switch)",
|
|
970
|
+
"value": 1
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"label": "Toggle (Change state on toggle)",
|
|
974
|
+
"value": 2
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"label": "Garage door (Momentary mode for Z-Wave control)",
|
|
978
|
+
"value": 3
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"label": "Leak alarm (Water sensor)",
|
|
982
|
+
"value": 4
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"label": "Heat alarm",
|
|
986
|
+
"value": 5
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"label": "Motion alert",
|
|
990
|
+
"value": 6
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"label": "Open/Close alert (Door sensor)",
|
|
994
|
+
"value": 7
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"label": "CO alarm",
|
|
998
|
+
"value": 8
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"label": "CO2 alarm",
|
|
1002
|
+
"value": 9
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"label": "On/Off report (Dry contact switch/sensor)",
|
|
1006
|
+
"value": 10
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"label": "Garage door mode (Relay), door sensor (Input)",
|
|
1010
|
+
"value": 11
|
|
1011
|
+
}
|
|
1012
|
+
]
|
|
1013
|
+
},
|
|
1014
|
+
"multi_universal_relay_reverse_reported_value": {
|
|
1015
|
+
"valueSize": 1,
|
|
1016
|
+
"defaultValue": 0,
|
|
1017
|
+
"unsigned": true,
|
|
1018
|
+
"allowManualEntry": false,
|
|
1019
|
+
"options": [
|
|
1020
|
+
{
|
|
1021
|
+
"label": "Values not reversed",
|
|
1022
|
+
"value": 0
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"label": "Leak alarm (Water sensor)",
|
|
1026
|
+
"value": 4
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"label": "Heat alarm",
|
|
1030
|
+
"value": 5
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"label": "Motion alert",
|
|
1034
|
+
"value": 6
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"label": "Open/Close alert (Door sensor)",
|
|
1038
|
+
"value": 7
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"label": "CO alarm",
|
|
1042
|
+
"value": 8
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"label": "CO2 alarm",
|
|
1046
|
+
"value": 9
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"label": "On/Off report (Dry contact switch/sensor)",
|
|
1050
|
+
"value": 10
|
|
1051
|
+
}
|
|
1052
|
+
]
|
|
1053
|
+
},
|
|
1054
|
+
"multi_universal_relay_input_trigger_duration": {
|
|
1055
|
+
"valueSize": 1,
|
|
1056
|
+
"unit": "0.1 seconds",
|
|
1057
|
+
"minValue": 1,
|
|
1058
|
+
"maxValue": 100,
|
|
1059
|
+
"defaultValue": 5
|
|
1060
|
+
},
|
|
957
1061
|
"zen16_manual_control": {
|
|
958
1062
|
"valueSize": 1,
|
|
959
1063
|
"defaultValue": 1,
|
|
@@ -70,10 +70,16 @@
|
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"#": "2",
|
|
73
|
-
"$if": "firmwareVersion >= 1.2",
|
|
73
|
+
"$if": "firmwareVersion >= 1.2 && firmwareVersion < 2.0",
|
|
74
74
|
"$import": "templates/zooz_template.json#zen16_switch_type_v2",
|
|
75
75
|
"label": "Switch 1: Type"
|
|
76
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"#": "2",
|
|
79
|
+
"$if": "firmwareVersion >= 2.0",
|
|
80
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_switch_type",
|
|
81
|
+
"label": "Switch 1: Type"
|
|
82
|
+
},
|
|
77
83
|
{
|
|
78
84
|
"#": "3",
|
|
79
85
|
"$if": "firmwareVersion <= 1.1",
|
|
@@ -82,10 +88,16 @@
|
|
|
82
88
|
},
|
|
83
89
|
{
|
|
84
90
|
"#": "3",
|
|
85
|
-
"$if": "firmwareVersion >= 1.2",
|
|
91
|
+
"$if": "firmwareVersion >= 1.2 && firmwareVersion < 2.0",
|
|
86
92
|
"$import": "templates/zooz_template.json#zen16_switch_type_v2",
|
|
87
93
|
"label": "Switch 2: Type"
|
|
88
94
|
},
|
|
95
|
+
{
|
|
96
|
+
"#": "3",
|
|
97
|
+
"$if": "firmwareVersion >= 2.0",
|
|
98
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_switch_type",
|
|
99
|
+
"label": "Switch 2: Type"
|
|
100
|
+
},
|
|
89
101
|
{
|
|
90
102
|
"#": "4",
|
|
91
103
|
"$if": "firmwareVersion <= 1.1",
|
|
@@ -94,10 +106,16 @@
|
|
|
94
106
|
},
|
|
95
107
|
{
|
|
96
108
|
"#": "4",
|
|
97
|
-
"$if": "firmwareVersion >= 1.2",
|
|
109
|
+
"$if": "firmwareVersion >= 1.2 && firmwareVersion < 2.0",
|
|
98
110
|
"$import": "templates/zooz_template.json#zen16_switch_type_v2",
|
|
99
111
|
"label": "Switch 3: Type"
|
|
100
112
|
},
|
|
113
|
+
{
|
|
114
|
+
"#": "4",
|
|
115
|
+
"$if": "firmwareVersion >= 2.0",
|
|
116
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_switch_type",
|
|
117
|
+
"label": "Switch 3: Type"
|
|
118
|
+
},
|
|
101
119
|
{
|
|
102
120
|
"#": "5",
|
|
103
121
|
"label": "LED Indicator",
|
|
@@ -244,7 +262,7 @@
|
|
|
244
262
|
"#": "11",
|
|
245
263
|
"$if": "firmwareVersion >= 1.1",
|
|
246
264
|
"$import": "templates/zooz_template.json#auto_timer_base_0x_1x_3x_7x_nounit",
|
|
247
|
-
"label": "Relay
|
|
265
|
+
"label": "Relay 3: Auto Turn-On Timer",
|
|
248
266
|
"description": "Unit defined in parameter 20."
|
|
249
267
|
},
|
|
250
268
|
{
|
|
@@ -344,10 +362,101 @@
|
|
|
344
362
|
},
|
|
345
363
|
{
|
|
346
364
|
"#": "24",
|
|
347
|
-
"$if": "firmwareVersion >= 1.3",
|
|
365
|
+
"$if": "firmwareVersion >= 1.3 && firmwareVersion < 2.10",
|
|
348
366
|
"$import": "~/templates/master_template.json#base_enable_disable",
|
|
349
367
|
"label": "DC Motor Mode",
|
|
350
368
|
"description": "When enabled only one relay may be on at a time, the other relay is automatically turned off."
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"#": "24",
|
|
372
|
+
"$if": "firmwareVersion >= 2.10",
|
|
373
|
+
"label": "DC Motor Mode",
|
|
374
|
+
"description": "When enabled only one relay may be on at a time, the other relay is automatically turned off.",
|
|
375
|
+
"valueSize": 1,
|
|
376
|
+
"defaultValue": 0,
|
|
377
|
+
"allowManualEntry": false,
|
|
378
|
+
"options": [
|
|
379
|
+
{
|
|
380
|
+
"label": "Disabled (Relays turn on whenever activated)",
|
|
381
|
+
"value": 0
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"label": "Enabled for R1 and R2 (R3 unaffected)",
|
|
385
|
+
"value": 1
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"label": "Enabled for R1, R2, and R3",
|
|
389
|
+
"value": 2
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"#": "25",
|
|
395
|
+
"$if": "firmwareVersion >= 2.0",
|
|
396
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_reverse_reported_value",
|
|
397
|
+
"label": "Switch 1: Reverse Reported Value",
|
|
398
|
+
"description": "Select the same value as in parameter 2 to reverse the values for open and closed circuit."
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"#": "26",
|
|
402
|
+
"$if": "firmwareVersion >= 2.0",
|
|
403
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_reverse_reported_value",
|
|
404
|
+
"label": "Switch 2: Reverse Reported Value",
|
|
405
|
+
"description": "Select the same value as in parameter 3 to reverse the values for open and closed circuit."
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"#": "27",
|
|
409
|
+
"$if": "firmwareVersion >= 2.0",
|
|
410
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_reverse_reported_value",
|
|
411
|
+
"label": "Switch 3: Reverse Reported Value",
|
|
412
|
+
"description": "Select the same value as in parameter 4 to reverse the values for open and closed circuit."
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"#": "28",
|
|
416
|
+
"$if": "firmwareVersion >= 2.10",
|
|
417
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_input_trigger_duration",
|
|
418
|
+
"label": "Switch 1: Trigger Duration",
|
|
419
|
+
"description": "Time SW1 condition must be active before triggering associated action."
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"#": "29",
|
|
423
|
+
"$if": "firmwareVersion >= 2.10",
|
|
424
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_input_trigger_duration",
|
|
425
|
+
"label": "Switch 2: Trigger Duration",
|
|
426
|
+
"description": "Time SW2 condition must be active before triggering associated action."
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"#": "30",
|
|
430
|
+
"$if": "firmwareVersion >= 2.10",
|
|
431
|
+
"$import": "templates/zooz_template.json#multi_universal_relay_input_trigger_duration",
|
|
432
|
+
"label": "Switch 3: Trigger Duration",
|
|
433
|
+
"description": "Time SW3 condition must be active before triggering associated action."
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"#": "31",
|
|
437
|
+
"$if": "firmwareVersion >= 2.10",
|
|
438
|
+
"label": "Input Behavior",
|
|
439
|
+
"valueSize": 1,
|
|
440
|
+
"defaultValue": 0,
|
|
441
|
+
"allowManualEntry": false,
|
|
442
|
+
"options": [
|
|
443
|
+
{
|
|
444
|
+
"label": "SW1 turns R1 on/off, SW2 turns R2 on/off",
|
|
445
|
+
"value": 0
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"label": "SW1 turns R1 on, SW2 turns R1 off",
|
|
449
|
+
"value": 1
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"label": "SW1 turns R2 on, SW2 turns R2 off",
|
|
453
|
+
"value": 2
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"label": "SW1 turns R1 and R2 on, SW2 turns R1 and R2 off",
|
|
457
|
+
"value": 3
|
|
458
|
+
}
|
|
459
|
+
]
|
|
351
460
|
}
|
|
352
461
|
],
|
|
353
462
|
"compat": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zwave-js/config",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.10.0",
|
|
4
4
|
"description": "zwave-js: configuration files",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"test:dirty": "node -r ../../maintenance/esbuild-register.js ../maintenance/src/resolveDirtyTests.ts --run"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@zwave-js/core": "12.
|
|
58
|
+
"@zwave-js/core": "12.10.0",
|
|
59
59
|
"@zwave-js/shared": "12.5.3",
|
|
60
60
|
"alcalzone-shared": "^4.0.8",
|
|
61
61
|
"ansi-colors": "^4.1.3",
|
|
62
62
|
"fs-extra": "^11.2.0",
|
|
63
63
|
"json-logic-js": "^2.0.2",
|
|
64
64
|
"json5": "^2.2.3",
|
|
65
|
-
"semver": "^7.6.
|
|
65
|
+
"semver": "^7.6.2",
|
|
66
66
|
"winston": "^3.13.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@types/sinon": "^17.0.3",
|
|
77
77
|
"@types/xml2js": "^0.4.14",
|
|
78
78
|
"@types/yargs": "^17.0.32",
|
|
79
|
-
"@zwave-js/maintenance": "12.
|
|
79
|
+
"@zwave-js/maintenance": "12.10.0",
|
|
80
80
|
"ava": "^6.1.2",
|
|
81
81
|
"comment-json": "^4.2.3",
|
|
82
82
|
"del-cli": "^5.1.0",
|