@zwave-js/config 12.2.0 → 12.2.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.
@@ -0,0 +1,69 @@
1
+ {
2
+ "manufacturer": "McoHome Co., Ltd.",
3
+ "manufacturerId": "0x015f",
4
+ "label": "MH-C521",
5
+ "description": "Shutter Panel",
6
+ "devices": [
7
+ {
8
+ "productType": "0xc521",
9
+ "productId": "0x5106"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "1",
19
+ "$import": "templates/mcohome_template.json#w_report_interval"
20
+ },
21
+ {
22
+ "#": "2",
23
+ "$import": "templates/mcohome_template.json#kwh_report_interval"
24
+ },
25
+ {
26
+ "#": "5",
27
+ "$import": "templates/mcohome_template.json#level_report_mode"
28
+ },
29
+ {
30
+ "#": "8",
31
+ "$import": "templates/mcohome_template.json#backlight_brightness"
32
+ },
33
+ {
34
+ "#": "7",
35
+ "$import": "templates/mcohome_template.json#demo_trip"
36
+ },
37
+ {
38
+ "#": "10",
39
+ "$import": "templates/mcohome_template.json#auto_calibrate"
40
+ },
41
+ {
42
+ "#": "9",
43
+ "$import": "templates/mcohome_template.json#demo_trip_and_calibrate"
44
+ },
45
+ {
46
+ "#": "11",
47
+ "$import": "templates/mcohome_template.json#min_shutter_level"
48
+ },
49
+ {
50
+ "#": "12",
51
+ "$import": "templates/mcohome_template.json#max_shutter_level"
52
+ },
53
+ {
54
+ "#": "255",
55
+ "$import": "templates/mcohome_template.json#factory_reset"
56
+ }
57
+ ],
58
+ "compat": {
59
+ "commandClasses": {
60
+ "add": {
61
+ "Multilevel Switch": {
62
+ // This is a roller shutter, but it responds to the CC version request with 0
63
+ "isSupported": true,
64
+ "version": 1
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "manufacturer": "McoHome Co., Ltd.",
3
+ "manufacturerId": "0x015f",
4
+ "label": "MH-C621",
5
+ "description": "Shutter Panel",
6
+ "devices": [
7
+ {
8
+ "productType": "0xc621",
9
+ "productId": "0x5106"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "1",
19
+ "$import": "templates/mcohome_template.json#w_report_interval"
20
+ },
21
+ {
22
+ "#": "2",
23
+ "$import": "templates/mcohome_template.json#kwh_report_interval"
24
+ },
25
+ {
26
+ "#": "5",
27
+ "$import": "templates/mcohome_template.json#level_report_mode"
28
+ },
29
+ {
30
+ "#": "8",
31
+ "$import": "templates/mcohome_template.json#backlight_brightness"
32
+ },
33
+ {
34
+ "#": "7",
35
+ "$import": "templates/mcohome_template.json#demo_trip"
36
+ },
37
+ {
38
+ "#": "10",
39
+ "$import": "templates/mcohome_template.json#auto_calibrate"
40
+ },
41
+ {
42
+ "#": "9",
43
+ "$import": "templates/mcohome_template.json#demo_trip_and_calibrate"
44
+ },
45
+ {
46
+ "#": "11",
47
+ "$import": "templates/mcohome_template.json#min_shutter_level"
48
+ },
49
+ {
50
+ "#": "12",
51
+ "$import": "templates/mcohome_template.json#max_shutter_level"
52
+ },
53
+ {
54
+ "#": "255",
55
+ "$import": "templates/mcohome_template.json#factory_reset"
56
+ }
57
+ ],
58
+ "compat": {
59
+ "commandClasses": {
60
+ "add": {
61
+ "Multilevel Switch": {
62
+ // This is a roller shutter, but it responds to the CC version request with 0
63
+ "isSupported": true,
64
+ "version": 1
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "w_report_interval": {
3
+ "label": "Power (W) Report Interval",
4
+ "valueSize": 2,
5
+ "unit": "5 seconds",
6
+ "minValue": 1,
7
+ "maxValue": 32767,
8
+ "defaultValue": 720
9
+ },
10
+ "kwh_report_interval": {
11
+ "label": "Energy (kWh) Report Interval",
12
+ "valueSize": 2,
13
+ "unit": "10 minutes",
14
+ "minValue": 1,
15
+ "maxValue": 32767,
16
+ "defaultValue": 6
17
+ },
18
+ "level_report_mode": {
19
+ "label": "Level Report Mode",
20
+ "valueSize": 1,
21
+ "defaultValue": 2,
22
+ "allowManualEntry": false,
23
+ "options": [
24
+ {
25
+ "label": "Every 5 seconds while moving",
26
+ "value": 1
27
+ },
28
+ {
29
+ "label": "Every 10% change",
30
+ "value": 2
31
+ }
32
+ ]
33
+ },
34
+ "backlight_brightness": {
35
+ "label": "Backlight Brightness",
36
+ "valueSize": 1,
37
+ "minValue": 0,
38
+ "maxValue": 10,
39
+ "defaultValue": 10,
40
+ "options": [
41
+ {
42
+ "label": "Disable",
43
+ "value": 0
44
+ }
45
+ ]
46
+ },
47
+ "demo_trip": {
48
+ "label": "Demo Trip",
49
+ "description": "Run the motor for 3 seconds to read motor data",
50
+ "valueSize": 1,
51
+ "defaultValue": 0,
52
+ "allowManualEntry": false,
53
+ "options": [
54
+ {
55
+ "label": "Idle",
56
+ "value": 0
57
+ },
58
+ {
59
+ "label": "Activate",
60
+ "value": 1
61
+ }
62
+ ]
63
+ },
64
+ "auto_calibrate": {
65
+ "label": "Auto Calibrate",
66
+ "valueSize": 1,
67
+ "defaultValue": 0,
68
+ "allowManualEntry": false,
69
+ "options": [
70
+ {
71
+ "label": "Idle",
72
+ "value": 0
73
+ },
74
+ {
75
+ "label": "Activate",
76
+ "value": 1
77
+ }
78
+ ]
79
+ },
80
+ "demo_trip_and_calibrate": {
81
+ "label": "Demo Trip and Auto Calibrate",
82
+ "valueSize": 1,
83
+ "defaultValue": 0,
84
+ "allowManualEntry": false,
85
+ "options": [
86
+ {
87
+ "label": "Idle",
88
+ "value": 0
89
+ },
90
+ {
91
+ "label": "Activate",
92
+ "value": 1
93
+ }
94
+ ]
95
+ },
96
+ "min_shutter_level": {
97
+ "label": "Minimum Shutter Level (Closed)",
98
+ "valueSize": 1,
99
+ "minValue": 0,
100
+ "maxValue": 98,
101
+ "defaultValue": 0
102
+ },
103
+ "max_shutter_level": {
104
+ "label": "Maximum Shutter Level (Open)",
105
+ "valueSize": 1,
106
+ "minValue": 1,
107
+ "maxValue": 99,
108
+ "defaultValue": 99
109
+ },
110
+ "factory_reset": {
111
+ "label": "Factory Reset",
112
+ "valueSize": 1,
113
+ "defaultValue": 0,
114
+ "allowManualEntry": false,
115
+ "options": [
116
+ {
117
+ "label": "Normal operation",
118
+ "value": 0
119
+ },
120
+ {
121
+ "label": "Reset",
122
+ "value": 85
123
+ }
124
+ ]
125
+ }
126
+ }
@@ -15,6 +15,16 @@
15
15
  },
16
16
  "metadata": {
17
17
  // 700/800 series firmware bugs that affect multiple controllers
18
- "$import": "~/templates/master_template.json#7xx_firmware_bugs"
18
+ "comments": [
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
24
+ {
25
+ "$if": "firmwareVersion === 1.20",
26
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
27
+ }
28
+ ]
19
29
  }
20
30
  }
@@ -15,6 +15,19 @@
15
15
  },
16
16
  "metadata": {
17
17
  // 700/800 series firmware bugs that affect multiple controllers
18
- "$import": "~/templates/master_template.json#7xx_firmware_bugs"
18
+ "comments": [
19
+ {
20
+ "$if": "firmwareVersion < 7.17.2",
21
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_pre_7_17_2"
22
+ },
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"
30
+ }
31
+ ]
19
32
  }
20
33
  }
@@ -15,6 +15,16 @@
15
15
  },
16
16
  "metadata": {
17
17
  // 700/800 series firmware bugs that affect multiple controllers
18
- "$import": "~/templates/master_template.json#7xx_firmware_bugs"
18
+ "comments": [
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
24
+ {
25
+ "$if": "firmwareVersion === 1.20",
26
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
27
+ }
28
+ ]
19
29
  }
20
30
  }
@@ -657,24 +657,17 @@
657
657
  }
