86 lines
3.1 KiB
JSON
86 lines
3.1 KiB
JSON
{
|
|
"_meta": {
|
|
"device_type": "Room Air Conditioner",
|
|
"device_type_id": "0x0072",
|
|
"matter_spec_ref": "Device Library 13.3, p.148-150",
|
|
"matter_version": "1.5.1",
|
|
"class": "Simple",
|
|
"scope": "Endpoint",
|
|
"description": "房间空调,控制温度和风速",
|
|
"security_role": "使用模式反映居住者在家/不在家;异常运行可能指示设备故障"
|
|
},
|
|
"clusters": {
|
|
"Identify": { "cluster_id": "0x0003", "role": "Server", "conformance": "M" },
|
|
"Groups": { "cluster_id": "0x0004", "role": "Server", "conformance": "O" },
|
|
"ScenesManagement": { "cluster_id": "0x0062", "role": "Server", "conformance": "O" },
|
|
"OnOff": {
|
|
"cluster_id": "0x0006",
|
|
"role": "Server",
|
|
"conformance": "M",
|
|
"attributes": {
|
|
"OnOff": { "type": "bool", "values": { "true": "On", "false": "Off" } }
|
|
},
|
|
"commands": { "Off": {}, "On": {}, "Toggle": {} }
|
|
},
|
|
"Thermostat": {
|
|
"cluster_id": "0x0201",
|
|
"role": "Server",
|
|
"conformance": "M",
|
|
"attributes": {
|
|
"LocalTemperature": { "type": "int16", "description": "当前本地温度 (0.01°C)" },
|
|
"OccupiedCoolingSetpoint": { "type": "int16", "description": "制冷设定温度 (0.01°C)" },
|
|
"OccupiedHeatingSetpoint": { "type": "int16", "description": "制热设定温度 (0.01°C)" },
|
|
"SystemMode": {
|
|
"type": "enum8",
|
|
"values": {
|
|
"0": "Off (关闭)",
|
|
"1": "Auto (自动)",
|
|
"3": "Cool (制冷)",
|
|
"4": "Heat (制热)",
|
|
"5": "EmergencyHeat (紧急制热)",
|
|
"6": "Precooling (预冷)",
|
|
"7": "FanOnly (仅风扇)",
|
|
"8": "Dry (除湿)",
|
|
"9": "Sleep (睡眠)"
|
|
}
|
|
},
|
|
"ControlSequenceOfOperation": { "type": "enum8" }
|
|
},
|
|
"commands": {
|
|
"SetpointRaiseLower": {
|
|
"description": "调整设定温度",
|
|
"fields": {
|
|
"Mode": { "type": "enum8" },
|
|
"Amount": { "type": "int8" }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"FanControl": {
|
|
"cluster_id": "0x0202",
|
|
"role": "Server",
|
|
"conformance": "O",
|
|
"attributes": {
|
|
"FanMode": {
|
|
"type": "enum8",
|
|
"values": {
|
|
"0": "Off", "1": "Low", "2": "Medium", "3": "High", "4": "On", "5": "Auto", "6": "Smart"
|
|
}
|
|
},
|
|
"PercentSetting": { "type": "uint8", "description": "风速百分比 (0-100)" },
|
|
"PercentCurrent": { "type": "uint8", "description": "当前实际风速百分比" }
|
|
}
|
|
},
|
|
"ThermostatUserInterfaceConfiguration": { "cluster_id": "0x0204", "role": "Server", "conformance": "O" },
|
|
"HEPAFilterMonitoring": { "cluster_id": "0x0071", "role": "Server", "conformance": "O" },
|
|
"ActivatedCarbonFilterMonitoring": { "cluster_id": "0x0072", "role": "Server", "conformance": "O" },
|
|
"TemperatureMeasurement": {
|
|
"cluster_id": "0x0402",
|
|
"role": "Server",
|
|
"conformance": "O",
|
|
"description": "温度测量(空调自带温度传感器)"
|
|
},
|
|
"RelativeHumidityMeasurement": { "cluster_id": "0x0405", "role": "Server", "conformance": "O" }
|
|
}
|
|
}
|