@zwave-js/config 10.0.0-beta.4 → 10.0.0-beta.5

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.
Files changed (62) hide show
  1. package/build/ConfigManager.d.ts.map +1 -1
  2. package/build/ConfigManager.js +15 -10
  3. package/build/ConfigManager.js.map +1 -1
  4. package/build/DeviceClasses.d.ts.map +1 -1
  5. package/build/DeviceClasses.js +1 -2
  6. package/build/DeviceClasses.js.map +1 -1
  7. package/build/Manufacturers.d.ts.map +1 -1
  8. package/build/Manufacturers.js +1 -2
  9. package/build/Manufacturers.js.map +1 -1
  10. package/build/Meters.d.ts.map +1 -1
  11. package/build/Meters.js +1 -2
  12. package/build/Meters.js.map +1 -1
  13. package/build/Notifications.d.ts.map +1 -1
  14. package/build/Notifications.js +2 -3
  15. package/build/Notifications.js.map +1 -1
  16. package/build/SensorTypes.d.ts.map +1 -1
  17. package/build/SensorTypes.js +1 -2
  18. package/build/SensorTypes.js.map +1 -1
  19. package/build/devices/DeviceConfig.d.ts.map +1 -1
  20. package/build/devices/DeviceConfig.js +3 -4
  21. package/build/devices/DeviceConfig.js.map +1 -1
  22. package/build/devices/EndpointConfig.d.ts.map +1 -1
  23. package/build/devices/EndpointConfig.js +1 -2
  24. package/build/devices/EndpointConfig.js.map +1 -1
  25. package/config/devices/0x010f/fgwpb-121.json +0 -4
  26. package/config/devices/0x010f/fgwpg-111.json +448 -0
  27. package/config/devices/0x010f/fgwpg-121.json +98 -102
  28. package/config/devices/0x027a/zen17.json +71 -20
  29. package/config/devices/0x0312/mp20z.json +13 -71
  30. package/config/devices/0x0312/mp21z.json +2 -32
  31. package/config/devices/0x0312/mp21zd.json +8 -8
  32. package/config/devices/0x0312/mp21zp.json +2 -5
  33. package/config/devices/0x0312/mp22z.json +5 -47
  34. package/config/devices/0x0312/mp22zd.json +2 -2
  35. package/config/devices/0x0312/mp22zp.json +1 -7
  36. package/config/devices/0x0312/mp23z.json +2 -32
  37. package/config/devices/0x0312/mp24z.json +5 -45
  38. package/config/devices/0x0312/mr40z.json +3 -3
  39. package/config/devices/0x0312/ms10z.json +11 -25
  40. package/config/devices/0x0312/ms11zs.json +1 -1
  41. package/config/devices/0x0312/ms12z.json +11 -25
  42. package/config/devices/0x0312/ms13z.json +14 -14
  43. package/config/devices/0x0312/n4001.json +1 -7
  44. package/config/devices/0x0312/n4002.json +10 -10
  45. package/config/devices/0x0312/n4003.json +55 -0
  46. package/config/devices/0x0312/nzw30.json +3 -44
  47. package/config/devices/0x0312/nzw30s.json +3 -40
  48. package/config/devices/0x0312/nzw30t.json +2 -22
  49. package/config/devices/0x0312/nzw31.json +2 -21
  50. package/config/devices/0x0312/nzw31s.json +2 -21
  51. package/config/devices/0x0312/nzw36.json +2 -26
  52. package/config/devices/0x0312/nzw96.json +2 -26
  53. package/config/devices/0x0312/templates/minoston_template.json +43 -1
  54. package/config/devices/0x0312/zw30.json +16 -144
  55. package/config/devices/0x0312/zw31.json +16 -146
  56. package/config/devices/0x0312/zw31s.json +10 -10
  57. package/config/devices/0x0312/zw39.json +4 -44
  58. package/config/devices/0x0312/zw922.json +3 -3
  59. package/config/devices/0x0312/zw96.json +5 -32
  60. package/config/devices/0x0312/zw97.json +9 -46
  61. package/config/devices/templates/master_template.json +21 -1
  62. package/package.json +8 -6
