@zwave-js/config 15.16.0 → 15.18.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.
Files changed (45) hide show
  1. package/build/cjs/JsonTemplate.js +2 -2
  2. package/build/cjs/JsonTemplate.js.map +2 -2
  3. package/build/cjs/Manufacturers.js +1 -1
  4. package/build/cjs/Manufacturers.js.map +2 -2
  5. package/build/cjs/_version.d.ts +1 -1
  6. package/build/cjs/_version.js +1 -1
  7. package/build/cjs/_version.js.map +1 -1
  8. package/build/cjs/devices/DeviceConfig.js +3 -3
  9. package/build/cjs/devices/DeviceConfig.js.map +2 -2
  10. package/build/cjs/devices/DeviceConfig.unit._test.js.map +1 -1
  11. package/build/cjs/devices/ParamInformation.d.ts +1 -0
  12. package/build/cjs/devices/ParamInformation.js +9 -2
  13. package/build/cjs/devices/ParamInformation.js.map +2 -2
  14. package/build/cjs/index.js.map +2 -2
  15. package/build/esm/JsonTemplate.js +2 -2
  16. package/build/esm/JsonTemplate.js.map +1 -1
  17. package/build/esm/Manufacturers.js +1 -1
  18. package/build/esm/Manufacturers.js.map +1 -1
  19. package/build/esm/_version.d.ts +1 -1
  20. package/build/esm/_version.js +1 -1
  21. package/build/esm/devices/DeviceConfig.d.ts.map +1 -1
  22. package/build/esm/devices/DeviceConfig.js +4 -3
  23. package/build/esm/devices/DeviceConfig.js.map +1 -1
  24. package/build/esm/devices/DeviceConfig.unit._test.js +1 -0
  25. package/build/esm/devices/DeviceConfig.unit._test.js.map +1 -1
  26. package/build/esm/devices/ParamInformation.d.ts +1 -0
  27. package/build/esm/devices/ParamInformation.d.ts.map +1 -1
  28. package/build/esm/devices/ParamInformation.js +9 -2
  29. package/build/esm/devices/ParamInformation.js.map +1 -1
  30. package/build/esm/index.d.ts.map +1 -1
  31. package/build/esm/index.js +0 -1
  32. package/build/esm/index.js.map +1 -1
  33. package/config/devices/0x0090/918.json +4 -0
  34. package/config/devices/0x0118/tz55d.json +6 -1
  35. package/config/devices/0x0148/cometz_700.json +1 -1
  36. package/config/devices/0x019b/z-trm6_dc.json +407 -0
  37. package/config/devices/0x021d/{ddl240x.json → ddl240x_15hzw.json} +1 -2
  38. package/config/devices/0x021d/ddl240x_1hzw.json +115 -0
  39. package/config/devices/0x0460/qlsh-001P10.json +119 -0
  40. package/config/devices/0x0460/qnpl-0A112.json +4 -0
  41. package/config/devices/0x0460/qnsw-001P16.json +15 -0
  42. package/config/devices/0x0460/qnsw-001X16.json +10 -0
  43. package/config/devices/0x0460/templates/wave_template.json +70 -0
  44. package/config/devices/0x0460/{qnsw-002P16.json → wave_2pm.json} +22 -1
  45. package/package.json +7 -7
@@ -35,6 +35,12 @@
35
35
  "$import": "templates/wave_template.json#switch_type",
36
36
  "label": "SW1 Switch Type"
37
37
  },
38
+ {
39
+ "#": "7",
40
+ "$if": "firmwareVersion >= 13.00",
41
+ "$import": "templates/wave_template.json#detached_mode",
42
+ "label": "Detach O Output"
43
+ },
38
44
  {
39
45
  "#": "17",
40
46
  "$import": "~/templates/master_template.json#state_after_power_failure_prev_off",
@@ -62,21 +68,25 @@
62
68
  },
63
69
  {
64
70
  "#": "91",
71
+ "$if": "firmwareVersion < 13.00",
65
72
  "$import": "templates/wave_template.json#alarm_configuration",
66
73
  "label": "Alarm Configuration: Water"
67
74
  },
