@zwave-js/config 9.0.5 → 9.0.7

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "auto_timer_base": {
3
- "unit": "minutes",
4
3
  "valueSize": 4,
4
+ "unit": "minutes",
5
5
  "minValue": 0,
6
6
  "maxValue": 65535,
7
7
  "defaultValue": 0,
@@ -21,6 +21,38 @@
21
21
  "label": "Auto Turn-On Timer",
22
22
  "$import": "#auto_timer_base"
23
23
  },
24
+ "auto_timer_variable_unit_base": {
25
+ "$import": "#auto_timer_base",
26
+ "valueSize": 2,
27
+ "unit": "min/sec",
28
+ "description": "Unit is minutes or seconds, depending on time unit parameter"
29
+ },
30
+ "auto_off_timer_variable_unit": {
31
+ "label": "Auto Turn-Off Timer",
32
+ "$import": "#auto_timer_variable_unit_base"
33
+ },
34
+ "auto_on_timer_variable_unit": {
35
+ "label": "Auto Turn-On Timer",
36
+ "$import": "#auto_timer_variable_unit_base"
37
+ },
38
+ "auto_timer_unit_select": {
39
+ "valueSize": 1,
40
+ "minValue": 1,
41
+ "maxValue": 2,
42
+ "defaultValue": 1,
43
+ "unsigned": true,
44
+ "options": [
45
+ {
46
+ "label": "Minutes",
47
+ "value": 1
48
+ },
49
+ {
50
+ "label": "Seconds",
51
+ "value": 2
52
+ }
53
+ ],
54
+ "label": "Auto Timer Time Unit"
55
+ },
24
56
  "enable_scene_control": {
25
57
  "$import": "~/templates/master_template.json#base_enable_disable",
26
58
  "label": "Enable/Disable Scene Control",
@@ -252,6 +284,88 @@
252
284
  }
253
285
  ]
254
286
  },
287
+ "external_switch_type_0-3": {
288
+ "label": "External Switch Type",
289
+ "valueSize": 1,
290
+ "unsigned": true,
291
+ "minValue": 0,
292
+ "maxValue": 3,
293
+ "defaultValue": 2,
294
+ "allowManualEntry": false,
295
+ "options": [
296
+ {
297
+ "label": "Toggle switch",
298
+ "value": 0
299
+ },
300
+ {
301
+ "label": "Momentary switch",
302
+ "value": 1
303
+ },
304
+ {
305
+ "label": "Toggle switch with fixed actions",
306
+ "value": 2
307
+ },
308
+ {
309
+ "label": "Split 3-Way",
310
+ "value": 3
311
+ }
312
+ ]
313
+ },
314
+ "external_switch_type_0-4": {
315
+ "$import": "#external_switch_type_0-3",
316
+ "maxValue": 4,
317
+ "options": [
318
+ {
319
+ "label": "Toggle switch",
320
+ "value": 0
321
+ },
322
+ {
323
+ "label": "Momentary switch",
324
+ "value": 1
325
+ },
326
+ {
327
+ "label": "Toggle switch with fixed actions",
328
+ "value": 2
329
+ },
330
+ {
331
+ "label": "Split 3-Way",
332
+ "value": 3
333
+ },
334
+ {
335
+ "label": "Garage door mode (momentary)",
336
+ "value": 4
337
+ }
338
+ ]
339
+ },
340
+ "impulse_duration": {
341
+ "label": "Impulse Duration",
342
+ "description": "Expected duration of the impulse in Split 3-Way mode",
343
+ "valueSize": 1,
344
+ "unit": "seconds",
345
+ "minValue": 2,
346
+ "maxValue": 200,
347
+ "defaultValue": 10,
348
+ "unsigned": true
349
+ },
350
+ "relay_type_behavior": {
351
+ "label": "Relay Type",
352
+ "valueSize": 1,
353
+ "minValue": 0,
354
+ "maxValue": 1,
355
+ "defaultValue": 0,
356
+ "unsigned": true,
357
+ "allowManualEntry": false,
358
+ "options": [
359
+ {
360
+ "label": "Normally open (off when relay is open)",
361
+ "value": 0
362
+ },
363
+ {
364
+ "label": "Normally closed",
365
+ "value": 1
366
+ }
367
+ ]
368
+ },
255
369
  "paddle_programming": {
256
370
  "label": "Paddle Programming",
257
371
  "description": "Disables inclusion/exclusion commands on paddle for use with scene controls.",
@@ -270,5 +384,10 @@
270
384
  "value": 1
271
385
  }