@@ -16,56 +16,15 @@
16
16
  "paramInformation": [
17
17
  {
18
18
  "#": "3",
19
- "label": "LED Indicator",
20
- "description": "Set the LED light behavior",
21
- "valueSize": 1,
22
- "defaultValue": 0,
23
- "allowManualEntry": false,
24
- "options": [
25
- {
26
- "label": "Turn LED indicator on when switch is off",
27
- "value": 0
28
- },
29
- {
30
- "label": "Turn LED indicator on when switch is on",
31
- "value": 1
32
- },
33
- {
34
- "label": "Indicator LED is always off",
35
- "value": 2
36
- },
37
- {
38
- "label": "Indicator LED is always on",
39
- "value": 3
40
- }
41
- ]
19
+ "$import": "~/templates/master_template.json#led_indicator_four_options"
42
20
  },
43
21
  {
44
22
  "#": "4",
45
- "label": "Switch Orientation",
46
- "description": "Invert on & off on the physical switch",
47
- "valueSize": 1,
48
- "defaultValue": 0,
49
- "allowManualEntry": false,
50
- "options": [
51
- {
52
- "label": "No",
53
- "value": 0
54
- },
55
- {
56
- "label": "Yes",
57
- "value": 1
58
- }
59
- ]
23
+ "$import": "~/templates/master_template.json#orientation"
60
24
  },
61
25
  {
62
26
  "#": "5",
63
- "label": "Auto-Off Timer",
64
- "unit": "seconds",
65
- "valueSize": 2,
66
- "minValue": 0,
67
- "maxValue": 32767,
68
- "defaultValue": 0
27
+ "$import": "templates/minoston_template.json#auto_off_timer_32767s"
69
28
  }
70
29
  ]
71
30
  }
@@ -16,52 +16,15 @@
16
16
  "paramInformation": [
17
17
  {
18
18
  "#": "3",
19
- "label": "LED Indicator",
20
- "description": "Set the LED light behavior",
21
- "valueSize": 1,
22
- "defaultValue": 0,
23
- "allowManualEntry": false,
24
- "options": [
25
- {
26
- "label": "Turn LED indicator on when switch is on",
27
- "value": 0
28
- },
29
- {
30
- "label": "Turn LED indicator on when switch is off",
31
- "value": 1
32
- },
33
- {
34
- "label": "Indicator LED is always off",
35
- "value": 2
36
- }
37
- ]
19
+ "$import": "~/templates/master_template.json#led_indicator_three_options_inverted"
38
20
  },
39
21
  {
40
22
  "#": "4",
41
- "label": "Switch Orientation",
42
- "description": "Invert on & off on the physical switch",
43
- "valueSize": 1,
44
- "defaultValue": 0,
45
- "allowManualEntry": false,
46
- "options": [
47
- {
48
- "label": "Up=On, Down=Off",
49
- "value": 0
50
- },
51
- {
52
- "label": "Up=Off, Down=On",
53
- "value": 1
54
- }
55
- ]
23
+ "$import": "~/templates/master_template.json#orientation"
56
24
  },
57
25
  {
58
26
  "#": "5",
59
- "label": "Countdown Timer",
60
- "unit": "seconds",
61
- "valueSize": 2,
62
- "minValue": 0,
63
- "maxValue": 32767,
64
- "defaultValue": 0
27
+ "$import": "templates/minoston_template.json#auto_off_timer_32767s"
65
28
  }
66
29
  ]
67
30
  }
@@ -16,31 +16,11 @@
16
16
  "paramInformation": [
17
17
  {
18
18
  "#": "4",
19
- "label": "Invert",
20
- "description": "Change the top of the switch to OFF and the bottom of the switch to ON.",
21
- "valueSize": 1,
22
- "defaultValue": 0,
23
- "allowManualEntry": false,
24
- "options": [
25
- {
26
- "label": "Default",
27
- "value": 0
28
- },
29
- {
30
- "label": "Inverted",
31
- "value": 1
32
- }
33
- ]
19
+ "$import": "~/templates/master_template.json#orientation"
34
20
  },
35
21
  {
36
22
  "#": "5",
37
- "label": "Countdown",
38
- "description": "Countdown to shutoff",
39
- "unit": "seconds",
40
- "valueSize": 2,
41
- "minValue": 0,
42
- "maxValue": 32767,
43
- "defaultValue": 0
23
+ "$import": "templates/minoston_template.json#auto_off_timer_32767s"
44
24
  }
45
25
  ]
