141 lines
2.4 KiB
JSON
141 lines
2.4 KiB
JSON
|
{
|
||
|
"manufacturer": "McoHome Technology Co., Ltd.",
|
||
|
"manufacturerId": "0x015f",
|
||
|
"label": "MH-S314",
|
||
|
"description": "Touch Panel Switch 4 Button",
|
||
|
"devices": [
|
||
|
{
|
||
|
"productType": "0x3102",
|
||
|
"productId": "0x0204"
|
||
|
},
|
||
|
{
|
||
|
"productType": "0x3141",
|
||
|
"productId": "0x1302"
|
||
|
}
|
||
|
],
|
||
|
"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
|
||
|
},
|
||
|
"8": {
|
||
|
"label": "Button 3",
|
||
|
"maxNodes": 5
|
||
|
},
|
||
|
"11": {
|
||
|
"label": "Button 4",
|
||
|
"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
|
||
|
},
|
||
|
{
|
||
|
"#": "5",
|
||
|
"label": "Button Mode",
|
||
|
"valueSize": 1,
|
||
|
"defaultValue": 0,
|
||
|
"allowManualEntry": false,
|
||
|
"options": [
|
||
|
{
|
||
|
"label": "Single click to switch on/off",
|
||
|
"value": 0
|
||
|
},
|
||
|
{
|
||
|
"label": "Click to turn on, auto off after param 6 duration",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"label": "Click to turn off, auto on after param 6 duration",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"label": "Hold >3s for on until released",
|
||
|
"value": 3
|
||
|
},
|
||
|
{
|
||
|
"label": "Single click to toggle, hold >3s for on until released",
|
||
|
"value": 4
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"#": "6",
|
||
|
"label": "Relay On Duration",
|
||
|
"description": "0 for infinite",
|
||
|
"valueSize": 2,
|
||
|
"unit": "seconds",
|
||
|
"minValue": 0,
|
||
|
"maxValue": 65535,
|
||
|
"defaultValue": 0,
|
||
|
"unsigned": true
|
||
|
},
|
||
|
{
|
||
|
"#": "255",
|
||
|
"label": "Factory Reset",
|
||
|
"valueSize": 1,
|
||
|
"defaultValue": 0,
|
||
|
"allowManualEntry": false,
|
||
|
"options": [
|
||
|
{
|
||
|
"label": "Normal operation",
|
||
|
"value": 0
|
||
|
},
|
||
|
{
|
||
|
"label": "Reset",
|
||
|
"value": 85
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|