272
386
  ]
387
+ },
388
+ "zen5x_metadata": {
389
+ "inclusion": "1. Initiate inclusion (pairing) in the app (or web interface).\n2. TAP UP 3 TIMES QUICKLY if using traditional Z-Wave inclusion. \nSCAN THE QR CODE / ENTER THE 5-DIGIT PIN if using the new SmartStart method. The SmartStart security PIN is located on the back of the relay, next to the Z-Wave Plus logo.\n3. The LED indicator will blink green to signal communication and turn green for 2 seconds if inclusion is successful or turn red for 2 seconds if the pairing attempt fails",
390
+ "exclusion": "1. Bring your Z-Wave gateway (hub) close to the relay if possible\n2. Put the Z-Wave hub into exclusion mode (not sure how to do that? ask@getzooz.com) \n3. Click the Z-Wave button on the relay 3 times quickly (the LED indicator will start blinking green)\n4. Your hub will confirm exclusion, the LED indicator on the relay will turn green for 2 seconds, and the device will disappear from your controller's device list",
391
+ "reset": "If your primary controller is missing or inoperable, you may need to reset the device to factory settings. To reset the relay, click the Z-Wave button twice and hold it for 15 seconds. The LED indicator will flash during the process and turn red for 3 seconds to confirm successful reset."
273
392
  }
274
393
  }
@@ -470,6 +470,47 @@
470
470
  "value": 2
471
471
  }
472
472
  ]
