@zwave-js/config 12.5.0 → 12.5.2

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 (29) hide show
  1. package/build/Notifications.d.ts +1 -0
  2. package/build/Notifications.d.ts.map +1 -1
  3. package/build/Notifications.js +18 -0
  4. package/build/Notifications.js.map +1 -1
  5. package/config/.dprint.jsonc +1 -1
  6. package/config/devices/0x0063/14297_zw1002.json +16 -0
  7. package/config/devices/0x013c/nsg-ab-02.json +101 -0
  8. package/config/devices/0x019b/leakage-stopper.json +297 -0
  9. package/config/devices/0x019b/templates/heatit_template.json +21 -0
  10. package/config/devices/0x0346/ring_smoke_co_listener.json +70 -0
  11. package/config/devices/0x045a/Z-TRV-V01.json +155 -0
  12. package/config/devices/0x0460/qmem-0A1PC16.json +50 -0
  13. package/config/devices/0x0460/qmsw-0A1P8.json +101 -0
  14. package/config/devices/0x0460/qmsw-0A1X8.json +91 -0
  15. package/config/devices/0x0460/qnpl-001X12.json +101 -0
  16. package/config/devices/0x0460/qnpl-001X16.json +101 -0
  17. package/config/devices/0x0460/qnsh-001P10.json +5 -47
  18. package/config/devices/0x0460/qnsn-0A24X.json +66 -0
  19. package/config/devices/0x0460/qnsn-0D24X.json +66 -0
  20. package/config/devices/0x0460/qnsw-001P16.json +35 -186
  21. package/config/devices/0x0460/qnsw-001X16.json +29 -173
  22. package/config/devices/0x0460/qnsw-002P16.json +52 -286
  23. package/config/devices/0x0460/qpsw-0A1P16.json +105 -0
  24. package/config/devices/0x0460/qpsw-0A1X16.json +96 -0
  25. package/config/devices/0x0460/qpsw-0A2P16.json +148 -0
  26. package/config/devices/0x0460/qpsw-0A2X16.json +128 -0
  27. package/config/devices/0x0460/templates/wave_template.json +168 -0
  28. package/config/notifications.json +18 -6
  29. package/package.json +3 -3
@@ -65,6 +65,7 @@ export declare class NotificationParameterWithValue {
65
65
  export declare class NotificationParameterWithEnum {
66
66
  constructor(definition: JSONObject);
67
67
  readonly values: ReadonlyMap<number, string>;
68
+ readonly default?: number;
68
69
  }
69
70
  export {};
70
71
  //# sourceMappingURL=Notifications.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notifications.d.ts","sourceRoot":"","sources":["../src/Notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAW,MAAM,uBAAuB,CAAC;AAIjE,UAAU,2BAA2B;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;CACd;AAED,UAAU,2BAA2B;IACpC,IAAI,EAAE,OAAO,CAAC;CACd;AAED,MAAM,MAAM,2BAA2B,GACpC,CACC,2BAA2B,GAC3B,2BAA2B,CAC7B,GACC;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAEhE,qBAAa,YAAY;gBACL,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU;IAiCrD,SAAgB,EAAE,EAAE,MAAM,CAAC;IAC3B,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,SAAS,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAC3D,SAAgB,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAExD,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,2BAA2B,GAAG,SAAS;CAyB1E;AAED,qBAAa,oBAAoB;gBACb,UAAU,EAAE,UAAU;IAgCzC,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,gDAAgD;IAChD,SAAgB,IAAI,EAAE,OAAO,CAAC;IAC9B,SAAgB,MAAM,E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,iBAAiB;gBACV,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU;IAqDrD,SAAgB,EAAE,EAAE,MAAM,CAAC;IAC3B,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrC,SAAgB,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClD,SAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CACzC;AAED,qBAAa,qBAAqB;gBACd,UAAU,EAAE,UAAU;CAgBzC;AAED,oDAAoD;AACpD,qBAAa,iCAAiC;gBAC1B,WAAW,EAAE,UAAU;CAG1C;AAED,8CAA8C;AAC9C,qBAAa,qCAAqC;gBAC9B,WAAW,EAAE,UAAU;CAG1C;AAED,uDAAuD;AACvD,qBAAa,8BAA8B;gBACvB,UAAU,EAAE,UAAU;IASzC,SAAgB,YAAY,EAAE,MAAM,CAAC;CACrC;AAED,kEAAkE;AAClE,qBAAa,6BAA6B;gBACtB,UAAU,EAAE,UAAU;IA0DzC,SAAgB,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpD,SAAgB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjC"}
@@ -198,8 +198,26 @@ class NotificationParameterWithEnum {
198
198
  values.set(parseInt(enumValue, 16), enumLabel);
199
199
  }
200
200
  this.values = values;
201
+ if (definition.default != undefined) {
202
+ let defaultVal;
203
+ if (typeof definition.default === "number") {
204
+ defaultVal = definition.default;
205
+ }
206
+ else if (typeof definition.default === "string"
207
+ && utils_safe_1.hexKeyRegexNDigits.test(definition.default)) {
208
+ defaultVal = parseInt(definition.default, 16);
209
+ }
210
+ else {
211
+ (0, utils_safe_1.throwInvalidConfig)("notifications", `The default value for an event parameter enum must be a number or a string in hexadecimal format`);
212
+ }
213
+ if (!values.has(defaultVal)) {
214
+ (0, utils_safe_1.throwInvalidConfig)("notifications", `The default value for an event parameter enum must be one of the defined values`);
215
+ }
216
+ this.default = defaultVal;
217
+ }
201
218
  }