46
26
  }
@@ -34,30 +34,11 @@
34
34
  },
35
35
  {
36
36
  "#": "4",
37
- "label": "Switch Orientation",
38
- "description": "Invert on & off on the physical switch",
39
- "valueSize": 1,
40
- "defaultValue": 0,
41
- "allowManualEntry": false,
42
- "options": [
43
- {
44
- "label": "Up=ON, Down=OFF",
45
- "value": 0
46
- },
47
- {
48
- "label": "Up=OFF, Down=ON",
49
- "value": 1
50
- }
51
- ]
37
+ "$import": "~/templates/master_template.json#orientation"
52
38
  },
53
39
  {
54
40
  "#": "5",
55
- "label": "Shutoff Timer",
56
- "unit": "seconds",
57
- "valueSize": 2,
58
- "minValue": 0,
59
- "maxValue": 32767,
60
- "defaultValue": 0
41
+ "$import": "templates/minoston_template.json#auto_off_timer_32767s"
61
42
  }
62
43
  ]
63
44
  }
@@ -34,30 +34,11 @@
34
34
  },
35
35
  {
36
36
  "#": "4",
37
- "label": "Switch Orientation",
38
- "description": "Invert on & off on the physical switch",
39
- "valueSize": 1,
40
- "defaultValue": 0,
41
- "allowManualEntry": false,
42
- "options": [
43
- {
44
- "label": "Up=ON, Down=OFF",
45
- "value": 0
46
- },
47
- {
48
- "label": "Up=OFF, Down=ON",
49
- "value": 1
50
- }
51
- ]
37
+ "$import": "~/templates/master_template.json#orientation"
52
38
  },
53
39
  {
54
40
  "#": "5",
55
- "label": "Shutoff Timer",
56
- "valueSize": 2,
57
- "unit": "seconds",
58
- "minValue": 0,
59
- "maxValue": 32767,
60
- "defaultValue": 0
41
+ "$import": "templates/minoston_template.json#auto_off_timer_32767s"
61
42
  }
62
43
  ]
63
44
  }
@@ -20,35 +20,11 @@
20
20
  "paramInformation": [
21
21
  {
22
22
  "#": "1",
23
- "label": "LED Indicator",
24
- "valueSize": 1,
25
- "defaultValue": 0,
26
- "allowManualEntry": false,
27
- "options": [
28
- {
29
- "label": "Plug On / LED On",
30
- "value": 0
31
- },
32
- {
33
- "label": "Plug On / LED Off",
34
- "value": 1
35
- },
36
- {
37
- "label": "LED Disabled",
38
- "value": 2
39
- }
40
- ]
23
+ "$import": "~/templates/master_template.json#led_indicator_three_options_inverted"
41
24
  },
42
25
  {
43
26
  "#": "2",
44
- "label": "Countdown",
45
- "description": "Plug Auto Shut Off",
46
- "unit": "seconds",
47
- "valueSize": 2,
48
- "minValue": 0,
49
- "maxValue": 36000,
50
- "defaultValue": 0,
51
- "unsigned": true
27
+ "$import": "templates/minoston_template.json#auto_off_timer_36000s"
52
28
  }
53
29
  ]
54
30
  }
@@ -16,35 +16,11 @@
16
16
  "paramInformation": [
17
17
  {
18
18
  "#": "1",
19
- "label": "LED Invert/Off",
20
- "valueSize": 1,
21
- "defaultValue": 0,
22
- "allowManualEntry": false,
23
- "options": [
24
- {
25
- "label": "Plug On / LED On",
26
- "value": 0
27
- },
28
- {
29
- "label": "Plug On / LED Off",
30
- "value": 1
31
- },
32
- {
33
- "label": "LED Disabled",
34
- "value": 2
35
- }
36
- ]
19
+ "$import": "~/templates/master_template.json#led_indicator_three_options_inverted"
37
20
  },
38
21
  {
39
22
  "#": "2",
40
- "label": "Countdown",
41
- "description": "Plug Auto Shutoff",
42
- "unit": "seconds",
43
- "valueSize": 2,
44
- "minValue": 0,
45
- "maxValue": 36000,
46
- "defaultValue": 0,
47
- "unsigned": true
23
+ "$import": "templates/minoston_template.json#auto_off_timer_36000s"
48
24
  }
49
25
  ]
