@zwave-js/config 12.2.0 → 12.2.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.
@@ -16,6 +16,19 @@
16
16
  },
17
17
  "metadata": {
18
18
  // 700/800 series firmware bugs that affect multiple controllers
19
- "$import": "~/templates/master_template.json#7xx_firmware_bugs"
19
+ "comments": [
20
+ {
21
+ "$if": "firmwareVersion < 7.17.2",
22
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_pre_7_17_2"
23
+ },
24
+ {
25
+ "$if": "firmwareVersion === 7.19.1",
26
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_1"
27
+ },
28
+ {
29
+ "$if": "firmwareVersion === 7.19.3",
30
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
31
+ }
32
+ ]
20
33
  }
21
34
  }
@@ -130,10 +130,10 @@
130
130
  "extendMetadata": {
131
131
  "thermostatMode": {
132
132
  "states": {
133
- "Off": 0,
134
- "Heat": 1,
135
- "Furnace": 7,
136
- "Energy heat": 11
133
+ "0": "Off",
134
+ "1": "Heat",
135
+ "7": "Furnace",
136
+ "11": "Energy heat"
137
137
  }
138
138
  }
139
139
  }
@@ -136,10 +136,29 @@
136
136
  ]
137
137
  }
138
138
  ],
139
- "metadata": {
140
- "comments": {
141
- "level": "warning",
142
- "text": "The thermostat is missing \"Manufacturer Specific\" from its list of supported modes, although the mode is supported. Application-specific workarounds may be necessary to switch to \"Manufacturer Specific\" mode."
139
+ "compat": {
140
+ "overrideQueries": {
141
+ // The device does not report "Manufacturer specific" as a supported thermostat mode
142
+ "Thermostat Mode": [
143
+ {
144
+ "method": "getSupportedModes",
145
+ "result": [0, 1, 11, 15, 31], // Off / Heat / Energy heat / Full power / Manufacturer specific
146
+ "persistValues": {
147
+ "supportedModes": [0, 1, 11, 15, 31]
148
+ },
149
+ "extendMetadata": {
150
+ "thermostatMode": {
151
+ "states": {
152
+ "0": "Off",
153
+ "1": "Heat",
154
+ "11": "Energy heat",
155
+ "15": "Full power",
156
+ "31": "Manufacturer specific"
157
+ }
158
+ }
159
+ }
160
+ }
161
+ ]
143
162
  }
144
163
  }
145
164
  }
@@ -0,0 +1,115 @@
1
+ {
2
+ "manufacturer": "McoHome Technology Co., Ltd.",
3
+ "manufacturerId": "0x015f",
4
+ "label": "MH-C321",
5
+ "description": "Shutter Panel",
6
+ "devices": [
7
+ {
8
+ "productType": "0xc321",
9
+ "productId": "0x5102"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "1",
19
+ "$import": "templates/mcohome_template.json#w_report_interval"
20
+ },
21
+ {
22
+ "#": "2",
23
+ "$import": "templates/mcohome_template.json#kwh_report_interval"
24
+ },
25
+ {
26
+ "#": "5",
27
+ "$import": "templates/mcohome_template.json#level_report_mode"
28
+ },
29
+ {
30
+ "#": "8",
31
+ "$import": "templates/mcohome_template.json#backlight_brightness"
32
+ },
33
+ {
34
+ "#": "7",
35
+ "$import": "templates/mcohome_template.json#demo_trip"
36
+ },
37
+ {
38
+ "#": "10",
39
+ "$import": "templates/mcohome_template.json#auto_calibrate"
40
+ },
41
+ {
42
+ "#": "9",
43
+ "$import": "templates/mcohome_template.json#demo_trip_and_calibrate"
44
+ },
45
+ {
46
+ "#": "11",
47
+ "$import": "templates/mcohome_template.json#min_shutter_level"
48
+ },
49
+ {
50
+ "#": "12",
51
+ "$import": "templates/mcohome_template.json#max_shutter_level"
52
+ },
53
+ {
54
+ "#": "13",
55
+ "label": "External Switch Type",
56
+ "valueSize": 1,
57
+ "defaultValue": 0,
58
+ "allowManualEntry": false,
59
+ "options": [
60
+ {
61
+ "label": "Button (Momentary buttons)",
62
+ "value": 0
63
+ },
64
+ {
65
+ "label": "Toggle (2-State switches)",
66
+ "value": 1
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "#": "14",
72
+ "label": "External Switch Input",
73
+ "valueSize": 1,
74
+ "defaultValue": 0,
75
+ "allowManualEntry": false,
76
+ "options": [
77
+ {
78
+ "label": "Function disabled",
79
+ "value": 0
80
+ },
81
+ {
82
+ "label": "External switch wired to S1",
83
+ "value": 1
84
+ },
85
+ {
86
+ "label": "External switch wired to S2",
87
+ "value": 2
88
+ },
89
+ {
90
+ "label": "Switches wired to S1 and S2, each control both directions",
91
+ "value": 3
92
+ },
93
+ {
94
+ "label": "Switches wired to S1 and S2, S1 for open, S2 for close",
95
+ "value": 4
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "#": "255",
101
+ "$import": "templates/mcohome_template.json#factory_reset"
102
+ }
103
+ ],
104
+ "compat": {
105
+ "commandClasses": {
106
+ "add": {
107
+ "Multilevel Switch": {
108
+ // This is a roller shutter, but it responds to the CC version request with 0
109
+ "isSupported": true,
110
+ "version": 1
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
@@ -2,7 +2,7 @@
2
2
  "manufacturer": "McoHome Technology Co., Ltd.",
3
3
  "manufacturerId": "0x015f",
4
4
  "label": "MH-C421",
5
- "description": "MCO HOME Micro Shutter",
5
+ "description": "Shutter Panel",
6
6
  "devices": [
7
7
  {
8
8
  "productType": "0xc421",
@@ -16,114 +16,39 @@
16
16
  "paramInformation": [
17
17
  {
18
18
  "#": "1",
19
- "label": "Watt Meter Report Period",
20
- "valueSize": 2,
21
- "unit": "5 seconds",
22
- "minValue": 1,
23
- "maxValue": 32767,
24
- "defaultValue": 720
19
+ "$import": "templates/mcohome_template.json#w_report_interval"
25
20
  },
26
21
  {
27
22
  "#": "2",
28
- "label": "kWh Meter Report Period",
29
- "valueSize": 2,
30
- "unit": "10 minutes",
31
- "minValue": 1,
32
- "maxValue": 32767,
33
- "defaultValue": 6
23
+ "$import": "templates/mcohome_template.json#kwh_report_interval"
34
24
  },
35
25
  {
36
26
  "#": "5",
37
- "label": "Level Report Trigger",
38
- "valueSize": 1,
39
- "defaultValue": 2,
40
- "allowManualEntry": false,
41
- "options": [
42
- {
43
- "label": "Report every 5 seconds",
44
- "value": 1
45
- },
46
- {
47
- "label": "Report every 10% change",
48
- "value": 2
49
- }
50
- ]
51
- },
52
- {
53
- "#": "7",
54
- "label": "Read Motor Data On First Use",
55
- "description": "Run the motor for 3 seconds to read motor data",
56
- "valueSize": 1,
57
- "defaultValue": 1,
58
- "allowManualEntry": false,
59
- "options": [
60
- {
61
- "label": "Disable",
62
- "value": 0
63
- },
64
- {
65
- "label": "Enable",
66
- "value": 1
67
- }
68
- ]
27
+ "$import": "templates/mcohome_template.json#level_report_mode"
69
28
  },
70
29
  {
71
30
  "#": "8",
72
- "label": "LED Backlight Brightness",
73
- "valueSize": 1,
74
- "minValue": 0,
75
- "maxValue": 10,
76
- "defaultValue": 10
31
+ "$import": "templates/mcohome_template.json#backlight_brightness"
77
32
  },
78
33
  {
79
- "#": "9",
80
- "label": "Read Motor Data and Auto Calibrate",
81
- "valueSize": 1,
82
- "defaultValue": 0,
83
- "allowManualEntry": false,
84
- "options": [
85
- {
86
- "label": "Normal operation",
87
- "value": 0
88
- },
89
- {
90
- "label": "Activate",
91
- "value": 1
92
- }
93
- ]
34
+ "#": "7",
35
+ "$import": "templates/mcohome_template.json#demo_trip"
94
36
  },
95
37
  {
96
38
  "#": "10",
97
- "label": "Auto Calibrate",
98
- "valueSize": 1,
99
- "defaultValue": 0,
100
- "allowManualEntry": false,
101
- "options": [
102
- {
103
- "label": "Normal operation",
104
- "value": 0
105
- },
106
- {
107
- "label": "Activate",
108
- "value": 1
109
- }
110
- ]
39
+ "$import": "templates/mcohome_template.json#auto_calibrate"
40
+ },
41
+ {
42
+ "#": "9",
43
+ "$import": "templates/mcohome_template.json#demo_trip_and_calibrate"
111
44
  },
112
45
  {
113
46
  "#": "11",
114
- "label": "Min Level Shutter Close",
115
- "valueSize": 1,
116
- "minValue": 0,
117
- "maxValue": 98,
118
- "defaultValue": 0
47
+ "$import": "templates/mcohome_template.json#min_shutter_level"
119
48
  },
120
49
  {
121
50
  "#": "12",
122
- "label": "Max Level Shutter Open",
123
- "valueSize": 1,
124
- "minValue": 1,
125
- "maxValue": 99,
126
- "defaultValue": 99
51
+ "$import": "templates/mcohome_template.json#max_shutter_level"
127
52
  },
128
53
  {
129
54
  "#": "13",
@@ -173,20 +98,7 @@
173
98
  },
174
99
  {
175
100
  "#": "255",
176
- "label": "Factory Reset",
177
- "valueSize": 1,
178
- "defaultValue": 0,
179
- "allowManualEntry": false,
180
- "options": [
181
- {
182
- "label": "Normal operation",
183
- "value": 0
184
- },
185
- {
186
- "label": "Reset",
187
- "value": 85
188
- }
189
- ]
101
+ "$import": "templates/mcohome_template.json#factory_reset"
190
102
  }
191
103
  ],
192
104
  "compat": {
@@ -0,0 +1,69 @@
1
+ {
2
+ "manufacturer": "McoHome Co., Ltd.",
3
+ "manufacturerId": "0x015f",
4
+ "label": "MH-C521",
5
+ "description": "Shutter Panel",
6
+ "devices": [
7
+ {
8
+ "productType": "0xc521",
9
+ "productId": "0x5106"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "1",
19
+ "$import": "templates/mcohome_template.json#w_report_interval"
20
+ },
21
+ {
22
+ "#": "2",
23
+ "$import": "templates/mcohome_template.json#kwh_report_interval"
24
+ },
25
+ {
26
+ "#": "5",
27
+ "$import": "templates/mcohome_template.json#level_report_mode"
28
+ },
29
+ {
30
+ "#": "8",
31
+ "$import": "templates/mcohome_template.json#backlight_brightness"
32
+ },
33
+ {
34
+ "#": "7",
35
+ "$import": "templates/mcohome_template.json#demo_trip"
36
+ },
37
+ {
38
+ "#": "10",
39
+ "$import": "templates/mcohome_template.json#auto_calibrate"
40
+ },
41
+ {
42
+ "#": "9",
43
+ "$import": "templates/mcohome_template.json#demo_trip_and_calibrate"
44
+ },
45
+ {
46
+ "#": "11",
47
+ "$import": "templates/mcohome_template.json#min_shutter_level"
48
+ },
49
+ {
50
+ "#": "12",
51
+ "$import": "templates/mcohome_template.json#max_shutter_level"
52
+ },
53
+ {
54
+ "#": "255",
55
+ "$import": "templates/mcohome_template.json#factory_reset"
56
+ }
57
+ ],
58
+ "compat": {
59
+ "commandClasses": {
60
+ "add": {
61
+ "Multilevel Switch": {
62
+ // This is a roller shutter, but it responds to the CC version request with 0
63
+ "isSupported": true,
64
+ "version": 1
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "manufacturer": "McoHome Co., Ltd.",
3
+ "manufacturerId": "0x015f",
4
+ "label": "MH-C621",
5
+ "description": "Shutter Panel",
6
+ "devices": [
7
+ {
8
+ "productType": "0xc621",
9
+ "productId": "0x5106"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "1",
19
+ "$import": "templates/mcohome_template.json#w_report_interval"
20
+ },
21
+ {
22
+ "#": "2",
23
+ "$import": "templates/mcohome_template.json#kwh_report_interval"
24
+ },
25
+ {
26
+ "#": "5",
27
+ "$import": "templates/mcohome_template.json#level_report_mode"
28
+ },
29
+ {
30
+ "#": "8",
31
+ "$import": "templates/mcohome_template.json#backlight_brightness"
32
+ },
33
+ {
34
+ "#": "7",
35
+ "$import": "templates/mcohome_template.json#demo_trip"
36
+ },
37
+ {
38
+ "#": "10",
39
+ "$import": "templates/mcohome_template.json#auto_calibrate"
40
+ },
41
+ {
42
+ "#": "9",
43
+ "$import": "templates/mcohome_template.json#demo_trip_and_calibrate"
44
+ },
45
+ {
46
+ "#": "11",
47
+ "$import": "templates/mcohome_template.json#min_shutter_level"
48
+ },
49
+ {
50
+ "#": "12",
51
+ "$import": "templates/mcohome_template.json#max_shutter_level"
52
+ },
53
+ {
54
+ "#": "255",
55
+ "$import": "templates/mcohome_template.json#factory_reset"
56
+ }
57
+ ],
58
+ "compat": {
59
+ "commandClasses": {
60
+ "add": {
61
+ "Multilevel Switch": {
62
+ // This is a roller shutter, but it responds to the CC version request with 0
63
+ "isSupported": true,
64
+ "version": 1
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "w_report_interval": {
3
+ "label": "Power (W) Report Interval",
4
+ "valueSize": 2,
5
+ "unit": "5 seconds",
6
+ "minValue": 1,
7
+ "maxValue": 32767,
8
+ "defaultValue": 720
9
+ },
10
+ "kwh_report_interval": {
11
+ "label": "Energy (kWh) Report Interval",
12
+ "valueSize": 2,
13
+ "unit": "10 minutes",
14
+ "minValue": 1,
15
+ "maxValue": 32767,
16
+ "defaultValue": 6
17
+ },
18
+ "level_report_mode": {
19
+ "label": "Level Report Mode",
20
+ "valueSize": 1,
21
+ "defaultValue": 2,
22
+ "allowManualEntry": false,
23
+ "options": [
24
+ {
25
+ "label": "Every 5 seconds while moving",
26
+ "value": 1
27
+ },
28
+ {
29
+ "label": "Every 10% change",
30
+ "value": 2
31
+ }
32
+ ]
33
+ },
34
+ "backlight_brightness": {
35
+ "label": "Backlight Brightness",
36
+ "valueSize": 1,
37
+ "minValue": 0,
38
+ "maxValue": 10,
39
+ "defaultValue": 10,
40
+ "options": [
41
+ {
42
+ "label": "Disable",
43
+ "value": 0
44
+ }
45
+ ]
46
+ },
47
+ "demo_trip": {
48
+ "label": "Demo Trip",
49
+ "description": "Run the motor for 3 seconds to read motor data",
50
+ "valueSize": 1,
51
+ "defaultValue": 0,
52
+ "allowManualEntry": false,
53
+ "options": [
54
+ {
55
+ "label": "Idle",
56
+ "value": 0
57
+ },
58
+ {
59
+ "label": "Activate",
60
+ "value": 1
61
+ }
62
+ ]
63
+ },
64
+ "auto_calibrate": {
65
+ "label": "Auto Calibrate",
66
+ "valueSize": 1,
67
+ "defaultValue": 0,
68
+ "allowManualEntry": false,
69
+ "options": [
70
+ {
71
+ "label": "Idle",
72
+ "value": 0
73
+ },
74
+ {
75
+ "label": "Activate",
76
+ "value": 1
77
+ }
78
+ ]
79
+ },
80
+ "demo_trip_and_calibrate": {
81
+ "label": "Demo Trip and Auto Calibrate",
82
+ "valueSize": 1,
83
+ "defaultValue": 0,
84
+ "allowManualEntry": false,
85
+ "options": [
86
+ {
87
+ "label": "Idle",
88
+ "value": 0
89
+ },
90
+ {
91
+ "label": "Activate",
92
+ "value": 1
93
+ }
94
+ ]
95
+ },
96
+ "min_shutter_level": {
97
+ "label": "Minimum Shutter Level (Closed)",
98
+ "valueSize": 1,
99
+ "minValue": 0,
100
+ "maxValue": 98,
101
+ "defaultValue": 0
102
+ },
103
+ "max_shutter_level": {
104
+ "label": "Maximum Shutter Level (Open)",
105
+ "valueSize": 1,
106
+ "minValue": 1,
107
+ "maxValue": 99,
108
+ "defaultValue": 99
109
+ },
110
+ "factory_reset": {
111
+ "label": "Factory Reset",
112
+ "valueSize": 1,
113
+ "defaultValue": 0,
114
+ "allowManualEntry": false,
115
+ "options": [
116
+ {
117
+ "label": "Normal operation",
118
+ "value": 0
119
+ },
120
+ {
121
+ "label": "Reset",
122
+ "value": 85
123
+ }
124
+ ]
125
+ }
126
+ }
@@ -15,6 +15,16 @@
15
15
  },
16
16
  "metadata": {
17
17
  // 700/800 series firmware bugs that affect multiple controllers
18
- "$import": "~/templates/master_template.json#7xx_firmware_bugs"
18
+ "comments": [
19
+ // https://www.support.getzooz.com/kb/article/1158-zooz-ota-firmware-files/
20
+ // These controllers started shipping with 7.18.1:
21
+ // 1.1 = 7.18.1
22
+ // (1.3 = 1.4 = 1.10) = 7.18.3
23
+ // 1.20 = 7.19.3
24
+ {
25
+ "$if": "firmwareVersion === 1.20",
26
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
27
+ }
28
+ ]
19
29
  }
20
30
  }
@@ -15,6 +15,19 @@
15
15
  },
16
16
  "metadata": {
17
17
  // 700/800 series firmware bugs that affect multiple controllers
18
- "$import": "~/templates/master_template.json#7xx_firmware_bugs"
18
+ "comments": [
19
+ {
20
+ "$if": "firmwareVersion < 7.17.2",
21
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_pre_7_17_2"
22
+ },
23
+ {
24
+ "$if": "firmwareVersion === 7.19.1",
25
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_1"
26
+ },
27
+ {
28
+ "$if": "firmwareVersion === 7.19.3",
29
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
30
+ }
31
+ ]
19
32
  }
20
33
  }
@@ -15,6 +15,16 @@
15
15
  },
16
16
  "metadata": {
17
17
  // 700/800 series firmware bugs that affect multiple controllers
18
- "$import": "~/templates/master_template.json#7xx_firmware_bugs"
18
+ "comments": [
19
+ // https://www.support.getzooz.com/kb/article/1352-zst39-800-long-range-z-wave-stick-change-log/
20
+ // These controllers started shipping with 7.18.1:
21
+ // 1.1 = 7.18.1
22
+ // (1.3 = 1.4 = 1.10) = 7.18.3
23
+ // 1.20 = 7.19.3
24
+ {
25
+ "$if": "firmwareVersion === 1.20",
26
+ "$import": "~/templates/master_template.json#7xx_firmware_bug_7_19_3"
27
+ }
28
+ ]
19
29
  }
20
30
  }
@@ -657,24 +657,17 @@
657
657
  }
658
658
  ]
659
659
  },
660
- "7xx_firmware_bugs": {
661
- "comments": [
662
- {
663
- "$if": "firmwareVersion < 7.17.2",
664
- "level": "warning",
665
- "text": "Early 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 firmware version 7.17.2.\nDirections for upgrading the firmware can be found at https://zwave-js.github.io/node-zwave-js/#/troubleshooting/otw-upgrade"
666
- },
667
- {
668
- "$if": "firmwareVersion === 7.19.1",
669
- "level": "warning",
670
- "text": "Firmware version 7.19.1 has a bug that causes the controller to randomly restart. It is strongly recommended to update to firmware 7.19.2, but not later since those firmwares have another bug causing the controller to become unresponsive."
671
- },
672
- {
673
- "$if": "firmwareVersion === 7.19.3",
674
- "level": "warning",
675
- "text": "Firmware version 7.19.3 has a bug that causes the controller to randomly hang during transmission until it is restarted. It is currently unclear if this bug is fixed in a later firmware version."
676
- }
677
- ]
660
+ "7xx_firmware_bug_pre_7_17_2": {
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/node-zwave-js/#/troubleshooting/otw-upgrade"
663
+ },
664
+ "7xx_firmware_bug_7_19_1": {
665
+ "level": "warning",
666
+ "text": "Controller firmwares based on Z-Wave SDK 7.19.1 have a bug that causes the controller to randomly restart. It is strongly recommended to update to a firmware based on version 7.19.2, but not later since those firmwares have another bug causing the controller to become unresponsive."
667
+ },
668
+ "7xx_firmware_bug_7_19_3": {
669
+ "level": "warning",
670
+ "text": "Controller firmwares based on Z-Wave SDK 7.19.3 have a bug that causes the controller to randomly hang during transmission until it is restarted. It is currently unclear if this bug is fixed in a later firmware version."
678
671
  },
679
672
  "500_series_controller_compat_flags": {
680
673
  // It seems that all 500 series controllers have a firmware bug:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "12.2.0",
3
+ "version": "12.2.1",
4
4
  "description": "zwave-js: configuration files",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -55,8 +55,8 @@
55
55
  "test:dirty": "node -r ../../maintenance/esbuild-register.js ../maintenance/src/resolveDirtyTests.ts --run"
56
56
  },
57
57
  "dependencies": {
58
- "@zwave-js/core": "12.2.0",
59
- "@zwave-js/shared": "12.0.3",
58
+ "@zwave-js/core": "12.2.1",
59
+ "@zwave-js/shared": "12.2.1",
60
60
  "alcalzone-shared": "^4.0.8",
61
61
  "ansi-colors": "^4.1.3",
62
62
  "fs-extra": "^11.1.1",
@@ -76,7 +76,7 @@
76
76
  "@types/sinon": "^10.0.16",
77
77
  "@types/xml2js": "^0.4.12",
78
78
  "@types/yargs": "^17.0.24",
79
- "@zwave-js/maintenance": "12.2.0",
79
+ "@zwave-js/maintenance": "12.2.1",
80
80
  "ava": "^5.3.1",
81
81
  "comment-json": "^4.2.3",
82
82
  "del-cli": "^5.1.0",
@@ -1,305 +0,0 @@
1
- {
2
- "manufacturer": "McoHome Technology Co., Ltd.",
3
- "manufacturerId": "0x015f",
4
- "label": "MH-S521",
5
- "description": "Shutter Panel",
6
- "devices": [
7
- {
8
- "productType": "0xc321",
9
- "productId": "0x5102"
10
- },
11
- {
12
- "productType": "0xc521",
13
- "productId": "0x5101"
14
- }
15
- ],
16
- "firmwareVersion": {
17
- "min": "0.0",
18
- "max": "255.255"
19
- },
20
- "paramInformation": [
21
- {
22
- "#": "2",
23
- "$import": "~/templates/master_template.json#state_after_power_failure_off_prev"
24
- },
25
- {
26
- "#": "3",
27
- "label": "ALL ON/ALL OFF",
28
- "valueSize": 1,
29
- "defaultValue": 255,
30
- "unsigned": true,
31
- "allowManualEntry": false,
32
- "options": [
33
- {
34
- "label": "Forbid all on, forbid all off",
35
- "value": 0
36
- },
37
- {
38
- "label": "Forbid all on, allow all off",
39
- "value": 1
40
- },
41
- {
42
- "label": "Allow all on, forbid all off",
43
- "value": 2
44
- },
45
- {
46
- "label": "Allow all on, allow all off",
47
- "value": 255
48
- }
49
- ]
50
- },
51
- {
52
- "#": "4",
53
- "label": "LED Backlit Brightness Level",
54
- "valueSize": 1,
55
- "minValue": 0,
56
- "maxValue": 10,
57
- "defaultValue": 10
58
- },
59
- {
60
- "#": "5",
61
- "label": "Key Mode",
62
- "valueSize": 1,
63
- "defaultValue": 0,
64
- "allowManualEntry": false,
65
- "options": [
66
- {
67
- "label": "Single click to switch on/off status",
68
- "value": 0
69
- },
70
- {
71
- "label": "Key default as off state",
72
- "value": 1
73
- },
74
- {
75
- "label": "Key default as on state",
76
- "value": 2
77
- },
78
- {
79
- "label": "Hold >3s then key is on, and off once released",
80
- "value": 3
81
- },
82
- {
83
- "label": "Single click + hold >3s then key is on",
84
- "value": 4
85
- }
86
- ]
87
- },
88
- {
89
- "#": "6",
90
- "label": "Key On Duration",
91
- "valueSize": 2,
92
- "unit": "seconds",
93
- "minValue": 0,
94
- "maxValue": 65535,
95
- "defaultValue": 0,
96
- "unsigned": true
97
- },
98
- {
99
- "#": "8",
100
- "label": "Basic CC Integration Setting",
101
- "valueSize": 1,
102
- "minValue": 0,
103
- "maxValue": 3,
104
- "defaultValue": 0
105
- },
106
- {
107
- "#": "16",
108
- "label": "Scene Respond",
109
- "valueSize": 1,
110
- "minValue": 0,
111
- "maxValue": 0,
112
- "defaultValue": 0
113
- },
114
- {
115
- "#": "17",
116
- "label": "Key1 Scene Activate Mode Setting",
117
- "valueSize": 1,
118
- "defaultValue": 0,
119
- "allowManualEntry": false,
120
- "options": [
121
- {
122
- "label": "Scene activate function disabled",
123
- "value": 0
124
- },
125
- {
126
- "label": "One click key1 always activate scene ID1",
127
- "value": 1
128
- },
129
- {
130
- "label": "Only activate scene ID1 when key1's relay open",
131
- "value": 2
132
- },
133
- {
134
- "label": "Only activate scene ID1 when key1's relay closed",
135
- "value": 3
136
- }
137
- ]
138
- },
139
- {
140
- "#": "18",
141
- "label": "Key1 Activate Scene ID",
142
- "valueSize": 1,
143
- "minValue": 0,
144
- "maxValue": 255,
145
- "defaultValue": 0,
146
- "unsigned": true
147
- },
148
- {
149
- "#": "19",
150
- "label": "Key1 Activate Scene Duration",
151
- "valueSize": 1,
152
- "minValue": 0,
153
- "maxValue": 255,
154
- "defaultValue": 0,
155
- "unsigned": true
156
- },
157
- {
158
- "#": "20",
159
- "label": "Key2 Scene Activate Mode Setting",
160
- "valueSize": 1,
161
- "defaultValue": 0,
162
- "allowManualEntry": false,
163
- "options": [
164
- {
165
- "label": "Scene activate function disabled",
166
- "value": 0
167
- },
168
- {
169
- "label": "Always activate scene ID1",
170
- "value": 1
171
- },
172
- {
173
- "label": "Only activate scene ID1 when key2's relay open",
174
- "value": 2
175
- },
176
- {
177
- "label": "Nly activate scene ID1 when key2's relay closed",
178
- "value": 3
179
- }
180
- ]
181
- },
182
- {
183
- "#": "21",
184
- "label": "Key2 Activate Scene ID",
185
- "valueSize": 1,
186
- "minValue": 0,
187
- "maxValue": 255,
188
- "defaultValue": 0,
189
- "unsigned": true
190
- },
191
- {
192
- "#": "22",
193
- "label": "Key2 Activate Scene Duration",
194
- "valueSize": 1,
195
- "minValue": 0,
196
- "maxValue": 255,
197
- "defaultValue": 0,
198
- "unsigned": true
199
- },
200
- {
201
- "#": "23",
202
- "label": "Key3 Scene Activate Mode Setting",
203
- "valueSize": 1,
204
- "defaultValue": 0,
205
- "allowManualEntry": false,
206
- "options": [
207
- {
208
- "label": "Scene activate function disabled",
209
- "value": 0
210
- },
211
- {
212
- "label": "Always activate scene ID1",
213
- "value": 1
214
- },
215
- {
216
- "label": "Only activate scene ID1 when key3's relay open",
217
- "value": 2
218
- },
219
- {
220
- "label": "Only activate scene ID1 when key3's relay closed",
221
- "value": 3
222
- }
223
- ]
224
- },
225
- {
226
- "#": "24",
227
- "label": "Key3 Activate Scene ID",
228
- "valueSize": 1,
229
- "minValue": 0,
230
- "maxValue": 255,
231
- "defaultValue": 0,
232
- "unsigned": true
233
- },
234
- {
235
- "#": "25",
236
- "label": "Key3 Activate Scene Duration",
237
- "valueSize": 1,
238
- "minValue": 0,
239
- "maxValue": 255,
240
- "defaultValue": 0,
241
- "unsigned": true
242
- },
243
- {
244
- "#": "32",
245
- "label": "Scene Respond ID 1-50",
246
- "valueSize": 1,
247
- "minValue": 0,
248
- "maxValue": 255,
249
- "defaultValue": 0,
250
- "unsigned": true
251
- },
252
- {
253
- "#": "33",
254
- "label": "Scene Respond ID 51-100",
255
- "valueSize": 1,
256
- "minValue": 0,
257
- "maxValue": 255,
258
- "defaultValue": 0,
259
- "unsigned": true
260
- },
261
- {
262
- "#": "34",
263
- "label": "Scene Respond ID 101-150",
264
- "valueSize": 1,
265
- "minValue": 0,
266
- "maxValue": 255,
267
- "defaultValue": 0,
268
- "unsigned": true
269
- },
270
- {
271
- "#": "35",
272
- "label": "Scene Respond ID 151-200",
273
- "valueSize": 1,
274
- "minValue": 0,
275
- "maxValue": 255,
276
- "defaultValue": 0,
277
- "unsigned": true
278
- },
279
- {
280
- "#": "36",
281
- "label": "Scene Respond ID 201-250",
282
- "valueSize": 1,
283
- "minValue": 0,
284
- "maxValue": 255,
285
- "defaultValue": 0,
286
- "unsigned": true
287
- },
288
- {
289
- "#": "255",
290
- "label": "Factory Reset",
291
- "valueSize": 1,
292
- "minValue": 0,
293
- "maxValue": 255,
294
- "defaultValue": 0,
295
- "unsigned": true,
296
- "writeOnly": true,
297
- "options": [
298
- {
299
- "label": "Restore factory setting",
300
- "value": 85
301
- }
302
- ]
303
- }
304
- ]
305
- }