202
219
  values;
220
+ default;
203
221
  }
204
222
  exports.NotificationParameterWithEnum = NotificationParameterWithEnum;
205
223
  //# sourceMappingURL=Notifications.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notifications.js","sourceRoot":"","sources":["../src/Notifications.ts"],"names":[],"mappings":";;;AAAA,gDAAiE;AACjE,4DAAgE;AAChE,6CAAsE;AA2BtE,MAAa,YAAY;IACxB,YAAmB,EAAU,EAAE,UAAsB;QACpD,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,IAAA,oBAAO,EAAC,UAAU,CAAC,SAAS,CAAC;YAC7C,CAAC,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,IAAI,oBAAoB,CAAC,CAAC,CAAC,CAAC;YACnE,CAAC,CAAC,EAAE,CAAC;QACN,MAAM,MAAM,GAAG,IAAI,GAAG,EAA6B,CAAC;QACpD,IAAI,IAAA,qBAAQ,EAAC,UAAU,CAAC,MAAM,CAAC,EAAE;YAChC,KACC,MAAM,CAAC,OAAO,EAAE,eAAe,CAAC,IAAI,MAAM,CAAC,OAAO,CACjD,UAAU,CAAC,MAAM,CACjB,EACA;gBACD,IAAI,CAAC,+BAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;oBACtC,IAAA,+BAAkB,EACjB,eAAe,EACf,sBAAsB,OAAO,qBAC5B,IAAA,cAAO,EACN,EAAE,CAEJ,4DAA4D,CAC5D,CAAC;iBACF;gBACD,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBAClD,MAAM,CAAC,GAAG,CACT,UAAU,EACV,IAAI,iBAAiB,CAAC,UAAU,EAAE,eAAsB,CAAC,CACzD,CAAC;aACF;SACD;Q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CAAC;SAC/C;QAED,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,IAAI,UAAU,CAAC,OAAO,IAAI,SAAS,EAAE;YACpC,IAAI,UAAkB,CAAC;YACvB,IAAI,OAAO,UAAU,CAAC,OAAO,KAAK,QAAQ,EAAE;gBAC3C,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC;aAChC;iBAAM,IACN,OAAO,UAAU,CAAC,OAAO,KAAK,QAAQ;mBACnC,+BAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAC7C;gBACD,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;aAC9C;iBAAM;gBACN,IAAA,+BAAkB,EACjB,eAAe,EACf,kGAAkG,CAClG,CAAC;aACF;YAED,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE;gBAC5B,IAAA,+BAAkB,EACjB,eAAe,EACf,iFAAiF,CACjF,CAAC;aACF;YAED,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;SAC1B;IACF,CAAC;IAEe,MAAM,CAA8B;IACpC,OAAO,CAAU;CACjC;AA7DD,sEA6DC"}
