{ "manufacturer": "McoHome Technology Co., Ltd.", "manufacturerId": "0x015f", "label": "MH-S220", "description": "Micro Switch", "devices": [ { "productType": "0x2201", "productId": "0x1252" }, { "productType": "0x2201", "productId": "0x7202" } ], "firmwareVersion": { "min": "3.2", "max": "255.255" }, "associations": { "1": { "label": "Lifeline", "maxNodes": 1, "isLifeline": true }, "2": { "label": "Switch 1", "maxNodes": 5 }, "3": { "label": "Switch 2", "maxNodes": 5 } }, "paramInformation": [ { "#": "1", "$import": "~/templates/master_template.json#state_after_power_failure_off_prev" }, { "#": "2", "label": "External Switch Type", "valueSize": 1, "defaultValue": 1, "allowManualEntry": false, "options": [ { "label": "Momentary buttons", "value": 0 }, { "label": "Toggle switches", "value": 1 } ] }, { "#": "3", "label": "Toggle Switch Behavior", "valueSize": 1, "defaultValue": 1, "allowManualEntry": false, "options": [ { "label": "Without specified on/off position", "value": 0 }, { "label": "With specified on/off position", "value": 1 } ] }, { "#": "5", "label": "Auto-Off Timer", "valueSize": 2, "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, "unsigned": true, "options": [ { "label": "Disabled", "value": 0 } ] }, { "#": "4", "$import": "~/templates/master_template.json#base_enable_disable", "label": "Auto-Off Timer: Manual Operation", "description": "Allow manually turning off the device when the auto-off timer is active", "defaultValue": 1 }, { "#": "6", "label": "All On / All Off", "valueSize": 1, "defaultValue": 0, "unsigned": true, "allowManualEntry": false, "options": [ { "label": "Do not allow all-on and all-off", "value": 0 }, { "label": "Do not allow all-on / Allow all-off", "value": 1 }, { "label": "Allow all-on / Do not allow all-off", "value": 2 }, { "label": "Allow all-on and all-off", "value": 255 } ] }, { "#": "8", "label": "Switch 1: Report to Association Group 2", "valueSize": 1, "defaultValue": 0, "unsigned": true, "allowManualEntry": false, "options": [ { "label": "Report both on/off", "value": 0 }, { "label": "Report on only", "value": 1 }, { "label": "Report off only", "value": 2 }, { "label": "Report disabled", "value": 255 } ] }, { "#": "9", "label": "Switch 2: Report Type", "description": "Scene Activation will be sent to the controller, Basic Set to group 3.", "valueSize": 1, "defaultValue": 1, "unsigned": true, "allowManualEntry": false, "options": [ { "label": "Scene Activation and Basic Set", "value": 0 }, { "label": "Scene Activation", "value": 1 }, { "label": "Basic Set", "value": 2 }, { "label": "Disable", "value": 255 } ] }, { "#": "10", "label": "Switch 2: Report to Association Group 3", "valueSize": 1, "defaultValue": 1, "unsigned": true, "allowManualEntry": false, "options": [ { "label": "Report both on/off", "value": 0 }, { "label": "Report on only", "value": 1 }, { "label": "Report off only", "value": 2 }, { "label": "Disable", "value": 255 } ] }, { "#": "11", "label": "Switch S2: Scene ID (Single Click)", "description": "Will be sent to the controller.", "valueSize": 1, "minValue": 0, "maxValue": 255, "defaultValue": 0, "unsigned": true, "options": [ { "label": "Disable", "value": 0 } ] }, { "#": "12", "label": "Switch S2: Scene ID (Double Click)", "description": "Will be sent to the controller.", "valueSize": 1, "minValue": 0, "maxValue": 255, "defaultValue": 0, "unsigned": true, "options": [ { "label": "Disable", "value": 0 } ] }, { "#": "13", "label": "Switch S2: Scene ID (Hold)", "description": "Momentary buttons only. Will be sent to the controller.", "valueSize": 1, "minValue": 0, "maxValue": 255, "defaultValue": 0, "unsigned": true, "options": [ { "label": "Disabled", "value": 0 } ] }, { "#": "255", "label": "Factory Reset", "valueSize": 1, "defaultValue": 0, "writeOnly": true, "allowManualEntry": false, "options": [ { "label": "Idle", "value": 0 }, { "label": "Factory reset", "value": 85 } ] } ] }