@zwave-js/config 13.3.0 → 13.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.
@@ -22,12 +22,14 @@
22
22
  "$import": "~/templates/master_template.json#7xx_firmware_bug_pre_7_17_2"
23
23
  },
24
24
  {
25
- "$if": "firmwareVersion === 7.19.1",
26
- "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_1"
25
+ // Not sure if this is a 700 or 800 series controller. Show the generic warning
26
+ "$if": "firmwareVersion >= 7.19.1 && firmwareVersion <= 7.21.3",
27
+ "$import": "~/templates/master_template.json#7xx_8xx_firmware_bug_7_19_to_7_21_3_or_7_22_1"
27
28
  },
28
29
  {
29
- "$if": "firmwareVersion === 7.19.3",
30
- "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
30
+ // 7.22.x is limited to 800 series
31
+ "$if": "firmwareVersion === 7.22.0",
32
+ "$import": "~/templates/master_template.json#8xx_firmware_bug_pre_7_22_1"
31
33
  }
32
34
  ]
33
35
  }
@@ -0,0 +1,71 @@
1
+ {
2
+ "manufacturer": "Philio Technology Corp",
3
+ "manufacturerId": "0x013c",
4
+ "label": "PSK01",
5
+ "description": "Smart Keypad",
6
+ "devices": [
7
+ {
8
+ "productType": "0x000a",
9
+ "productId": "0x006f"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "1",
19
+ "label": "Set Keypad Mode",
20
+ "valueSize": 1,
21
+ "defaultValue": 2,
22
+ "allowManualEntry": false,
23
+ "options": [
24
+ {
25
+ "label": "Entry control mode",
26
+ "value": 1
27
+ },
28
+ {
29
+ "label": "Central Scene mode",
30
+ "value": 2
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "#": "2",
36
+ "$import": "~/templates/master_template.json#base_enable_disable",
37
+ "label": "Buzzer",
38
+ "defaultValue": 1
39
+ },
40
+ {
41
+ "#": "3",
42
+ "$import": "~/templates/master_template.json#base_enable_disable",
43
+ "label": "Rand Mode",
44
+ "description": "When the Rand Mode is enabled, whenever the device wakes up from sleeping, no more than four digits of random keys will light on. Users have to press those random keys one by one, and the device will go to Entry Control mode."
45
+ },
46
+ {
47
+ "#": "4",
48
+ "$import": "~/templates/master_template.json#base_enable_disable",
49
+ "label": "Touch Sleep",
50
+ "description": "If Touch Sleep is enabled the touch panel lights will turn off a short time after the last touch.",
51
+ "defaultValue": 1
52
+ },
53
+ {
54
+ "#": "5",
55
+ "$import": "templates/philio_template.json#auto_report_unit",
56
+ "label": "Battery Report Unit",
57
+ "description": "Define the time scale for automatic reports. This value will be multiplied with parameter 6 to set the time interval between reports."
58
+ },
59
+ {
60
+ "#": "6",
61
+ "$import": "templates/philio_template.json#auto_report_interval",
62
+ "label": "Battery Report Interval"
63
+ }
64
+ ],
65
+ "metadata": {
66
+ "inclusion": "1. Have Z-WaveTM Controller enter inclusion mode.\n2. Enter the Programming Code (PC) by pressing the correct number keys (default programming code is 0000) and then enter, then press 1 and 0 and enter.\n3. After successful addition, the device buzzer will beep twice.",
67
+ "exclusion": "1. Have Z-WaveTM Controller enter exclusion mode.\n2. Enter the Programming Code (PC) by pressing the correct number keys (default programming code is 0000) and then enter, then press 1 and 0 and enter.\n3. After successful removal, the device buzzer will beep twice.",
68
+ "reset": "Method 1. Enter the Programming Code (PC) by pressing the correct number keys (default programming code is 0000) and then enter, then press 9 and enter.\nMethod 2. Press tamper key 3 times in 1.5 seconds. 3 long beeps will occur after two seconds on successful reset.",
69
+ "manual": "https://www.zwavetaiwan.com.tw/s/PSK01_UserManual-A2-20240731.pdf"
70
+ }
71
+ }
@@ -51,7 +51,7 @@
51
51
  },
52
52
  {
53
53
  "#": "10",
54
- "$import": "templates/philio_template.json#battery_report_interval"
54
+ "$import": "templates/philio_template.json#battery_report_interval_30m"
55
55
  },
56
56
  {
57
57
  "#": "82",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  {
77
77
  "#": "10",
78
- "$import": "templates/philio_template.json#battery_report_interval"
78
+ "$import": "templates/philio_template.json#battery_report_interval_30m"
79
79
  },
80
80
  {
81
81
  "#": "82",
@@ -24,7 +24,7 @@
24
24
  "paramInformation": [
25
25
  {
26
26
  "#": "10",
27
- "$import": "templates/philio_template.json#battery_report_interval"
27
+ "$import": "templates/philio_template.json#battery_report_interval_30m"
28
28
  }
29
29
  ],
30
30
  "metadata": {
@@ -36,12 +36,25 @@
36
36
  }
37
37
  ]
38
38
  },
39
- "battery_report_interval": {
39
+ "battery_report_interval_30m": {
40
40
  "label": "Battery Report Interval",
41
41
  "valueSize": 1,
42
- "unit": "minutes",
42
+ "unit": "30 minutes",
43
+ "minValue": 0,
44
+ "maxValue": 127,
45
+ "defaultValue": 12,
46
+ "unsigned": true,
47
+ "options": [
48
+ {
49
+ "label": "Disable",
50
+ "value": 0
51
+ }
52
+ ]
53
+ },
54
+ "auto_report_interval": {
55
+ "valueSize": 1,
43
56
  "minValue": 0,
44
- "maxValue": 12,
57
+ "maxValue": 255,
45
58
  "defaultValue": 12,
46
59
  "unsigned": true,
47
60
  "options": [
@@ -50,5 +63,19 @@
50
63
  "value": 0
51
64
  }
52
65
  ]
66
+ },
67
+ "auto_report_unit": {
68
+ "valueSize": 1,
69
+ "unit": "minutes",
70
+ "minValue": 0,
71
+ "maxValue": 255,
72
+ "defaultValue": 30,
73
+ "unsigned": true,
74
+ "options": [
75
+ {
76
+ "label": "Disable all auto reports",
77
+ "value": 0
78
+ }
79
+ ]
53
80
  }
54
81
  }