50
26
  }
@@ -59,6 +59,20 @@
59
59
  }
60
60
  ]
61
61
  },
62
+ "auto_off_timer_36000s": {
63
+ "$import": "#auto_off_timer",
64
+ "valueSize": 2,
65
+ "unit": "seconds",
66
+ "minValue": 0,
67
+ "maxValue": 36000
68
+ },
69
+ "auto_off_timer_32767s": {
70
+ "$import": "#auto_off_timer",
71
+ "valueSize": 2,
72
+ "unit": "seconds",
73
+ "minValue": 0,
74
+ "maxValue": 32767
75
+ },
62
76
  "single_tap_function": {
63
77
  "label": "Single Tap Function",
64
78
  "valueSize": 1,
@@ -113,7 +127,22 @@
113
127
  }
114
128
  ]
115
129
  },
116
- "association_reports": {
130
+ "association_reports_basic_binary": {
131
+ "$import": "~/templates/master_template.json#base_options_nounit",
132
+ "label": "Association Reports",
133
+ "defaultValue": 1,
134
+ "options": [
135
+ {
136
+ "label": "Binary Switch report (Z-Wave); Basic Set report (local control)",
137
+ "value": 0
138
+ },
139
+ {
140
+ "label": "Binary Switch report (all)",
141
+ "value": 1
142
+ }
143
+ ]
144
+ },
145
+ "association_reports_basic_multilevel": {
117
146
  "label": "Association Reports",
118
147
  "valueSize": 1,
119
148
  "minValue": 0,
@@ -300,6 +329,14 @@
300
329
  "label": "Send Status Change Report: Timer",
301
330
  "defaultValue": 1
302
331
  },
332
+ "power_reporting_threshold": {
333
+ "label": "Power Reporting Threshold",
334
+ "valueSize": 1,
335
+ "unit": "W",
336
+ "minValue": 5,
337
+ "maxValue": 50,
338
+ "defaultValue": 5
339
+ },
303
340
  "power_reporting_interval": {
304
341
  "label": "Power Reporting Interval",
305
342
  "valueSize": 4,
@@ -326,5 +363,10 @@
326
363
  "maxValue": 100,
327
364
  "defaultValue": 1,
328
365
  "unsigned": true
366
+ },
367
+ "enable_local_control": {
368
+ "$import": "~/templates/master_template.json#base_enable_disable",
369
+ "label": "Local Control",
370
+ "defaultValue": 1
329
371
  }
330
372
  }
@@ -44,161 +44,47 @@
44
44
  },
45
45
  {
46
46
  "#": "2",
47
- "label": "Status LED Configuration",
48
- "valueSize": 1,
49
- "defaultValue": 0,
50
- "unsigned": true,
51
- "allowManualEntry": false,
52
- "options": [
53
- {
54
- "label": "LED on when load off, LED off when load on",
55
- "value": 0
56
- },
57
- {
58
- "label": "LED on when load on, LED off when load off",
59
- "value": 1
60
- },
61
- {
62
- "label": "LED always off",
63
- "value": 2
64
- },
65
- {
66
- "label": "LED always on",
67
- "value": 3
68
- }
69
- ]
47
+ "$import": "~/templates/master_template.json#led_indicator_four_options"
70
48
  },
71
49
  {
72
50
  "#": "3",
73
- "label": "Enable/Disable Auto Turn-off Timer",
74
- "valueSize": 1,
75
- "defaultValue": 0,
76
- "unsigned": true,
77
- "allowManualEntry": false,
78
- "options": [
79
- {
80
- "label": "Disabled",
81
- "value": 0
82
- },
83
- {
84
- "label": "Enabled",
85
- "value": 1
86
- }
87
- ]
51
+ "$import": "~/templates/master_template.json#base_enable_disable",
52
+ "label": "Enable/Disable Auto Turn-off Timer"
88
53
  },
89
54
  {
90
55
  "#": "4",
91
- "label": "Auto Turn-off Time",
92
- "valueSize": 4,
56
+ "$import": "~/templates/master_template.json#base_1-65535",
57
+ "label": "Auto-Off Timer",
93
58
  "unit": "minutes",
94
- "minValue": 1,
95
- "maxValue": 65535,
96
- "defaultValue": 60,
97
- "unsigned": true
59
+ "defaultValue": 60
98
60
  },