473
+ },
474
+ {
475
+ "#": "28",
476
+ "$if": "firmwareVersion >= 1.2",
477
+ "label": "Scene Control (Dimmer)",
478
+ "valueSize": 1,
479
+ "defaultValue": 1,
480
+ "allowManualEntry": false,
481
+ "options": [
482
+ {
483
+ "label": "Disable",
484
+ "value": 0
485
+ },
486
+ {
487
+ "label": "Enable",
488
+ "value": 1
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "#": "29",
494
+ "$if": "firmwareVersion >= 1.2",
495
+ "label": "Scene Control (Relay)",
496
+ "valueSize": 1,
497
+ "defaultValue": 1,
498
+ "allowManualEntry": false,
499
+ "options": [
500
+ {
501
+ "label": "Disable",
502
+ "value": 0
503
+ },
504
+ {
505
+ "label": "Enable",
506
+ "value": 1
507
+ }
508
+ ]
509
+ },
510
+ {
511
+ "#": "30",
512
+ "$if": "firmwareVersion >= 1.2",
513
+ "$import": "~/0x027a/templates/zooz_template.json#paddle_programming"
473
514
  }
474
515
  ],
475
516
  "metadata": {
@@ -0,0 +1,78 @@
1
+ {
2
+ "manufacturer": "Zooz",
3
+ "manufacturerId": "0x027a",
4
+ "label": "ZEN51",
5
+ "description": "Z-Wave Plus 700 Series Dry Contact Relay",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0104",
9
+ "productId": "0x0201",
10
+ "zwaveAllianceId": 4610
11
+ }
12
+ ],
13
+ "firmwareVersion": {
14
+ "min": "0.0",
15
+ "max": "255.255"
16
+ },
17
+ "associations": {
18
+ "1": {
19
+ "label": "Lifeline",
20
+ "maxNodes": 5,
21
+ "isLifeline": true
22
+ },
23
+ "2": {
24
+ "label": "On/Off Control",
25
+ "maxNodes": 5
26
+ }
27
+ },
28
+ "paramInformation": [
29
+ {
30
+ "#": "1",
31
+ "$import": "~/templates/master_template.json#enable_led_indicator"
32
+ },
33
+ {
34
+ "#": "2",
35
+ "$import": "templates/zooz_template.json#auto_off_timer_variable_unit"
36
+ },
37
+ {
38
+ "#": "3",
39
+ "$import": "templates/zooz_template.json#auto_on_timer_variable_unit"
40
+ },
41
+ {
42
+ "#": "10",
43
+ "$import": "templates/zooz_template.json#auto_timer_unit_select"
44
+ },
45
+ {
46
+ "#": "4",
47
+ "$import": "~/templates/master_template.json#state_after_power_failure_off_on_prev"
48
+ },
49
+ {
50
+ "#": "5",
51
+ "$import": "templates/zooz_template.json#enable_scene_control"
52
+ },
53
+ {
54
+ "#": "6",
55
+ "$import": "~/templates/master_template.json#smart_switch_mode_0-2"
56
+ },
57
+ {
58
+ "#": "7",
59
+ "$import": "templates/zooz_template.json#external_switch_type_0-4"
60
+ },
61
+ {
62
+ "#": "8",
63
+ "$import": "templates/zooz_template.json#association_reports"
64
+ },
65
+ {
66
+ "#": "9",
67
+ "$import": "templates/zooz_template.json#relay_type_behavior"
68
+ },
69
+ {
70
+ "#": "11",
71
+ "$import": "templates/zooz_template.json#impulse_duration"
72
+ }
73
+ ],
74
+ "metadata": {
75
+ "$import": "templates/zooz_template.json#zen5x_metadata",
76
+ "manual": "https://cdn.shopify.com/s/files/1/0218/7704/files/zooz-700-series-z-wave-plus-dry-contact-relay-zen51-manual.pdf"
77
+ }
78
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "manufacturer": "Zooz",
3
+ "manufacturerId": "0x027a",
4
+ "label": "ZEN52",
5
+ "description": "Z-Wave Plus 700 Series Double Relay",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0104",
9
+ "productId": "0x0202",
10
+ "zwaveAllianceId": 4609
11
+ }
12
+ ],
13
+ "firmwareVersion": {
14
+ "min": "0.0",
15
+ "max": "255.255"
16
+ },
17
+ "associations": {
18
+ "1": {
19
+ "label": "Lifeline",
20
+ "maxNodes": 5,
21
+ "isLifeline": true
22
+ },
23
+ "2": {
24
+ "label": "On/Off Control",
25
+ "maxNodes": 5
26
+ }
27
+ },
28
+ "paramInformation": [
29
+ {
30
+ "#": "2",
31
+ "$import": "~/templates/master_template.json#enable_led_indicator"
32
+ },
33
+ {
34
+ "#": "3",
35
+ "$import": "templates/zooz_template.json#auto_off_timer_variable_unit",
36
+ "label": "Relay 1: Auto Off Timer"
37
+ },
38
+ {
39
+ "#": "4",
40
+ "$import": "templates/zooz_template.json#auto_on_timer_variable_unit",
41
+ "label": "Relay 1: Auto On Timer"
42
+ },
43
+ {
44
+ "#": "7",
45
+ "$import": "templates/zooz_template.json#auto_timer_unit_select",
46
+ "label": "Relay 1: Timer Unit"
47
+ },
48
+ {
49
+ "#": "14",
50
+ "$import": "~/templates/master_template.json#state_after_power_failure_off_on_prev",
51
+ "label": "Relay 1: State After Power Failure"
52
+ },
53
+ {
54
+ "#": "17",
55
+ "$import": "~/templates/master_template.json#smart_switch_mode_0-2",
56
+ "label": "Relay 1: Smart Switch Mode"
57
+ },
58
+ {
59
+ "#": "20",
60
+ "$import": "templates/zooz_template.json#external_switch_type_0-3",
61
+ "label": "Relay 1: External Switch Type"
62
+ },
63
+ {
64
+ "#": "22",
65
+ "$import": "templates/zooz_template.json#impulse_duration",
66
+ "label": "Relay 1: Impulse Duration"
67
+ },
68
+ {
69
+ "#": "25",
70
+ "$import": "templates/zooz_template.json#relay_type_behavior",
71
+ "label": "Relay 1: Type"
72
+ },
73
+ {
74
+ "#": "5",
75
+ "$import": "templates/zooz_template.json#auto_off_timer_variable_unit",
76
+ "label": "Relay 2: Auto Off Timer"
77
+ },
78
+ {
79
+ "#": "6",
80
+ "$import": "templates/zooz_template.json#auto_on_timer_variable_unit",
81
+ "label": "Relay 2: Auto On Timer"
82
+ },
83
+ {
84
+ "#": "8",
85
+ "$import": "templates/zooz_template.json#auto_timer_unit_select",
86
+ "label": "Relay 2: Timer Unit"
87
+ },
88
+ {
89
+ "#": "15",
90
+ "$import": "~/templates/master_template.json#state_after_power_failure_off_on_prev",
91
+ "label": "Relay 2: State After Power Failure"
92
+ },
93
+ {
94
+ "#": "18",
95
+ "$import": "~/templates/master_template.json#smart_switch_mode_0-2",
96
+ "label": "Relay 2: Smart Switch Mode"
97
+ },
98
+ {
99
+ "#": "21",
100
+ "$import": "templates/zooz_template.json#external_switch_type_0-3",
101
+ "label": "Relay 2: External Switch Type"
102
+ },
103
+ {
104
+ "#": "23",
105
+ "$import": "templates/zooz_template.json#impulse_duration",
106
+ "label": "Relay 2: Impulse Duration"
107
+ },
108
+ {
109
+ "#": "26",
110
+ "$import": "templates/zooz_template.json#relay_type_behavior",
111
+ "label": "Relay 2: Type"
112
+ },
113
+ {
114
+ "#": "16",
115
+ "$import": "templates/zooz_template.json#enable_scene_control"
116
+ },
117
+ {
118
+ "#": "24",
119
+ "$import": "templates/zooz_template.json#association_reports"
120
+ }
121
+ ],
122
+ "metadata": {
123
+ "$import": "templates/zooz_template.json#zen5x_metadata",
124
+ "manual": "https://cdn.shopify.com/s/files/1/0218/7704/files/zooz-700-series-z-wave-plus-double-relay-zen52-manual.pdf"
125
+ }
126
+ }
@@ -233,6 +233,24 @@
233
233
  "maxValue": 10,
