41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"_meta": {
|
|
"device_type": "Temperature Sensor",
|
|
"device_type_id": "0x0302",
|
|
"matter_spec_ref": "Device Library 7.4, p.86-87",
|
|
"matter_version": "1.5.1",
|
|
"class": "Simple",
|
|
"scope": "Endpoint",
|
|
"description": "温度传感器,测量和报告温度",
|
|
"security_role": "温度异常升高可能指示火灾风险;读数固定不变可能指示传感器故障"
|
|
},
|
|
"clusters": {
|
|
"Identify": { "cluster_id": "0x0003", "role": "Server", "conformance": "M" },
|
|
"ThermostatUserInterfaceConfiguration": { "cluster_id": "0x0204", "role": "Server", "conformance": "O", "description": "支持键盘或屏幕的温度传感器的用户界面配置" },
|
|
"TemperatureMeasurement": {
|
|
"cluster_id": "0x0402",
|
|
"role": "Server",
|
|
"conformance": "M",
|
|
"attributes": {
|
|
"MeasuredValue": {
|
|
"type": "int16",
|
|
"description": "当前温度 (单位: 0.01°C, 如 2350 = 23.50°C)",
|
|
"nullable": true
|
|
},
|
|
"MinMeasuredValue": {
|
|
"type": "int16",
|
|
"description": "最低可测量温度"
|
|
},
|
|
"MaxMeasuredValue": {
|
|
"type": "int16",
|
|
"description": "最高可测量温度"
|
|
},
|
|
"Tolerance": {
|
|
"type": "uint16",
|
|
"description": "测量容差"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|