Commit 08f38ecd authored by 陈伟灿's avatar 陈伟灿

Merge branch 'cwc' into 'master'

【修改内容】添加新的设备物模型

See merge request chenweican/k-sdk!42
parents d2d64972 f9829551
{
"schema": "https://iot-ap.ikonke.com/model/product_1030.json",
"productType": "lock",
"profile": {
"heartbeat": "3000",
"productCode": "1030",
"productName": "B1门锁"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "Volume",
"name": "门锁音量",
"dataType": {
"type": "enum",
"specs": {
"0": "静音",
"1": "低音",
"2": "中音",
"3": "高音"
}
}
}, {
"identifier": "Language",
"name": "门锁语言",
"dataType": {
"type": "enum",
"specs": {
"0": "中文",
"1": "英文"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["LockState", "BackLockState", "Battery", "Volume", "Language"],
"outputData": [{
"identifier": "LockState",
"name": "门锁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "BackLockState",
"name": "门锁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}, {
"identifier": "Volume",
"name": "门锁音量",
"dataType": {
"type": "enum",
"specs": {
"0": "静音",
"1": "低音",
"2": "中音",
"3": "高音"
}
}
}, {
"identifier": "Language",
"name": "门锁语言",
"dataType": {
"type": "enum",
"specs": {
"0": "中文",
"1": "英文"
}
}
}]
}, {
"identifier": "OpenLock",
"name": "远程开锁",
"required": false,
"callType": "async",
"method": "thing.service.OpenLock",
"inputData": [{
"identifier": "Password",
"name": "密码",
"dataType": {
"type": "text",
"specs": {
"length": "126"
}
}
}],
"outputData": []
}, {
"identifier": "GetKeyList",
"name": "获取钥匙列表",
"required": true,
"callType": "async",
"method": "thing.service.GetKeyList",
"inputData": [{
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"0": "全部",
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}],
"outputData": []
}, {
"identifier": "AddKey",
"name": "添加钥匙",
"required": true,
"callType": "async",
"method": "thing.service.AddKey",
"inputData": [{
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}],
"outputData": []
}, {
"identifier": "ModifyKey",
"name": "配置钥匙权限",
"required": false,
"callType": "async",
"method": "thing.service.ModifyKey",
"inputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}],
"outputData": []
}, {
"identifier": "DeleteKey",
"name": "删除钥匙",
"required": true,
"callType": "async",
"method": "thing.service.DeleteKey",
"inputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}],
"outputData": []
}],
"properties": [{
"identifier": "LockState",
"name": "门锁状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "BackLockState",
"name": "门反锁状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}, {
"identifier": "Volume",
"name": "门锁音量",
"accessMode": "rw",
"required": false,
"dataType": {
"type": "enum",
"specs": {
"0": "静音",
"1": "低音",
"2": "中音",
"3": "高音"
}
}
}, {
"identifier": "Language",
"name": "门锁语言",
"accessMode": "rw",
"required": false,
"dataType": {
"type": "enum",
"specs": {
"0": "中文",
"1": "英文"
}
}
}, {
"identifier": "LockKeys",
"name": "门锁钥匙",
"accessMode": "rw",
"desc": "门锁钥匙。",
"required": false,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "enum",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "LockState",
"name": "门锁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}, {
"identifier": "Volume",
"name": "门锁音量",
"dataType": {
"type": "enum",
"specs": {
"0": "静音",
"1": "低音",
"2": "中音",
"3": "高音"
}
}
}, {
"identifier": "Language",
"name": "门锁语言",
"dataType": {
"type": "enum",
"specs": {
"0": "中文",
"1": "英文"
}
}
}]
}, {
"identifier": "LockOpenNotification",
"name": "开门通知",
"type": "info",
"required": true,
"method": "thing.event.LockOpenNotification.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}]
}, {
"identifier": "LockNotification",
"name": "上锁通知",
"type": "info",
"required": true,
"method": "thing.event.LockNotification.post",
"outputData": []
}, {
"identifier": "BackLockNotification",
"name": "反锁通知",
"type": "info",
"required": true,
"method": "thing.event.BackLockNotification.post",
"outputData": []
}, {
"identifier": "BackLockOpenNotification",
"name": "反锁解除通知",
"type": "info",
"required": true,
"method": "thing.event.BackLockOpenNotification.post",
"outputData": []
}, {
"identifier": "KeyInformationNotification",
"name": "钥匙信息上报",
"type": "info",
"required": true,
"method": "thing.event.KeyInformationNotification.post",
"outputData": [{
"identifier": "LockKeys",
"name": "门锁钥匙",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}]
}
}
}
}]
}, {
"identifier": "KeyAddNotification",
"name": "添加钥匙通知",
"type": "info",
"required": true,
"method": "thing.event.KeyAddNotification.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}]
}, {
"identifier": "KeyModifyNotification",
"name": "修改钥匙通知",
"type": "info",
"required": true,
"method": "thing.event.KeyModifyNotification.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}]
}, {
"identifier": "KeyDeletedNotification",
"name": "删除钥匙通知",
"type": "info",
"required": true,
"method": "thing.event.KeyDeletedNotification.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}]
}, {
"identifier": "UnlockedAlarm",
"name": "门未锁好报警",
"type": "alert",
"required": true,
"method": "thing.event.UnlockedAlarm.post",
"outputData": []
}, {
"identifier": "HijackingAlarm",
"name": "劫持报警",
"type": "alert",
"required": true,
"method": "thing.event.HijackingAlarm.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}]
}, {
"identifier": "BatteryAlarm",
"name": "低电量报警",
"type": "alert",
"required": true,
"method": "thing.event.BatteryAlarm.post",
"outputData": [{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}]
}, {
"identifier": "TamperAlarm",
"name": "防撬报警",
"type": "alert",
"required": true,
"method": "thing.event.TamperAlarm.post",
"outputData": []
}, {
"identifier": "Error",
"name": "故障上报",
"type": "error",
"required": true,
"method": "thing.event.Error.post",
"outputData": [{
"identifier": "ErrorCode",
"name": "故障代码",
"dataType": {
"type": "enum",
"specs": {
"0": "正常"
}
}
}]
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_110.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "110",
"productName": "地暖网关"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "CurrentTemperature", "PowerSwitch", "ChildLockState"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_114.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "114",
"productName": "新风网关"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "节能",
"2": "舒适",
"3": "自动",
"4": "手动",
"5": "睡眠",
"6": "新风",
"7": "内通风",
"8": "内除湿",
"9": "新风除湿"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "PowerSwitch", "WindSpeed", "WorkMode", "StrainerState", "StrainerAlarmTime", "CO2", "PM25"],
"outputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "节能",
"2": "舒适",
"3": "自动",
"4": "手动",
"5": "睡眠",
"6": "新风",
"7": "内通风",
"8": "内除湿",
"9": "新风除湿"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "节能",
"2": "舒适",
"3": "自动",
"4": "手动",
"5": "睡眠",
"6": "新风",
"7": "内通风",
"8": "内除湿",
"9": "新风除湿"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警事件",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "co2",
"name": "二氧化碳",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "节能",
"2": "舒适",
"3": "自动",
"4": "手动",
"5": "睡眠",
"6": "新风",
"7": "内通风",
"8": "内除湿",
"9": "新风除湿"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}]
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_130.json",
"productType": "lock",
"profile": {
"heartbeat": "3000",
"productCode": "130",
"productName": "B1门锁"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "Volume",
"name": "门锁音量",
"dataType": {
"type": "enum",
"specs": {
"0": "静音",
"1": "低音",
"2": "中音",
"3": "高音"
}
}
}, {
"identifier": "Language",
"name": "门锁语言",
"dataType": {
"type": "enum",
"specs": {
"0": "中文",
"1": "英文"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["LockState", "BackLockState", "Battery", "Volume", "Language"],
"outputData": [{
"identifier": "LockState",
"name": "门锁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "BackLockState",
"name": "门锁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}, {
"identifier": "Volume",
"name": "门锁音量",
"dataType": {
"type": "enum",
"specs": {
"0": "静音",
"1": "低音",
"2": "中音",
"3": "高音"
}
}
}, {
"identifier": "Language",
"name": "门锁语言",
"dataType": {
"type": "enum",
"specs": {
"0": "中文",
"1": "英文"
}
}
}]
}, {
"identifier": "OpenLock",
"name": "远程开锁",
"required": false,
"callType": "async",
"method": "thing.service.OpenLock",
"inputData": [{
"identifier": "Password",
"name": "密码",
"dataType": {
"type": "text",
"specs": {
"length": "126"
}
}
}],
"outputData": []
}, {
"identifier": "GetKeyList",
"name": "获取钥匙列表",
"required": true,
"callType": "async",
"method": "thing.service.GetKeyList",
"inputData": [{
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"0": "全部",
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}],
"outputData": []
}, {
"identifier": "AddKey",
"name": "添加钥匙",
"required": true,
"callType": "async",
"method": "thing.service.AddKey",
"inputData": [{
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}],
"outputData": []
}, {
"identifier": "ModifyKey",
"name": "配置钥匙权限",
"required": false,
"callType": "async",
"method": "thing.service.ModifyKey",
"inputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}],
"outputData": []
}, {
"identifier": "DeleteKey",
"name": "删除钥匙",
"required": true,
"callType": "async",
"method": "thing.service.DeleteKey",
"inputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}],
"outputData": []
}],
"properties": [{
"identifier": "LockState",
"name": "门锁状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "BackLockState",
"name": "门反锁状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}, {
"identifier": "Volume",
"name": "门锁音量",
"accessMode": "rw",
"required": false,
"dataType": {
"type": "enum",
"specs": {
"0": "静音",
"1": "低音",
"2": "中音",
"3": "高音"
}
}
}, {
"identifier": "Language",
"name": "门锁语言",
"accessMode": "rw",
"required": false,
"dataType": {
"type": "enum",
"specs": {
"0": "中文",
"1": "英文"
}
}
}, {
"identifier": "LockKeys",
"name": "门锁钥匙",
"accessMode": "rw",
"desc": "门锁钥匙。",
"required": false,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "enum",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "LockState",
"name": "门锁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}, {
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}, {
"identifier": "Volume",
"name": "门锁音量",
"dataType": {
"type": "enum",
"specs": {
"0": "静音",
"1": "低音",
"2": "中音",
"3": "高音"
}
}
}, {
"identifier": "Language",
"name": "门锁语言",
"dataType": {
"type": "enum",
"specs": {
"0": "中文",
"1": "英文"
}
}
}]
}, {
"identifier": "LockOpenNotification",
"name": "开门通知",
"type": "info",
"required": true,
"method": "thing.event.LockOpenNotification.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}]
}, {
"identifier": "LockNotification",
"name": "上锁通知",
"type": "info",
"required": true,
"method": "thing.event.LockNotification.post",
"outputData": []
}, {
"identifier": "BackLockNotification",
"name": "反锁通知",
"type": "info",
"required": true,
"method": "thing.event.BackLockNotification.post",
"outputData": []
}, {
"identifier": "BackLockOpenNotification",
"name": "反锁解除通知",
"type": "info",
"required": true,
"method": "thing.event.BackLockOpenNotification.post",
"outputData": []
}, {
"identifier": "KeyInformationNotification",
"name": "钥匙信息上报",
"type": "info",
"required": true,
"method": "thing.event.KeyInformationNotification.post",
"outputData": [{
"identifier": "LockKeys",
"name": "门锁钥匙",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}]
}
}
}
}]
}, {
"identifier": "KeyAddNotification",
"name": "添加钥匙通知",
"type": "info",
"required": true,
"method": "thing.event.KeyAddNotification.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}]
}, {
"identifier": "KeyModifyNotification",
"name": "修改钥匙通知",
"type": "info",
"required": true,
"method": "thing.event.KeyModifyNotification.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}, {
"identifier": "IsValid",
"name": "是否有效",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "KeyName",
"name": "钥匙昵称",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "KeyEffectiveTime",
"name": "生效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}, {
"identifier": "KeyExpiryTime",
"name": "失效时间",
"dataType": {
"type": "int",
"specs": {
"min": "1577808001",
"max": "32472115201"
}
}
}]
}, {
"identifier": "KeyDeletedNotification",
"name": "删除钥匙通知",
"type": "info",
"required": true,
"method": "thing.event.KeyDeletedNotification.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}, {
"identifier": "KeyRole",
"name": "用户权限",
"dataType": {
"type": "enum",
"specs": {
"1": "普通用户",
"2": "管理员",
"3": "劫持用户"
}
}
}]
}, {
"identifier": "UnlockedAlarm",
"name": "门未锁好报警",
"type": "alert",
"required": true,
"method": "thing.event.UnlockedAlarm.post",
"outputData": []
}, {
"identifier": "HijackingAlarm",
"name": "劫持报警",
"type": "alert",
"required": true,
"method": "thing.event.HijackingAlarm.post",
"outputData": [{
"identifier": "KeyID",
"name": "钥匙ID",
"dataType": {
"type": "text",
"specs": {
"length": "10"
}
}
}, {
"identifier": "KeyType",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1": "指纹",
"2": "密码",
"3": "卡",
"4": "机械钥匙"
}
}
}]
}, {
"identifier": "BatteryAlarm",
"name": "低电量报警",
"type": "alert",
"required": true,
"method": "thing.event.BatteryAlarm.post",
"outputData": [{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}]
}, {
"identifier": "TamperAlarm",
"name": "防撬报警",
"type": "alert",
"required": true,
"method": "thing.event.TamperAlarm.post",
"outputData": []
}, {
"identifier": "Error",
"name": "故障上报",
"type": "error",
"required": true,
"method": "thing.event.Error.post",
"outputData": [{
"identifier": "ErrorCode",
"name": "故障代码",
"dataType": {
"type": "enum",
"specs": {
"0": "正常"
}
}
}]
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_142.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "142",
"productName": "美的中央空调线控器ZHA"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "PowerSwitch", "WindSpeed", "WorkMode"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "ModifyLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "修改定时任务",
"method": "thing.service.ModifyLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}, {
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_143.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "143",
"productName": "美的中央空调线控器KKA"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "PowerSwitch", "WindSpeed", "WorkMode"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "ModifyLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "修改定时任务",
"method": "thing.service.ModifyLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}, {
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_144.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "144",
"productName": "大金中央空调线控器ZHA"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "PowerSwitch", "WindSpeed", "WorkMode"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "ModifyLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "修改定时任务",
"method": "thing.service.ModifyLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}, {
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_31.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "31",
"productName": "中央空调网关"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "PowerSwitch", "WindSpeed", "WorkMode"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}, {
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_32.json",
"productType": "floorHeating",
"profile": {
"heartbeat": "3000",
"productCode": "32",
"productName": "地暖面板"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "CurrentTemperature", "PowerSwitch", "ChildLockState", "WorkMode"],
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_34.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "34",
"productName": "新风面板"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "PowerSwitch", "WindMode", "WindSpeed", "WorkMode", "ChildLockState", "StrainerState", "StrainerAlarmTime", "CO2", "PM25"],
"outputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警事件",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "co2",
"name": "二氧化碳",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_71.json",
"productType": "floorHeating",
"profile": {
"heartbeat": "3000",
"productCode": "71",
"productName": "电地暖(菲凡系列)"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "CurrentTemperature", "PowerSwitch", "ChildLockState", "WorkMode"],
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_72.json",
"productType": "floorHeating",
"profile": {
"heartbeat": "3000",
"productCode": "71",
"productName": "水地暖(菲凡系列)"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "CurrentTemperature", "PowerSwitch", "ChildLockState", "WorkMode"],
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{ {
"schema": "https://iot.ikonke.com/schema.json", "schema": "https://iot-ap.ikonke.com/model/product_91.json",
"productType": "outlet", "productType": "outlet",
"profile": { "profile": {
"heartbeat": "3000",
"productCode": "91", "productCode": "91",
"productName": "入墙插座16A(肖邦系列)" "productName": "入墙插座16A(肖邦系列)"
}, },
......
{
"schema": "https://iot-ap.ikonke.com/model/product_92.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "92",
"productName": "风机盘管(肖邦系列)"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "PowerSwitch", "WindSpeed", "WorkMode"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "ModifyLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "修改定时任务",
"method": "thing.service.ModifyLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}, {
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_94.json",
"productType": "floorHeating",
"profile": {
"heartbeat": "3000",
"productCode": "94",
"productName": "水地暖(肖邦系列)"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "CurrentTemperature", "PowerSwitch", "ChildLockState", "WorkMode"],
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_95.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "95",
"productName": "新风(肖邦系列)"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "PowerSwitch", "WindMode", "WindSpeed", "WorkMode", "ChildLockState", "StrainerState", "StrainerAlarmTime", "CO2", "PM25"],
"outputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}]
}, {
"identifier": "AddLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "添加定时任务",
"method": "thing.service.AddLocalTimerTask",
"inputData": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}, {
"identifier": "Actions",
"name": "动作",
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Set",
"name": "设置",
"dataType": {
"type": "struct",
"specs": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "DeleteLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "删除定时任务",
"method": "thing.service.DeleteLocalTimerTask",
"inputData": [],
"outputData": []
}, {
"identifier": "GetLocalTimerTask",
"name": "获取定时任务",
"required": true,
"callType": "async",
"method": "thing.service.GetLocalTimerTask",
"inputData": [],
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警事件",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "co2",
"name": "二氧化碳",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}]
}, {
"identifier": "LocalTimerTaskInformationNotification",
"name": "定时任务上报",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskInformationNotification.post",
"outputData": [{
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"identifier": "Timer",
"name": "定时时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
}, {
"identifier": "Enable",
"name": "启用",
"dataType": {
"type": "bool",
"specs": {
"0": "关",
"1": "开"
}
}
}, {
"identifier": "IsValid",
"name": "可执行",
"dataType": {
"type": "bool",
"specs": {
"0": "无效",
"1": "有效"
}
}
}]
}
}
}
}]
}, {
"identifier": "LocalTimerTaskAddNotification",
"name": "添加定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskAddNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskModifyNotification",
"name": "修改定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskModifyNotification.post",
"outputData": []
}, {
"identifier": "LocalTimerTaskDeletedNotification",
"name": "删除定时任务通知",
"type": "info",
"required": true,
"method": "thing.event.LocalTimerTaskDeletedNotification.post",
"outputData": []
}]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment