@zwave-js/config 12.0.0-beta.0 → 12.0.0-beta.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.
@@ -1,7 +1,24 @@
1
+ // The firmware versions on this device are a mess
2
+ // 1.1 -> 10.0 -> 10.10 -> 10.20 -> 10.30 -> (10.40 ≅ 2.10) -> 2.20
3
+
4
+ // Conditionals:
5
+ // 10.0 and later: firmwareVersion >= 10.0 || firmwareVersion >= 2.10 && firmwareVersion < 10.0
6
+ // 10.10 and later: firmwareVersion >= 10.10 || firmwareVersion >= 2.10 && firmwareVersion < 10.0
7
+ // 10.20 and later: firmwareVersion >= 10.20 || firmwareVersion >= 2.10 && firmwareVersion < 10.0
8
+ // 10.30 and later: firmwareVersion >= 10.30 || firmwareVersion >= 2.10 && firmwareVersion < 10.0
9
+ // 10.40 and later: firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0
10
+ // 800 series: firmwareVersion >= 2.10 && firmwareVersion < 10.0
11
+
1
12
  {
2
13
  "manufacturer": "Zooz",
3
14
  "manufacturerId": "0x027a",
4
- "label": "ZEN32",
15
+ "label": [
16
+ {
17
+ "$if": "firmwareVersion >= 2.10 && firmwareVersion < 10.0",
18
+ "value": "ZEN32 800LR"
19
+ },
20
+ "ZEN32"
21
+ ],
5
22
  "description": "Scene Controller",
6
23
  "devices": [
7
24
  {
@@ -91,30 +108,65 @@
91
108
  "$import": "~/templates/master_template.json#led_indicator_four_options",
92
109
  "label": "LED Indicator (Button 4)"
93
110
  },
111
+ {
112
+ "#": "6",
113
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
114
+ "$import": "templates/zooz_template.json#led_indicator_color_extended",
115
+ "label": "LED Indicator Color (Relay)",
116
+ "defaultValue": 0
117
+ },
94
118
  {
95
119
  "#": "6",
96
120
  "$import": "templates/zooz_template.json#led_indicator_color",
97
121
  "label": "LED Indicator Color (Relay)",
98
122
  "defaultValue": 0
99
123
  },
124
+ {
125
+ "#": "7",
126
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
127
+ "$import": "templates/zooz_template.json#led_indicator_color_extended",
128
+ "label": "LED Indicator Color (Button 1)",
129
+ "defaultValue": 0
130
+ },
100
131
  {
101
132
  "#": "7",
102
133
  "$import": "templates/zooz_template.json#led_indicator_color",
103
134
  "label": "LED Indicator Color (Button 1)",
104
135
  "defaultValue": 0
105
136
  },
137
+ {
138
+ "#": "8",
139
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
140
+ "$import": "templates/zooz_template.json#led_indicator_color_extended",
141
+ "label": "LED Indicator Color (Button 2)",
142
+ "defaultValue": 0
143
+ },
106
144
  {
107
145
  "#": "8",
108
146
  "$import": "templates/zooz_template.json#led_indicator_color",
109
147
  "label": "LED Indicator Color (Button 2)",
110
148
  "defaultValue": 0
111
149
  },
150
+ {
151
+ "#": "9",
152
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
153
+ "$import": "templates/zooz_template.json#led_indicator_color_extended",
154
+ "label": "LED Indicator Color (Button 3)",
155
+ "defaultValue": 0
156
+ },
112
157
  {
113
158
  "#": "9",
114
159
  "$import": "templates/zooz_template.json#led_indicator_color",
115
160
  "label": "LED Indicator Color (Button 3)",
116
161
  "defaultValue": 0
117
162
  },
163
+ {
164
+ "#": "10",
165
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
166
+ "$import": "templates/zooz_template.json#led_indicator_color_extended",
167
+ "label": "LED Indicator Color (Button 4)",
168
+ "defaultValue": 0
169
+ },
118
170
  {
119
171
  "#": "10",
120
172
  "$import": "templates/zooz_template.json#led_indicator_color",
@@ -172,17 +224,17 @@
172
224
  },
173
225
  {
174
226
  "#": "21",
175
- "$if": "firmwareVersion >= 1.2",
227
+ "$if": "firmwareVersion >= 10.0 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
176
228
  "$import": "templates/zooz_template.json#3way_switch_type"
177
229
  },
178
230
  {
179
231
  "#": "22",
180
- "$if": "firmwareVersion >= 10.0",
232
+ "$if": "firmwareVersion >= 10.0 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
181
233
  "$import": "templates/zooz_template.json#local_programming"
182
234
  },
183
235
  {
184
236
  "#": "23",
185
- "$if": "firmwareVersion >= 10.20",
237
+ "$if": "firmwareVersion >= 10.20 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
186
238
  "$import": "~/templates/master_template.json#base_enable_disable_inverted",
187
239
  "label": "LED Settings Indicator",
188
240
  "defaultValue": 0
@@ -190,9 +242,47 @@
190
242
  {
191
243
  "#": "24",
192
244
  "$import": "~/templates/master_template.json#base_enable_disable_inverted",
193
- "$if": "firmwareVersion >= 10.30",
245
+ "$if": "firmwareVersion >= 10.30 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
194
246
  "label": "Scene Control (Relay)",
195
247
  "defaultValue": 0
248
+ },
249
+ {
250
+ "#": "26",
251
+ "$import": "templates/zooz_template.json#enable_scene_control_3way",
252
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
253
+ "label": "Scene Control (Relay)"
254
+ },
255
+ {
256
+ "#": "25[0x01]",
257
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
258
+ "$import": "~/templates/master_template.json#base_enable_disable",
259
+ "label": "Send Status Change Report: Local Control",
260
+ "description": "Determine whether a trigger of this type should prompt a status change report to associated devices.",
261
+ "defaultValue": 1
262
+ },
263
+ {
264
+ "#": "25[0x02]",
265
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
266
+ "$import": "~/templates/master_template.json#base_enable_disable",
267
+ "label": "Send Status Change Report: 3-Way",
268
+ "description": "Determine whether a trigger of this type should prompt a status change report to associated devices.",
269
+ "defaultValue": 1
270
+ },
271
+ {
272
+ "#": "25[0x04]",
273
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
274
+ "$import": "~/templates/master_template.json#base_enable_disable",
275
+ "label": "Send Status Change Report: Z-Wave",
276
+ "description": "Determine whether a trigger of this type should prompt a status change report to associated devices.",
277
+ "defaultValue": 1
278
+ },
279
+ {
280
+ "#": "25[0x08]",
281
+ "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0",
282
+ "$import": "~/templates/master_template.json#base_enable_disable",
283
+ "label": "Send Status Change Report: Timer",
284
+ "description": "Determine whether a trigger of this type should prompt a status change report to associated devices.",
285
+ "defaultValue": 1
196
286
  }
197
287
  ],
198
288
  "compat": {
@@ -12,5 +12,9 @@
12
12
  "firmwareVersion": {
13
13
  "min": "0.0",
14
14
  "max": "255.255"
15
+ },
16
+ "metadata": {
17
+ // 700/800 series firmware bugs that affect multiple controllers
18
+ "$import": "~/templates/master_template.json#7xx_firmware_bugs"
15
19
  }
16
20
  }
@@ -12,5 +12,9 @@
12
12
  "firmwareVersion": {
13
13
  "min": "0.0",
14
14
  "max": "255.255"
15
+ },
16
+ "metadata": {
17
+ // 700/800 series firmware bugs that affect multiple controllers
18
+ "$import": "~/templates/master_template.json#7xx_firmware_bugs"
15
19
  }
16
20
  }
@@ -0,0 +1,92 @@
1
+ {
2
+ "manufacturer": "Hoppe",
3
+ "manufacturerId": "0x0313",
4
+ "label": "E0400Z-EF",
5
+ "description": "eHandle ConnectSense",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0701",
9
+ "productId": "0x0002",
10
+ "zwaveAllianceId": 4504
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": "Basic Set (Open/Close)",
25
+ "maxNodes": 5
26
+ },
27
+ "3": {
28
+ "label": "Basic Set (Tilt/Close)",
29
+ "maxNodes": 5
30
+ },
31
+ "4": {
32
+ "label": "Basic Set (Intrusion)",
33
+ "maxNodes": 5
34
+ }
35
+ },
36
+ "paramInformation": [
37
+ {
38
+ "#": "1",
39
+ "label": "Basic Set Value (Open)",
40
+ "description": "Allowable range: 0-99, 255",
41
+ "valueSize": 1,
42
+ "minValue": 0,
43
+ "maxValue": 255,
44
+ "defaultValue": 255,
45
+ "unsigned": true,
46
+ "allowManualEntry": false,
47
+ "options": [
48
+ {
49
+ "label": "Off",
50
+ "value": 0
51
+ },
52
+ {
53
+ "label": "On",
54
+ "value": 255
55
+ }
56
+ ]
57
+ },
58
+ {
59
+ "#": "2",
60
+ "label": "Basic Set Value (Close)",
61
+ "description": "Allowable range: 0-99, 255",
62
+ "valueSize": 1,
63
+ "minValue": 0,
64
+ "maxValue": 255,
65
+ "defaultValue": 0,
66
+ "unsigned": true,
67
+ "allowManualEntry": false,
68
+ "options": [
69
+ {
70
+ "label": "Off",
71
+ "value": 0
72
+ },
73
+ {
74
+ "label": "On",
75
+ "value": 255
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "#": "3",
81
+ "$import": "~/templates/master_template.json#base_enable_disable_255",
82
+ "label": "Report Last State On Wakeup",
83
+ "defaultValue": 255
84
+ }
85
+ ],
86
+ "metadata": {
87
+ "inclusion": "To add or remove the eHandle ConnectSense for windows in the\nsmart home central control unit, proceed as follows:\n6\n6\n8173\nferTor 13\nadtallendorf\n8\nmax.\n360°\n7\n29\nEnglish\n1. Follow the instructions of your smart home central control unit\nand start the process of adding or removing.\n2. Using the Allen key, press the hidden button in the recess on the\nback of the wireless unit three times in quick succession (within\none second), (steps 3-4).\n3. The successful start and the progress of adding (Add) or removing\n(Remove) e can be tracked in your smart home central\ncontrol unit.\n4. Your smart home central control unit may ask you to enter a\nfive-digit PIN number. You will find this on the sticker with QR\ncode. It is the underlined sequence of numbers.\n5. A successful addition (Add) is displayed in your smart home\ncentral control unit.\n6. The handle signals that it is ready for calibration by continuous\nrapid flashing of the green LED.\n7. Follow the further instructions for installation (Chapter 11) and\ncalibration (Chapter 6.2)",
88
+ "exclusion": "To add or remove the eHandle ConnectSense for windows in the\nsmart home central control unit, proceed as follows:\n6\n6\n8173\nferTor 13\nadtallendorf\n8\nmax.\n360°\n7\n29\nEnglish\n1. Follow the instructions of your smart home central control unit\nand start the process of adding or removing.\n2. Using the Allen key, press the hidden button in the recess on the\nback of the wireless unit three times in quick succession (within\none second), (steps 3-4).\n3. The successful start and the progress of adding (Add) or removing\n(Remove) e can be tracked in your smart home central\ncontrol unit.\n4. Your smart home central control unit may ask you to enter a\nfive-digit PIN number. You will find this on the sticker with QR\ncode. It is the underlined sequence of numbers.\n5. A successful addition (Add) is displayed in your smart home\ncentral control unit.\n6. The handle signals that it is ready for calibration by continuous\nrapid flashing of the green LED.\n7. Follow the further instructions for installation (Chapter 11) and\ncalibration (Chapter 6.2)",
89
+ "reset": "The eHandle ConnectSense for windows also allows to be reset\nwithout any involvement of the smart home central control unit. This\nprocedure should only be used when the smart home central control\nunit is inoperable. Press the concealed button for 10 seconds using\nthe Allen key. The successful reset to the factory setting is confirmed\nby the LED lighting up once",
90
+ "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4504/2022-04-19-MA441-ConnectSense-DE-EN-FR-Langversion_Korr%202022-04-20.pdf"
91
+ }
92
+ }
@@ -656,5 +656,24 @@
656
656
  "value": 1
657
657
  }
