431 lines
8 KiB
JSON
431 lines
8 KiB
JSON
{
|
|
"manufacturer": "McoHome Technology Co., Ltd.",
|
|
"manufacturerId": "0x015f",
|
|
"label": "MH-S412",
|
|
"description": "Touch Panel Switch 2 Button",
|
|
"devices": [
|
|
{
|
|
"productType": "0x4121",
|
|
"productId": "0x5102"
|
|
}
|
|
],
|
|
"firmwareVersion": {
|
|
"min": "0.0",
|
|
"max": "255.255"
|
|
},
|
|
"associations": {
|
|
"1": {
|
|
"label": "Lifeline",
|
|
"maxNodes": 1,
|
|
"isLifeline": true
|
|
},
|
|
"2": {
|
|
"label": "Button 1",
|
|
"maxNodes": 5
|
|
},
|
|
"5": {
|
|
"label": "Button 2",
|
|
"maxNodes": 5
|
|
}
|
|
},
|
|
"paramInformation": [
|
|
{
|
|
"#": "2",
|
|
"$import": "~/templates/master_template.json#state_after_power_failure_off_prev"
|
|
},
|
|
{
|
|
"#": "3",
|
|
"label": "All On/All Off",
|
|
"valueSize": 1,
|
|
"defaultValue": 255,
|
|
"unsigned": true,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Forbid all on and all off",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Forbid all on",
|
|
"value": 1
|
|
},
|
|
{
|
|
"label": "Forbid all off",
|
|
"value": 2
|
|
},
|
|
{
|
|
"label": "Allow all on and all off",
|
|
"value": 255
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "4",
|
|
"label": "LED Backlight Brightness Level",
|
|
"valueSize": 1,
|
|
"minValue": 0,
|
|
"maxValue": 10,
|
|
"defaultValue": 10,
|
|
"options": [
|
|
{
|
|
"label": "Disable",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "5",
|
|
"label": "Button Mode",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Single click (On/Off)",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Auto off after 'Key on duration' seconds",
|
|
"value": 1
|
|
},
|
|
{
|
|
"label": "Auto on after 'Key on duration' seconds",
|
|
"value": 2
|
|
},
|
|
{
|
|
"label": "Held 3 seconds -> on; Release -> off",
|
|
"value": 3
|
|
},
|
|
{
|
|
"label": "Single click (On/Off); Held 3 seconds -> on; Release -> off",
|
|
"value": 4
|
|
},
|
|
{
|
|
"label": "Momentary switch; Held -> on; Release -> off",
|
|
"value": 5
|
|
},
|
|
{
|
|
"label": "Held 3 seconds -> on; Held 3 seconds -> off",
|
|
"value": 6
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "6",
|
|
"label": "Relay On Duration",
|
|
"valueSize": 2,
|
|
"unit": "seconds",
|
|
"minValue": 0,
|
|
"maxValue": 65535,
|
|
"defaultValue": 0,
|
|
"unsigned": true,
|
|
"options": [
|
|
{
|
|
"label": "Infinite",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "8",
|
|
"label": "Basic CC Mode",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Key 1 (Basic CC Set/Get); Reporting disabled",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Key 1 (Basic CC Set/Get); Reporting enabled",
|
|
"value": 1
|
|
},
|
|
{
|
|
"label": "All keys (Basic CC Set only); Reporting disabled",
|
|
"value": 2
|
|
},
|
|
{
|
|
"label": "All keys (Basic CC Set only); Reporting enabled",
|
|
"value": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "10",
|
|
"label": "Key 1 Mode",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Single click (On/Off)",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Auto off after 'Key on duration' seconds",
|
|
"value": 1
|
|
},
|
|
{
|
|
"label": "Auto on after 'Key on duration' seconds",
|
|
"value": 2
|
|
},
|
|
{
|
|
"label": "Held 3 seconds -> on; Release -> off",
|
|
"value": 3
|
|
},
|
|
{
|
|
"label": "Single click (On/Off); Held 3 seconds -> on; Release -> off",
|
|
"value": 4
|
|
},
|
|
{
|
|
"label": "Momentary switch; Held -> on; Release -> off",
|
|
"value": 5
|
|
},
|
|
{
|
|
"label": "Held 3 seconds -> on; Held 3 seconds -> off",
|
|
"value": 6
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "11",
|
|
"label": "Key 2 Mode",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Single click (On/Off)",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Auto off after 'Key on duration' seconds",
|
|
"value": 1
|
|
},
|
|
{
|
|
"label": "Auto on after 'Key on duration' seconds",
|
|
"value": 2
|
|
},
|
|
{
|
|
"label": "Held 3 seconds -> on; Release -> off",
|
|
"value": 3
|
|
},
|
|
{
|
|
"label": "Single click (On/Off); Held 3 seconds -> on; Release -> off",
|
|
"value": 4
|
|
},
|
|
{
|
|
"label": "Momentary switch; Held -> on; Release -> off",
|
|
"value": 5
|
|
},
|
|
{
|
|
"label": "Held 3 seconds -> on; Held 3 seconds -> off",
|
|
"value": 6
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "14",
|
|
"label": "Local Control",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Enable",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Disable",
|
|
"value": 15
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "15",
|
|
"label": "Remote Control",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Enable",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Disable",
|
|
"value": 15
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "16",
|
|
"label": "Respond to Scenes",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Disable",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Key 1 responds",
|
|
"value": 1
|
|
},
|
|
{
|
|
"label": "Key 2 responds",
|
|
"value": 2
|
|
},
|
|
{
|
|
"label": "Keys 1 and 2 respond",
|
|
"value": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "17",
|
|
"label": "Key 1 Scene Activation: Mode",
|
|
"description": "Under which conditions key 1 activates the scene configured in parameter 18",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Never",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Always",
|
|
"value": 1
|
|
},
|
|
{
|
|
"label": "When relay is open",
|
|
"value": 2
|
|
},
|
|
{
|
|
"label": "When relay is closed",
|
|
"value": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "18",
|
|
"label": "Key 1 Scene Activation: Scene ID",
|
|
"valueSize": 1,
|
|
"minValue": 0,
|
|
"maxValue": 255,
|
|
"defaultValue": 0,
|
|
"unsigned": true,
|
|
"options": [
|
|
{
|
|
"label": "Disable",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "19",
|
|
"label": "Key 1 Scene Activation: Duration",
|
|
"description": "Values 1-127 = seconds; 128-255 = minutes (minus 127)",
|
|
"valueSize": 1,
|
|
"unit": "seconds",
|
|
"minValue": 0,
|
|
"maxValue": 255,
|
|
"defaultValue": 0,
|
|
"unsigned": true,
|
|
"options": [
|
|
{
|
|
"label": "Instant",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "20",
|
|
"$import": "#paramInformation/17",
|
|
"label": "Key 2 Scene Activation: Mode",
|
|
"description": "Under which conditions key 2 activates the scene configured in parameter 21"
|
|
},
|
|
{
|
|
"#": "21",
|
|
"$import": "#paramInformation/18",
|
|
"label": "Key 2 Scene Activation: Scene ID"
|
|
},
|
|
{
|
|
"#": "22",
|
|
"$import": "#paramInformation/19",
|
|
"label": "Key 2 Scene Activation: Duration"
|
|
},
|
|
{
|
|
"#": "32",
|
|
"label": "Response to Scenes 1-50",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Disable",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Key 1 responds",
|
|
"value": 1
|
|
},
|
|
{
|
|
"label": "Key 2 responds",
|
|
"value": 2
|
|
},
|
|
{
|
|
"label": "Keys 1 and 2 respond",
|
|
"value": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"#": "33",
|
|
"$import": "#paramInformation/32",
|
|
"label": "Response to Scenes 51-100"
|
|
},
|
|
{
|
|
"#": "34",
|
|
"$import": "#paramInformation/32",
|
|
"label": "Response to Scenes 101-150"
|
|
},
|
|
{
|
|
"#": "35",
|
|
"$import": "#paramInformation/32",
|
|
"label": "Response to Scenes 151-200"
|
|
},
|
|
{
|
|
"#": "36",
|
|
"$import": "#paramInformation/32",
|
|
"label": "Response to Scenes 201-250"
|
|
},
|
|
{
|
|
"#": "255",
|
|
"label": "Factory Reset",
|
|
"description": "Alternatively, press any key 20 times",
|
|
"valueSize": 1,
|
|
"defaultValue": 0,
|
|
"allowManualEntry": false,
|
|
"options": [
|
|
{
|
|
"label": "Normal operation",
|
|
"value": 0
|
|
},
|
|
{
|
|
"label": "Reset",
|
|
"value": 85
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"metadata": {
|
|
"inclusion": "Hold any key for >8s OR 3 fast clicks",
|
|
"exclusion": "Hold any key for >8s OR 3 fast clicks",
|
|
"reset": "20 fast clicks on any key",
|
|
"manual": "https:\/\/www.mcohome.com\/index.php?c=Front\/DownDetail&a=downloadFujian&name=MH-S412&path=L2NvbWRhdGEvOTUzMDEvcHJvZHVjdGZ1amlhbi8yMDIxMDIwMzE3Mjc0NjYwMWE2YzkyYjIxMTQucGRm"
|
|
}
|
|
}
|