Files
llmiotsafe/data/device_schemas/water_leak_detector.json
2026-05-12 17:01:39 +08:00

50 lines
1.3 KiB
JSON

{
"_meta": {
"device_type": "Water Leak Detector",
"device_type_id": "0x0043",
"matter_spec_ref": "Device Library 7.12, p.95-96",
"matter_version": "1.5.1",
"class": "Simple",
"scope": "Endpoint",
"description": "漏水检测器,检测是否发生漏水",
"security_role": "检测水管破裂、洗衣机漏水等水损事件"
},
"clusters": {
"Identify": {
"cluster_id": "0x0003",
"role": "Server",
"conformance": "M"
},
"BooleanState": {
"cluster_id": "0x0045",
"role": "Server",
"conformance": "M",
"description": "指示漏水检测状态",
"attributes": {
"StateValue": {
"type": "bool",
"values": {
"true": "Water leak detected (检测到漏水)",
"false": "No water leak detected (未检测到漏水)"
}
}
},
"events": {
"StateChange": {
"description": "状态变化时触发(必须支持)",
"conformance": "M",
"fields": {
"StateValue": { "type": "bool" }
}
}
}
},
"BooleanStateConfiguration": {
"cluster_id": "0x0080",
"role": "Server",
"conformance": "O",
"description": "配置传感器参数"
}
}
}