@@ -17,13 +17,10 @@
17
17
  // 700/800 series firmware bugs that affect multiple controllers
18
18
  "comments": [
19
19
  // https://www.support.getzooz.com/kb/article/1158-zooz-ota-firmware-files/
20
- // These controllers started shipping with 7.18.1:
21
- // 1.1 = 7.18.1
22
- // (1.3 = 1.4 = 1.10) = 7.18.3
23
- // 1.20 = 7.19.3
20
+ // 1.40 = SDK 7.22.0. No fixed version available yet.
24
21
  {
25
- "$if": "firmwareVersion === 1.20",
26
- "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
22
+ "$if": "firmwareVersion <= 1.40",
23
+ "$import": "~/templates/master_template.json#8xx_firmware_bug_pre_7_22_1"
27
24
  }
28
25
  ]
29
26
  }
@@ -1,8 +1,9 @@
1
+ // 800 series (LR) starting with firmware 2.0
1
2
  {
2
3
  "manufacturer": "Zooz",
3
4
  "manufacturerId": "0x027a",
4
5
  "label": "ZEN14",
5
- "description": "700 Series Outdoor Double Plug",
6
+ "description": "Outdoor Double Plug",
6
7
  "devices": [
7
8
  {
8
9
  "productType": "0x7000",
@@ -14,14 +14,8 @@
14
14
  {
15
15
  "manufacturer": "Zooz",
16
16
  "manufacturerId": "0x027a",
17
- "label": [
18
- {
19
- "$if": "firmwareVersion >= 4.10",
20
- "value": "ZEN30 800LR"
21
- },
22
- "ZEN30"
23
- ],
24
- "description": "Dimmer & Dry Contact Relay",
17
+ "label": "ZEN30",
18
+ "description": "Double Switch",
25
19
  "devices": [
26
20
  {
27
21
  "productType": "0xa000",
@@ -316,7 +310,7 @@
316
310
  {
317
311
  // This device exposes a Multilevel Switch (Dimmer) on endpoint 0, and a Binary Switch (Relay) on endpoint 1
318
312
  // Our heuristic currently detects endpoint 1 as unnecessary and hides it from the user.
319
- // This problem is fixed in firmare 3.20 and higher
313
+ // This problem is fixed in firmware 3.20 and higher
320
314
  "$if": "firmwareVersion < 3.20",
321
315
  "preserveEndpoints": "*",
322
316
  "preserveRootApplicationCCValueIDs": true
@@ -12,13 +12,7 @@
12
12
  {
13
13
  "manufacturer": "Zooz",
14
14
  "manufacturerId": "0x027a",
15
- "label": [
16
- {
17
- "$if": "firmwareVersion >= 2.10 && firmwareVersion < 10.0",
18
- "value": "ZEN32 800LR"
19
- },
20
- "ZEN32"
21
- ],
15
+ "label": "ZEN32",
22
16
  "description": "Scene Controller",
23
17
  "devices": [
24
18
  {
@@ -1,8 +1,9 @@
1
+ // 800 series (LR) starting with firmware 2.0
1
2
  {
2
3
  "manufacturer": "Zooz",
3
4
  "manufacturerId": "0x027a",
4
5
  "label": "ZEN34",
5
- "description": "Z-Wave Plus 700 Series Remote Switch",
6
+ "description": "Remote Switch",
6
7
  "devices": [
7
8
  {
8
9
  "productType": "0x0004",
@@ -1,14 +1,8 @@
1
1
  {
2
2
  "manufacturer": "Zooz",
3
3
  "manufacturerId": "0x027a",
4
- "label": [
5
- {
6
- "$if": "productType === 0x0904",
7
- "value": "ZEN51 LR"
8
- },
9
- "ZEN51"
10
- ],
11
- "description": "700 Series Dry Contact Relay",
4
+ "label": "ZEN51",
5
+ "description": "Dry Contact Relay",
12
6
  "devices": [
13
7
  {
14
8
  // Regular Z-Wave version:
@@ -17,7 +11,7 @@
17
11
  "zwaveAllianceId": 4610
18
12
  },
19
13
  {
20
- // Long Range capable version:
14
+ // Long Range capable version (firmware 1.50+):
21
15
  "productType": "0x0904",
22
16
  "productId": "0x0201"
23
17
  }
@@ -1,14 +1,8 @@
1
1
  {
2
2
  "manufacturer": "Zooz",
3
3
  "manufacturerId": "0x027a",
4
- "label": [
5
- {
6
- "$if": "productType === 0x0904",
7
- "value": "ZEN52 LR"
8
- },
9
- "ZEN52"
10
- ],
11
- "description": "700 Series Double Relay",
4
+ "label": "ZEN52",
5
+ "description": "Double Relay",
12
6
  "devices": [
13
7
  {
14
8
  // Regular Z-Wave version:
@@ -17,7 +11,7 @@
17
11
  "zwaveAllianceId": 4609
18
12
  },
19
13
  {
20
- // Long Range capable version:
14
+ // Long Range capable version (firmware 1.50+):
21
15
  "productType": "0x0904",
22
16
  "productId": "0x0202"
23
17
  }
@@ -12,14 +12,8 @@
12
12
  {
13
13
  "manufacturer": "Zooz",
14
14
  "manufacturerId": "0x027a",
15
- "label": [
16
- {
17
- "$if": "firmwareVersion >= 3.10 && firmwareVersion < 10.0",
18
- "value": "ZEN71 800LR"
19
- },
20
- "ZEN71"
21
- ],
22
- "description": "ON/OFF Switch",
15
+ "label": "ZEN71",
16
+ "description": "On/Off Switch",
23
17
  "devices": [
24
18
  {
25
19
  "productType": "0x7000",
@@ -11,14 +11,8 @@
11
11
  {
12
12
  "manufacturer": "Zooz",
13
13
  "manufacturerId": "0x027a",
14
- "label": [
15
- {
16
- "$if": "firmwareVersion >= 3.10 && firmwareVersion < 10.0",
17
- "value": "ZEN72 800LR"
18
- },
19
- "ZEN72"
20
- ],
21
- "description": "Dimmer Switch",
14
+ "label": "ZEN72",
15
+ "description": "Dimmer",
22
16
  "devices": [
23
17
  {
24
18
  "productType": "0x7000",
@@ -1,8 +1,9 @@
1
+ // 800 series (LR) starting with firmware 2.10
1
2
  {
2
3
  "manufacturer": "Zooz",
3
4
  "manufacturerId": "0x027a",
4
5
  "label": "ZEN73",
5
- "description": "700 Toggle Switch",
6
+ "description": "Toggle Switch",
6
7
  "devices": [
7
8
  {
8
9
  "productType": "0x7000",
@@ -1,8 +1,9 @@
1
+ // 800 series (LR) starting with firmware 2.10
1
2
  {
2
3
  "manufacturer": "Zooz",
3
4
  "manufacturerId": "0x027a",
4
5
  "label": "ZEN74",
5
- "description": "700 Toggle Dimmer",
6
+ "description": "Toggle Dimmer",
6
7
  "devices": [
7
8
  {
8
9
  "productType": "0x7000",
@@ -8,14 +8,8 @@
8
8
  {
9
9
  "manufacturer": "Zooz",
10
10
  "manufacturerId": "0x027a",
11
- "label": [
12
- {
13
- "$if": "firmwareVersion >= 3.10 && firmwareVersion < 10.0",
14
- "value": "ZEN76 800LR"
15
- },
16
- "ZEN76"
17
- ],
18
- "description": "S2 ON/OFF Switch",
11
+ "label": "ZEN76",
12
+ "description": "S2 On/Off Switch",
19
13
  "devices": [
20
14
  {
21
15
  "productType": "0x7000",
@@ -14,14 +14,8 @@
14
14
  {
15
15
  "manufacturer": "Zooz",
16
16
  "manufacturerId": "0x027a",
17
- "label": [
18
- {
19
- "$if": "firmwareVersion >= 4.10 && firmwareVersion < 10.0",
20
- "value": "ZEN77 800LR"
21
- },
22
- "ZEN77"
23
- ],
24
- "description": "S2 Dimmer Switch",
17
+ "label": "ZEN77",
18
+ "description": "S2 Dimmer",
25
19
  "devices": [
26
20
  {
27
21
  "productType": "0x7000",
@@ -1,3 +1,4 @@
1
+ // 800 series (LR) starting with firmware 2.0
1
2
  {
2
3
  "manufacturer": "Zooz",
3
4
  "manufacturerId": "0x027a",
@@ -133,16 +134,20 @@
133
134
  ]
134
135
  }
135
136
  ],
136
- "compat": {
137
- "commandClasses": {
138
- "remove": {
139
- // The wakeup destination cannot be set using Supervision, resulting in missing wakeup reports
140
- "Supervision": {
141
- "endpoints": "*"
137
+ "compat": [
138
+ {
139
+ // On the 500 series version of this device, the wakeup destination
140
+ // cannot be set using Supervision, resulting in missing wakeup reports
141
+ "$if": "firmwareVersion < 2.0",
142
+ "commandClasses": {
143
+ "remove": {
144
+ "Supervision": {
145
+ "endpoints": "*"
146
+ }
142
147
  }
143
148
  }
144
149
  }
145
- },
150
+ ],
146
151
  "metadata": {
147
152
  "inclusion": "Put your Z-Wave hub into inclusion mode and click the Z-Wave button 3 times as quickly as possible. The LED indicator will start blinking to confirm inclusion mode and turn off once inclusion is completed. The sensor will automatically pair as a repeater if connected to USB power, no special button sequence required",
148
153
  "exclusion": "1. Bring the sensor within direct range of your Z-Wave gateway (hub).\n2. Put the Z-Wave hub into exclusion mode (not sure how to do that? ask@getzooz.com).\n3. Press and release the Z-Wave button 3 times quickly.\n4. Your hub will confirm exclusion and the sensor will disappear from your controller's device list",
@@ -1,8 +1,9 @@
1
+ // 800 series (LR) starting with firmware 2.0
1
2
  {
2
3
  "manufacturer": "Zooz",
3
4
  "manufacturerId": "0x027a",
4
5
  "label": "ZSE18",
5
- "description": "Motion and Vibration Sensor",
6
+ "description": "Motion Sensor",
6
7
  "devices": [
7
8
  {
8
9
  "productType": "0x0301",
@@ -21,12 +21,8 @@
21
21
  "$import": "~/templates/master_template.json#7xx_firmware_bug_pre_7_17_2"
22
22
  },
23
23
  {
24
- "$if": "firmwareVersion === 7.19.1",
25
- "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_1"
26
- },
27
- {
28
- "$if": "firmwareVersion === 7.19.3",
29
- "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
24
+ "$if": "firmwareVersion >= 7.19.1 && firmwareVersion <= 7.21.3",
25
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_to_7_21_3"
30
26
  }
31
27
  ]
32
28
  }
@@ -17,13 +17,10 @@
17
17
  // 700/800 series firmware bugs that affect multiple controllers
18
18
  "comments": [
19
19
  // https://www.support.getzooz.com/kb/article/1352-zst39-800-long-range-z-wave-stick-change-log/
20
- // These controllers started shipping with 7.18.1:
21
- // 1.1 = 7.18.1
22
- // (1.3 = 1.4 = 1.10) = 7.18.3
23
- // 1.20 = 7.19.3
20
+ // 1.50 = SDK 7.22.1
24
21
  {
25
- "$if": "firmwareVersion === 1.20",
26
- "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
22
+ "$if": "firmwareVersion < 1.50",
23
+ "$import": "~/templates/master_template.json#8xx_firmware_bug_pre_7_22_1"
27
24
  }
28
25
  ]
29
26
  }
@@ -32,6 +32,10 @@
32
32
  "maxValue": 99,
33
33
  "defaultValue": 1
34
34
  },
35
+ {
36
+ "#": "3",
37
+ "$import": "~/templates/master_template.json#led_indicator_four_options"
38
+ },
35
39
  {
36
40
  "#": "4",
37
41
  "$import": "~/templates/master_template.json#orientation"
@@ -661,14 +661,19 @@
661
661
  "level": "warning",
662
662
  "text": "Early 700 series firmware revisions had a bug that could cause the mesh to be flooded on some networks and the controller to become unresponsive. It appears that this bug is largely, if not completely, resolved as of SDK version 7.17.2.\nDirections for upgrading the firmware can be found at https://zwave-js.github.io/node-zwave-js/#/troubleshooting/otw-upgrade"
663
663
  },
664
- "7xx_firmware_bug_7_19_1": {
664
+ "7xx_firmware_bug_7_19_to_7_21_3": {
665
665
  "level": "warning",
666
- "text": "Controller firmwares based on Z-Wave SDK 7.19.1 have a bug that causes the controller to randomly restart. It is strongly recommended to update to a firmware based on version 7.19.2, but not later since those firmwares have another bug causing the controller to become unresponsive."
666
+ "text": "700 series controller firmwares based on Z-Wave SDKs 7.19 through 7.21.3 are plagued by a variety of bugs causing instability of the controller and/or the mesh. It is strongly recommended to update to a firmware based on version 7.21.4 or later."
667
667
  },
668
- "7xx_firmware_bug_7_19_3": {
668
+ "8xx_firmware_bug_pre_7_22_1": {
669
669
  "level": "warning",
670
- "text": "Controller firmwares based on Z-Wave SDK 7.19.3 have a bug that causes the controller to randomly hang during transmission until it is restarted. It is currently unclear if this bug is fixed in a later firmware version."
670
+ "text": "800 series controller firmwares based on Z-Wave SDKs before 7.22.1 are plagued by a variety of bugs causing instability of the controller and/or the mesh. It is strongly recommended to update to a firmware based on version 7.22.1 or later."
671
671
  },
672
+ "7xx_8xx_firmware_bug_7_19_to_7_21_3_or_7_22_1": {
673
+ "level": "warning",
674
+ "text": "Controller firmwares based on Z-Wave SDKs 7.19 through 7.21.3 (700 series) or 7.22.0 (800 series) are plagued by a variety of bugs causing instability of the controller and/or the mesh. For 700 series controllers, it is strongly recommended to update to a firmware based on version 7.21.4 or later. For 800 series controllers, it is strongly recommended to update to a firmware based on version 7.22.1 or later."
675
+ },
676
+
672
677
  "500_series_controller_compat_flags": {
673
678
  // It seems that all 500 series controllers have a firmware bug:
674
679
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "13.3.0",
3
+ "version": "13.4.0",
4
4
  "description": "zwave-js: configuration files",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -56,7 +56,7 @@
56
56
  "test:dirty": "node -r ../../maintenance/esbuild-register.js ../maintenance/src/resolveDirtyTests.ts --run"
57
57
  },
58
58
  "dependencies": {
59
- "@zwave-js/core": "13.3.0",
59
+ "@zwave-js/core": "13.4.0",
60
60
  "@zwave-js/shared": "13.1.0",
61
61
  "alcalzone-shared": "^4.0.8",
62
62
  "ansi-colors": "^4.1.3",
@@ -77,7 +77,7 @@
77
77
  "@types/sinon": "^17.0.3",
78
78
  "@types/xml2js": "^0.4.14",
79
79
  "@types/yargs": "^17.0.32",
80
- "@zwave-js/maintenance": "13.3.0",
80
+ "@zwave-js/maintenance": "13.4.0",
81
81
  "ava": "^6.1.3",
82
82
  "comment-json": "^4.2.3",
83
83
  "del-cli": "^5.1.0",