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
This diff is collapsed.
{
"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
This diff is collapsed.
This diff is collapsed.
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