234
234
  "defaultValue": 0
235
235
  },
236
+ {
237
+ "#": "14",
238
+ "label": "Temperature Calibration",
239
+ "unit": "0.1 °(C/F)",
240
+ "valueSize": 2,
241
+ "minValue": -200,
242
+ "maxValue": 200,
243
+ "defaultValue": 0
244
+ },
245
+ {
246
+ "#": "15",
247
+ "label": "Humidity Calibration",
248
+ "unit": "%",
249
+ "valueSize": 1,
250
+ "minValue": -50,
251
+ "maxValue": 50,
252
+ "defaultValue": 0
253
+ },
236
254
  {
237
255
  "#": "65[0x01]",
238
256
  "label": "Sensor Report after Inclusion: Battery",
@@ -0,0 +1,62 @@
1
+ {
2
+ "manufacturer": "Keemple",
3
+ "manufacturerId": "0x041a",
4
+ "label": "KP-SW-07",
5
+ "description": "Light Switch 1 Channel",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0100",
9
+ "productId": "0x0001",
10
+ "zwaveAllianceId": 3580
11
+ }
12
+ ],
13
+ "firmwareVersion": {
14
+ "min": "0.0",
15
+ "max": "255.255"
16
+ },
17
+ "associations": {
18
+ "1": {
19
+ "label": "Lifeline",
20
+ "maxNodes": 5,
21
+ "isLifeline": true
22
+ },
23
+ "2": {
24
+ "label": "Scene Control",
25
+ "maxNodes": 5
26
+ }
27
+ },
28
+ "paramInformation": [
29
+ {
30
+ "#": "21",
31
+ "$import": "~/templates/master_template.json#state_after_power_failure_prev_on_off",
32
+ "defaultValue": 0
33
+ },
34
+ {
35
+ "#": "24",
36
+ "label": "Load Status Change Reports",
37
+ "valueSize": 1,
38
+ "defaultValue": 1,
39
+ "allowManualEntry": false,
40
+ "options": [
41
+ {
42
+ "label": "Disabled",
43
+ "value": 0
44
+ },
45
+ {
46
+ "label": "Enabled",
47
+ "value": 1
48
+ },
49
+ {
50
+ "label": "Enabled (manual control only)",
51
+ "value": 2
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "metadata": {
57
+ "inclusion": "• Connect the power supply. \n• Set the Z-Wave network main controller into learning mode. \n• Press and hold the button 1 (the red light flashes slowly) until the pink light flashes slowly and then release, the device sends the network k information (blue light flashes quickly). \n• After the network is successfully connected, the LED indicator of the device is steady blue, and the load is off by default.",
58
+ "exclusion": "• Power on the switch. \n• Set the Z-Wave network controller into the exclusion mode. \n• Long press the switch button 1 (Red LED blink slowly) when Pink LED indicator light blink slowly, release the button, then the device start to send out exclusion information(Blue LED indicator in quick blinking). \n• When exclusion successfully, LED display is steady blue, load is off.",
59
+ "reset": "Reset procedure will delete all information in the Z-Wave network or Z-Wave gateway, and will restore switch to factory default settings. \n• Make sure switch is powered. \n• Press and hold the Switch button 1 for 20 seconds. \n• Until the pink light is always on, release the button. \n Use this procedure only in the event that the network primary controller is missing or otherwise inoperable.",
60
+ "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/3580/KP-SW-07user%20manual.pdf"
61
+ }
62
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "manufacturer": "Keemple",
3
+ "manufacturerId": "0x041a",
4
+ "label": "KP-SW-08",
5
+ "description": "Light Switch 2 Channel",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0100",
9
+ "productId": "0x0003",
10
+ "zwaveAllianceId": 3587
11
+ }
12
+ ],
13
+ "firmwareVersion": {
14
+ "min": "0.0",
15
+ "max": "255.255"
16
+ },
17
+ "associations": {
18
+ "1": {
19
+ "label": "Lifeline",
20
+ "maxNodes": 5,
21
+ "isLifeline": true
22
+ },
23
+ "2": {
24
+ "label": "Scene Control",
25
+ "maxNodes": 5
26
+ },
27
+ "3": {
28
+ "label": "Switch 1 Status",
29
+ "maxNodes": 5
30
+ },
31
+ "4": {
32
+ "label": "Switch 2 Status",
33
+ "maxNodes": 5
34
+ }
35
+ },
36
+ "paramInformation": [
37
+ {
38
+ "#": "21",
39
+ "$import": "~/templates/master_template.json#state_after_power_failure_prev_on_off",
40
+ "defaultValue": 0
41
+ },
42
+ {
43
+ "#": "24",
44
+ "label": "Load Status Change Reports",
45
+ "valueSize": 1,
46
+ "defaultValue": 1,
47
+ "allowManualEntry": false,
48
+ "options": [
49
+ {
50
+ "label": "Disabled",
51
+ "value": 0
52
+ },
53
+ {
54
+ "label": "Enabled",
55
+ "value": 1
56
+ },
57
+ {
58
+ "label": "Enabled (manual control only)",
59
+ "value": 2
60
+ }
61
+ ]
62
+ }
63
+ ],
64
+ "metadata": {
65
+ "inclusion": "• Connect the power supply. \n• Set the Z-Wave network main controller into learning mode. \n• Press and hold the button 1 (the red light flashes slowly) until the pink light flashes slowly and then release, the device sends the network k information (blue light flashes quickly). \n• After the network is successfully connected, the LED indicator of the device is steady blue, and the load is off by default.",
66
+ "exclusion": "• Power on the switch. \n• Set the Z-Wave network controller into the exclusion mode. \n• Long press the switch button 1 (Red LED blink slowly) when Pink LED indicator light blink slowly, release the button, then the device start to send out exclusion information(Blue LED indicator in quick blinking). \n• When exclusion successfully, LED display is steady blue, load is off.",
67
+ "reset": "Reset procedure will delete all information in the Z-Wave network or Z-Wave gateway, and will restore switch to factory default settings. \n• Make sure switch is powered. \n• Press and hold the Switch button 1 for 20 seconds. \n• Until the pink light is always on, release the button. \n Use this procedure only in the event that the network primary controller is missing or otherwise inoperable.",
68
+ "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/3587/KP-SW-08.pdf"
69
+ }
70
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "9.0.5",
3
+ "version": "9.0.7",
4
4
  "description": "zwave-js: configuration files",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -52,7 +52,7 @@
52
52
  "ts": "node -r esbuild-register"
53
53
  },
54
54
  "dependencies": {
55
- "@zwave-js/core": "9.0.4",
55
+ "@zwave-js/core": "9.0.7",
56
56
  "@zwave-js/shared": "9.0.4",
57
57
  "alcalzone-shared": "^4.0.1",
58
58
  "ansi-colors": "^4.1.1",
@@ -70,9 +70,9 @@
70
70
  "@types/node": "^15.12.5",
71
71
  "@types/pegjs": "^0.10.3",
72
72
  "@types/semver": "^7.3.9",
73
- "@types/xml2json": "^0.11.4",
73
+ "@types/xml2js": "^0.4.11",
74
74
  "@types/yargs": "^17.0.10",
75
- "@zwave-js/maintenance": "9.0.5",
75
+ "@zwave-js/maintenance": "9.0.7",
76
76
  "axios": "^0.26.1",
77
77
  "comment-json": "^4.2.2",
78
78
  "esbuild": "0.14.29",
@@ -82,7 +82,7 @@
82
82
  "pegjs": "^0.10.0",
83
83
  "ts-pegjs": "^0.3.1",
84
84
  "typescript": "4.6.3",
85
- "xml2json": "^0.12.0",
85
+ "xml2js": "^0.4.23",
86
86
  "yargs": "^17.4.0"
87
87
  }
88
88
  }