{
	"schema": "https://iot-ap.ikonke.com/model/product_3048.json",
    "productType": "sensor",
	"version": "1.0",
	"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": "alert",
            "required": true,
            "alarmbit":3,
            "desc": "低电量告警"
        }
    ]
}