658
658
  ]
659
+ },
660
+ "7xx_firmware_bugs": {
661
+ "comments": [
662
+ {
663
+ "$if": "firmwareVersion < 7.17.2",
664
+ "level": "warning",
665
+ "text": "Early 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 firmware version 7.17.2.\nDirections for upgrading the firmware can be found at https://zwave-js.github.io/node-zwave-js/#/troubleshooting/otw-upgrade"
666
+ },
667
+ {
668
+ "$if": "firmwareVersion === 7.19.1",
669
+ "level": "warning",
670
+ "text": "Firmware version 7.19.1 has a bug that causes the controller to randomly restart. It is strongly recommended to update to firmware 7.19.2, but not later since those firmwares have another bug causing the controller to become unresponsive."
671
+ },
672
+ {
673
+ "$if": "firmwareVersion === 7.19.3",
674
+ "level": "warning",
675
+ "text": "Firmware version 7.19.3 has 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."
676
+ }
677
+ ]
659
678
  }
660
679
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "12.0.0-beta.0",
3
+ "version": "12.0.0-beta.2",
4
4
  "description": "zwave-js: configuration files",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -55,39 +55,39 @@
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.0.0-beta.0",
59
- "@zwave-js/shared": "12.0.0-beta.0",
58
+ "@zwave-js/core": "12.0.0-beta.1",
59
+ "@zwave-js/shared": "12.0.0-beta.1",
60
60
  "alcalzone-shared": "^4.0.8",
