@zwave-js/config 10.13.0 → 10.15.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/config/devices/0x0090/910.json +3 -0
- package/config/devices/0x0090/912.json +3 -0
- package/config/devices/0x0090/914.json +3 -0
- package/config/devices/0x0090/smartcode_888.json +3 -0
- package/config/devices/0x0090/templates/kwikset_template.json +18 -1
- package/config/devices/0x0109/yrd210.json +3 -0
- package/config/devices/0x0129/sd-l1000-ch.json +3 -0
- package/config/devices/0x0129/templates/yale_template.json +15 -1
- package/config/devices/0x0129/yrd110.json +3 -0
- package/config/devices/0x0129/yrd120.json +3 -0
- package/config/devices/0x0129/yrd210.json +3 -0
- package/config/devices/0x0129/yrd220.json +3 -0
- package/config/devices/0x0129/yrd256-zw3.json +3 -0
- package/config/devices/0x0129/yrd256.json +3 -0
- package/config/devices/0x0129/yrl210.json +3 -0
- package/config/devices/0x0129/yrl220.json +3 -0
- package/config/devices/0x0129/yrl256.json +3 -0
- package/config/devices/0x0159/zmnhad.json +7 -1
- package/config/devices/0x045a/Z-CM-V01.json +199 -0
- package/config/notifications.json +17 -3
- package/package.json +4 -4
|
@@ -388,11 +388,28 @@
|
|
|
388
388
|
},
|
|
389
389
|
"alarm_map_low_battery": {
|
|
390
390
|
"from": {
|
|
391
|
+
// Low battery <= 4.8 V
|
|
391
392
|
"alarmType": 167
|
|
392
393
|
},
|
|
393
394
|
"to": {
|
|
394
395
|
"notificationType": 8, // Power Management
|
|
395
|
-
"notificationEvent":
|
|
396
|
+
"notificationEvent": 14, // Charge battery soon
|
|
397
|
+
"eventParameters": {
|
|
398
|
+
"batteryLevel": "alarmLevel"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"alarm_map_critical_battery": {
|
|
403
|
+
"from": {
|
|
404
|
+
// Low battery <= 4.5 V
|
|
405
|
+
"alarmType": 168
|
|
406
|
+
},
|
|
407
|
+
"to": {
|
|
408
|
+
"notificationType": 8, // Power Management
|
|
409
|
+
"notificationEvent": 15, // Charge battery now
|
|
410
|
+
"eventParameters": {
|
|
411
|
+
"batteryLevel": "alarmLevel"
|
|
412
|
+
}
|
|
396
413
|
}
|
|
397
414
|
}
|
|
398
415
|
}
|
|
@@ -91,6 +91,9 @@
|
|
|
91
91
|
{
|
|
92
92
|
"$import": "~/0x0129/templates/yale_template.json#alarm_map_low_battery"
|
|
93
93
|
},
|
|
94
|
+
{
|
|
95
|
+
"$import": "~/0x0129/templates/yale_template.json#alarm_map_critical_battery"
|
|
96
|
+
},
|
|
94
97
|
{
|
|
95
98
|
"$import": "~/0x0129/templates/yale_template.json#alarm_map_auto_relock"
|
|
96
99
|
}
|
|
@@ -455,11 +455,25 @@
|
|
|
455
455
|
},
|
|
456
456
|
"alarm_map_low_battery": {
|
|
457
457
|
"from": {
|
|
458
|
+
// Low battery <= 4.8 V
|
|
458
459
|
"alarmType": 167
|
|
459
460
|
},
|
|
460
461
|
"to": {
|
|
461
462
|
"notificationType": 8, // Power Management
|
|
462
|
-
"notificationEvent":
|
|
463
|
+
"notificationEvent": 14, // Charge battery soon
|
|
464
|
+
"eventParameters": {
|
|
465
|
+
"batteryLevel": "alarmLevel"
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"alarm_map_critical_battery": {
|
|
470
|
+
"from": {
|
|
471
|
+
// Low battery <= 4.5 V
|
|
472
|
+
"alarmType": 168
|
|
473
|
+
},
|
|
474
|
+
"to": {
|
|
475
|
+
"notificationType": 8, // Power Management
|
|
476
|
+
"notificationEvent": 15, // Charge battery now
|
|
463
477
|
"eventParameters": {
|
|
464
478
|
"batteryLevel": "alarmLevel"
|
|
465
479
|
}
|
|
@@ -174,6 +174,7 @@
|
|
|
174
174
|
{
|
|
175
175
|
"#": "100",
|
|
176
176
|
"label": "Endpoints I2 Notification Type and Event",
|
|
177
|
+
"description": "After changing this parameter, the device MUST be excluded and then re-included after waiting 30 seconds.",
|
|
177
178
|
"valueSize": 1,
|
|
178
179
|
"defaultValue": 1,
|
|
179
180
|
"unsigned": true,
|
|
@@ -216,6 +217,7 @@
|
|
|
216
217
|
{
|
|
217
218
|
"#": "101",
|
|
218
219
|
"label": "Endpoints I3 Notification Type and Event",
|
|
220
|
+
"description": "After changing this parameter, the device MUST be excluded and then re-included after waiting 30 seconds.",
|
|
219
221
|
"valueSize": 1,
|
|
220
222
|
"defaultValue": 1,
|
|
221
223
|
"unsigned": true,
|
|
@@ -272,5 +274,9 @@
|
|
|
272
274
|
"maxValue": 127,
|
|
273
275
|
"defaultValue": 5
|
|
274
276
|
}
|
|
275
|
-
]
|
|
277
|
+
],
|
|
278
|
+
"compat": {
|
|
279
|
+
// The device has user-configurable endpoints. We shouldn't hide them
|
|
280
|
+
"preserveEndpoints": "*"
|
|
281
|
+
}
|
|
276
282
|
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "ZVIDAR",
|
|
3
|
+
"manufacturerId": "0x045a",
|
|
4
|
+
"label": "Z-CM-V01",
|
|
5
|
+
"description": "Smart Curtain Motor",
|
|
6
|
+
"devices": [
|
|
7
|
+
{
|
|
8
|
+
"productType": "0x0904",
|
|
9
|
+
"productId": "0x0507"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"firmwareVersion": {
|
|
13
|
+
"min": "0.0",
|
|
14
|
+
"max": "255.255"
|
|
15
|
+
},
|
|
16
|
+
"paramInformation": [
|
|
17
|
+
{
|
|
18
|
+
"#": "1",
|
|
19
|
+
// TODO: It is unknown what this parameter does. If anyone knows,
|
|
20
|
+
// let us know so we can find a better label for it
|
|
21
|
+
"label": "Set To Start Holding Hands",
|
|
22
|
+
"description": "This parameter can be used to set the motor open hand start function",
|
|
23
|
+
"valueSize": 1,
|
|
24
|
+
"defaultValue": 1,
|
|
25
|
+
"unsigned": true,
|
|
26
|
+
"allowManualEntry": false,
|
|
27
|
+
"options": [
|
|
28
|
+
{
|
|
29
|
+
"label": "Close hand start function",
|
|
30
|
+
"value": 0
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"label": "Open hand start function",
|
|
34
|
+
"value": 1
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"#": "2",
|
|
40
|
+
"label": "Motor Direction",
|
|
41
|
+
"valueSize": 1,
|
|
42
|
+
"defaultValue": 1,
|
|
43
|
+
"unsigned": true,
|
|
44
|
+
"allowManualEntry": false,
|
|
45
|
+
"options": [
|
|
46
|
+
{
|
|
47
|
+
"label": "Forward",
|
|
48
|
+
"value": 1
|
|
49
|
+
},
|
|
50
|
+
// TODO: The difference between these two is unknown.
|
|
51
|
+
// If anyone knows, please tell us.
|
|
52
|
+
{
|
|
53
|
+
"label": "Opposite",
|
|
54
|
+
"value": 2
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"label": "Reverse",
|
|
58
|
+
"value": 3
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"#": "3",
|
|
64
|
+
"label": "Manually Set Open Boundary",
|
|
65
|
+
"valueSize": 1,
|
|
66
|
+
"defaultValue": 0,
|
|
67
|
+
"unsigned": true,
|
|
68
|
+
"allowManualEntry": false,
|
|
69
|
+
"options": [
|
|
70
|
+
{
|
|
71
|
+
"label": "Cancel",
|
|
72
|
+
"value": 0
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"label": "Start",
|
|
76
|
+
"value": 1
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"#": "4",
|
|
82
|
+
"label": "Manually Set Closed Boundary",
|
|
83
|
+
"valueSize": 1,
|
|
84
|
+
"defaultValue": 0,
|
|
85
|
+
"unsigned": true,
|
|
86
|
+
"allowManualEntry": false,
|
|
87
|
+
"options": [
|
|
88
|
+
{
|
|
89
|
+
"label": "Cancel",
|
|
90
|
+
"value": 0
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"label": "Start",
|
|
94
|
+
"value": 1
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"#": "5",
|
|
100
|
+
"label": "Control Motor",
|
|
101
|
+
"valueSize": 1,
|
|
102
|
+
"defaultValue": 3,
|
|
103
|
+
"unsigned": true,
|
|
104
|
+
"allowManualEntry": false,
|
|
105
|
+
"options": [
|
|
106
|
+
{
|
|
107
|
+
"label": "Open (Up)",
|
|
108
|
+
"value": 1
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"label": "Close (Down)",
|
|
112
|
+
"value": 2
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"label": "Stop",
|
|
116
|
+
"value": 3
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"#": "6",
|
|
122
|
+
"label": "Calibrate Limit Position",
|
|
123
|
+
"valueSize": 1,
|
|
124
|
+
"defaultValue": 1,
|
|
125
|
+
"unsigned": true,
|
|
126
|
+
"allowManualEntry": false,
|
|
127
|
+
"options": [
|
|
128
|
+
{
|
|
129
|
+
"label": "Upper limit",
|
|
130
|
+
"value": 1
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"label": "Lower limit",
|
|
134
|
+
"value": 2
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"label": "Third limit",
|
|
138
|
+
"value": 3
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"#": "7",
|
|
144
|
+
"label": "Delete Limit Position",
|
|
145
|
+
"valueSize": 1,
|
|
146
|
+
"defaultValue": 0,
|
|
147
|
+
"unsigned": true,
|
|
148
|
+
"allowManualEntry": false,
|
|
149
|
+
"options": [
|
|
150
|
+
{
|
|
151
|
+
"label": "All limits",
|
|
152
|
+
"value": 0
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"label": "Only upper limit",
|
|
156
|
+
"value": 1
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"label": "Only lower limit",
|
|
160
|
+
"value": 2
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"label": "Only third limit",
|
|
164
|
+
"value": 3
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"#": "8",
|
|
170
|
+
"label": "Low Battery Level Alarm Threshold",
|
|
171
|
+
"valueSize": 1,
|
|
172
|
+
"minValue": 0,
|
|
173
|
+
"maxValue": 50,
|
|
174
|
+
"defaultValue": 10,
|
|
175
|
+
"unit": "%",
|
|
176
|
+
"unsigned": true
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"#": "9",
|
|
180
|
+
"label": "Battery Report Interval",
|
|
181
|
+
"valueSize": 4,
|
|
182
|
+
"minValue": 0,
|
|
183
|
+
"maxValue": 2678400,
|
|
184
|
+
"defaultValue": 3600,
|
|
185
|
+
"unit": "seconds",
|
|
186
|
+
"unsigned": true
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"#": "10",
|
|
190
|
+
"label": "Battery Change Report Threshold",
|
|
191
|
+
"valueSize": 1,
|
|
192
|
+
"minValue": 0,
|
|
193
|
+
"maxValue": 50,
|
|
194
|
+
"defaultValue": 5,
|
|
195
|
+
"unit": "%",
|
|
196
|
+
"unsigned": true
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
@@ -568,7 +568,11 @@
|
|
|
568
568
|
},
|
|
569
569
|
"idleVariables": [
|
|
570
570
|
// Lock state - Lock jammed
|
|
571
|
-
"0x0b"
|
|
571
|
+
"0x0b",
|
|
572
|
+
// Keypad state - Keypad temporary disabled
|
|
573
|
+
"0x10",
|
|
574
|
+
// Keypad state - Keypad busy
|
|
575
|
+
"0x11"
|
|
572
576
|
]
|
|
573
577
|
},
|
|
574
578
|
"0x06": {
|
|
@@ -579,7 +583,11 @@
|
|
|
579
583
|
},
|
|
580
584
|
"idleVariables": [
|
|
581
585
|
// Lock state - Lock jammed
|
|
582
|
-
"0x0b"
|
|
586
|
+
"0x0b",
|
|
587
|
+
// Keypad state - Keypad temporary disabled
|
|
588
|
+
"0x10",
|
|
589
|
+
// Keypad state - Keypad busy
|
|
590
|
+
"0x11"
|
|
583
591
|
]
|
|
584
592
|
},
|
|
585
593
|
"0x07": {
|
|
@@ -628,7 +636,13 @@
|
|
|
628
636
|
"params": {
|
|
629
637
|
"type": "value",
|
|
630
638
|
"name": "user ID"
|
|
631
|
-
}
|
|
639
|
+
},
|
|
640
|
+
"idleVariables": [
|
|
641
|
+
// Keypad state - Keypad temporary disabled
|
|
642
|
+
"0x10",
|
|
643
|
+
// Keypad state - Keypad busy
|
|
644
|
+
"0x11"
|
|
645
|
+
]
|
|
632
646
|
},
|
|
633
647
|
"0x21": {
|
|
634
648
|
"label": "Lock operation with User Code",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zwave-js/config",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.15.0",
|
|
4
4
|
"description": "zwave-js: configuration files",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"test:dirty": "node -r ../../maintenance/esbuild-register.js ../maintenance/src/resolveDirtyTests.ts --run"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@zwave-js/core": "10.
|
|
69
|
+
"@zwave-js/core": "10.15.0",
|
|
70
70
|
"@zwave-js/shared": "10.13.0",
|
|
71
71
|
"alcalzone-shared": "^4.0.8",
|
|
72
72
|
"ansi-colors": "^4.1.3",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@types/sinon": "^10.0.13",
|
|
89
89
|
"@types/xml2js": "^0.4.11",
|
|
90
90
|
"@types/yargs": "^17.0.12",
|
|
91
|
-
"@zwave-js/maintenance": "10.
|
|
91
|
+
"@zwave-js/maintenance": "10.15.0",
|
|
92
92
|
"ava": "^4.3.3",
|
|
93
93
|
"comment-json": "^4.2.3",
|
|
94
94
|
"del-cli": "^5.0.0",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"sinon": "^14.0.0",
|
|
101
101
|
"ts-pegjs": "^0.3.1",
|
|
102
102
|
"typescript": "4.9.5",
|
|
103
|
-
"xml2js": "^0.
|
|
103
|
+
"xml2js": "^0.5.0",
|
|
104
104
|
"yargs": "^17.5.1"
|
|
105
105
|
}
|
|
106
106
|
}
|