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

166 lines
5.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"_meta": {
"device_type": "Smoke CO Alarm",
"device_type_id": "0x0076",
"matter_spec_ref": "Device Library 7.9, p.90-92",
"matter_version": "1.5.1",
"class": "Simple",
"scope": "Endpoint",
"description": "烟雾/一氧化碳报警器,能检测烟雾和/或CO浓度升高并发出声光警报",
"security_role": "火灾和CO中毒检测的核心传感器也能自检硬件故障和低电量",
"requires_power_source": true
},
"clusters": {
"Identify": {
"cluster_id": "0x0003",
"role": "Server",
"conformance": "M"
},
"Groups": {
"cluster_id": "0x0004",
"role": "Server",
"conformance": "O"
},
"SmokeCoAlarm": {
"cluster_id": "0x005C",
"role": "Server",
"conformance": "M",
"description": "烟雾/CO报警核心 cluster报告报警状态、自检和硬件状况",
"attributes": {
"ExpressedState": {
"type": "enum8",
"description": "当前最高优先级的报警状态",
"values": {
"0": "Normal (正常)",
"1": "SmokeAlarm (烟雾报警)",
"2": "COAlarm (CO报警)",
"3": "BatteryAlert (电池警告)",
"4": "Testing (测试中)",
"5": "HardwareFault (硬件故障)",
"6": "EndOfService (使用寿命结束)",
"7": "InterconnectSmokeAlarm (互联烟雾报警)",
"8": "InterconnectCOAlarm (互联CO报警)"
}
},
"SmokeState": {
"type": "enum8",
"description": "烟雾检测状态",
"values": {
"0": "Normal (正常)",
"1": "Warning (警告)",
"2": "Critical (危急)"
}
},
"COState": {
"type": "enum8",
"description": "CO检测状态",
"values": {
"0": "Normal (正常)",
"1": "Warning (警告)",
"2": "Critical (危急)"
}
},
"BatteryAlert": {
"type": "enum8",
"description": "电池状态",
"values": {
"0": "Normal (正常)",
"1": "Warning (低电量警告)",
"2": "Critical (电量极低)"
}
},
"DeviceMuted": {
"type": "enum8",
"description": "设备是否被静音",
"values": {
"0": "NotMuted (未静音)",
"1": "Muted (已静音)"
}
},
"TestInProgress": {
"type": "bool",
"description": "是否正在进行自检"
},
"HardwareFaultAlert": {
"type": "bool",
"description": "是否检测到硬件故障"
},
"EndOfServiceAlert": {
"type": "enum8",
"description": "是否到达使用寿命",
"values": {
"0": "Normal (正常)",
"1": "Expired (已过期)"
}
},
"ContaminationState": {
"type": "enum8",
"description": "传感器污染状态",
"values": {
"0": "Normal (正常)",
"1": "Low (轻度污染)",
"2": "Warning (污染警告)",
"3": "Critical (严重污染)"
}
},
"SmokeSensitivityLevel": {
"type": "enum8",
"description": "烟雾灵敏度级别",
"values": {
"0": "High (高灵敏度)",
"1": "Standard (标准)",
"2": "Low (低灵敏度)"
}
},
"ExpiryDate": {
"type": "epoch-s",
"description": "设备过期日期epoch秒"
}
},
"commands": {
"SelfTestRequest": {
"description": "请求设备执行自检"
}
},
"events": {
"SmokeAlarm": { "description": "烟雾报警触发" },
"COAlarm": { "description": "CO报警触发" },
"LowBattery": { "description": "低电量警告" },
"HardwareFault": { "description": "硬件故障" },
"EndOfService": { "description": "使用寿命结束" },
"SelfTestComplete": { "description": "自检完成" },
"AlarmMuted": { "description": "报警被静音" },
"MuteEnded": { "description": "静音结束" },
"InterconnectSmokeAlarm": { "description": "互联烟雾报警" },
"InterconnectCOAlarm": { "description": "互联CO报警" },
"AllClear": { "description": "所有报警解除" }
}
},
"RelativeHumidityMeasurement": {
"cluster_id": "0x0405",
"role": "Server",
"conformance": "O",
"description": "可选的湿度测量"
},
"TemperatureMeasurement": {
"cluster_id": "0x0402",
"role": "Server",
"conformance": "O",
"description": "可选的温度测量"
},
"CarbonMonoxideConcentrationMeasurement": {
"cluster_id": "0x040C",
"role": "Server",
"conformance": "O",
"description": "可选的CO浓度测量"
}
},
"device_type_requirements": {
"PowerSource": {
"device_type_id": "0x0011",
"description": "必须在某个 endpoint 上有 PowerSource 设备类型实例",
"conformance": "M"
}
}
}