@@ -9,5 +9,5 @@
9
9
 
10
10
  "includes": ["*.json", "devices/**/*.json"],
11
11
 
12
- "plugins": ["https://plugins.dprint.dev/json-0.17.4.wasm"]
12
+ "plugins": ["https://plugins.dprint.dev/json-0.19.2.wasm"]
13
13
  }
@@ -7,10 +7,26 @@
7
7
  {
8
8
  "productType": "0x4952",
9
9
  "productId": "0x3233"
10
+ },
11
+ {
12
+ "productType": "0x4952",
13
+ "productId": "0x3236"
10
14
  }
11
15
  ],
12
16
  "firmwareVersion": {
13
17
  "min": "0.0",
14
18
  "max": "255.255"
19
+ },
20
+ "paramInformation": [
21
+ {
22
+ "#": "3",
23
+ "$import": "~/templates/master_template.json#led_indicator_three_options"
24
+ }
25
+ ],
26
+ "metadata": {
27
+ "inclusion": "Follow the instructions for your Z-Wave certified\ncontroller to add a device to the Z-Wave network.\n2. Once the controller is ready to add your device, press and\nrelease the Program Button to add it in the network",
28
+ "exclusion": "1. Follow the instructions for your Z-Wave certified controller to\nremove a device from the Z-Wave network.\n2. Once the controller is ready to remove your device, press and\nrelease the manual/program button to remove it from the\nnetwork",
29
+ "reset": "Press the button 3 times, then press and hold the button for at least 3\nseconds. The LED will blink 5 times to confirm.\nNOTE: This should only be used in the event your network’s primary\ncontroller is missing or otherwise inoperable",
30
+ "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/2236/14288%20QSG%20v1.pdf"
15
31
  }
16
32
  }