68
75
  {
69
76
  "#": "92",
77
+ "$if": "firmwareVersion < 13.00",
70
78
  "$import": "templates/wave_template.json#alarm_configuration",
71
79
  "label": "Alarm Configuration: Smoke"
72
80
  },
73
81
  {
74
82
  "#": "93",
83
+ "$if": "firmwareVersion < 13.00",
75
84
  "$import": "templates/wave_template.json#alarm_configuration",
76
85
  "label": "Alarm Configuration: CO"
77
86
  },
78
87
  {
79
88
  "#": "94",
89
+ "$if": "firmwareVersion < 13.00",
80
90
  "$import": "templates/wave_template.json#alarm_configuration",
81
91
  "label": "Alarm Configuration: Heat"
82
92
  },
@@ -360,6 +360,76 @@
360
360
  "maxValue": 32535,
361
361
  "defaultValue": 30
362
362
  },
363
+ "operating_modes": {
364
+ "label": "Operating Modes",
365
+ "valueSize": 1,
366
+ "defaultValue": 0,
367
+ "allowManualEntry": false,
368
+ "options": [
369
+ {
370
+ "label": "Shutter",
371
+ "value": 0
372
+ },
373
+ {
374
+ "label": "Venetian blind",
375
+ "value": 1
376
+ },
377
+ {
378
+ "label": "Set Manual time",
379
+ "value": 2
380
+ }
381
+ ]
382
+ },
383
+ "motor_limit_detection": {
384
+ "label": "Motor Limit Detection",
385
+ "description": "Power threshold used to detect a limit switch. Increase this value if the device falsely detects limit switches.",
386
+ "valueSize": 1,
387
+ "minValue": 0,
388
+ "maxValue": 255,
389
+ "defaultValue": 1,
390
+ "unsigned": true,
391
+ "options": [
392
+ {
393
+ "label": "Disable",
394
+ "value": 0
395
+ },
396
+ {
397
+ "label": "Auto calibration",
398
+ "value": 1
399
+ }
400
+ ]
401
+ },
402
+ "delay_limit_detection": {
403
+ "label": "Limit Detection Delay Time",
404
+ "description": "Defines the delay before motor power is read after a relay switches ON. Allowable range: 0, 3-50.",
405
+ "unit": "0.1 seconds",
406
+ "valueSize": 1,
407
+ "minValue": 0,
408
+ "maxValue": 50,
409
+ "defaultValue": 3,
410
+ "options": [
411
+ {
412
+ "label": "Automatic time",
413
+ "value": 0
414
+ }
415
+ ]
416
+ },
417
+ "max_moving_time": {
418
+ "label": "Shutter Max Moving Time",
419
+ "description": "Defines the maximum time the motor can move before stopping. Allowable range: 1-32000, 65000",
420
+ "unit": "seconds",
421
+ "valueSize": 2,
422
+ "minValue": 1,
423
+ "maxValue": 65000,
424
+ "defaultValue": 120,
425
+ "unsigned": true,
426
+ "options": [
427
+ {
428
+ "label": "unlimited time",
429
+ "value": 65000
430
+ }
431
+ ]
432
+ },
363
433
  "default_metadata": {
364
434
  "inclusion": "6.1 Adding the Device to a Z-Wave™ network (inclusion)\nNote! All Device outputs (O, O1, O2, etc. - depending on the Device type) will turn the load 1s on/1s off /1s on/1s off if the Device is successfully added to/removed from a Z-Wave™ network.\n\n6.1.1 SmartStart adding (inclusion)\nSmartStart enabled products can be added into a Z-Wave™ network by scanning the Z-Wave™ QR Code present on the Device with a gateway providing SmartStart inclusion. No further action is required, and the SmartStart device will be added automatically within 10 minutes of being switched on in the network vicinity.\n1. With the gateway application scan the QR code on the Device label and add the Security 2 (S2) Device Specific Key (DSK) to the provisioning list in the gateway.\n2. Connect the Device to a power supply.\n3. Check if the blue LED is blinking in Mode 1. If so, the Device is not added to a Z-Wave™ network.\n4. Adding will be initiated automatically within a few seconds after connecting the Device to a power supply, and the Device will be added to a Z-Wave™ network automatically.\n5. The blue LED will be blinking in Mode 2 during the adding process.\n6. The green LED will be blinking in Mode 1 if the Device is successfully added to a Z-Wave™ network.\n\n6.1.2 Adding (inclusion) with a switch/push-button\n1. Connect the Device to a power supply.\n2. Check if the blue LED is blinking in Mode 1. If so, the Device is not added to a Z-Wave™ network.\n3. Enable add/remove mode on the gateway.\n4. Toggle the switch/push-button connected to any of the SW terminals (SW, SW1, SW2, etc.) 3 times within 3 seconds (this procedure puts the Device in Learn mode*). The Device must receive on/off signal 3 times, which means pressing the momentary switch 3 times, or toggling the switch on and off 3 times.\n5. The blue LED will be blinking in Mode 2 during the adding process.\n6. The green LED will be blinking in Mode 1 if the Device is successfully added to a Z-Wave™ network.\n*Learn mode - a state that allows the Device to receive network information from the gateway.\n\n6.1.3 Adding (inclusion) with the S button\n1. Connect the Device to a power supply.\n2. Check if the blue LED is blinking in Mode 1. If so, the Device is not added to a Z-Wave™ network.\n3. Enable add/remove mode on the gateway.\n4. To enter the Setting mode, quickly press and hold the S button on the Device until the LED turns solid blue.\n5. Quickly release and then press and hold (> 2s) the S button on the Device until the blue LED starts blinking in Mode 3. Releasing the S button will start the Learn mode.\n6. The blue LED will be blinking in Mode 2 during the adding process.\n7. The green LED will be blinking in Mode 1 if the Device is successfully added to a Z-Wave™ network.\nNote! In Setting mode, the Device has a timeout of 10s before entering again into Normal mode",
365
435
  "exclusion": "Removing the Device from a Z-Wave™ network (exclusion)\nNote! The Device will be removed from your Z-wave™ network, but any custom configuration parameters will not be erased.\nNote! All Device outputs (O, O1, O2, etc. - depending on the Device type) will turn the load 1s on/1s off /1s on/1s off if the Device is successfully added to/removed from a Z-Wave™ network.\n\n6.2.1 Removing (exclusion) with a switch/push-button\n1. Connect the Device to a power supply.\n2. Check if the green LED is blinking in Mode 1. If so, the Device is added to a Z-Wave™ network.\n3. Enable add/remove mode on the gateway.\n4. Toggle the switch/push-button connected to any of the SW terminals (SW, SW1, SW2,…) 3 times within 3 seconds (this procedure puts the Device in Learn mode). The Device must receive on/off signal 3 times, which means pressing the momentary switch 3 times, or toggling the switch on and off 3 times.\n5. The blue LED will be blinking in Mode 2 during the removing process.\n6. The blue LED will be blinking in Mode 1 if the Device is successfully removed from a Z-Wave™ network.\n\n6.2.2 Removing (exclusion) with the S button\n1. Connect the Device to a power supply.\n2. Check if the green LED is blinking in Mode 1. If so, the Device is added to a Z-Wave™ network.\n3. Enable add/remove mode on the gateway.\n4. To enter the Setting mode, quickly press and hold the S button on the Device until the LED turns solid blue.\n5. Quickly release and then press and hold (> 2s) the S button on the Device until the blue LED starts blinking in Mode 3. Releasing the S button will start the Learn mode.\n6. The blue LED will be blinking in Mode 2 during the removing process.\n7. The blue LED will be blinking in Mode 1 if the Device is successfully removed from a Z-Wave™ network.\nNote! In Setting mode, the Device has a timeout of 10s before entering again into Normal mode",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manufacturer": "Shelly Europe Ltd.",
3
3
  "manufacturerId": "0x0460",
4
- "label": "QNSW-002P16",
4
+ "label": "QNSW-002P16EU / QLSW-002P14US",
5
5
  "description": "Wave 2PM",
6
6
  "devices": [
7
7
  {
@@ -74,6 +74,18 @@
74
74
  "$import": "templates/wave_template.json#switch_type",
75
75
  "label": "SW2 Switch Type"
76
76
  },
77
+ {
78
+ "#": "7",
79
+ "$if": "firmwareVersion >= 16.00",
80
+ "$import": "templates/wave_template.json#detached_mode",
81
+ "label": "Detach O1 Output"
82
+ },
83
+ {
84
+ "#": "8",
85
+ "$if": "firmwareVersion >= 16.00",
86
+ "$import": "templates/wave_template.json#detached_mode",
87
+ "label": "Detach O2 Output"
88
+ },
77
89
  {
78
90
  "#": "6",
79
91
  "$import": "templates/wave_template.json#swap_inputs"
@@ -154,24 +166,33 @@
154
166
  },
155
167
  {
156
168
  "#": "91",
169
+ "$if": "firmwareVersion < 15.00",
157
170
  "$import": "templates/wave_template.json#alarm_configuration",
158
171
  "label": "Alarm Configuration: Water"
159
172
  },
160
173
  {
161
174
  "#": "92",
175
+ "$if": "firmwareVersion < 15.00",
162
176
  "$import": "templates/wave_template.json#alarm_configuration",
163
177
  "label": "Alarm Configuration: Smoke"
164
178
  },
165
179
  {
166
180
  "#": "93",
181
+ "$if": "firmwareVersion < 15.00",
167
182
  "$import": "templates/wave_template.json#alarm_configuration",
168
183
  "label": "Alarm Configuration: CO"
169
184
  },
170
185
  {
171
186
  "#": "94",
187
+ "$if": "firmwareVersion < 15.00",
172
188
  "$import": "templates/wave_template.json#alarm_configuration",
173
189
  "label": "Alarm Configuration: Heat"
174
190
  },
191
+ {
192
+ "#": "117",
193
+ "$if": "firmwareVersion >= 16.00",
194
+ "$import": "templates/wave_template.json#remote_reboot"
195
+ },
175
196
  {
176
197
  "#": "120",
177
198
  "$import": "templates/wave_template.json#factory_reset"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "15.16.0",
3
+ "version": "15.18.0",
4
4
  "description": "zwave-js: configuration files",
5
5
  "keywords": [],
6
6
  "publishConfig": {
@@ -79,8 +79,8 @@
79
79
  "test:dirty": "tsx ../maintenance/src/resolveDirtyTests.ts --run"
80
80
  },
81
81
  "dependencies": {
82
- "@zwave-js/core": "15.16.0",
83
- "@zwave-js/shared": "15.16.0",
82
+ "@zwave-js/core": "15.18.0",
83
+ "@zwave-js/shared": "15.18.0",
84
84
  "alcalzone-shared": "^5.0.0",
85
85
  "ansi-colors": "^4.1.3",
86
86
  "eslint": "^9.38.0",
@@ -88,19 +88,19 @@
88
88
  "json5": "^2.2.3",
89
89
  "pathe": "^2.0.3",
90
90
  "semver": "^7.7.2",
91
- "winston": "^3.17.0"
91
+ "winston": "^3.18.3"
92
92
  },
93
93
  "devDependencies": {
94
94
  "@alcalzone/esm2cjs": "^1.4.2",
95
- "@microsoft/api-extractor": "^7.52.11",
95
+ "@microsoft/api-extractor": "^7.55.1",
96
96
  "@types/js-levenshtein": "^1.1.3",
97
97
  "@types/json-logic-js": "^2.0.8",
98
98
  "@types/node": "^20.19.23",
99
99
  "@types/semver": "^7.7.1",
100
100
  "@types/sinon": "^17.0.4",
101
101
  "@types/xml2js": "^0.4.14",
102
- "@types/yargs": "^17.0.33",
103
- "@zwave-js/maintenance": "15.16.0",
102
+ "@types/yargs": "^17.0.34",
103
+ "@zwave-js/maintenance": "15.18.0",
104
104
  "comment-json": "^4.3.0",
105
105
  "del-cli": "^6.0.0",
106
106
  "es-main": "^1.4.0",