99
61
  {
100
62
  "#": "5",
101
- "label": "Enable/Disable Auto Turn-on Timer",
102
- "valueSize": 1,
103
- "defaultValue": 0,
104
- "unsigned": true,
105
- "allowManualEntry": false,
106
- "options": [
107
- {
108
- "label": "Disabled",
109
- "value": 0
110
- },
111
- {
112
- "label": "Enabled",
113
- "value": 1
114
- }
115
- ]
63
+ "$import": "~/templates/master_template.json#base_enable_disable",
64
+ "label": "Enable/Disable Auto Turn-on Timer"
116
65
  },
117
66
  {
118
67
  "#": "6",
119
- "label": "Auto Turn-on Timer",
120
- "valueSize": 4,
68
+ "$import": "~/templates/master_template.json#base_1-65535",
69
+ "label": "Auto-On Timer",
121
70
  "unit": "minutes",
122
- "minValue": 1,
123
- "maxValue": 65535,
124
- "defaultValue": 60,
125
- "unsigned": true
71
+ "defaultValue": 60
126
72
  },
127
73
  {
128
74
  "#": "7[0x01]",
129
- "label": "Send Status Change Report: Local Control",
130
- "description": "Determine whether a trigger of this type should prompt a status change report to associated devices.",
131
- "valueSize": 1,
132
- "defaultValue": 1,
133
- "unsigned": true,
134
- "allowManualEntry": false,
135
- "options": [
136
- {
137
- "label": "Disable",
138
- "value": 0
139
- },
140
- {
141
- "label": "Enable",
142
- "value": 1
143
- }
144
- ]
75
+ "$import": "templates/minoston_template.json#status_change_report_local_control"
145
76
  },
146
77
  {
147
78
  "#": "7[0x02]",
148
- "label": "Send Status Change Report: 3-Way",
149
- "description": "Determine whether a trigger of this type should prompt a status change report to associated devices.",
150
- "valueSize": 1,
151
- "defaultValue": 1,
152
- "unsigned": true,
153
- "allowManualEntry": false,
154
- "options": [
155
- {
156
- "label": "Disable",
157
- "value": 0
158
- },
159
- {
160
- "label": "Enable",
161
- "value": 1
162
- }
163
- ]
79
+ "$import": "templates/minoston_template.json#status_change_report_three_way"
164
80
  },
165
81
  {
166
82
  "#": "7[0x04]",
167
- "label": "Send Status Change Report: Z-Wave",
168
- "description": "Determine whether a trigger of this type should prompt a status change report to associated devices.",
169
- "valueSize": 1,
170
- "defaultValue": 1,
171
- "unsigned": true,
172
- "allowManualEntry": false,
173
- "options": [
174
- {
175
- "label": "Disable",
176
- "value": 0
177
- },
178
- {
179
- "label": "Enable",
180
- "value": 1
181
- }
182
- ]
83
+ "$import": "templates/minoston_template.json#status_change_report_zwave"
183
84
  },
184
85
  {
185
86
  "#": "7[0x08]",
186
- "label": "Send Status Change Report: Timer",
187
- "description": "Determine whether a trigger of this type should prompt a status change report to associated devices.",
188
- "valueSize": 1,
189
- "defaultValue": 1,
190
- "unsigned": true,
191
- "allowManualEntry": false,
192
- "options": [
193
- {
194
- "label": "Disable",
195
- "value": 0
196
- },
197
- {
198
- "label": "Enable",
199
- "value": 1
200
- }
201
- ]
87
+ "$import": "templates/minoston_template.json#status_change_report_timer"
202
88
  },
203
89
  {
204
90
  "#": "8",
@@ -206,21 +92,7 @@
206
92
  },
207
93
  {
208
94
  "#": "9",
209
- "label": "Enable/Disable Local Control",
210
- "valueSize": 1,
211
- "defaultValue": 1,
212
- "unsigned": true,
213
- "allowManualEntry": false,
214
- "options": [
215
- {
216
- "label": "Disabled",
217
- "value": 0
218
- },
219
- {
220
- "label": "Enabled",
221
- "value": 1
222
- }
223
- ]
95
+ "$import": "templates/minoston_template.json#enable_local_control"
224
96
  }
225
97
  ],
226
98
  "metadata": {