229 lines
4.6 KiB
JSON
229 lines
4.6 KiB
JSON
{
|
|
"deviceMapping": {
|
|
"id": [
|
|
"zhimi.heater.zb1"
|
|
],
|
|
"propertyMethod": "get_properties",
|
|
"maxProperties": 1,
|
|
"channels": [
|
|
{
|
|
"property": "fault",
|
|
"siid": 2,
|
|
"piid": 1,
|
|
"friendlyName": "Heater - Device Fault",
|
|
"channel": "fault",
|
|
"channelType": "miot_uint32",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "on",
|
|
"siid": 2,
|
|
"piid": 2,
|
|
"friendlyName": "Heater - Power",
|
|
"channel": "on",
|
|
"channelType": "miot_bool",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "ONOFFBOOL"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "target-temperature",
|
|
"siid": 2,
|
|
"piid": 6,
|
|
"friendlyName": "Heater - Target Temperature",
|
|
"channel": "target-temperature",
|
|
"channelType": "ZhimiHeaterZa2_target-temperature",
|
|
"type": "Number:Temperature",
|
|
"unit": "CELCIUS",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
],
|
|
"category": "temperature",
|
|
"tags": [
|
|
"Setpoint",
|
|
"Temperature"
|
|
]
|
|
},
|
|
{
|
|
"property": "alarm",
|
|
"siid": 3,
|
|
"piid": 1,
|
|
"friendlyName": "Alarm - Alarm",
|
|
"channel": "alarm",
|
|
"channelType": "miot_bool",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "ONOFFBOOL"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "countdown-time",
|
|
"siid": 4,
|
|
"piid": 1,
|
|
"friendlyName": "Countdown - Countdown Time",
|
|
"channel": "countdown-time",
|
|
"channelType": "time",
|
|
"type": "Number:Time",
|
|
"unit": "hours",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "STRING"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "relative-humidity",
|
|
"siid": 5,
|
|
"piid": 7,
|
|
"friendlyName": "Environment - Relative Humidity",
|
|
"channel": "relative-humidity",
|
|
"channelType": "humidity",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "temperature",
|
|
"siid": 5,
|
|
"piid": 8,
|
|
"friendlyName": "Environment - Temperature",
|
|
"channel": "temperature",
|
|
"channelType": "temperatureC",
|
|
"type": "Number:Temperature",
|
|
"unit": "CELCIUS",
|
|
"refresh": true,
|
|
"actions": [],
|
|
"category": "temperature",
|
|
"tags": [
|
|
"Measurement",
|
|
"Temperature"
|
|
]
|
|
},
|
|
{
|
|
"property": "brightness",
|
|
"siid": 6,
|
|
"piid": 1,
|
|
"friendlyName": "Indicator Light - Brightness",
|
|
"channel": "brightness",
|
|
"channelType": "brightness",
|
|
"type": "Dimmer",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "physical-controls-locked",
|
|
"siid": 7,
|
|
"piid": 1,
|
|
"friendlyName": "Physical Control Locked - Physical Controls Locked",
|
|
"channel": "physical-controls-locked",
|
|
"channelType": "miot_bool",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "ONOFFBOOL"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "use-time",
|
|
"siid": 8,
|
|
"piid": 7,
|
|
"friendlyName": "Private-Service - Use Time",
|
|
"channel": "use-time",
|
|
"channelType": "time",
|
|
"type": "Number:Time",
|
|
"unit": "seconds",
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "country-code",
|
|
"siid": 8,
|
|
"piid": 8,
|
|
"friendlyName": "Private-Service - Country-Code",
|
|
"channel": "country-code",
|
|
"channelType": "ZhimiHeaterZb1_country-code",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"readOnly": true,
|
|
"options": [
|
|
{
|
|
"value": "0",
|
|
"label": "Unknown"
|
|
},
|
|
{
|
|
"value": "1",
|
|
"label": "US"
|
|
},
|
|
{
|
|
"value": "82",
|
|
"label": "KR"
|
|
},
|
|
{
|
|
"value": "44",
|
|
"label": "EU"
|
|
},
|
|
{
|
|
"value": "81",
|
|
"label": "JP"
|
|
},
|
|
{
|
|
"value": "7",
|
|
"label": "RU"
|
|
},
|
|
{
|
|
"value": "86",
|
|
"label": "CN"
|
|
},
|
|
{
|
|
"value": "852",
|
|
"label": "HK"
|
|
},
|
|
{
|
|
"value": "886",
|
|
"label": "TW"
|
|
},
|
|
{
|
|
"value": "33",
|
|
"label": "FR"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
],
|
|
"readmeComment": "Value mapping [\"0\"\u003d\"Unknown\",\"1\"\u003d\"US\",\"82\"\u003d\"KR\",\"44\"\u003d\"EU\",\"81\"\u003d\"JP\",\"7\"\u003d\"RU\",\"86\"\u003d\"CN\",\"852\"\u003d\"HK\",\"886\"\u003d\"TW\",\"33\"\u003d\"FR\"]"
|
|
}
|
|
],
|
|
"experimental": true
|
|
}
|
|
}
|