{
	"schema": "https://iot-ap.ikonke.com/model/product_3052.json",
    "productType": "sensor",
    "version": "1.1",
	"profile": {
		"heartbeat": "1200",
		"productCode": "3052",
        "productName": "邦德系列.环境传感器(KONKE)",
        "sleepTime": "1200"
	},
	"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"
                }
            }
        },
        {
            "identifier": "SensorType",
            "name": "安防等级",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "enum",
                "specs": {
                    "0": "在家安防",
                    "1": "室外安防",
					"2": "24小时警戒",
					"3": "无警戒"
                }
            }
        }
    ],
	"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": "alert",
            "required": true,
            "alarmbit":3,
            "desc": "低电量告警"
        }
    ]
}