61
61
  "ansi-colors": "^4.1.3",
62
- "fs-extra": "^10.1.0",
62
+ "fs-extra": "^11.1.1",
63
63
  "json-logic-js": "^2.0.2",
64
64
  "json5": "^2.2.3",
65
- "semver": "^7.5.2",
66
- "winston": "^3.8.2"
65
+ "semver": "^7.5.4",
66
+ "winston": "^3.10.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@microsoft/api-extractor": "^7.36.0",
70
- "@types/fs-extra": "^9.0.13",
69
+ "@microsoft/api-extractor": "^7.36.4",
70
+ "@types/fs-extra": "^11.0.1",
71
71
  "@types/js-levenshtein": "^1.1.1",
72
72
  "@types/json-logic-js": "^2.0.2",
73
- "@types/node": "^14.18.52",
73
+ "@types/node": "^18.17.14",
74
74
  "@types/pegjs": "^0.10.3",
75
- "@types/semver": "^7.3.13",
76
- "@types/sinon": "^10.0.14",
77
- "@types/xml2js": "^0.4.11",
75
+ "@types/semver": "^7.5.1",
76
+ "@types/sinon": "^10.0.16",
77
+ "@types/xml2js": "^0.4.12",
78
78
  "@types/yargs": "^17.0.24",
79
- "@zwave-js/maintenance": "12.0.0-beta.0",
80
- "ava": "^4.3.3",
79
+ "@zwave-js/maintenance": "12.0.0-beta.2",
80
+ "ava": "^5.3.1",
81
81
  "comment-json": "^4.2.3",
82
- "del-cli": "^5.0.0",
83
- "esbuild": "0.15.18",
82
+ "del-cli": "^5.1.0",
83
+ "esbuild": "0.19.2",
84
84
  "esbuild-register": "^3.4.2",
85
- "got": "^12.6.1",
85
+ "got": "^13.0.0",
86
86
  "js-levenshtein": "^1.1.6",
87
87
  "pegjs": "^0.10.0",
88
- "sinon": "^14.0.2",
88
+ "sinon": "^15.2.0",
89
89
  "ts-pegjs": "^0.3.1",
90
- "typescript": "5.1.6",
90
+ "typescript": "5.2.2",
91
91
  "xml2js": "^0.5.0",
92
92
  "yargs": "^17.7.2"
93
93
  }