658
658
  ]
659
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
- ]
660
+ "7xx_firmware_bug_pre_7_17_2": {
661
+ "level": "warning",
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
+ },
664
+ "7xx_firmware_bug_7_19_1": {
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."
667
+ },
668
+ "7xx_firmware_bug_7_19_3": {
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."
678
671
  },
679
672
  "500_series_controller_compat_flags": {
680
673
  // It seems that all 500 series controllers have a firmware bug:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "12.2.0",
3
+ "version": "12.2.2",
4
4
  "description": "zwave-js: configuration files",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -55,8 +55,8 @@
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.2.0",
59
- "@zwave-js/shared": "12.0.3",
58
+ "@zwave-js/core": "12.2.1",
59
+ "@zwave-js/shared": "12.2.1",
60
60
  "alcalzone-shared": "^4.0.8",
61
61
  "ansi-colors": "^4.1.3",
62
62
  "fs-extra": "^11.1.1",
@@ -76,7 +76,7 @@
76
76
  "@types/sinon": "^10.0.16",
77
77
  "@types/xml2js": "^0.4.12",
78
78
  "@types/yargs": "^17.0.24",
79
- "@zwave-js/maintenance": "12.2.0",
79
+ "@zwave-js/maintenance": "12.2.1",
80
80
  "ava": "^5.3.1",
81
81
  "comment-json": "^4.2.3",
82
82
  "del-cli": "^5.1.0",
@@ -1,305 +0,0 @@
1
- {
2
- "manufacturer": "McoHome Technology Co., Ltd.",
3
- "manufacturerId": "0x015f",
4
- "label": "MH-S521",
5
- "description": "Shutter Panel",
6
- "devices": [
7
- {
8
- "productType": "0xc321",
9
- "productId": "0x5102"
10
- },
11
- {
12
- "productType": "0xc521",
13
- "productId": "0x5101"
14
- }
15
- ],
16
- "firmwareVersion": {
17
- "min": "0.0",
18
- "max": "255.255"
19
- },
20
- "paramInformation": [
21
- {
22
- "#": "2",
23
- "$import": "~/templates/master_template.json#state_after_power_failure_off_prev"
24
- },
25
- {
26
- "#": "3",
27
- "label": "ALL ON/ALL OFF",
28
- "valueSize": 1,
29
- "defaultValue": 255,
30
- "unsigned": true,
31
- "allowManualEntry": false,
32
- "options": [
33
- {
34
- "label": "Forbid all on, forbid all off",
35
- "value": 0
36
- },
37
- {
38
- "label": "Forbid all on, allow all off",
39
- "value": 1
40
- },
41
- {
42
- "label": "Allow all on, forbid all off",
43
- "value": 2
44
- },
45
- {
46
- "label": "Allow all on, allow all off",
47
- "value": 255
48
- }
49
- ]
50
- },
51
- {
52
- "#": "4",
53
- "label": "LED Backlit Brightness Level",
54
- "valueSize": 1,
55
- "minValue": 0,
56
- "maxValue": 10,
57
- "defaultValue": 10
58
- },
59
- {
60
- "#": "5",
61
- "label": "Key Mode",
62
- "valueSize": 1,
63
- "defaultValue": 0,
64
- "allowManualEntry": false,
65
- "options": [
66
- {
67
- "label": "Single click to switch on/off status",
68
- "value": 0
69
- },
70
- {
71
- "label": "Key default as off state",
72
- "value": 1
73
- },
74
- {
75
- "label": "Key default as on state",
76
- "value": 2
77
- },
78
- {
79
- "label": "Hold >3s then key is on, and off once released",
80
- "value": 3
81
- },
82
- {
83
- "label": "Single click + hold >3s then key is on",
84
- "value": 4
85
- }
86
- ]
87
- },
88
- {
89
- "#": "6",
90
- "label": "Key On Duration",
91
- "valueSize": 2,
92
- "unit": "seconds",
93
- "minValue": 0,
94
- "maxValue": 65535,
95
- "defaultValue": 0,
96
- "unsigned": true
97
- },
98
- {
99
- "#": "8",
100
- "label": "Basic CC Integration Setting",
101
- "valueSize": 1,
102
- "minValue": 0,
103
- "maxValue": 3,
104
- "defaultValue": 0
105
- },
106
- {
107
- "#": "16",
108
- "label": "Scene Respond",
109
- "valueSize": 1,
110
- "minValue": 0,
111
- "maxValue": 0,
112
- "defaultValue": 0
113
- },
114
- {
115
- "#": "17",
116
- "label": "Key1 Scene Activate Mode Setting",
117
- "valueSize": 1,
118
- "defaultValue": 0,
119
- "allowManualEntry": false,
120
- "options": [
121
- {
122
- "label": "Scene activate function disabled",
123
- "value": 0
124
- },
125
- {
126
- "label": "One click key1 always activate scene ID1",
127
- "value": 1
128
- },
129
- {
130
- "label": "Only activate scene ID1 when key1's relay open",
131
- "value": 2
132
- },
133
- {
134
- "label": "Only activate scene ID1 when key1's relay closed",
135
- "value": 3
136
- }
137
- ]
138
- },
139
- {
140
- "#": "18",
141
- "label": "Key1 Activate Scene ID",
142
- "valueSize": 1,
143
- "minValue": 0,
144
- "maxValue": 255,
145
- "defaultValue": 0,
146
- "unsigned": true
147
- },
148
- {
149
- "#": "19",
150
- "label": "Key1 Activate Scene Duration",
151
- "valueSize": 1,
152
- "minValue": 0,
153
- "maxValue": 255,
154
- "defaultValue": 0,
155
- "unsigned": true
156
- },
157
- {
158
- "#": "20",
159
- "label": "Key2 Scene Activate Mode Setting",
160
- "valueSize": 1,
161
- "defaultValue": 0,
162
- "allowManualEntry": false,
163
- "options": [
164
- {
165
- "label": "Scene activate function disabled",
166
- "value": 0
167
- },
168
- {
169
- "label": "Always activate scene ID1",
170
- "value": 1
171
- },
172
- {
173
- "label": "Only activate scene ID1 when key2's relay open",
174
- "value": 2
175
- },
176
- {
177
- "label": "Nly activate scene ID1 when key2's relay closed",
178
- "value": 3
179
- }
180
- ]
181
- },
182
- {
183
- "#": "21",
184
- "label": "Key2 Activate Scene ID",
185
- "valueSize": 1,
186
- "minValue": 0,
187
- "maxValue": 255,
188
- "defaultValue": 0,
189
- "unsigned": true
190
- },
191
- {
192
- "#": "22",
193
- "label": "Key2 Activate Scene Duration",
194
- "valueSize": 1,
195
- "minValue": 0,
196
- "maxValue": 255,
197
- "defaultValue": 0,
198
- "unsigned": true
199
- },
200
- {
201
- "#": "23",
202
- "label": "Key3 Scene Activate Mode Setting",
203
- "valueSize": 1,
204
- "defaultValue": 0,
205
- "allowManualEntry": false,
206
- "options": [
207
- {
208
- "label": "Scene activate function disabled",
209
- "value": 0
210
- },
211
- {
212
- "label": "Always activate scene ID1",
213
- "value": 1
214
- },
215
- {
216
- "label": "Only activate scene ID1 when key3's relay open",
217
- "value": 2
218
- },
219
- {
220
- "label": "Only activate scene ID1 when key3's relay closed",
221
- "value": 3
222
- }
223
- ]
224
- },
225
- {
226
- "#": "24",
227
- "label": "Key3 Activate Scene ID",
228
- "valueSize": 1,
229
- "minValue": 0,
230
- "maxValue": 255,
231
- "defaultValue": 0,
232
- "unsigned": true
233
- },
234
- {
235
- "#": "25",
236
- "label": "Key3 Activate Scene Duration",
237
- "valueSize": 1,
238
- "minValue": 0,
239
- "maxValue": 255,
240
- "defaultValue": 0,
241
- "unsigned": true
242
- },
243
- {
244
- "#": "32",
245
- "label": "Scene Respond ID 1-50",
246
- "valueSize": 1,
247
- "minValue": 0,
248
- "maxValue": 255,
249
- "defaultValue": 0,
250
- "unsigned": true
251
- },
252
- {
253
- "#": "33",
254
- "label": "Scene Respond ID 51-100",
255
- "valueSize": 1,
256
- "minValue": 0,
257
- "maxValue": 255,
258
- "defaultValue": 0,
259
- "unsigned": true
260
- },
261
- {
262
- "#": "34",
263
- "label": "Scene Respond ID 101-150",
264
- "valueSize": 1,
265
- "minValue": 0,
266
- "maxValue": 255,
267
- "defaultValue": 0,
268
- "unsigned": true
269
- },
270
- {
271
- "#": "35",
272
- "label": "Scene Respond ID 151-200",
273
- "valueSize": 1,
274
- "minValue": 0,
275
- "maxValue": 255,
276
- "defaultValue": 0,
277
- "unsigned": true
278
- },
279
- {
280
- "#": "36",
281
- "label": "Scene Respond ID 201-250",
282
- "valueSize": 1,
283
- "minValue": 0,
284
- "maxValue": 255,
285
- "defaultValue": 0,
286
- "unsigned": true
287
- },
288
- {
289
- "#": "255",
290
- "label": "Factory Reset",
291
- "valueSize": 1,
292
- "minValue": 0,
293
- "maxValue": 255,
294
- "defaultValue": 0,
295
- "unsigned": true,
296
- "writeOnly": true,
297
- "options": [
298
- {
299
- "label": "Restore factory setting",
300
- "value": 85
301
- }
302
- ]
303
- }
304
- ]
305
- }