@zwave-js/config 11.9.0 → 11.9.1
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/0x014f/pd300emz5-1.json +3 -3
- package/config/devices/0x015f/mh-s411-7102.json +233 -0
- package/config/devices/0x015f/mh-s412-7102.json +234 -0
- package/package.json +3 -3
- /package/config/devices/0x015f/{mh-s411-1502.json → mh-s411-5102.json} +0 -0
- /package/config/devices/0x015f/{mh-s412-1502.json → mh-s412-5102.json} +0 -0
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"#": "7",
|
|
27
|
-
"$import": "templates/config_template.json#dim_step_zwave"
|
|
28
|
-
"valueSize": 2
|
|
27
|
+
"$import": "templates/config_template.json#dim_step_zwave"
|
|
29
28
|
},
|
|
30
29
|
{
|
|
31
30
|
"#": "8",
|
|
32
|
-
"$import": "templates/config_template.json#dim_rate_zwave"
|
|
31
|
+
"$import": "templates/config_template.json#dim_rate_zwave",
|
|
32
|
+
"valueSize": 2
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"#": "9",
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "McoHome Technology Co., Ltd.",
|
|
3
|
+
"manufacturerId": "0x015f",
|
|
4
|
+
"label": "MH-S411",
|
|
5
|
+
"description": "Touch Panel Switch 1 Button",
|
|
6
|
+
"devices": [
|
|
7
|
+
{
|
|
8
|
+
"productType": "0x3112",
|
|
9
|
+
"productId": "0x7102"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"firmwareVersion": {
|
|
13
|
+
"min": "0.0",
|
|
14
|
+
"max": "255.255"
|
|
15
|
+
},
|
|
16
|
+
"associations": {
|
|
17
|
+
"1": {
|
|
18
|
+
"label": "Lifeline",
|
|
19
|
+
"maxNodes": 1,
|
|
20
|
+
"isLifeline": true
|
|
21
|
+
},
|
|
22
|
+
"2": {
|
|
23
|
+
"label": "Button 1",
|
|
24
|
+
"maxNodes": 5
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"paramInformation": [
|
|
28
|
+
{
|
|
29
|
+
"#": "2",
|
|
30
|
+
"$import": "~/templates/master_template.json#state_after_power_failure_off_prev"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"#": "3",
|
|
34
|
+
"label": "All On/All Off",
|
|
35
|
+
"valueSize": 1,
|
|
36
|
+
"defaultValue": 255,
|
|
37
|
+
"unsigned": true,
|
|
38
|
+
"allowManualEntry": false,
|
|
39
|
+
"options": [
|
|
40
|
+
{
|
|
41
|
+
"label": "Forbid all on and all off",
|
|
42
|
+
"value": 0
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"label": "Forbid all on",
|
|
46
|
+
"value": 1
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"label": "Forbid all off",
|
|
50
|
+
"value": 2
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"label": "Allow all on and all off",
|
|
54
|
+
"value": 255
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"#": "4",
|
|
60
|
+
"label": "LED Backlight Brightness Level",
|
|
61
|
+
"valueSize": 1,
|
|
62
|
+
"minValue": 0,
|
|
63
|
+
"maxValue": 10,
|
|
64
|
+
"defaultValue": 10,
|
|
65
|
+
"unsigned": true
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"#": "5",
|
|
69
|
+
"label": "Button Mode",
|
|
70
|
+
"valueSize": 1,
|
|
71
|
+
"defaultValue": 0,
|
|
72
|
+
"unsigned": true,
|
|
73
|
+
"allowManualEntry": false,
|
|
74
|
+
"options": [
|
|
75
|
+
{
|
|
76
|
+
"label": "Single click to switch on/off",
|
|
77
|
+
"value": 0
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"label": "Click to turn on, auto off after param 6 duration",
|
|
81
|
+
"value": 1
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"label": "Click to turn off, auto on after param 6 duration",
|
|
85
|
+
"value": 2
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"label": "Hold >3s for on until released",
|
|
89
|
+
"value": 3
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"label": "Single click to toggle, hold >3s for on until released",
|
|
93
|
+
"value": 4
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"#": "6",
|
|
99
|
+
"label": "Relay On Duration",
|
|
100
|
+
"description": "0 for infinite",
|
|
101
|
+
"unit": "seconds",
|
|
102
|
+
"valueSize": 2,
|
|
103
|
+
"minValue": 0,
|
|
104
|
+
"maxValue": 65535,
|
|
105
|
+
"defaultValue": 0,
|
|
106
|
+
"unsigned": true
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"#": "8",
|
|
110
|
+
"label": "Basic CC Mode",
|
|
111
|
+
"valueSize": 1,
|
|
112
|
+
"defaultValue": 0,
|
|
113
|
+
"unsigned": true,
|
|
114
|
+
"allowManualEntry": false,
|
|
115
|
+
"options": [
|
|
116
|
+
{
|
|
117
|
+
"label": "Relay 1 responds to set, relay 1 responds to get, instant updates disabled",
|
|
118
|
+
"value": 0
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"label": "Relay 1 responds to set, relay 1 responds to get, instant updates enabled",
|
|
122
|
+
"value": 1
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"label": "All relays respond to set, get ignored, instant updates disabled",
|
|
126
|
+
"value": 2
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"label": "All relays respond to set, relay 1 responds to get, instant updates disabled",
|
|
130
|
+
"value": 3
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"#": "10",
|
|
136
|
+
"label": "Respond to Scenes",
|
|
137
|
+
"valueSize": 1,
|
|
138
|
+
"defaultValue": 0,
|
|
139
|
+
"unsigned": true,
|
|
140
|
+
"allowManualEntry": false,
|
|
141
|
+
"options": [
|
|
142
|
+
{
|
|
143
|
+
"label": "Disabled",
|
|
144
|
+
"value": 0
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"label": "Enabled",
|
|
148
|
+
"value": 1
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"#": "11",
|
|
154
|
+
"label": "Scene Activate Mode",
|
|
155
|
+
"valueSize": 1,
|
|
156
|
+
"defaultValue": 0,
|
|
157
|
+
"unsigned": true,
|
|
158
|
+
"allowManualEntry": false,
|
|
159
|
+
"options": [
|
|
160
|
+
{
|
|
161
|
+
"label": "Scene activate function disabled",
|
|
162
|
+
"value": 0
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"label": "Button 1 tap activates scene in param 12 regardless of state",
|
|
166
|
+
"value": 1
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"label": "Button 1 tap activates scene in param 12 when state is off",
|
|
170
|
+
"value": 2
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"label": "Button 1 tap activates scene in param 12 when state is on",
|
|
174
|
+
"value": 3
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"#": "12",
|
|
180
|
+
"label": "Button 1 Activate Scene ID",
|
|
181
|
+
"valueSize": 1,
|
|
182
|
+
"minValue": 1,
|
|
183
|
+
"maxValue": 255,
|
|
184
|
+
"defaultValue": 1,
|
|
185
|
+
"unsigned": true
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"#": "13",
|
|
189
|
+
"label": "Button 1 Activate Scene Dim Duration",
|
|
190
|
+
"description": "0-127 seconds, +128 for minutes",
|
|
191
|
+
"valueSize": 1,
|
|
192
|
+
"minValue": 0,
|
|
193
|
+
"maxValue": 255,
|
|
194
|
+
"defaultValue": 0,
|
|
195
|
+
"unsigned": true
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"#": "255",
|
|
199
|
+
"label": "Factory Reset",
|
|
200
|
+
"valueSize": 1,
|
|
201
|
+
"defaultValue": 0,
|
|
202
|
+
"unsigned": true,
|
|
203
|
+
"allowManualEntry": false,
|
|
204
|
+
"options": [
|
|
205
|
+
{
|
|
206
|
+
"label": "Normal Operation",
|
|
207
|
+
"value": 0
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"label": "Reset",
|
|
211
|
+
"value": 85
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"compat": {
|
|
217
|
+
"commandClasses": {
|
|
218
|
+
"remove": {
|
|
219
|
+
// This CC is noisy and its functionality is exposed via configuration parameters
|
|
220
|
+
"Scene Actuator Configuration": {
|
|
221
|
+
"endpoints": "*"
|
|
222
|
+
},
|
|
223
|
+
// This is a mains-powered device that identifies as FLiRS for some reason
|
|
224
|
+
"Battery": {
|
|
225
|
+
"endpoints": "*"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
// The device only has a single (unnecessary) endpoint, but it cannot be configured
|
|
230
|
+
// to report to the root endpoint. So we need to preserve it.
|
|
231
|
+
"preserveEndpoints": [1]
|
|
232
|
+
}
|
|
233
|
+
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "McoHome Technology Co., Ltd.",
|
|
3
|
+
"manufacturerId": "0x015f",
|
|
4
|
+
"label": "MH-S412",
|
|
5
|
+
"description": "Touch Panel Switch 2 Button",
|
|
6
|
+
"devices": [
|
|
7
|
+
{
|
|
8
|
+
"productType": "0x3122",
|
|
9
|
+
"productId": "0x7102"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"firmwareVersion": {
|
|
13
|
+
"min": "0.0",
|
|
14
|
+
"max": "255.255"
|
|
15
|
+
},
|
|
16
|
+
"associations": {
|
|
17
|
+
"1": {
|
|
18
|
+
"label": "Lifeline",
|
|
19
|
+
"maxNodes": 1,
|
|
20
|
+
"isLifeline": true
|
|
21
|
+
},
|
|
22
|
+
"2": {
|
|
23
|
+
"label": "Button 1",
|
|
24
|
+
"maxNodes": 5
|
|
25
|
+
},
|
|
26
|
+
"3": {
|
|
27
|
+
"label": "Button 2",
|
|
28
|
+
"maxNodes": 5
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"paramInformation": [
|
|
32
|
+
{
|
|
33
|
+
"#": "2",
|
|
34
|
+
"$import": "~/templates/master_template.json#state_after_power_failure_off_prev"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"#": "3",
|
|
38
|
+
"label": "All On/All Off",
|
|
39
|
+
"valueSize": 1,
|
|
40
|
+
"defaultValue": 255,
|
|
41
|
+
"unsigned": true,
|
|
42
|
+
"allowManualEntry": false,
|
|
43
|
+
"options": [
|
|
44
|
+
{
|
|
45
|
+
"label": "Forbid all on and all off",
|
|
46
|
+
"value": 0
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"label": "Forbid all on",
|
|
50
|
+
"value": 1
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"label": "Forbid all off",
|
|
54
|
+
"value": 2
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"label": "Allow all on and all off",
|
|
58
|
+
"value": 255
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"#": "4",
|
|
64
|
+
"label": "LED Backlight Brightness Level",
|
|
65
|
+
"valueSize": 1,
|
|
66
|
+
"minValue": 0,
|
|
67
|
+
"maxValue": 10,
|
|
68
|
+
"defaultValue": 10,
|
|
69
|
+
"unsigned": true
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"#": "5",
|
|
73
|
+
"label": "Button Mode",
|
|
74
|
+
"valueSize": 1,
|
|
75
|
+
"defaultValue": 0,
|
|
76
|
+
"unsigned": true,
|
|
77
|
+
"allowManualEntry": false,
|
|
78
|
+
"options": [
|
|
79
|
+
{
|
|
80
|
+
"label": "Single click to switch on/off",
|
|
81
|
+
"value": 0
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"label": "Click to turn on, auto off after param 6 duration",
|
|
85
|
+
"value": 1
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"label": "Click to turn off, auto on after param 6 duration",
|
|
89
|
+
"value": 2
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"label": "Hold >3s for on until released",
|
|
93
|
+
"value": 3
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"label": "Single click to toggle, hold >3s for on until released",
|
|
97
|
+
"value": 4
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"#": "6",
|
|
103
|
+
"label": "Relay On Duration",
|
|
104
|
+
"description": "0 for infinite",
|
|
105
|
+
"unit": "seconds",
|
|
106
|
+
"valueSize": 2,
|
|
107
|
+
"minValue": 0,
|
|
108
|
+
"maxValue": 65535,
|
|
109
|
+
"defaultValue": 0,
|
|
110
|
+
"unsigned": true
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"#": "8",
|
|
114
|
+
"label": "Basic CC Mode",
|
|
115
|
+
"valueSize": 1,
|
|
116
|
+
"defaultValue": 0,
|
|
117
|
+
"unsigned": true,
|
|
118
|
+
"allowManualEntry": false,
|
|
119
|
+
"options": [
|
|
120
|
+
{
|
|
121
|
+
"label": "Relay 1 responds to set, relay 1 responds to get, instant updates disabled",
|
|
122
|
+
"value": 0
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"label": "Relay 1 responds to set, relay 1 responds to get, instant updates enabled",
|
|
126
|
+
"value": 1
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"label": "All relays respond to set, get ignored, instant updates disabled",
|
|
130
|
+
"value": 2
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"label": "All relays respond to set, relay 1 responds to get, instant updates disabled",
|
|
134
|
+
"value": 3
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"#": "10",
|
|
140
|
+
"label": "Respond to Scenes",
|
|
141
|
+
"valueSize": 1,
|
|
142
|
+
"defaultValue": 0,
|
|
143
|
+
"unsigned": true,
|
|
144
|
+
"allowManualEntry": false,
|
|
145
|
+
"options": [
|
|
146
|
+
{
|
|
147
|
+
"label": "Disabled",
|
|
148
|
+
"value": 0
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"label": "Enabled",
|
|
152
|
+
"value": 1
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"#": "11",
|
|
158
|
+
"label": "Scene Activate Mode",
|
|
159
|
+
"valueSize": 1,
|
|
160
|
+
"defaultValue": 0,
|
|
161
|
+
"unsigned": true,
|
|
162
|
+
"allowManualEntry": false,
|
|
163
|
+
"options": [
|
|
164
|
+
{
|
|
165
|
+
"label": "Scene activate function disabled",
|
|
166
|
+
"value": 0
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"label": "Button 1 tap activates scene in param 12 regardless of state",
|
|
170
|
+
"value": 1
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"label": "Button 1 tap activates scene in param 12 when state is off",
|
|
174
|
+
"value": 2
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"label": "Button 1 tap activates scene in param 12 when state is on",
|
|
178
|
+
"value": 3
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"#": "12",
|
|
184
|
+
"label": "Button 1 Activate Scene ID",
|
|
185
|
+
"valueSize": 1,
|
|
186
|
+
"minValue": 1,
|
|
187
|
+
"maxValue": 255,
|
|
188
|
+
"defaultValue": 1,
|
|
189
|
+
"unsigned": true
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"#": "13",
|
|
193
|
+
"label": "Button 1 Activate Scene Dim Duration",
|
|
194
|
+
"description": "0-127 seconds, +128 for minutes",
|
|
195
|
+
"valueSize": 1,
|
|
196
|
+
"minValue": 0,
|
|
197
|
+
"maxValue": 255,
|
|
198
|
+
"defaultValue": 0,
|
|
199
|
+
"unsigned": true
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"#": "255",
|
|
203
|
+
"label": "Factory Reset",
|
|
204
|
+
"valueSize": 1,
|
|
205
|
+
"defaultValue": 0,
|
|
206
|
+
"unsigned": true,
|
|
207
|
+
"allowManualEntry": false,
|
|
208
|
+
"options": [
|
|
209
|
+
{
|
|
210
|
+
"label": "Normal Operation",
|
|
211
|
+
"value": 0
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"label": "Reset",
|
|
215
|
+
"value": 85
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"compat": {
|
|
221
|
+
"commandClasses": {
|
|
222
|
+
"remove": {
|
|
223
|
+
// This CC is noisy and its functionality is exposed via configuration parameters
|
|
224
|
+
"Scene Actuator Configuration": {
|
|
225
|
+
"endpoints": "*"
|
|
226
|
+
},
|
|
227
|
+
// This is a mains-powered device that identifies as FLiRS for some reason
|
|
228
|
+
"Battery": {
|
|
229
|
+
"endpoints": "*"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zwave-js/config",
|
|
3
|
-
"version": "11.9.
|
|
3
|
+
"version": "11.9.1",
|
|
4
4
|
"description": "zwave-js: configuration files",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"test:dirty": "node -r ../../maintenance/esbuild-register.js ../maintenance/src/resolveDirtyTests.ts --run"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@zwave-js/core": "11.9.
|
|
61
|
+
"@zwave-js/core": "11.9.1",
|
|
62
62
|
"@zwave-js/shared": "11.8.0",
|
|
63
63
|
"alcalzone-shared": "^4.0.8",
|
|
64
64
|
"ansi-colors": "^4.1.3",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@types/sinon": "^10.0.14",
|
|
81
81
|
"@types/xml2js": "^0.4.11",
|
|
82
82
|
"@types/yargs": "^17.0.24",
|
|
83
|
-
"@zwave-js/maintenance": "11.9.
|
|
83
|
+
"@zwave-js/maintenance": "11.9.1",
|
|
84
84
|
"ava": "^4.3.3",
|
|
85
85
|
"comment-json": "^4.2.3",
|
|
86
86
|
"del-cli": "^5.0.0",
|
|
File without changes
|
|
File without changes
|