Commit 7db1aac7 authored by chen.weican's avatar chen.weican

【修改内容】第二阶段物模型更新

【提交人】陈伟灿
parent aae148a5
{
"schema": "https://iot-ap.ikonke.com/model/product_3014.json",
"productType": "scene",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3014",
"productName": "铂金系列.快捷面板Z3S(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Battery",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
},
"name": "电池电量",
"accessMode": "r",
"required": true
}
],
"events": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "SceneNum",
"dataType": {
"specs": {
"1": "场景1",
"2": "场景2",
"3": "场景3"
},
"type": "enum"
},
"name": "场景编号"
}
],
"identifier": "SceneRecall",
"method": "thing.event.SceneRecall.post",
"name": "SceneRecall",
"type": "scene",
"required": true,
"desc": "场景触发上报"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
{
"schema": "https://iot-ap.ikonke.com/model/product_3015.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "300",
"productCode": "3015",
"productName": "铂金系列.零火线SOS紧急呼叫面板Z3S(KONKE)"
},
"services": [
{
"outputData": [],
"inputData": [],
"identifier": "PositioningDevice",
"method": "thing.service.PositioningDevice",
"name": "PositioningDevice",
"required": true,
"callType": "async",
"desc": "设备定位"
}
],
"properties": [
],
"events": [
{
"outputData": [],
"identifier": "sosAlarm",
"method": "thing.event.sosAlarm.post",
"name": "sosAlarm",
"type": "alarm",
"required": true,
"desc": "紧急按钮告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3016.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3016",
"productName": "铂金系列.紧急呼叫按钮Z3S(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [],
"identifier": "sosAlarm",
"method": "thing.event.sosAlarm.post",
"name": "sosAlarm",
"type": "alarm",
"required": true,
"desc": "紧急按钮告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
{
"schema": "https://iot-ap.ikonke.com/model/product_3043.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3043",
"productName": "红外幕帘探测器Z3S(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"MotionAlarmState",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
}
],
"identifier": "motionAlarm",
"method": "thing.event.motionAlarm.post",
"name": "motionAlarm",
"type": "alarm",
"required": true,
"desc": "红外检测告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
{
"schema": "https://iot-ap.ikonke.com/model/product_3046.json",
"productType": "scene",
"version": "1",
"profile": {
"heartbeat": "7200",
"productCode": "3046",
"productName": "Kit Pro快捷按钮",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Battery",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
},
"name": "电池电量",
"accessMode": "r",
"required": false
}
],
"events": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "buttonAction",
"dataType": {
"specs": {
"1": "单击",
"2": "双击",
"3": "长按"
},
"type": "enum"
},
"name": "按键动作"
}
],
"identifier": "ButtonAction",
"method": "thing.event.ButtonAction.post",
"name": "ButtonAction",
"type": "scene",
"required": true,
"desc": "按键触发上报"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
{
"schema": "https://iot-ap.ikonke.com/model/product_3048.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "7200",
"productCode": "3048",
"productName": "Kit Pro温湿度传感器",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "Temperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-10",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"Temperature",
"Humidity",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Temperature",
"name": "当前温度",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "-10",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "Temperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-10",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3049.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "7200",
"productCode": "3049",
"productName": "Kit Pro人体感应传感器",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"MotionAlarmState",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
}
],
"identifier": "motionAlarm",
"method": "thing.event.motionAlarm.post",
"name": "motionAlarm",
"type": "alarm",
"required": true,
"desc": "红外检测告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3050.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "7200",
"productCode": "3050",
"productName": "Kit Pro门窗传感器",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "ContactState",
"name": "门磁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"ContactState",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "ContactState",
"name": "门磁状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "ContactState",
"name": "门磁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "ContactState",
"name": "门磁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}
],
"identifier": "contactAlarm",
"method": "thing.event.contactAlarm.post",
"name": "contactAlarm",
"type": "alarm",
"required": true,
"desc": "门磁告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3051.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3051",
"productName": "邦德系列.门窗传感器(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "ContactState",
"name": "门磁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"ContactState",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "ContactState",
"name": "门磁状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "ContactState",
"name": "门磁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "ContactState",
"name": "门磁状态",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "打开"
}
}
}
],
"identifier": "contactAlarm",
"method": "thing.event.contactAlarm.post",
"name": "contactAlarm",
"type": "alarm",
"required": true,
"desc": "门磁告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3052.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3052",
"productName": "邦德系列.环境传感器(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "Temperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-40",
"max": "100",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "5000",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"Temperature",
"Humidity",
"Illuminance",
"IlluminanceLevel",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Temperature",
"name": "当前温度",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "-40",
"max": "100",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "65535",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "Temperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-40",
"max": "100",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "65535",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3053.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3053",
"productName": "邦德系列.人体传感器(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"MotionAlarmState",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "MotionAlarmState",
"name": "红外检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "无人",
"1": "有人"
}
}
}
],
"identifier": "motionAlarm",
"method": "thing.event.motionAlarm.post",
"name": "motionAlarm",
"type": "alarm",
"required": true,
"desc": "红外检测告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3054.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3054",
"productName": "邦德系列.SOS按钮(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [],
"identifier": "sosAlarm",
"method": "thing.event.sosAlarm.post",
"name": "sosAlarm",
"type": "alarm",
"required": true,
"desc": "紧急按钮告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3055.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3055",
"productName": "邦德系列.水浸传感器(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "WaterSensorState",
"name": "水浸检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "有水浸入"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"WaterSensorState",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "WaterSensorState",
"name": "水浸检测状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "有水浸入"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "WaterSensorState",
"name": "水浸检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "有水浸入"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "WaterSensorState",
"name": "水浸检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "有水浸入"
}
}
}
],
"identifier": "waterAlarm",
"method": "thing.event.waterAlarm.post",
"name": "waterAlarm",
"type": "alarm",
"required": true,
"desc": "水浸告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3056.json",
"productType": "scene",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3056",
"productName": "邦德系列.快捷按键(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Battery",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
},
"name": "电池电量",
"accessMode": "r",
"required": false
}
],
"events": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "SceneNum",
"dataType": {
"specs": {
"1": "场景1",
"2": "场景2",
"3": "场景3",
"4": "场景4"
},
"type": "enum"
},
"name": "场景编号"
}
],
"identifier": "SceneRecall",
"method": "thing.event.SceneRecall.post",
"name": "SceneRecall",
"type": "scene",
"required": true,
"desc": "场景触发上报"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
{
"schema": "https://iot-ap.ikonke.com/model/product_3057.json",
"productType": "siren",
"version": "1",
"profile": {
"heartbeat": "300",
"productCode": "3057",
"productName": "邦德系列.声光报警器(KONKE)"
},
"services": [
{
"outputData": [],
"identifier": "set",
"inputData": [
{
"identifier":"AlarmVolume",
"dataType":{
"specs":{
"0": "低音量",
"1": "中音量",
"2": "高音量",
"3": "超高音量"
},
"type":"enum"
},
"name":"告警音量"
},
{
"identifier": "AlarmDuration",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "65535",
"unit": "s",
"unitName": "秒",
"step": "1"
}
},
"name": "告警时间"
},
{
"identifier": "SirenState",
"name": "声光告警状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "告警"
}
}
}
],
"method": "thing.service.property.set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置"
},
{
"outputData": [
{
"identifier":"AlarmVolume",
"dataType":{
"specs":{
"0": "低音量",
"1": "中音量",
"2": "高音量",
"3": "超高音量"
},
"type":"enum"
},
"name":"告警音量"
},
{
"identifier": "AlarmDuration",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "65535",
"unit": "s",
"unitName": "秒",
"step": "1"
}
},
"name": "告警时间"
},
{
"identifier": "SirenState",
"name": "声光告警状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "告警"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"AlarmVolume",
"AlarmDuration",
"SirenState",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier":"AlarmVolume",
"accessMode": "rw",
"required": true,
"dataType":{
"specs":{
"0": "低音量",
"1": "中音量",
"2": "高音量",
"3": "超高音量"
},
"type":"enum"
},
"name":"告警音量"
},
{
"identifier": "AlarmDuration",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "65535",
"unit": "s",
"unitName": "秒",
"step": "1"
}
},
"name": "告警时间"
},
{
"identifier": "SirenState",
"accessMode": "rw",
"required": true,
"name": "声光告警状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "告警"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier":"AlarmVolume",
"dataType":{
"specs":{
"0": "低音量",
"1": "中音量",
"2": "高音量",
"3": "超高音量"
},
"type":"enum"
},
"name":"告警音量"
},
{
"identifier": "AlarmDuration",
"dataType": {
"type": "int",
"specs": {
"min": "1",
"max": "65535",
"unit": "s",
"unitName": "秒",
"step": "1"
}
},
"name": "告警时间"
},
{
"identifier": "SirenState",
"name": "声光告警状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "告警"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ No newline at end of file
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3064.json", "schema": "https://iot-ap.ikonke.com/model/product_3064.json",
"productType": "lock", "productType": "sensor",
"profile": { "version": "1",
"heartbeat": "3000", "profile": {
"productCode": "3064", "heartbeat": "1200",
"productName": "黑Z3S", "productCode": "3064",
"sleepTime": "30000" "productName": "秦穹智能门锁枪黑Z3S(KONKE)",
}, "sleepTime": "30000"
"services": [{ },
"identifier": "set", "services": [
"name": "set", {
"required": true, "outputData": [],
"callType": "async", "identifier": "set",
"desc": "属性设置", "inputData": [
"method": "thing.service.property.set", {
"inputData": [{ "identifier": "RemoteControlEnbale",
"identifier": "Volume", "name": "远程控制使能",
"name": "门锁音量", "dataType": {
"dataType": { "type": "enum",
"type": "enum", "specs": {
"specs": { "0":"关闭",
"0": "静音", "1":"开启"
"1": "低音", }
"2": "中音", }
"3": "高音" }
} ],
} "method": "thing.service.property.set",
}, { "name": "set",
"identifier": "Language", "required": true,
"name": "门锁语言", "callType": "async",
"dataType": { "desc": "属性设置"
"type": "enum", },
"specs": { {
"0": "中文", "outputData": [
"1": "英文" {
} "identifier": "RemoteControlEnbale",
} "name": "远程控制使能",
}], "dataType": {
"outputData": [] "type": "enum",
}, { "specs": {
"identifier": "get", "0":"关闭",
"name": "get", "1":"开启"
"required": true, }
"callType": "async", }
"desc": "属性获取", },
"method": "thing.service.property.get", {
"inputData": ["LockState", "BackLockState", "Battery", "Volume", "Language"], "identifier": "Battery",
"outputData": [{ "name": "电池电量",
"identifier": "LockState", "dataType": {
"name": "门锁状态", "type": "double",
"dataType": { "specs": {
"type": "enum", "min": "0",
"specs": { "max": "100",
"0": "关闭", "unit": "%",
"1": "打开" "unitName": "百分比",
} "step": "0.01"
} }
}, { }
"identifier": "BackLockState", }
"name": "门锁状态", ],
"dataType": { "identifier": "get",
"type": "enum", "inputData": [
"specs": { "RemoteControlEnbale",
"0": "关闭", "Battery"
"1": "打开" ],
} "method": "thing.service.property.get",
} "name": "get",
}, { "required": true,
"identifier": "Battery", "callType": "async",
"name": "电池电量", "desc": "属性获取"
"dataType": { },
"type": "int", {
"specs": { "outputData": [],
"min": "0", "identifier": "OpenLock",
"max": "100", "inputData": [
"unit": "%", {
"unitName": "百分比", "identifier": "password",
"step": "1" "name": "远程开锁密码",
} "dataType": {
} "type": "text",
}, { "length": "64"
"identifier": "Volume", }
"name": "门锁音量", }
"dataType": { ],
"type": "enum", "method": "thing.service.OpenLock",
"specs": { "name": "OpenLock",
"0": "静音", "required": true,
"1": "低音", "callType": "async",
"2": "中音", "desc": "远程开锁"
"3": "高音" }
} ],
} "properties": [
}, { {
"identifier": "Language", "identifier": "RemoteControlEnbale",
"name": "门锁语言", "name": "远程控制使能",
"dataType": { "accessMode": "rw",
"type": "enum", "required": true,
"specs": { "dataType": {
"0": "中文", "type": "enum",
"1": "英文" "specs": {
} "0":"关闭",
} "1":"开启"
}] }
}, { }
"identifier": "openLock", },
"name": "远程开锁", {
"required": false, "identifier": "Battery",
"callType": "async", "name": "电池电量",
"method": "thing.service.openLock", "accessMode": "r",
"inputData": [{ "required": false,
"identifier": "Password", "dataType": {
"name": "密码", "type": "double",
"dataType": { "specs": {
"type": "text", "min": "0",
"specs": { "max": "100",
"length": "126" "unit": "%",
} "unitName": "百分比",
} "step": "0.01"
}], }
"outputData": [] }
}, { }
"identifier": "getKeyList", ],
"name": "获取钥匙列表", "events": [
"required": true, {
"callType": "async", "outputData": [
"method": "thing.service.getKeyList", {
"inputData": [{ "identifier": "RemoteControlEnbale",
"identifier": "KeyType", "name": "远程控制使能",
"name": "开锁方式", "dataType": {
"dataType": { "type": "enum",
"type": "enum", "specs": {
"specs": { "0":"关闭",
"0": "全部", "1":"开启"
"1": "指纹", }
"2": "密码", }
"3": "卡", },
"4": "机械钥匙" {
} "identifier": "Battery",
} "name": "电池电量",
}], "dataType": {
"outputData": [] "type": "double",
}, { "specs": {
"identifier": "addKey", "min": "0",
"name": "添加钥匙", "max": "100",
"required": true, "unit": "%",
"callType": "async", "unitName": "百分比",
"method": "thing.service.AddKey", "step": "0.01"
"inputData": [{ }
"identifier": "KeyType", }
"name": "开锁方式", }
"dataType": { ],
"type": "enum", "identifier": "property",
"specs": { "method": "thing.event.property.post",
"1": "密码", "name": "property",
"2": "指纹", "type": "info",
"3": "卡", "required": true,
"4": "机械钥匙" "desc": "属性上报"
} },
} {
}, { "outputData": [
"identifier": "KeyRole", {
"name": "用户权限", "identifier": "UserID",
"dataType": { "name": "用户ID",
"type": "enum", "dataType": {
"specs": { "type": "text",
"1": "普通用户", "length" : "10"
"2": "管理员", }
"3": "劫持用户" },
} {
} "identifier": "UserType",
}, { "name": "用户类型",
"identifier": "IsValid", "dataType": {
"name": "是否有效", "type": "enum",
"dataType": { "specs": {
"type": "bool", "1":"管理员",
"specs": { "2":"普通用户",
"0": "无效", "3":"临时用户"
"1": "有效" }
} }
} },
}, { {
"identifier": "KeyName", "identifier": "openLockMethod",
"name": "钥匙昵称", "name": "开锁方式",
"dataType": { "dataType": {
"type": "text", "type": "enum",
"specs": { "specs": {
"length": "255" "1":"指纹",
} "2":"密码",
} "3":"刷卡",
}, { "4":"APP远程开锁",
"identifier": "KeyEffectiveTime", "5":"机械钥匙",
"name": "生效时间", "6":"蓝牙",
"dataType": { "7":"劫持报警",
"type": "int", "8":"限时临时密码"
"specs": { }
"min": "1577808001", }
"max": "32472115201" }
} ],
} "identifier": "OpenLock",
}, { "method": "thing.event.OpenLock.post",
"identifier": "KeyExpiryTime", "name": "OpenLock",
"name": "失效时间", "type": "info",
"dataType": { "required": true,
"type": "int", "desc": "开门上报"
"specs": { },
"min": "1577808001", {
"max": "32472115201" "outputData": [
} {
} "identifier": "UserID",
},{ "name": "用户ID",
"identifier": "Password", "dataType": {
"name": "密码", "type": "text",
"dataType": { "length" : "10"
"type": "text", }
"specs": { },
"length": "126" {
} "identifier": "UserType",
} "name": "用户类型",
}], "dataType": {
"outputData": [] "type": "enum",
}, { "specs": {
"identifier": "ModifyKey", "1":"管理员",
"name": "配置钥匙权限", "2":"普通用户",
"required": false, "3":"临时用户"
"callType": "async", }
"method": "thing.service.ModifyKey", }
"inputData": [{ },
"identifier": "KeyID", {
"name": "钥匙ID", "identifier": "openLockMethod",
"dataType": { "name": "开锁方式",
"type": "text", "dataType": {
"specs": { "type": "enum",
"length": "10" "specs": {
} "1":"指纹",
} "2":"密码",
}, { "3":"刷卡",
"identifier": "KeyType", "4":"APP远程开锁",
"name": "开锁方式", "5":"机械钥匙",
"dataType": { "6":"蓝牙",
"type": "enum", "7":"劫持报警",
"specs": { "8":"限时临时密码"
"1": "指纹", }
"2": "密码", }
"3": "卡", }
"4": "机械钥匙" ],
} "identifier": "AddUser",
} "method": "thing.event.AddUser.post",
}, { "name": "AddUser",
"identifier": "KeyRole", "type": "info",
"name": "用户权限", "required": true,
"dataType": { "desc": "添加用户上报"
"type": "enum", },
"specs": { {
"1": "普通用户", "outputData": [
"2": "管理员", {
"3": "劫持用户" "identifier": "UserID",
} "name": "用户ID",
} "dataType": {
}, { "type": "text",
"identifier": "IsValid", "length" : "10"
"name": "是否有效", }
"dataType": { },
"type": "bool", {
"specs": { "identifier": "UserType",
"0": "无效", "name": "用户类型",
"1": "有效" "dataType": {
} "type": "enum",
} "specs": {
}, { "1":"管理员",
"identifier": "KeyName", "2":"普通用户",
"name": "钥匙昵称", "3":"临时用户"
"dataType": { }
"type": "text", }
"specs": { },
"length": "255" {
} "identifier": "openLockMethod",
} "name": "开锁方式",
}, { "dataType": {
"identifier": "KeyEffectiveTime", "type": "enum",
"name": "生效时间", "specs": {
"dataType": { "1":"指纹",
"type": "int", "2":"密码",
"specs": { "3":"刷卡",
"min": "1577808001", "4":"APP远程开锁",
"max": "32472115201" "5":"机械钥匙",
} "6":"蓝牙",
} "7":"劫持报警",
}, { "8":"限时临时密码"
"identifier": "KeyExpiryTime", }
"name": "失效时间", }
"dataType": { }
"type": "int", ],
"specs": { "identifier": "DeleteUser",
"min": "1577808001", "method": "thing.event.DeleteUser.post",
"max": "32472115201" "name": "DeleteUser",
} "type": "info",
} "required": true,
}], "desc": "删除用户上报"
"outputData": [] },
}, { {
"identifier": "DeleteKey", "identifier": "DoorBell",
"name": "删除钥匙", "method": "thing.event.DoorBell.post",
"required": true, "name": "DoorBell",
"callType": "async", "type": "alarm",
"method": "thing.service.DeleteKey", "required": true,
"inputData": [{ "desc": "门铃事件"
"identifier": "KeyID", },
"name": "钥匙ID", {
"dataType": { "outputData": [
"type": "text", {
"specs": { "identifier": "DismantleState",
"length": "10" "name": "拆卸状态",
} "dataType": {
} "type": "enum",
}, { "specs": {
"identifier": "KeyType", "0": "正常",
"name": "开锁方式", "1": "被拆卸"
"dataType": { }
"type": "enum", }
"specs": { }
"1": "指纹", ],
"2": "密码", "identifier": "TamperAlarm",
"3": "卡", "method": "thing.event.TamperAlarm.post",
"4": "机械钥匙" "name": "TamperAlarm",
} "type": "alert",
} "required": true,
}, { "desc": "防拆告警"
"identifier": "KeyRole", },
"name": "用户权限", {
"dataType": { "outputData": [
"type": "enum", {
"specs": { "identifier": "Battery",
"1": "普通用户", "name": "电池电量",
"2": "管理员", "dataType": {
"3": "劫持用户" "type": "double",
} "specs": {
} "min": "0.0",
}], "max": "100.0",
"outputData": [] "unit": "%",
}], "unitName": "百分比",
"properties": [{ "step": "0.01"
"identifier": "LockState", }
"name": "门锁状态", }
"accessMode": "r", }
"required": true, ],
"dataType": { "identifier": "BatteryAlarm",
"type": "enum", "method": "thing.event.BatteryAlarm.post",
"specs": { "name": "BatteryAlarm",
"0": "关闭", "type": "alarm",
"1": "打开" "required": true,
} "desc": "低电量告警"
} }
}, { ]
"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": "MultipleOpenLockFailedAlarm",
"name": "多次开锁失败",
"type": "alert",
"required": true,
"method": "thing.event.MultipleOpenLockFailedAlarm.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_3076.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "300",
"productCode": "3076",
"productName": "环境传感器Z3S"
},
"services": [
{
"outputData": [
{
"identifier": "Temperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-10",
"max": "60",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"dataType": {
"type": "double",
"specs": {
"min": "1",
"max": "65535",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
}
],
"identifier": "get",
"inputData": [
"Temperature",
"Humidity",
"Illuminance",
"IlluminanceLevel"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Temperature",
"name": "当前温度",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "-40",
"max": "100",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "65535",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "Temperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-40",
"max": "100",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "65535",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3082.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "300",
"productCode": "3082",
"productName": "邦德系列.燃气报警器(KONKE)"
},
"services": [
{
"outputData": [
{
"identifier": "GasSensorState",
"name": "燃气检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "燃气泄漏"
}
}
},
{
"identifier": "SensorState",
"name": "传感器状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "故障"
}
}
}
],
"identifier": "get",
"inputData": [
"GasSensorState",
"SensorState"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "GasSensorState",
"name": "燃气检测状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "燃气泄漏"
}
}
},
{
"identifier": "SensorState",
"name": "传感器状态",
"accessMode": "r",
"required": false,
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "故障"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "GasSensorState",
"name": "燃气检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "燃气泄漏"
}
}
},
{
"identifier": "SensorState",
"name": "传感器状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "故障"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "GasSensorState",
"name": "燃气检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "燃气泄漏"
}
}
}
],
"identifier": "gasAlarm",
"method": "thing.event.gasAlarm.post",
"name": "gasAlarm",
"type": "alarm",
"required": true,
"desc": "燃气告警"
},
{
"identifier": "sensorAlarm",
"name": "传感器故障告警",
"type": "alert",
"required": true,
"method": "thing.event.sensorAlarm.post",
"outputData": [
{
"identifier": "SensorState",
"name": "传感器状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "故障"
}
}
}
]
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3083.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "3083",
"productName": "邦德系列.烟雾报警器(KONKE)",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "SmokeSensorState",
"name": "烟雾检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "检测到烟雾"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "DismantleState",
"name": "拆卸状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
},
{
"identifier": "SensorState",
"name": "传感器状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "故障"
}
}
}
],
"identifier": "get",
"inputData": [
"SmokeSensorState",
"Battery",
"DismantleState",
"SensorState"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "SmokeSensorState",
"name": "烟雾检测状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "检测到烟雾"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "DismantleState",
"name": "拆卸状态",
"accessMode": "r",
"required": false,
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
},
{
"identifier": "SensorState",
"name": "传感器状态",
"accessMode": "r",
"required": false,
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "故障"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "SmokeSensorState",
"name": "烟雾检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "检测到烟雾"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "DismantleState",
"name": "拆卸状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
},
{
"identifier": "SensorState",
"name": "传感器状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "故障"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "SmokeSensorState",
"name": "烟雾检测状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "检测到烟雾"
}
}
}
],
"identifier": "smokeAlarm",
"method": "thing.event.smokeAlarm.post",
"name": "smokeAlarm",
"type": "alarm",
"required": true,
"desc": "烟雾告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
},
{
"identifier": "TamperAlarm",
"name": "防撬报警",
"type": "alert",
"required": true,
"method": "thing.event.TamperAlarm.post",
"outputData": [
{
"identifier": "DismantleState",
"name": "拆卸状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
}
]
},
{
"identifier": "sensorAlarm",
"name": "传感器故障告警",
"type": "alert",
"required": true,
"method": "thing.event.sensorAlarm.post",
"outputData": [
{
"identifier": "SensorState",
"name": "传感器状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "故障"
}
}
}
]
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_3084.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "300",
"productCode": "3084",
"productName": "环境检测面板(KONKE)"
},
"services": [
{
"outputData": [
{
"identifier": "Temperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-10",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.1"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "5000",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
},
{
"identifier": "Carbondioxide",
"name": "CO2检测值",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "5000",
"unit": "ppm",
"unitName": "百万分之一",
"step": "1"
}
}
},
{
"identifier": "PM2.5",
"name": "PM2.5检测值",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "999",
"unit": "ug/m3",
"unitName": "微克每立方米",
"step": "1"
}
}
},
{
"identifier": "Formaldehyde",
"name": "当前甲醛检测值",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "1",
"unit": "mg/m3",
"unitName": "毫克每立方米",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"Temperature",
"Humidity",
"Illuminance",
"Carbondioxide",
"PM2.5",
"Formaldehyde",
"IlluminanceLevel"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "Temperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-40",
"max": "100",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "65535",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
},
{
"identifier": "Carbondioxide",
"name": "CO2检测值",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "5000",
"unit": "ppm",
"unitName": "百万分之一",
"step": "1"
}
}
},
{
"identifier": "PM2.5",
"name": "PM2.5检测值",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "999",
"unit": "ug/m3",
"unitName": "微克每立方米",
"step": "1"
}
}
},
{
"identifier": "Formaldehyde",
"name": "当前甲醛检测值",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "1",
"unit": "mg/m3",
"unitName": "毫克每立方米",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "Temperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-40",
"max": "100",
"unit": "°C",
"unitName": "摄氏度",
"step": "0.01"
}
}
},
{
"identifier": "Humidity",
"name": "当前湿度",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
},
{
"identifier": "Illuminance",
"name": "当前光照度检测值",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "65535",
"unit": "Lux",
"unitName": "照度",
"step": "1.0"
}
}
},
{
"identifier": "IlluminanceLevel",
"name": "当前光照度等级",
"dataType": {
"type": "enum",
"specs": {
"0": "黑夜",
"1": "昏暗",
"2": "正常",
"3": "明亮",
"4": "刺眼"
}
}
},
{
"identifier": "Carbondioxide",
"name": "CO2检测值",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "5000",
"unit": "ppm",
"unitName": "百万分之一",
"step": "1"
}
}
},
{
"identifier": "PM2.5",
"name": "PM2.5检测值",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "999",
"unit": "ug/m3",
"unitName": "微克每立方米",
"step": "1"
}
}
},
{
"identifier": "Formaldehyde",
"name": "当前甲醛检测值",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "1",
"unit": "mg/m3",
"unitName": "毫克每立方米",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_4508.json",
"productType": "sensor",
"version": "1",
"profile": {
"heartbeat": "1200",
"productCode": "4508",
"productName": "御驰智能门锁Z3S",
"sleepTime": "30000"
},
"services": [
{
"outputData": [
{
"identifier": "UserList",
"name": "用户列表",
"dataType": {
"type": "array",
"specs": {
"item":{
"type":"struct",
"specs": [
{
"identifier": "UserID",
"name": "用户ID",
"dataType": {
"type": "text",
"length": "10"
}
},
{
"identifier": "UserType",
"name": "用户类型",
"dataType": {
"type": "enum",
"specs": {
"1":"管理员",
"2":"普通用户",
"3":"临时用户"
}
}
},
{
"identifier": "openLockMethod",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1":"指纹",
"2":"密码",
"3":"刷卡",
"4":"APP远程开锁",
"5":"机械钥匙",
"6":"蓝牙",
"7":"劫持报警",
"8":"限时临时密码"
}
}
}
]
},
"size":"512"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "get",
"inputData": [
"UserList",
"Battery"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "UserList",
"name": "用户列表",
"accessMode": "r",
"required": true,
"dataType": {
"type": "array",
"specs": {
"item":{
"type":"struct",
"specs": [
{
"identifier": "UserID",
"name": "用户ID",
"dataType": {
"type": "text",
"length" : "10"
}
},
{
"identifier": "UserType",
"name": "用户类型",
"dataType": {
"type": "enum",
"specs": {
"1":"管理员",
"2":"普通用户",
"3":"临时用户"
}
}
},
{
"identifier": "openLockMethod",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1":"指纹",
"2":"密码",
"3":"刷卡",
"4":"APP远程开锁",
"5":"机械钥匙",
"6":"蓝牙",
"7":"劫持报警",
"8":"限时临时密码"
}
}
}
]
},
"size":"512"
}
}
},
{
"identifier": "Battery",
"name": "电池电量",
"accessMode": "r",
"required": false,
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"events": [
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0",
"max": "100",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "UserID",
"name": "用户ID",
"dataType": {
"type": "text",
"length" : "10"
}
},
{
"identifier": "UserType",
"name": "用户类型",
"dataType": {
"type": "enum",
"specs": {
"1":"管理员",
"2":"普通用户",
"3":"临时用户"
}
}
},
{
"identifier": "openLockMethod",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1":"指纹",
"2":"密码",
"3":"刷卡",
"4":"APP远程开锁",
"5":"机械钥匙",
"6":"蓝牙",
"7":"劫持报警",
"8":"限时临时密码"
}
}
}
],
"identifier": "OpenLock",
"method": "thing.event.OpenLock.post",
"name": "OpenLock",
"type": "info",
"required": true,
"desc": "开门上报"
},
{
"outputData": [
{
"identifier": "UserID",
"name": "用户ID",
"dataType": {
"type": "text",
"length" : "10"
}
},
{
"identifier": "UserType",
"name": "用户类型",
"dataType": {
"type": "enum",
"specs": {
"1":"管理员",
"2":"普通用户",
"3":"临时用户"
}
}
},
{
"identifier": "openLockMethod",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1":"指纹",
"2":"密码",
"3":"刷卡",
"4":"APP远程开锁",
"5":"机械钥匙",
"6":"蓝牙",
"7":"劫持报警",
"8":"限时临时密码"
}
}
}
],
"identifier": "AddUser",
"method": "thing.event.AddUser.post",
"name": "AddUser",
"type": "info",
"required": true,
"desc": "添加用户上报"
},
{
"outputData": [
{
"identifier": "UserID",
"name": "用户ID",
"dataType": {
"type": "text",
"length" : "10"
}
},
{
"identifier": "UserType",
"name": "用户类型",
"dataType": {
"type": "enum",
"specs": {
"1":"管理员",
"2":"普通用户",
"3":"临时用户"
}
}
},
{
"identifier": "openLockMethod",
"name": "开锁方式",
"dataType": {
"type": "enum",
"specs": {
"1":"指纹",
"2":"密码",
"3":"刷卡",
"4":"APP远程开锁",
"5":"机械钥匙",
"6":"蓝牙",
"7":"劫持报警",
"8":"限时临时密码"
}
}
}
],
"identifier": "DeleteUser",
"method": "thing.event.DeleteUser.post",
"name": "DeleteUser",
"type": "info",
"required": true,
"desc": "删除用户上报"
},
{
"outputData": [
{
"identifier": "DismantleState",
"name": "拆卸状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
}
],
"identifier": "TamperAlarm",
"method": "thing.event.TamperAlarm.post",
"name": "TamperAlarm",
"type": "alert",
"required": true,
"desc": "防拆告警"
},
{
"outputData": [
{
"identifier": "Battery",
"name": "电池电量",
"dataType": {
"type": "double",
"specs": {
"min": "0.0",
"max": "100.0",
"unit": "%",
"unitName": "百分比",
"step": "0.01"
}
}
}
],
"identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm",
"type": "alarm",
"required": true,
"desc": "低电量告警"
}
]
}
\ 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