zwave-js/.config-db/devices/0x015f/mh-s411-7102.json

228 lines
4.4 KiB
JSON
Raw Permalink Normal View History

2025-01-10 22:05:04 -08:00
{
"manufacturer": "McoHome Technology Co., Ltd.",
"manufacturerId": "0x015f",
"label": "MH-S411",
"description": "Touch Panel Switch 1 Button",
"devices": [
{
"productType": "0x3112",
"productId": "0x7102"
}
],
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
},
"associations": {
"1": {
"label": "Lifeline",
"maxNodes": 1,
"isLifeline": true
},
"2": {
"label": "Button 1",
"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
},
{
"#": "8",
"label": "Basic CC Mode",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Relay 1 responds to set, relay 1 responds to get, instant updates disabled",
"value": 0
},
{
"label": "Relay 1 responds to set, relay 1 responds to get, instant updates enabled",
"value": 1
},
{
"label": "All relays respond to set, get ignored, instant updates disabled",
"value": 2
},
{
"label": "All relays respond to set, relay 1 responds to get, instant updates disabled",
"value": 3
}
]
},
{
"#": "10",
"label": "Respond to Scenes",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
{
"#": "11",
"label": "Scene Activate Mode",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Scene activate function disabled",
"value": 0
},
{
"label": "Button 1 tap activates scene in param 12 regardless of state",
"value": 1
},
{
"label": "Button 1 tap activates scene in param 12 when state is off",
"value": 2
},
{
"label": "Button 1 tap activates scene in param 12 when state is on",
"value": 3
}
]
},
{
"#": "12",
"label": "Button 1 Activate Scene ID",
"valueSize": 1,
"minValue": 1,
"maxValue": 255,
"defaultValue": 1,
"unsigned": true
},
{
"#": "13",
"label": "Button 1 Activate Scene Dim Duration",
"description": "0-127 seconds, +128 for minutes",
"valueSize": 1,
"minValue": 0,
"maxValue": 255,
"defaultValue": 0,
"unsigned": true
},
{
"#": "255",
"label": "Factory Reset",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Normal operation",
"value": 0
},
{
"label": "Reset",
"value": 85
}
]
}
],
"compat": {
"commandClasses": {
"remove": {
// This CC is noisy and its functionality is exposed via configuration parameters
"Scene Actuator Configuration": {
"endpoints": "*"
},
// This is a mains-powered device that identifies as FLiRS for some reason
"Battery": {
"endpoints": "*"
}
}
},
// The device only has a single (unnecessary) endpoint, but it cannot be configured
// to report to the root endpoint. So we need to preserve it.
"preserveEndpoints": [1]
}
}