@zwave-js/config 15.15.2 → 15.16.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.
- package/build/cjs/Logic.d.ts +1 -1
- package/build/cjs/Logic.js +6 -7
- package/build/cjs/Logic.js.map +2 -2
- package/build/cjs/LogicParser.d.ts +66 -84
- package/build/cjs/LogicParser.js +410 -1337
- package/build/cjs/LogicParser.js.map +3 -3
- package/build/cjs/_version.d.ts +1 -1
- package/build/cjs/_version.js +1 -1
- package/build/cjs/_version.js.map +1 -1
- package/build/cjs/devices/DeviceConfig.d.ts +3 -3
- package/build/cjs/devices/DeviceConfig.js.map +2 -2
- package/build/cjs/devices/ParamInformation.d.ts +2 -0
- package/build/cjs/devices/ParamInformation.js +15 -1
- package/build/cjs/devices/ParamInformation.js.map +2 -2
- package/build/esm/Logic.d.ts +1 -1
- package/build/esm/Logic.d.ts.map +1 -1
- package/build/esm/Logic.js +6 -8
- package/build/esm/Logic.js.map +1 -1
- package/build/esm/LogicParser.d.ts +66 -84
- package/build/esm/LogicParser.d.ts.map +1 -1
- package/build/esm/LogicParser.js +432 -2335
- package/build/esm/LogicParser.js.map +1 -1
- package/build/esm/_version.d.ts +1 -1
- package/build/esm/_version.js +1 -1
- package/build/esm/devices/DeviceConfig.d.ts +3 -3
- package/build/esm/devices/DeviceConfig.d.ts.map +1 -1
- package/build/esm/devices/DeviceConfig.js.map +1 -1
- package/build/esm/devices/ParamInformation.d.ts +2 -0
- package/build/esm/devices/ParamInformation.d.ts.map +1 -1
- package/build/esm/devices/ParamInformation.js +16 -0
- package/build/esm/devices/ParamInformation.js.map +1 -1
- package/config/devices/0x003b/be468zp.json +1 -1
- package/config/devices/0x003b/be469.json +2 -3
- package/config/devices/0x003b/be469zp.json +2 -3
- package/config/devices/0x0063/55258_zw4002.json +34 -1
- package/config/devices/0x0090/918.json +97 -0
- package/config/devices/0x0090/hc620.json +4 -0
- package/config/devices/0x027a/zse11.json +134 -0
- package/config/devices/templates/master_template.json +1 -1
- package/config/eslint.config.mjs +24 -19
- package/package.json +8 -10
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"#": "16",
|
|
45
|
+
"$if": "firmwareVersion < 2.0",
|
|
45
46
|
"$import": "templates/zooz_template.json#binary_sensor_report"
|
|
46
47
|
},
|
|
47
48
|
{
|
|
@@ -67,6 +68,52 @@
|
|
|
67
68
|
"label": "Flash LED on Motion",
|
|
68
69
|
"defaultValue": 1
|
|
69
70
|
},
|
|
71
|
+
{
|
|
72
|
+
"#": "20",
|
|
73
|
+
"$if": "firmwareVersion >= 2.0",
|
|
74
|
+
"$import": "~/templates/master_template.json#base_enable_disable",
|
|
75
|
+
"label": "Vibration Sensor",
|
|
76
|
+
"defaultValue": 1
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"#": "21",
|
|
80
|
+
"$if": "firmwareVersion >= 2.0",
|
|
81
|
+
"label": "Brightness Sensing Interval",
|
|
82
|
+
"valueSize": 2,
|
|
83
|
+
"unit": "seconds",
|
|
84
|
+
"minValue": 0,
|
|
85
|
+
"maxValue": 43200,
|
|
86
|
+
"defaultValue": 10,
|
|
87
|
+
"unsigned": true,
|
|
88
|
+
"options": [
|
|
89
|
+
{
|
|
90
|
+
"label": "Disable",
|
|
91
|
+
"value": 0
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"#": "22",
|
|
97
|
+
"$if": "firmwareVersion >= 2.0",
|
|
98
|
+
"label": "Temperature Sensing Interval",
|
|
99
|
+
"valueSize": 2,
|
|
100
|
+
"unit": "seconds",
|
|
101
|
+
"minValue": 0,
|
|
102
|
+
"maxValue": 43200,
|
|
103
|
+
"defaultValue": 60,
|
|
104
|
+
"unsigned": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"#": "23",
|
|
108
|
+
"$if": "firmwareVersion >= 2.0",
|
|
109
|
+
"label": "Humidity Sensing Interval",
|
|
110
|
+
"valueSize": 2,
|
|
111
|
+
"unit": "seconds",
|
|
112
|
+
"minValue": 0,
|
|
113
|
+
"maxValue": 43200,
|
|
114
|
+
"defaultValue": 60,
|
|
115
|
+
"unsigned": true
|
|
116
|
+
},
|
|
70
117
|
{
|
|
71
118
|
"#": "32",
|
|
72
119
|
"$import": "templates/zooz_template.json#low_battery_alarm_threshold",
|
|
@@ -81,6 +128,57 @@
|
|
|
81
128
|
"maxValue": 744,
|
|
82
129
|
"defaultValue": 4
|
|
83
130
|
},
|
|
131
|
+
{
|
|
132
|
+
"#": "173",
|
|
133
|
+
"$if": "firmwareVersion >= 2.0",
|
|
134
|
+
"label": "Temperature Reporting Interval",
|
|
135
|
+
"valueSize": 2,
|
|
136
|
+
"unit": "seconds",
|
|
137
|
+
"minValue": 0,
|
|
138
|
+
"maxValue": 43200,
|
|
139
|
+
"defaultValue": 0,
|
|
140
|
+
"unsigned": true,
|
|
141
|
+
"options": [
|
|
142
|
+
{
|
|
143
|
+
"label": "Reports based on threshold only",
|
|
144
|
+
"value": 0
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"#": "174",
|
|
150
|
+
"$if": "firmwareVersion >= 2.0",
|
|
151
|
+
"label": "Humidity Reporting Interval",
|
|
152
|
+
"valueSize": 2,
|
|
153
|
+
"unit": "seconds",
|
|
154
|
+
"minValue": 0,
|
|
155
|
+
"maxValue": 43200,
|
|
156
|
+
"defaultValue": 0,
|
|
157
|
+
"unsigned": true,
|
|
158
|
+
"options": [
|
|
159
|
+
{
|
|
160
|
+
"label": "Reports based on threshold only",
|
|
161
|
+
"value": 0
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"#": "175",
|
|
167
|
+
"$if": "firmwareVersion >= 2.0",
|
|
168
|
+
"label": "Brightness Reporting Interval",
|
|
169
|
+
"valueSize": 2,
|
|
170
|
+
"unit": "seconds",
|
|
171
|
+
"minValue": 0,
|
|
172
|
+
"maxValue": 43200,
|
|
173
|
+
"defaultValue": 0,
|
|
174
|
+
"unsigned": true,
|
|
175
|
+
"options": [
|
|
176
|
+
{
|
|
177
|
+
"label": "Reports based on threshold only",
|
|
178
|
+
"value": 0
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
},
|
|
84
182
|
{
|
|
85
183
|
"#": "182",
|
|
86
184
|
"$import": "~/templates/master_template.json#base_0-99_nounit",
|
|
@@ -132,6 +230,42 @@
|
|
|
132
230
|
"value": 0
|
|
133
231
|
}
|
|
134
232
|
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"#": "201",
|
|
236
|
+
"$if": "firmwareVersion >= 2.0",
|
|
237
|
+
"label": "Temperature Calibration",
|
|
238
|
+
"description": "Value is offset by 100: 0 = -10 °F, 50 = -5 °F, 100 = 0 °F, 150 = +5 °F, 200 = +10 °F",
|
|
239
|
+
"valueSize": 1,
|
|
240
|
+
"unit": "0.1 °F",
|
|
241
|
+
"minValue": 0,
|
|
242
|
+
"maxValue": 200,
|
|
243
|
+
"defaultValue": 100,
|
|
244
|
+
"unsigned": true
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"#": "202",
|
|
248
|
+
"$if": "firmwareVersion >= 2.0",
|
|
249
|
+
"label": "Humidity Calibration",
|
|
250
|
+
"description": "Value is offset by 100: 0 = -10%, 50 = -5%, 100 = 0%, 150 = +5%, 200 = +10%",
|
|
251
|
+
"valueSize": 1,
|
|
252
|
+
"unit": "0.1 %",
|
|
253
|
+
"minValue": 0,
|
|
254
|
+
"maxValue": 200,
|
|
255
|
+
"defaultValue": 100,
|
|
256
|
+
"unsigned": true
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"#": "203",
|
|
260
|
+
"$if": "firmwareVersion >= 2.0",
|
|
261
|
+
"label": "Brightness Calibration",
|
|
262
|
+
"description": "Value is offset by 100: 0 = -10 lux, 50 = -5 lux, 100 = 0 lux, 150 = +5 lux, 200 = +10 lux",
|
|
263
|
+
"valueSize": 1,
|
|
264
|
+
"unit": "0.1 lux",
|
|
265
|
+
"minValue": 0,
|
|
266
|
+
"maxValue": 200,
|
|
267
|
+
"defaultValue": 100,
|
|
268
|
+
"unsigned": true
|
|
135
269
|
}
|
|
136
270
|
],
|
|
137
271
|
"compat": [
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
},
|
|
660
660
|
"7xx_firmware_bug_pre_7_17_2": {
|
|
661
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/zwave-js/#/troubleshooting/
|
|
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/zwave-js/#/troubleshooting/common-issues?id=_700800-series-controller-is-quotjammedquot-or-becomes-unresponsive"
|
|
663
663
|
},
|
|
664
664
|
"7xx_firmware_bug_7_19_to_7_21_3": {
|
|
665
665
|
"level": "warning",
|
package/config/eslint.config.mjs
CHANGED
|
@@ -24,24 +24,29 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
|
24
24
|
const rel = relative(process.cwd(), __dirname);
|
|
25
25
|
const glob = join(rel, "devices/**/*.json");
|
|
26
26
|
|
|
27
|
-
export default
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"@zwave-js": zjs,
|
|
27
|
+
export default [
|
|
28
|
+
{
|
|
29
|
+
ignores: ["**/build/**"],
|
|
31
30
|
},
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
{
|
|
32
|
+
files: [glob],
|
|
33
|
+
plugins: {
|
|
34
|
+
"@zwave-js": zjs,
|
|
35
|
+
},
|
|
36
|
+
languageOptions: {
|
|
37
|
+
parser: jsonc,
|
|
38
|
+
},
|
|
39
|
+
rules: {
|
|
40
|
+
"@zwave-js/auto-unsigned": "error",
|
|
41
|
+
"@zwave-js/consistent-config-string-case": "error",
|
|
42
|
+
"@zwave-js/consistent-device-config-property-order": "error",
|
|
43
|
+
"@zwave-js/consistent-param-units": "error",
|
|
44
|
+
"@zwave-js/no-misspelled-names": "error",
|
|
45
|
+
"@zwave-js/no-surrounding-whitespace": "error",
|
|
46
|
+
"@zwave-js/no-unnecessary-min-max-value": "error",
|
|
47
|
+
"@zwave-js/no-useless-description": "error",
|
|
48
|
+
"@zwave-js/no-value-in-option-label": "error",
|
|
49
|
+
"@zwave-js/prefer-defaultvalue": "error",
|
|
50
|
+
},
|
|
34
51
|
},
|
|
35
|
-
|
|
36
|
-
"@zwave-js/auto-unsigned": "error",
|
|
37
|
-
"@zwave-js/consistent-config-string-case": "error",
|
|
38
|
-
"@zwave-js/consistent-device-config-property-order": "error",
|
|
39
|
-
"@zwave-js/consistent-param-units": "error",
|
|
40
|
-
"@zwave-js/no-misspelled-names": "error",
|
|
41
|
-
"@zwave-js/no-surrounding-whitespace": "error",
|
|
42
|
-
"@zwave-js/no-unnecessary-min-max-value": "error",
|
|
43
|
-
"@zwave-js/no-useless-description": "error",
|
|
44
|
-
"@zwave-js/no-value-in-option-label": "error",
|
|
45
|
-
"@zwave-js/prefer-defaultvalue": "error",
|
|
46
|
-
},
|
|
47
|
-
};
|
|
52
|
+
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zwave-js/config",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.16.0",
|
|
4
4
|
"description": "zwave-js: configuration files",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"publishConfig": {
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"test:dirty": "tsx ../maintenance/src/resolveDirtyTests.ts --run"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@zwave-js/core": "15.
|
|
83
|
-
"@zwave-js/shared": "15.
|
|
82
|
+
"@zwave-js/core": "15.16.0",
|
|
83
|
+
"@zwave-js/shared": "15.16.0",
|
|
84
84
|
"alcalzone-shared": "^5.0.0",
|
|
85
85
|
"ansi-colors": "^4.1.3",
|
|
86
|
-
"eslint": "^9.
|
|
86
|
+
"eslint": "^9.38.0",
|
|
87
87
|
"json-logic-js": "^2.0.5",
|
|
88
88
|
"json5": "^2.2.3",
|
|
89
89
|
"pathe": "^2.0.3",
|
|
@@ -95,23 +95,21 @@
|
|
|
95
95
|
"@microsoft/api-extractor": "^7.52.11",
|
|
96
96
|
"@types/js-levenshtein": "^1.1.3",
|
|
97
97
|
"@types/json-logic-js": "^2.0.8",
|
|
98
|
-
"@types/node": "^20.19.
|
|
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
102
|
"@types/yargs": "^17.0.33",
|
|
103
|
-
"@zwave-js/maintenance": "15.
|
|
103
|
+
"@zwave-js/maintenance": "15.16.0",
|
|
104
104
|
"comment-json": "^4.3.0",
|
|
105
105
|
"del-cli": "^6.0.0",
|
|
106
106
|
"es-main": "^1.4.0",
|
|
107
107
|
"js-levenshtein": "^1.1.6",
|
|
108
108
|
"ky": "^1.8.1",
|
|
109
|
-
"peggy": "^3.0.2",
|
|
110
109
|
"sinon": "^21.0.0",
|
|
111
|
-
"ts-pegjs": "patch:ts-pegjs@npm%3A4.2.1#~/.yarn/patches/ts-pegjs-npm-4.2.1-0f567a1059.patch",
|
|
112
110
|
"tsx": "^4.20.5",
|
|
113
|
-
"typescript": "5.
|
|
114
|
-
"vitest": "^
|
|
111
|
+
"typescript": "5.9.3",
|
|
112
|
+
"vitest": "^4.0.0",
|
|
115
113
|
"xml2js": "^0.6.2",
|
|
116
114
|
"yargs": "^18.0.0"
|
|
117
115
|
}
|