170 lines
3 KiB
JSON
170 lines
3 KiB
JSON
|
{
|
||
|
"manufacturer": "McoHome Technology Co., Ltd.",
|
||
|
"manufacturerId": "0x015f",
|
||
|
"label": "MH-S220",
|
||
|
"description": "Micro Switch",
|
||
|
"devices": [
|
||
|
{
|
||
|
"productType": "0x2201",
|
||
|
"productId": "0x1252"
|
||
|
},
|
||
|
{
|
||
|
"productType": "0x2201",
|
||
|
"productId": "0x7202"
|
||
|
}
|
||
|
],
|
||
|
"firmwareVersion": {
|
||
|
"min": "0.0",
|
||
|
"max": "3.1"
|
||
|
},
|
||
|
"associations": {
|
||
|
"1": {
|
||
|
"label": "Switch 1",
|
||
|
"maxNodes": 5
|
||
|
},
|
||
|
"2": {
|
||
|
"label": "Switch 2",
|
||
|
"maxNodes": 5
|
||
|
},
|
||
|
"3": {
|
||
|
"label": "Lifeline",
|
||
|
"maxNodes": 1,
|
||
|
"isLifeline": true
|
||
|
}
|
||
|
},
|
||
|
"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
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"#": "4",
|
||
|
"label": "Switch 1: Report to Association Group 1",
|
||
|
"valueSize": 1,
|
||
|
"defaultValue": 0,
|
||
|
"allowManualEntry": false,
|
||
|
"options": [
|
||
|
{
|
||
|
"label": "Report both on/off",
|
||
|
"value": 0
|
||
|
},
|
||
|
{
|
||
|
"label": "Report on only",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"label": "Report off only",
|
||
|
"value": 2
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"#": "5",
|
||
|
"$import": "~/templates/master_template.json#base_enable_disable",
|
||
|
"label": "Switch 1: Off Timer",
|
||
|
"defaultValue": 1
|
||
|
},
|
||
|
{
|
||
|
"#": "6",
|
||
|
"label": "Switch 1: Off Timer Interval",
|
||
|
"valueSize": 2,
|
||
|
"unit": "100ms",
|
||
|
"minValue": 0,
|
||
|
"maxValue": 65535,
|
||
|
"defaultValue": 0,
|
||
|
"unsigned": true
|
||
|
},
|
||
|
{
|
||
|
"#": "7",
|
||
|
"label": "Operation Mode",
|
||
|
"description": "Determines if relay switches when command is received, or when AC voltage next crosses 0V. Zero crossing mode may reduce possibility of relay failure.",
|
||
|
"valueSize": 1,
|
||
|
"defaultValue": 0,
|
||
|
"allowManualEntry": false,
|
||
|
"options": [
|
||
|
{
|
||
|
"label": "Switch immediately",
|
||
|
"value": 0
|
||
|
},
|
||
|
{
|
||
|
"label": "Zero crossing detection",
|
||
|
"value": 1
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"#": "8",
|
||
|
"label": "Switch 2: Operation Report to Association Group 2",
|
||
|
"valueSize": 1,
|
||
|
"defaultValue": 0,
|
||
|
"allowManualEntry": false,
|
||
|
"options": [
|
||
|
{
|
||
|
"label": "Report both on/off",
|
||
|
"value": 0
|
||
|
},
|
||
|
{
|
||
|
"label": "Report on only",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"label": "Report off only",
|
||
|
"value": 2
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"#": "255",
|
||
|
"label": "Factory Reset",
|
||
|
"valueSize": 1,
|
||
|
"defaultValue": 0,
|
||
|
"writeOnly": true,
|
||
|
"allowManualEntry": false,
|
||
|
"options": [
|
||
|
{
|
||
|
"label": "Idle",
|
||
|
"value": 0
|
||
|
},
|
||
|
{
|
||
|
"label": "Factory reset",
|
||
|
"value": 85
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|