openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json
Marcel 71566e47af
[miio] add poweroff properties to zhimi powerstrip (#8899)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-01 14:32:56 -08:00

107 lines
2.0 KiB
JSON

{
"deviceMapping": {
"id": [
"qmi.powerstrip.v1",
"zimi.powerstrip.v2"
],
"channels": [
{
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_power",
"parameterType": "ONOFF"
}
]
},
{
"property": "power_consume_rate",
"friendlyName": "Power Consumption",
"channel": "powerUsage",
"channelType": "powerUsage",
"type": "Number",
"refresh": true,
"actions": [
{
"parameterType": "EMPTY"
}
]
},
{
"property": "wifi_led",
"friendlyName": "wifi LED",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_wifi_led",
"parameterType": "ONOFF"
}
]
},
{
"property": "power_price",
"friendlyName": "power_price",
"channel": "power_price",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_power_price",
"parameterType": "NUMBER"
}
]
},
{
"property": "current",
"friendlyName": "Current",
"channel": "current",
"channelType": "current",
"type": "Number",
"refresh": true,
"actions": []
},
{
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"refresh": true,
"actions": []
},
{
"property": "lp_autooff",
"friendlyName": "Low Power Auto Off",
"channel": "lp_autooff",
"type": "Number",
"refresh": true,
"actions": []
},
{
"property": "lp_autooff_delay",
"friendlyName": "Low Power Limit Time",
"channel": "lp_autooff_delay",
"type": "Number",
"refresh": true,
"actions": []
},
{
"property": "lp_threshold",
"friendlyName": "Low Power Threshold",
"channel": "lp_threshold",
"type": "Number",
"refresh": true,
"actions": []
}
]
}
}