Commit d92cafa2 authored by 陈伟灿's avatar 陈伟灿

Merge branch 'cwc' into 'master'

【修改内容】增加物模型

See merge request chenweican/k-sdk!78
parents 196687da c807c76e
{
"schema": "https://iot-ap.ikonke.com/model/product_3028.json",
"productType": "lightPanel",
"version": "1.0",
"profile": {
"heartbeat": "300",
"productCode": "3028",
"productName": "肖邦系列.白色零火线调光面板Z3S(KONKE)"
},
"services": [
{
"outputData": [],
"identifier": "set",
"inputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "Brightness",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "亮度"
}
],
"method": "thing.service.property.set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置"
},
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "Brightness",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "亮度"
}
],
"identifier": "get",
"inputData": [
"PowerSwitch",
"Brightness"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
},
{
"outputData":[
],
"identifier":"negativeProperty",
"inputData":[
"PowerSwitch"
],
"method":"thing.service.negativeProperty",
"name":"negativeProperty",
"required":true,
"callType":"async",
"desc":"属性值取反"
}
],
"properties": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关",
"accessMode": "rw",
"required": true
},
{
"identifier": "Brightness",
"name": "亮度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "Brightness",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "亮度"
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
{
"schema": "https://iot-ap.ikonke.com/model/product_3029.json",
"productType": "floorHeating",
"profile": {
"heartbeat": "300",
"productCode": "3029",
"productName": "肖邦系列.白色水地暖面板Z3S(KONKE)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "20",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"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": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [
"TargetTemperature",
"CurrentTemperature",
"PowerSwitch",
"ChildLockState",
"WorkMode",
"TimingOffTime"
],
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "20",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"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": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type" : "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TargetTemperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "20",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"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": "TimingOffTime",
"name": "延时关机时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "20",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"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": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3030.json",
"productType": "floorHeating",
"profile": {
"heartbeat": "3000",
"productCode": "3030",
"productName": "肖邦系列.电地暖面板Z3S(KONKE)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "20",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"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": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [
"TargetTemperature",
"CurrentTemperature",
"PowerSwitch",
"ChildLockState",
"WorkMode",
"TimingOffTime"
],
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "20",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"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": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TargetTemperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "20",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度"
}
}
},
{
"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": "TimingOffTime",
"name": "延时关机时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "20",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"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": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
]
}
\ No newline at end of file
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3031.json", "schema": "https://iot-ap.ikonke.com/model/product_3031.json",
"productType": "airConditioning", "productType": "floorHeating",
"profile": { "profile": {
"heartbeat": "3000", "heartbeat": "3000",
"productCode": "3031", "productCode": "3031",
"productName": "风机盘管(肖邦系列)" "productName": "肖邦系列.风机盘管面板Z3S(KONKE)"
}, },
"services": [ "services": [
{ {
"identifier": "set", "identifier": "set",
...@@ -16,30 +16,19 @@ ...@@ -16,30 +16,19 @@
"method": "thing.service.property.set", "method": "thing.service.property.set",
"inputData": [ "inputData": [
{ {
"identifier": "VerticalSwitch", "identifier": "TargetTemperature",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
"specs": { "specs": {
"min": "16", "min": "20",
"max": "30", "max": "30",
"unit": "°C", "unit": "°C",
"unitName": "摄氏度", "unitName": "摄氏度",
"step": "1" "step": "0.5"
} }
} }
}, },
{ {
"identifier": "PowerSwitch", "identifier": "PowerSwitch",
"name": "电源开关", "name": "电源开关",
...@@ -50,41 +39,37 @@ ...@@ -50,41 +39,37 @@
"1": "开启" "1": "开启"
} }
} }
}, },
{ {
"identifier": "WindSpeed", "identifier": "WindSpeed",
"name": "风速", "name": "风速",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动", "1": "自动",
"1": "静音档", "2": "高档",
"2": "低档",
"3": "中档", "3": "中档",
"4": "高档", "4": "低档"
"5": "最高档"
} }
} }
}, },
{ {
"identifier": "WorkMode", "identifier": "WorkMode",
"name": "工作模式", "name": "工作模式",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动",
"1": "制冷", "1": "制冷",
"2": "制热", "2": "制热",
"3": "通风", "3": "通风"
"4": "除湿"
} }
} }
}, },
{ {
"identifier": "TimingOffEnable", "identifier": "ChildLockState",
"name": "定时关机", "name": "童锁",
"dataType": { "dataType": {
"type": "bool", "type": "enum",
"specs": { "specs": {
"0": "关闭", "0": "关闭",
"1": "开启" "1": "开启"
...@@ -93,28 +78,21 @@ ...@@ -93,28 +78,21 @@
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "时关机时间", "name": "时关机时间",
"dataType": { "dataType": {
"type": "text", "type": "double",
"specs": {
"length": "255"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": { "specs": {
"0": "关闭", "min": "0",
"1": "开启" "max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
} }
} }
} }
], ],
"outputData": [] "outputData": []
}, },
{ {
"identifier": "get", "identifier": "get",
"name": "get", "name": "get",
...@@ -123,39 +101,26 @@ ...@@ -123,39 +101,26 @@
"desc": "属性获取", "desc": "属性获取",
"method": "thing.service.property.get", "method": "thing.service.property.get",
"inputData": [ "inputData": [
"VerticalSwitch", "ChildLockState",
"Temperature", "TargetTemperature",
"PowerSwitch", "CurrentTemperature",
"WindSpeed", "PowerSwitch",
"WorkMode", "WindSpeed",
"CurrentTemperature", "WorkMode",
"TimingOffEnable", "TimingOffTime"
"TimingOffTime",
"ChildLockState"
], ],
"outputData": [ "outputData": [
{ {
"identifier": "VerticalSwitch", "identifier": "TargetTemperature",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
"specs": { "specs": {
"min": "16", "min": "20",
"max": "30", "max": "30",
"unit": "°C", "unit": "°C",
"unitName": "摄氏度", "unitName": "摄氏度",
"step": "1" "step": "0.5"
} }
} }
}, },
...@@ -169,7 +134,7 @@ ...@@ -169,7 +134,7 @@
"max": "50", "max": "50",
"unit": "°C", "unit": "°C",
"unitName": "摄氏度", "unitName": "摄氏度",
"step": "1" "step": "0.5"
} }
} }
}, },
...@@ -183,41 +148,37 @@ ...@@ -183,41 +148,37 @@
"1": "开启" "1": "开启"
} }
} }
}, },
{ {
"identifier": "WindSpeed", "identifier": "WindSpeed",
"name": "风速", "name": "风速",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动", "1": "自动",
"1": "静音档", "2": "高档",
"2": "低档",
"3": "中档", "3": "中档",
"4": "高档", "4": "低档"
"5": "最高档"
} }
} }
}, },
{ {
"identifier": "WorkMode", "identifier": "WorkMode",
"name": "工作模式", "name": "工作模式",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动",
"1": "制冷", "1": "制冷",
"2": "制热", "2": "制热",
"3": "通风", "3": "通风"
"4": "除湿"
} }
} }
}, },
{ {
"identifier": "TimingOffEnable", "identifier": "ChildLockState",
"name": "定时关机", "name": "童锁",
"dataType": { "dataType": {
"type": "bool", "type": "enum",
"specs": { "specs": {
"0": "关闭", "0": "关闭",
"1": "开启" "1": "开启"
...@@ -226,22 +187,15 @@ ...@@ -226,22 +187,15 @@
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "定时关机时间", "name": "延时关机时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": { "dataType": {
"type": "enum", "type": "double",
"specs": { "specs": {
"0": "关闭", "min": "0",
"1": "开启" "max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
} }
} }
} }
...@@ -261,20 +215,20 @@ ...@@ -261,20 +215,20 @@
"1": "开启" "1": "开启"
} }
} }
}, },
{ {
"identifier": "Temperature", "identifier": "TargetTemperature",
"name": "目标温度", "name": "目标温度",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
"dataType": { "dataType": {
"type": "double", "type": "double",
"specs": { "specs": {
"min": "16", "min": "20",
"max": "30", "max": "30",
"unit": "°C", "unit": "°C",
"unitName": "摄氏度", "unitName": "摄氏度",
"step": "1" "step": "0.5"
} }
} }
}, },
...@@ -290,7 +244,7 @@ ...@@ -290,7 +244,7 @@
"max": "50", "max": "50",
"unit": "°C", "unit": "°C",
"unitName": "摄氏度", "unitName": "摄氏度",
"step": "1" "step": "0.5"
} }
} }
}, },
...@@ -302,34 +256,16 @@ ...@@ -302,34 +256,16 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动", "1": "自动",
"1": "静音档", "2": "高档",
"2": "低档",
"3": "中档", "3": "中档",
"4": "高档", "4": "低档"
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
} }
} }
}, },
{ {
"identifier": "VerticalSwitch", "identifier": "ChildLockState",
"name": "上下摆风开关", "name": "童锁",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
"dataType": { "dataType": {
...@@ -341,40 +277,32 @@ ...@@ -341,40 +277,32 @@
} }
}, },
{ {
"identifier": "TimingOnEnable", "identifier": "WorkMode",
"name": "定时开机", "name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "关闭", "1": "制冷",
"1": "开启" "2": "制热",
"3": "通风"
} }
} }
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "时关机时间", "name": "时关机时间",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
"dataType": { "dataType": {
"type": "text", "type": "double",
"specs": { "specs": {
"length": "255" "min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
} }
} }
} }
...@@ -389,27 +317,16 @@ ...@@ -389,27 +317,16 @@
"method": "thing.event.property.post", "method": "thing.event.property.post",
"outputData": [ "outputData": [
{ {
"identifier": "VerticalSwitch", "identifier": "TargetTemperature",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
"specs": { "specs": {
"min": "16", "min": "20",
"max": "30", "max": "30",
"unit": "°C", "unit": "°C",
"unitName": "摄氏度", "unitName": "摄氏度",
"step": "1" "step": "0.5"
} }
} }
}, },
...@@ -423,7 +340,7 @@ ...@@ -423,7 +340,7 @@
"max": "50", "max": "50",
"unit": "°C", "unit": "°C",
"unitName": "摄氏度", "unitName": "摄氏度",
"step": "1" "step": "0.5"
} }
} }
}, },
...@@ -437,36 +354,20 @@ ...@@ -437,36 +354,20 @@
"1": "开启" "1": "开启"
} }
} }
}, },
{ {
"identifier": "WindSpeed", "identifier": "WindSpeed",
"name": "风速", "name": "风速",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动", "1": "自动",
"1": "静音档", "2": "高档",
"2": "低档",
"3": "中档", "3": "中档",
"4": "高档", "4": "低档"
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
} }
} }
}, },
{ {
"identifier": "ChildLockState", "identifier": "ChildLockState",
"name": "童锁", "name": "童锁",
...@@ -479,23 +380,28 @@ ...@@ -479,23 +380,28 @@
} }
}, },
{ {
"identifier": "TimingOffEnable", "identifier": "WorkMode",
"name": "定时关机", "name": "工作模式",
"dataType": { "dataType": {
"type": "bool", "type": "enum",
"specs": { "specs": {
"0": "关闭", "1": "制冷",
"1": "开启" "2": "制热",
"3": "通风"
} }
} }
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "时关机时间", "name": "时关机时间",
"dataType": { "dataType": {
"type": "text", "type": "double",
"specs": { "specs": {
"length": "255" "min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
} }
} }
} }
......
{
"schema": "https://iot-ap.ikonke.com/model/product_3032.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "3032",
"productName": "肖邦系列.新风控制面板Z3S(KONKE)"
},
"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": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "StrainerUsageTime",
"name": "滤网使用时间",
"dataType": {
"type": "int",
"specs": {
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "2000",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [
"PowerSwitch",
"WindSpeed",
"WorkMode",
"ChildLockState",
"TimingOffTime",
"StrainerUsageTime",
"StrainerAlarmTime",
"CurrentTemperature"
],
"outputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "循环",
"1": "手动"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "int",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "StrainerUsageTime",
"name": "滤网使用时间",
"dataType": {
"type": "int",
"specs": {
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"dataType": {
"type": "enum",
"specs": {
"0": "循环",
"1": "手动"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "StrainerUsageTime",
"name": "滤网使用时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "2000",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
}
],
"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": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
},
{
"identifier": "StrainerUsageTime",
"name": "滤网使用时间",
"dataType": {
"type": "int",
"specs": {
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
}
]
},
{
"outputData": [
{
"identifier": "StrainerAlarmState",
"name": "滤网使用超时告警",
"dataType": {
"type": "enum",
"specs": {
"0": "未超时",
"1": "已超时"
}
}
}
],
"identifier": "strainerAlarm",
"method": "thing.event.strainerAlarm.post",
"name": "strainerAlarm",
"type": "alarm",
"required": true,
"desc": ""
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3033.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "3033",
"productName": "肖邦系列.美的中央空调线控器Z3KA(KONKE)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [
"ChildLockState",
"TargetTemperature",
"CurrentTemperature",
"PowerSwitch",
"WindSpeed",
"WorkMode",
"TimingOffTime"
],
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TargetTemperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "300",
"unit": "0.1°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3034.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "3034",
"productName": "肖邦系列.美的中央空调线控器Z3ZA(KONKE)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [
"ChildLockState",
"TargetTemperature",
"CurrentTemperature",
"PowerSwitch",
"WindSpeed",
"WorkMode",
"TimingOffTime"
],
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TargetTemperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3035.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "3035",
"productName": "肖邦系列.大金中央空调线控器Z3KA(KONKE)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [
"ChildLockState",
"TargetTemperature",
"CurrentTemperature",
"PowerSwitch",
"WindSpeed",
"WorkMode",
"TimingOffTime"
],
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TargetTemperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3036.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "3036",
"productName": "肖邦系列.大金中央空调线控器Z3ZA(KONKE)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [
"ChildLockState",
"TargetTemperature",
"CurrentTemperature",
"PowerSwitch",
"WindSpeed",
"WorkMode",
"TimingOffTime"
],
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TargetTemperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "TargetTemperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "17",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.5"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "自动",
"2": "高档",
"3": "中档",
"4": "低档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "TimingOffTime",
"name": "延时关机时间",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "24",
"unit": "h",
"unitName": "小时",
"step": "0.5"
}
}
}
]
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3067.json",
"productType": "curtain",
"version": "1.0",
"profile": {
"heartbeat": "300",
"productCode": "3067",
"productName": "智能窗帘电机Z3S(KONKE)"
},
"services": [
{
"outputData": [],
"identifier": "set",
"inputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "LiftPercentage",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "窗帘开启百分比"
}
],
"method": "thing.service.property.set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置"
},
{
"outputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "LiftPercentage",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "窗帘开启百分比"
}
],
"identifier": "get",
"inputData": [
"OperationMode",
"LiftPercentage"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
},
{
"outputData": [],
"identifier": "setLimitedPoint",
"inputData": [],
"method": "thing.service.setLimitedPoint",
"name": "setLimitedPoint",
"required": true,
"callType": "async",
"desc": "设置限位点"
},
{
"outputData": [],
"identifier": "resetLimitedPoint",
"inputData": [],
"method": "thing.service.resetLimitedPoint",
"name": "resetLimitedPoint",
"required": true,
"callType": "async",
"desc": "重置限位点"
},
{
"outputData": [],
"identifier": "reverse",
"inputData": [],
"method": "thing.service.reverse",
"name": "reverse",
"required": true,
"callType": "async",
"desc": "电机换向"
},
{
"outputData": [],
"identifier": "onOffReverse",
"inputData": [],
"method": "thing.service.onOffReverse",
"name": "onOffReverse",
"required": false,
"callType": "async",
"desc": "全开全关对调"
}
],
"properties": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"required": true,
"accessMode": "rw",
"name": "窗帘操作模式"
},
{
"identifier": "LiftPercentage",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"required": true,
"accessMode": "rw",
"name": "窗帘开启百分比"
}
],
"events": [
{
"outputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "LiftPercentage",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "窗帘开启百分比"
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
{
"schema": "https://iot-ap.ikonke.com/model/product_3068.json",
"productType": "curtain",
"version": "1.0",
"profile": {
"heartbeat": "300",
"productCode": "3068",
"productName": "威刚系列.智能窗帘电机Z3S(KONKE)"
},
"services": [
{
"outputData": [],
"identifier": "set",
"inputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "LiftPercentage",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "窗帘开启百分比"
}
],
"method": "thing.service.property.set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置"
},
{
"outputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "LiftPercentage",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "窗帘开启百分比"
}
],
"identifier": "get",
"inputData": [
"OperationMode",
"LiftPercentage"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
},
{
"outputData": [],
"identifier": "setLimitedPoint",
"inputData": [],
"method": "thing.service.setLimitedPoint",
"name": "setLimitedPoint",
"required": true,
"callType": "async",
"desc": "设置限位点"
},
{
"outputData": [],
"identifier": "resetLimitedPoint",
"inputData": [],
"method": "thing.service.resetLimitedPoint",
"name": "resetLimitedPoint",
"required": true,
"callType": "async",
"desc": "重置限位点"
},
{
"outputData": [],
"identifier": "reverse",
"inputData": [],
"method": "thing.service.reverse",
"name": "reverse",
"required": true,
"callType": "async",
"desc": "电机换向"
},
{
"outputData": [],
"identifier": "onOffReverse",
"inputData": [],
"method": "thing.service.onOffReverse",
"name": "onOffReverse",
"required": false,
"callType": "async",
"desc": "全开全关对调"
}
],
"properties": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"required": true,
"accessMode": "rw",
"name": "窗帘操作模式"
},
{
"identifier": "LiftPercentage",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"required": true,
"accessMode": "rw",
"name": "窗帘开启百分比"
}
],
"events": [
{
"outputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "LiftPercentage",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "窗帘开启百分比"
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3071.json", "schema": "https://iot-ap.ikonke.com/model/product_3071.json",
"productType": "controller", "productType": "waterValve",
"profile": { "version": "1.0",
"heartbeat": "3000", "profile": {
"productCode": "3071", "heartbeat": "300",
"productName": "智能水阀控制器Z3S(KONKE)" "productCode": "3071",
}, "productName": "智能水阀控制器Z3S(KONKE)"
"services": [ },
{ "services": [
"identifier": "set", {
"name": "set", "outputData": [],
"required": true, "identifier": "set",
"callType": "async", "inputData": [
"desc": "属性设置", {
"method": "thing.service.property.set", "identifier": "PowerSwitch",
"inputData": [ "dataType": {
{ "specs": {
"identifier": "PowerSwitch", "0": "关闭",
"name": "电源开关", "1": "打开"
"dataType": { },
"type": "bool", "type": "bool"
"specs": { },
"0": "关闭", "name": "电源开关"
"1": "开启" },
} {
} "identifier": "PowerDownSave",
} "dataType": {
], "specs": {
"outputData": [] "0": "关闭",
}, "1": "打开"
{ },
"identifier": "get", "type": "bool"
"name": "get", },
"required": true, "name": "断电记忆"
"callType": "async", }
"desc": "属性获取", ],
"method": "thing.service.property.get", "method": "thing.service.property.set",
"inputData": [], "name": "set",
"outputData": [] "required": true,
} "callType": "async",
], "desc": "属性设置"
"properties": [ },
{ {
"identifier": "PowerSwitch", "outputData": [
"name": "电源开关", {
"accessMode": "w", "identifier": "PowerSwitch",
"required": true, "dataType": {
"dataType": { "specs": {
"type": "bool", "0": "关闭",
"specs": { "1": "打开"
"0": "关闭", },
"1": "开启" "type": "bool"
} },
} "name": "电源开关"
} },
], {
"events": [ "identifier": "PowerDownSave",
{ "dataType": {
"identifier": "post", "specs": {
"name": "post", "0": "关闭",
"type": "info", "1": "打开"
"required": true, },
"desc": "属性上报", "type": "bool"
"method": "thing.event.property.post", },
"outputData": [ "name": "断电记忆"
{ }
"identifier": "PowerSwitch", ],
"name": "电源开关", "identifier": "get",
"dataType": { "inputData": [
"type": "bool", "PowerSwitch",
"specs": { "PowerDownSave"
"0": "关闭", ],
"1": "开启" "method": "thing.service.property.get",
} "name": "get",
} "required": true,
} "callType": "async",
] "desc": "属性获取"
} }
] ],
} "properties": [
\ No newline at end of file {
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关",
"accessMode": "rw",
"required": true
},
{
"identifier": "PowerDownSave",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "断电记忆",
"accessMode": "rw",
"required": true
}
],
"events": [
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "PowerDownSave",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "断电记忆"
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3072.json", "schema": "https://iot-ap.ikonke.com/model/product_3072.json",
"productType": "controller", "productType": "gasValve",
"profile": { "version": "1.0",
"heartbeat": "3000", "profile": {
"productCode": "3072", "heartbeat": "300",
"productName": "智能燃气机械臂控制器Z3S(KONKE)" "productCode": "3072",
}, "productName": "智能燃气机械臂控制器Z3S(KONKE)"
"services": [ },
{ "services": [
"identifier": "set", {
"name": "set", "outputData": [],
"required": true, "identifier": "closeGasValve",
"callType": "async", "inputData": [],
"desc": "属性设置", "method": "thing.service.closeGasValve",
"method": "thing.service.property.set", "name": "closeGasValve",
"inputData": [ "required": true,
{ "callType": "async",
"identifier": "PowerSwitch", "desc": "关闭机械臂"
"name": "电源开关", }
"dataType": { ],
"type": "bool", "properties": [
"specs": {
"0": "关闭" ],
} "events": [
}
} ]
], }
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [],
"outputData": []
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "w",
"required": true,
"dataType": {
"type": "bool",
"specs": {
"0": "关闭"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭"
}
}
}
]
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3073.json",
"productType": "colorDimmableLight",
"version": "1.0",
"profile": {
"heartbeat": "300",
"productCode": "3073",
"productName": "幻彩灯带控制器Z3S(KONKE)"
},
"services": [
{
"outputData": [],
"identifier": "set",
"inputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "RGBColor",
"dataType": {
"specs": [
{
"identifier":"Red",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"红色"
},
{
"identifier":"Green",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"绿色"
},
{
"identifier":"Blue",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"蓝色"
}
],
"type": "struct"
},
"name": "RGB调色"
},
{
"identifier": "WhiteBrightness",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "白光亮度"
},
{
"identifier":"Mode",
"dataType":{
"type":"enum",
"specs":{
"0":"模式0",
"1":"模式1",
"2":"模式2",
"3":"模式3",
"4":"模式4",
"5":"模式5",
"6":"模式6",
"7":"模式7",
"8":"模式8",
"9":"模式9",
"10":"模式10",
"11":"模式11",
"12":"模式12"
}
},
"name":"模式"
}
],
"method": "thing.service.property.set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置"
},
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "RGBColor",
"dataType": {
"specs": [
{
"identifier":"Red",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"红色"
},
{
"identifier":"Green",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"绿色"
},
{
"identifier":"Blue",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"蓝色"
}
],
"type": "struct"
},
"name": "RGB调色"
},
{
"identifier": "WhiteBrightness",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "白光亮度"
}
],
"identifier": "get",
"inputData": [
"PowerSwitch",
"RGBColor",
"WhiteBrightness"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
},
{
"outputData":[
],
"identifier":"setMode",
"inputData":[
"模式0",
"模式1",
"模式2",
"模式3",
"模式4",
"模式5",
"模式6",
"模式7",
"模式8",
"模式9",
"模式10",
"模式11",
"模式12"
],
"method":"thing.service.setMode",
"name":"setMode",
"required":true,
"callType":"async",
"desc":"属性值取反"
},
{
"outputData":[
],
"identifier":"negativeProperty",
"inputData":[
"PowerSwitch"
],
"method":"thing.service.negativeProperty",
"name":"negativeProperty",
"required":true,
"callType":"async",
"desc":"属性值取反"
}
],
"properties": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关",
"accessMode": "rw",
"required": true
},
{
"identifier": "RGBColor",
"dataType": {
"specs": [
{
"identifier":"Red",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"红色"
},
{
"identifier":"Green",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"绿色"
},
{
"identifier":"Blue",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"蓝色"
}
],
"type": "struct"
},
"name": "RGB调色",
"accessMode": "rw",
"required": true
},
{
"identifier": "WhiteBrightness",
"name": "白光亮度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "RGBColor",
"dataType": {
"specs": [
{
"identifier":"Red",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"红色"
},
{
"identifier":"Green",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"绿色"
},
{
"identifier":"Blue",
"dataType":{
"type":"int",
"specs":{
"min":"0",
"max":"255",
"unitName":"无",
"step":"1"
}
},
"name":"蓝色"
}
],
"type": "struct"
},
"name": "RGB调色"
},
{
"identifier": "WhiteBrightness",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "1"
}
},
"name": "白光亮度"
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3108.json", "schema": "https://iot-ap.ikonke.com/model/product_3108.json",
"productType": "controller", "productType": "On/OffOutput",
"profile": { "version": "1.0",
"heartbeat": "3000", "profile": {
"productCode": "3108", "heartbeat": "300",
"productName": "铂金系列.白色零火线断水面板Z3S(KONKE)" "productCode": "3108",
}, "productName": "铂金系列.零火线断水面板Z3S(KONKE)"
"services": [ },
"services": [
{
"outputData": [],
"identifier": "set",
"inputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "PowerDownSave",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "断电记忆"
}
],
"method": "thing.service.property.set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置"
},
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "PowerDownSave",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "断电记忆"
}
],
"identifier": "get",
"inputData": [
"PowerSwitch",
"PowerDownSave"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
},
{ {
"identifier": "set", "outputData":[
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}
], ],
"outputData": [] "identifier":"negativeProperty",
}, "inputData":[
{ "PowerSwitch",
"identifier": "get", "PowerDownSave"
"name": "get", ],
"method": "thing.service.negativeProperty",
"name": "negativeProperty",
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取", "desc": "属性值取反"
"method": "thing.service.property.get",
"inputData": [],
"outputData": []
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "w",
"required": true,
"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": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}
]
} }
] ],
} "properties": [
\ No newline at end of file {
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关",
"accessMode": "rw",
"required": true
},
{
"identifier": "PowerDownSave",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "断电记忆",
"required": true
}
],
"events": [
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "PowerDownSave",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "断电记忆"
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
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