@zwave-js/config 9.0.0-beta.5 → 9.0.0-beta.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.
package/build/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from "./ConfigManager";
2
2
  export * from "./DeviceClasses";
3
3
  export * from "./Devices";
4
4
  export * from "./Indicators";
5
+ export { ConfigLogContext } from "./Logger";
5
6
  export * from "./Manufacturers";
6
7
  export * from "./Meters";
7
8
  export * from "./Notifications";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
package/build/index.js CHANGED
@@ -19,6 +19,7 @@ __exportStar(require("./ConfigManager"), exports);
19
19
  __exportStar(require("./DeviceClasses"), exports);
20
20
  __exportStar(require("./Devices"), exports);
21
21
  __exportStar(require("./Indicators"), exports);
22
+ var Logger_1 = require("./Logger");
22
23
  __exportStar(require("./Manufacturers"), exports);
23
24
  __exportStar(require("./Meters"), exports);
24
25
  __exportStar(require("./Notifications"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,+CAA6B;AAC7B,kDAAgC;AAChC,2CAAyB;AACzB,kDAAgC;AAChC,2CAAyB;AACzB,gDAA8B;AAC9B,iCAA4C;AAAnC,0GAAA,iBAAiB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,+CAA6B;AAC7B,mCAA4C;AAC5C,kDAAgC;AAChC,2CAAyB;AACzB,kDAAgC;AAChC,2CAAyB;AACzB,gDAA8B;AAC9B,iCAA4C;AAAnC,0GAAA,iBAAiB,OAAA"}
@@ -491,7 +491,8 @@
491
491
  }
492
492
  ],
493
493
  "compat": {
494
- "treatBasicSetAsEvent": true
494
+ "treatBasicSetAsEvent": true,
495
+ "treatMultilevelSwitchSetAsEvent": true
495
496
  },
496
497
  "metadata": {
497
498
  "inclusion": "Turn the primary controller of Z-Wave network into inclusion mode, short press the product’s Action button that you can find on the product's housing",
@@ -21,23 +21,46 @@
21
21
  "isLifeline": true
22
22
  },
23
23
  "2": {
24
- "label": "Siren status",
25
- "description": "is assigned to the siren status - ON/OFF. Allows for sending a controlled command to the associated device whenever the Indoor siren is turned ON (or OFF).",
24
+ "label": "Siren Status",
26
25
  "maxNodes": 5,
27
26
  "isLifeline": true
28
27
  }
29
28
  },
30
29
  "paramInformation": [
30
+ {
31
+ "#": "7",
32
+ "label": "Operating Mode",
33
+ "valueSize": 1,
34
+ "minValue": 1,
35
+ "maxValue": 2,
36
+ "defaultValue": 1,
37
+ "unsigned": true,
38
+ "allowManualEntry": false,
39
+ "options": [
40
+ {
41
+ "label": "Alarm",
42
+ "value": 1
43
+ },
44
+ {
45
+ "label": "Doorbell",
46
+ "value": 2
47
+ }
48
+ ]
49
+ },
31
50
  {
32
51
  "#": "1",
33
52
  "label": "Alarm Volume",
34
53
  "valueSize": 1,
35
- "minValue": 1,
54
+ "minValue": 0,
36
55
  "maxValue": 3,
37
56
  "defaultValue": 2,
38
57
  "unsigned": true,
39
58
  "allowManualEntry": false,
40
59
  "options": [
60
+ {
61
+ "label": "Disable",
62
+ "value": 0
63
+ },
41
64
  {
42
65
  "label": "Low",
43
66
  "value": 1
@@ -56,12 +79,16 @@
56
79
  "#": "2",
57
80
  "label": "Alarm Duration",
58
81
  "valueSize": 1,
59
- "minValue": 1,
82
+ "minValue": 0,
60
83
  "maxValue": 3,
61
84
  "defaultValue": 2,
62
85
  "unsigned": true,
63
86
  "allowManualEntry": false,
64
87
  "options": [
88
+ {
89
+ "label": "Disable",
90
+ "value": 0
91
+ },
65
92
  {
66
93
  "label": "30 Seconds",
67
94
  "value": 1
@@ -76,10 +103,24 @@
76
103
  }
77
104
  ]
78
105
  },
106
+ {
107
+ "#": "5",
108
+ "label": "Alarm Sound",
109
+ "valueSize": 1,
110
+ "minValue": 1,
111
+ "maxValue": 10,
112
+ "defaultValue": 9,
113
+ "unsigned": true
114
+ },
115
+ {
116
+ "#": "8",
117
+ "$import": "~/templates/master_template.json#base_enable_disable",
118
+ "label": "Alarm LED",
119
+ "defaultValue": 1
120
+ },
79
121
  {
80
122
  "#": "3",
81
- "label": "Configuring doorbell music duration time",
82
- "description": "Duration",
123
+ "label": "Doorbell Duration",
83
124
  "unit": "seconds",
84
125
  "valueSize": 1,
85
126
  "minValue": 0,
@@ -88,15 +129,14 @@
88
129
  "unsigned": true,
89
130
  "options": [
90
131
  {
91
- "label": "Disabled",
132
+ "label": "Disable",
92
133
  "value": 255
93
134
  }
94
135
  ]
95
136
  },
96
137
  {
97
138
  "#": "4",
98
- "label": "Configure doorbell music volume",
99
- "description": "Low, Medium, High",
139
+ "label": "Doorbell Volume",
100
140
  "valueSize": 1,
101
141
  "minValue": 1,
102
142
  "maxValue": 3,
@@ -118,25 +158,19 @@
118
158
  }
119
159
  ]
120
160
  },
121
- {
122
- "#": "5",
123
- "label": "Configure alarm sound index",
124
- "description": "Sound types",
125
- "valueSize": 1,
126
- "minValue": 1,
127
- "maxValue": 10,
128
- "defaultValue": 9,
129
- "unsigned": true
130
- },
131
161
  {
132
162
  "#": "6",
133
- "label": "Configure doorbell music index",
134
- "description": "Sound types",
163
+ "label": "Doorbell Sound",
135
164
  "valueSize": 1,
136
165
  "minValue": 1,
137
166
  "maxValue": 10,
138
167
  "defaultValue": 10,
139
168
  "unsigned": true
169
+ },
170
+ {
171
+ "#": "9",
172
+ "$import": "~/templates/master_template.json#base_enable_disable",
173
+ "label": "Doorbell LED"
140
174
  }
141
175
  ],
142
176
  "metadata": {
@@ -200,5 +200,10 @@
200
200
  "exclusion": "1. Connect the device to the power supply.\n2. Make sure the device is within direct range of your Z-Wave gateway (hub) or use a hand-held Z-Wave remote to perform exclusion.\n3. Enable exclusion mode on your Z-Wave gateway (hub).\n4. Press once on button 3 – right. One press on button 4 – down for enabling full white. When full white is enabled, press, and hold button 3 – right for 5 seconds. After 5 seconds, the device starts flashing red 1 second ON, 0.5 second OFF. \nOnce the device loses node ID (after 10 seconds), it stops flashing and turns full red. The procedure is always available. \nNOTE: LEARN MODE state allows the device to receive network information from the controller",
201
201
  "reset": "1. Connect the device to the power supply\n2. Press once on button 3 – right. One press on button 4 – down for enabling full white. When full white is enabled, press and hold button 5 – left for 10 seconds. After 10 seconds, the device starts flashing blue 1 second on, 0.5 second off. \nAfter 10 seconds the device stops flashing and turns full blue. The procedure is available always. By resetting the device, all custom parameters previously set on the device will return to their default values, and a node ID will be deleted. Use this reset procedure only when the gateway (hub) is missing or otherwise inoperable.\nNOTE: See extended manual for custom settings and parameters available for this device.",
202
202
  "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4079/Qubino%20Luxy%20Smart%20Switch%20installation%20certification.pdf"
203
+ },
204
+ "compat": {
205
+ // This device has two endpoints which are considered "unnecessary",
206
+ // but the root endpoint doesn't expose all their functionality.
207
+ "preserveEndpoints": "*"
203
208
  }
204
209
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "9.0.0-beta.5",
3
+ "version": "9.0.0-beta.7",
4
4
  "description": "zwave-js: configuration files",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,8 +40,8 @@
40
40
  "ts": "node -r esbuild-register"
41
41
  },
42
42
  "dependencies": {
43
- "@zwave-js/core": "9.0.0-beta.5",
44
- "@zwave-js/shared": "9.0.0-beta.2",
43
+ "@zwave-js/core": "9.0.0-beta.7",
44
+ "@zwave-js/shared": "9.0.0-beta.7",
45
45
  "alcalzone-shared": "^4.0.1",
46
46
  "ansi-colors": "^4.1.1",
47
47
  "fs-extra": "^10.0.1",
@@ -60,10 +60,10 @@
60
60
  "@types/semver": "^7.3.9",
61
61
  "@types/xml2json": "^0.11.4",
62
62
  "@types/yargs": "^17.0.9",
63
- "@zwave-js/maintenance": "9.0.0-beta.5",
63
+ "@zwave-js/maintenance": "9.0.0-beta.7",
64
64
  "axios": "^0.26.0",
65
65
  "comment-json": "^4.2.2",
66
- "esbuild": "0.14.1",
66
+ "esbuild": "0.14.27",
67
67
  "esbuild-register": "^3.3.2",
68
68
  "jest-extended": "^2.0.0",
69
69
  "js-levenshtein": "^1.1.6",