diff --git a/packages/config/config/devices/0x0460/qnsw-001x16.json b/packages/config/config/devices/0x0460/qnsw-001P16.json similarity index 66% rename from packages/config/config/devices/0x0460/qnsw-001x16.json rename to packages/config/config/devices/0x0460/qnsw-001P16.json index 68b1167ded57..0153f731991b 100644 --- a/packages/config/config/devices/0x0460/qnsw-001x16.json +++ b/packages/config/config/devices/0x0460/qnsw-001P16.json @@ -1,13 +1,12 @@ -// TODO: This file contains a placeholder for a productType, productID, or manufacturerId (0x9999) that must be corrected. { + "manufacturer": "Shelly", "manufacturerId": "0x0460", - "label": "QNSW-001X16", - "description": "Wave 1", + "label": "QNSW-001P16", + "description": "Wave 1PM", "devices": [ { - "productType": "0x9999", - "productId": "0x0002", - "zwaveAllianceId": 4922 + "productType": "0x0002", + "productId": "0x0084" } ], "firmwareVersion": { @@ -21,39 +20,48 @@ "isLifeline": true }, "2": { - "label": "On/off [I1]", + "label": "I1: On/Off", "maxNodes": 9 }, "3": { - "label": "Start/stop set level [I1]", + "label": "I1: Start/Stop Level Change", "maxNodes": 9 } }, "paramInformation": [ { "#": "1", - "label": "Sw1 Switch Type", - "description": "0", + "label": "SW1 Switch Type", + "description": "This parameter defines how the Device should treat the switch (which type) connected to the SW (SW1) terminal.", "valueSize": 1, "minValue": 0, "maxValue": 2, "defaultValue": 2, - "unsigned": true + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "Momentary switch", + "value": 0 + }, + { + "label": "Toggle switch (follow switch)", + "value": 1 + }, + { + "label": "Toggle switch (change on toggle)", + "value": 2 + } + ] }, { "#": "17", - "label": "Restore State of O1 After Power Failure", - "description": "0", - "valueSize": 1, - "minValue": 0, - "maxValue": 1, - "defaultValue": 0, - "unsigned": true + "$import": "~/templates/master_template.json#state_after_power_failure_prev_off", + "label": "O1: State After Power Failure" }, { "#": "19", - "label": "Turn O1 Off Automatically With Timer", - "description": "0", + "label": "O1: Auto-Off Timer", "valueSize": 2, "minValue": 0, "maxValue": 32535, @@ -62,8 +70,7 @@ }, { "#": "20", - "label": "Turn O1 On Automatically With Timer", - "description": "0", + "label": "O1: Auto-On Timer", "valueSize": 2, "minValue": 0, "maxValue": 32535, @@ -71,104 +78,202 @@ "unsigned": true }, { - "#": "23", - "label": "O1 No/Nc", - "description": "0", + "#": "25", + "label": "O1: Auto-On/Off Timer Unit", "valueSize": 1, "minValue": 0, "maxValue": 1, "defaultValue": 0, - "unsigned": true + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "Seconds", + "value": 0 + }, + { + "label": "10 ms", + "value": 1 + } + ] }, { - "#": "25", - "label": "Set Timer Units to Seconds Or Milliseconds For O1", - "description": "0", + "#": "23", + "label": "O1: Relay Type", "valueSize": 1, "minValue": 0, "maxValue": 1, "defaultValue": 0, + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "Normally open (NO)", + "value": 0 + }, + { + "label": "Normally closed (NC)", + "value": 1 + } + ] + }, + { + "#": "36", + "label": "O1: Power Change Report Threshold", + "valueSize": 1, + "unit": "%", + "minValue": 0, + "maxValue": 100, + "defaultValue": 50, + "unsigned": true + }, + { + "#": "39", + "label": "O1: Minimum Time Between Power Reports", + "valueSize": 1, + "unit": "seconds", + "minValue": 0, + "maxValue": 120, + "defaultValue": 30, "unsigned": true }, { "#": "91", - "label": "Alarm Conf. - Water", - "description": "0", + "label": "Alarm Configuration: Water", + "description": "This parameter determines which alarm frames the Device should respond to and how. The parameters consist of 4 bytes, the three most significant bytes are set according to the official Z-Wave protocol specification.", "valueSize": 4, - "minValue": 0, - "maxValue": 2, "defaultValue": 0, - "unsigned": true + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "No action", + "value": 0 + }, + { + "label": "Open relay", + "value": 1 + }, + { + "label": "Close relay", + "value": 2 + } + ] }, { "#": "92", - "label": "Alarm Conf. - Smoke", - "description": "0", + "label": "Alarm Configuration: Smoke", + "description": "This parameter determines which alarm frames the Device should respond to and how. The parameters consist of 4 bytes, the three most significant bytes are set according to the official Z-Wave protocol specification.0", "valueSize": 4, - "minValue": 0, - "maxValue": 2, "defaultValue": 0, - "unsigned": true + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "No action", + "value": 0 + }, + { + "label": "Open relay", + "value": 1 + }, + { + "label": "Close relay", + "value": 2 + } + ] }, { "#": "93", - "label": "Alarm Conf. - Co", - "description": "0", + "label": "Alarm Configuration: CO", + "description": "This parameter determines which alarm frames the Device should respond to and how. The parameters consist of 4 bytes, the three most significant bytes are set according to the official Z-Wave protocol specification.", "valueSize": 4, - "minValue": 0, - "maxValue": 2, "defaultValue": 0, - "unsigned": true + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "No action", + "value": 0 + }, + { + "label": "Open relay", + "value": 1 + }, + { + "label": "Close relay", + "value": 2 + } + ] }, { "#": "94", - "label": "Alarm Conf. - Heat", - "description": "0", + "label": "Alarm Configuration: Heat", + "description": "This parameter determines which alarm frames the Device should respond to and how. The parameters consist of 4 bytes, the three most significant bytes are set according to the official Z-Wave protocol specification.", "valueSize": 4, - "minValue": 0, - "maxValue": 2, "defaultValue": 0, - "unsigned": true + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "No action", + "value": 0 + }, + { + "label": "Open relay", + "value": 1 + }, + { + "label": "Close relay", + "value": 2 + } + ] }, { "#": "120", "label": "Factory Reset", - "description": "0", - "valueSize": 1, - "minValue": 0, - "maxValue": 1, + "description": "Reset to factory default settings and remove from the Z-Wave network.", + "valueSize": 4, "defaultValue": 0, - "unsigned": true + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "Idle", + "value": 0 + }, + { + "label": "Factory reset", + "value": 1431655765 + } + ] }, { "#": "201", - "label": "Serial Number 1", - "description": "0", + "label": "Serial Number: Part 1", "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "defaultValue": 2147483647, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "202", - "label": "Serial Number 2", - "description": "0", + "label": "Serial Number: Part 2", "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "defaultValue": 2147483647, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "203", - "label": "Serial Number 3", - "description": "0", + "label": "Serial Number: Part 3", "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "defaultValue": 2147483647, - "unsigned": true + "unsigned": true, + "readOnly": true } ], "metadata": {