@@ -0,0 +1,101 @@
1
+ {
2
+ "manufacturer": "Safe Grow",
3
+ "manufacturerId": "0x013c",
4
+ "label": "NSG-AB-02",
5
+ "description": "Smart Outlet Plug",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0001",
9
+ "productId": "0x002f"
10
+ }
11
+ ],
12
+ "firmwareVersion": {
13
+ "min": "0.0",
14
+ "max": "255.255"
15
+ },
16
+ "paramInformation": [
17
+ {
18
+ "#": "5",
19
+ "$import": "~/templates/master_template.json#state_after_power_failure_off_prev_on"
20
+ },
21
+ {
22
+ "#": "6",
23
+ "$import": "~/templates/master_template.json#base_enable_disable",
24
+ "label": "Allow Turning Off",
25
+ "description": "When disabled, the device will not turn off in response to Z-Wave commands or physical interaction.",
26
+ "defaultValue": 1,
27
+ "options": [
28
+ {
29
+ "label": "Disable",
30
+ "value": 0
31
+ },
32
+ {
33
+ "label": "Enable",
34
+ "value": 1
35
+ }
36
+ ]
37
+ },
38
+ {
39
+ "#": "7",
40
+ "label": "LED Indicator Mode",
41
+ "valueSize": 1,
42
+ "defaultValue": 1,
43
+ "allowManualEntry": false,
44
+ "options": [
45
+ {
46
+ "label": "LED on when switch is on",
47
+ "value": 1
48
+ },
49
+ {
50
+ "label": "LED on when switch is off",
51
+ "value": 2
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "#": "8",
57
+ "label": "Auto Off Timer",
58
+ "valueSize": 2,
59
+ "unit": "seconds",
60
+ "minValue": 0,
61
+ "maxValue": 32767,
62
+ "defaultValue": 0,
63
+ "options": [
64
+ {
65
+ "label": "Disable",
66
+ "value": 0
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "#": "9",
72
+ "label": "Response to Z-Wave Off Command",
73
+ "valueSize": 1,
74
+ "defaultValue": 0,
75
+ "allowManualEntry": false,
76
+ "options": [
77
+ {
78
+ "label": "Turn off",
79
+ "value": 0
80
+ },
81
+ {
82
+ "label": "Ignore",
83
+ "value": 1
84
+ },
85
+ {
86
+ "label": "Toggle",
87
+ "value": 2
88
+ },
89
+ {
90
+ "label": "Turn on",
91
+ "value": 3
92
+ }
93
+ ]
94
+ }
95
+ ],
96
+ "metadata": {
97
+ "inclusion": "1. Put your Z-Wave controller into inclusion mode by following the instructions provided by the controller manufacturer. \n2. Pressing On/Off button three times within 2 seconds will enter inclusion mode.",
98
+ "exclusion": "1. Put your Z-Wave controller into exclusion mode by following the instructions provided by the controller manufacturer. \n 2. Pressing On/Off button three times within 2 seconds will enter exclusion mode. \n3. Node ID has been excluded",
99
+ "reset": "Use this procedure only in the event that the primary controller is lost or otherwise inoperable. \n1. Pressing On/Off button three times within 2 seconds will enter inclusion mode. \n2. Within 1 second, press On/Off button again for 5 seconds. \n3. IDs are excluded"
100
+ }
101
+ }
@@ -0,0 +1,297 @@
1
+ {
2
+ "manufacturer": "Heatit",
3
+ "manufacturerId": "0x019b",
4
+ "label": "BVS-ZWU",
5
+ "description": "Leakage Stopper",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0101",
9
+ "productId": "0x000a",
10
+ "zwaveAllianceId": [3885, 3916]
11
+ }
12
+ ],
13
+ "firmwareVersion": {
14
+ "min": "0.0",
15
+ "max": "255.255"
16
+ },
17
+ "associations": {
18
+ "1": {
19
+ "label": "Lifeline",
20
+ "maxNodes": 5,
21
+ "isLifeline": true
22
+ },
23
+ "2": {
24
+ "label": "Water Valve",
25
+ "maxNodes": 5
26
+ },
27
+ "3": {
28
+ "label": "Leak Sensor",
29
+ "maxNodes": 5
30
+ },
31
+ "4": {
32
+ "label": "Overheat Alarm",
33
+ "maxNodes": 5
34
+ },
35
+ "5": {
36
+ "label": "Freeze Alarm",
37
+ "maxNodes": 5
38
+ }
39
+ },
40
+ "paramInformation": [
41
+ {
42
+ "#": "17",
43
+ "$import": "~/templates/master_template.json#orientation",
44
+ "label": "Invert Water Valve Report",
45
+ "description": "When enabled, the device will report off (0x00) when the valve is open, and on (0xff) when the valve is closed;"
46
+ },
47
+ {
48
+ "#": "18",
49
+ "$import": "templates/heatit_template.json#association_group_control",
50
+ "label": "Association Group 2: Basic Set Value (On)",
51
+ "description": "Note: If parameter 17 is enabled, this level will be set when the valve is off",
52
+ "defaultValue": 1
53
+ },
54
+ {
55
+ "#": "19",
56
+ "$import": "templates/heatit_template.json#association_group_control",
57
+ "label": "Association Group 2: Basic Set Value (Off)",
58
+ "description": "Note: If parameter 17 is enabled, this level will be set when the valve is on",
59
+ "defaultValue": 2
60
+ },
61
+ {
62
+ "#": "49",
63
+ "$import": "templates/heatit_template.json#association_group_control",
64
+ "label": "Association Group 3: Water Leak Basic Set Value (Trigger)",
65
+ "defaultValue": 1
66
+ },
67
+ {
68
+ "#": "50",
69
+ "$import": "templates/heatit_template.json#association_group_control",
70
+ "label": "Association Group 3: Water Leak Basic Set Value (Cancel)"
71
+ },
72
+ {
73
+ "#": "33",
74
+ "label": "Temperature Report Unit",
75
+ "valueSize": 1,
76
+ "defaultValue": 2,
77
+ "allowManualEntry": false,
78
+ "options": [
79
+ {
80
+ "label": "Disable reports",
81
+ "value": 0
82
+ },
83
+ {
84
+ "label": "Celsius",
85
+ "value": 1
86
+ },
87
+ {
88
+ "label": "Fahrenheit",
89
+ "value": 2
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "#": "35[0xff]",
95
+ "label": "Temperature Report Offset",
96
+ "valueSize": 2,
97
+ "minValue": 0,
98
+ "maxValue": 255,
99
+ "defaultValue": 0,
100
+ "unsigned": true
101
+ },
102
+ {
103
+ "#": "35[0xff00]",
104
+ "label": "Temperature Report Offset: Unit",
105
+ "valueSize": 2,
106
+ "defaultValue": 1,
107
+ "unsigned": true,
108
+ "allowManualEntry": false,
109
+ "options": [
110
+ {
111
+ "label": "Celsius (Negative)",
112
+ "value": 16
113
+ },
114
+ {
115
+ "label": "Celsius (Positive)",
116
+ "value": 0
117
+ },
118
+ {
119
+ "label": "Fahrenheit (Negative)",
120
+ "value": 1
121
+ },
122
+ {
123
+ "label": "Fahrenheit (Positive)",
124
+ "value": 17
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "#": "34[0xff]",
130
+ "label": "Temperature Change Reporting: Threshold",
131
+ "valueSize": 2,
132
+ "unit": "°F/C",
133
+ "minValue": 0,
134
+ "maxValue": 255,
135
+ "defaultValue": 0,
136
+ "unsigned": true
137
+ },
138
+ {
139
+ "#": "34[0xff00]",
140
+ "$import": "~/templates/master_template.json#temperature_scale_celsius_fahrenheit",
141
+ "label": "Temperature Change Reporting: Unit",
142
+ "valueSize": 2,
143
+ "defaultValue": 1,
144
+ "unsigned": true
145
+ },
146
+ {
147
+ "#": "36[0xff]",
148
+ "label": "Overheat Trigger: Temperature",
149
+ "valueSize": 2,
150
+ "unit": "°F/C",
151
+ "minValue": 0,
152
+ "maxValue": 255,
153
+ "defaultValue": 104,
154
+ "unsigned": true
155
+ },
156
+ {
157
+ "#": "36[0xff00]",
158
+ "$import": "~/templates/master_template.json#temperature_scale_celsius_fahrenheit",
159
+ "label": "Overheat Trigger: Unit",
160
+ "valueSize": 2,
161
+ "defaultValue": 1,
162
+ "unsigned": true
163
+ },
164
+ {
165
+ "#": "37[0xff]",
166
+ "label": "Overheat Recover: Temperature",
167
+ "valueSize": 2,
168
+ "minValue": 0,
169
+ "maxValue": 255,
170
+ "defaultValue": 86,
171
+ "unsigned": true
172
+ },
173
+ {
174
+ "#": "37[0xff00]",
175
+ "$import": "~/templates/master_template.json#temperature_scale_celsius_fahrenheit",
176
+ "label": "Overheat Recover: Unit",
177
+ "valueSize": 2,
178
+ "defaultValue": 1,
179
+ "unsigned": true
180
+ },
181
+ {
182
+ "#": "38",
183
+ "$import": "templates/heatit_template.json#association_group_control",
184
+ "label": "Association Group 4: Overheat Basic Set Value (Trigger)"
185
+ },
186
+ {
187
+ "#": "39",
188
+ "$import": "templates/heatit_template.json#association_group_control",
189
+ "label": "Association Group 4: Overheat Basic Set Value (Cancel)"
190
+ },
191
+ {
192
+ "#": "40[0xff]",
193
+ "label": "Freeze Threshold: Temperature",
194
+ "valueSize": 2,
195
+ "minValue": 0,
196
+ "maxValue": 255,
197
+ "defaultValue": 32,
198
+ "unsigned": true
199
+ },
200
+ {
201
+ "#": "40[0xff00]",
202
+ "$import": "~/templates/master_template.json#temperature_scale_celsius_fahrenheit",
203
+ "label": "Freeze Threshold: Unit",
204
+ "valueSize": 2,
205
+ "defaultValue": 1,
206
+ "unsigned": true
207
+ },
208
+ {
209
+ "#": "41[0xff]",
210
+ "label": "Freeze Recover: Temperature",
211
+ "valueSize": 2,
212
+ "minValue": 0,
213
+ "maxValue": 255,
214
+ "defaultValue": 36,
215
+ "unsigned": true
216
+ },
217
+ {
218
+ "#": "41[0xff00]",
219
+ "$import": "~/templates/master_template.json#temperature_scale_celsius_fahrenheit",
220
+ "label": "Freeze Recover: Unit",
221
+ "valueSize": 2,
222
+ "defaultValue": 1,
223
+ "unsigned": true
224
+ },
225
+ {
226
+ "#": "43",
227
+ "$import": "templates/heatit_template.json#association_group_control",
228
+ "label": "Association Group 5: Freeze Basic Set Value (Trigger)"
229
+ },
230
+ {
231
+ "#": "44",
232
+ "$import": "templates/heatit_template.json#association_group_control",
233
+ "label": "Association Group 5: Freeze Basic Set Value (Cancel)"
234
+ },
235
+ {
236
+ "#": "51",
237
+ "$import": "~/templates/master_template.json#base_enable_disable",
238
+ "label": "Allow Valve Control - Water Leak Detected",
239
+ "defaultValue": 1
240
+ },
241
+ {
242
+ "#": "42",
243
+ "$import": "~/templates/master_template.json#base_enable_disable",
244
+ "label": "Allow Valve Control - Water Leak Detected During Freeze Mode",
245
+ "defaultValue": 1
246
+ },
247
+ {
248
+ "#": "65",
249
+ "$import": "~/templates/master_template.json#base_enable_disable",
250
+ "label": "Buzzer",
251
+ "defaultValue": 1
252
+ },
253
+ {
254
+ "#": "66",
255
+ "label": "LED Brightness Level",
256
+ "valueSize": 1,
257
+ "minValue": 0,
258
+ "maxValue": 99,
259
+ "defaultValue": 80
260
+ },
261
+ {
262
+ "#": "67",
263
+ "$import": "~/templates/master_template.json#base_enable_disable",
264
+ "label": "Touch Keylock Protection"
265
+ },
266
+ {
267
+ "#": "81[0x01]",
268
+ "$import": "~/templates/master_template.json#base_enable_disable",
269
+ "label": "Notification Report: Water Valve Open",
270
+ "defaultValue": 1
271
+ },
272
+ {
273
+ "#": "81[0x02]",
274
+ "$import": "~/templates/master_template.json#base_enable_disable",
275
+ "label": "Notification Report: Overheat Detection",
276
+ "defaultValue": 1
277
+ },
278
+ {
279
+ "#": "81[0x04]",
280
+ "$import": "~/templates/master_template.json#base_enable_disable",
281
+ "label": "Notification Report: Freeze Detection",
282
+ "defaultValue": 1
283
+ },
284
+ {
285
+ "#": "81[0x08]",
286
+ "$import": "~/templates/master_template.json#base_enable_disable",
287
+ "label": "Notification Report: Local Water Leak Sensor Probe Detection",
288
+ "defaultValue": 1
289
+ }
290
+ ],
291
+ "metadata": {
292
+ "inclusion": "Set your Z-Wave Gateway into Inclusion mode / Add device.\ni. Start: Short press Touch Sense Button 3 times.\nii. Processing: Yellow LED and short beep sound keeping continue. For security inclusion support, you may need to entering first 5 digit\nthat show on QR Code label, please refer to the instructions of central controller.\niii. Success: Green LED on 1 second with 2 short beep sounds.\niv. The LED indication changes to Green LED slow blinking from Yellow LED blinking.",
293
+ "exclusion": "Set your Z-Wave Gateway into Exclusion mode / Remove device.\ni. Start: Short press Touch Sense Button 3 times.\nii. Processing: Yellow LED and short beep sound keeping continue.\niii. Success: Green LED on 1 second with 2 short beep sounds.\niv. The LED indication Changes to Yellow LED blinking",
294
+ "reset": "Start: Long hold Touch Sense Button for 10 seconds then short click 5 times.\nii. Processing: Yellow LED ON 1 second then wait 2-5 seconds.\niii. Success: Green LED on 2 second with long beep sounds for 2 seconds.\n*Factory Default Reset will:\na. Remote the BVS from Z-Wave Network;\nb. Delete the association setting;\nc. Restore the configuration settings to the default",
295
+ "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/3885/BVS_ZWU_v1.0.9.pdf"
296
+ }
297
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "association_group_control": {
3
+ "valueSize": 1,
4
+ "defaultValue": 0,
5
+ "allowManualEntry": false,
6
+ "options": [
7
+ {
8
+ "label": "Disable",
9
+ "value": 0
10
+ },
11
+ {
12
+ "label": "Basic Set on (0xff)",
13
+ "value": 1
14
+ },
15
+ {
16
+ "label": "Basic Set off (0x00)",
17
+ "value": 2
18
+ }
19
+ ]
20
+ }
21
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "manufacturer": "Ring",
3
+ "manufacturerId": "0x0346",
4
+ "label": "4SS1S80EN0",
5
+ "description": "Ring Smoke/CO Listener",
6
+ "devices": [
7
+ {
8
+ "productType": "0x0601",
9
+ "productId": "0x0101",
10
+ "zwaveAllianceId": 3161
11
+ }
12
+ ],
13
+ "firmwareVersion": {
14
+ "min": "0.0",
15
+ "max": "255.255"
16
+ },
17
+ "paramInformation": [
18
+ {
19
+ "#": "1",
20
+ "label": "Battery Report Interval",
21
+ "description": "Allowable range: 255-4200 in increments of 255.",
22
+ "valueSize": 2,
23
+ "unit": "seconds",
24
+ "minValue": 255,
25
+ "maxValue": 4200,
26
+ "defaultValue": 4200
27
+ },
28
+ {
29
+ "#": "2",
30
+ "label": "Listening Mode",
31
+ "valueSize": 1,
32
+ "defaultValue": 1,
33
+ "allowManualEntry": false,
34
+ "options": [
35
+ {
36
+ "label": "Smoke detector siren only",
37
+ "value": 1
38
+ },
39
+ {
40
+ "label": "Smoke & CO detector sirens",
41
+ "value": 2
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "#": "3",
47
+ "label": "Test Mode",
48
+ "description": "Disabled automatically after 15 minutes of inactivity",
49
+ "valueSize": 1,
50
+ "defaultValue": 0,
51
+ "allowManualEntry": false,
52
+ "options": [
53
+ {
54
+ "label": "Cancel / Idle",
55
+ "value": 0
56
+ },
57
+ {
58
+ "label": "Start",
59
+ "value": 1
60
+ }
61
+ ]
62
+ }
63
+ ],
64
+ "metadata": {
65
+ "inclusion": "Inclusion Instructions -\nBegin the setup process near your Ring Alarm Base Station.\nIn the Ring app, tap Set Up a Device. Choose Security Devices, then Sensors, then Ring Smoke/CO Listener, then tap Add Device.To complete the setup process, follow the in-app instructions.\n\nWhen prompted, scan the QR Code or enter the PIN.\nThis begins the pairing process. The QR Code and PIN are on the back of your Listener and in the product packaging.\n\nWhen prompted, pull out the clear tab.\nThis turns the Listener on. Your Alarm Base Station then finds it automatically.\nAs the Listener pairs to your Alarm Base Station, its LED ring blinks slowly, then quickly. Once it pairs, the LED glows blue for three seconds.",
66
+ "exclusion": "Exclusion Instructions - \nto remove Ring Smoke/CO Listener from your system:\nOpen the side menu in the Ring app and tap Devices, then Base Station. Next, select your Listener and tap the gear- shaped icon. Then tap Remove Device.\nWhen prompted, open the Listener and remove and reinstall the battery to complete the removal.",
67
+ "reset": "Reset Instructions -\nTo factory reset, press and hold the Setup button for 10 seconds. When the LED ring stops blinking, your Listener has reset.\nThis process disconnects the Listener from Ring Alarm. To begin using the Listener again, repeat the setup process in the Ring app.\nNote: Please use this procedure only when the network primary controller is missing or otherwise inoperable.",
68
+ "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/3161/Ring Smoke-CO Listerner Zwave Manual.pdf"
69
+ }
70
+ }