47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
"_meta": {
|
|
"device_type": "Cook Surface",
|
|
"device_type_id": "0x0077",
|
|
"matter_spec_ref": "Device Library 13.7, p.157-158",
|
|
"matter_version": "1.5.1",
|
|
"class": "Simple",
|
|
"scope": "Endpoint",
|
|
"description": "灶具/烹饪台面,是 Cooktop 的子组件",
|
|
"security_role": "厨房火灾风险核心设备;无人操作时运行 = 安全隐患"
|
|
},
|
|
"clusters": {
|
|
"OnOff": {
|
|
"cluster_id": "0x0006",
|
|
"role": "Server",
|
|
"conformance": "O",
|
|
"_restriction": "OffOnly feature is required (M) for safety — remote can only turn OFF, not ON",
|
|
"attributes": {
|
|
"OnOff": { "type": "bool", "values": { "true": "On (开火)", "false": "Off (熄火)" } }
|
|
}
|
|
},
|
|
"TemperatureControl": {
|
|
"cluster_id": "0x0056",
|
|
"role": "Server",
|
|
"conformance": "O.a+",
|
|
"_restriction": "只允许 TemperatureLevel feature (M),不允许 TemperatureNumber (X)",
|
|
"attributes": {
|
|
"TemperatureSetpoint": { "type": "int16", "description": "设定温度 (0.01°C)" },
|
|
"MinTemperature": { "type": "int16" },
|
|
"MaxTemperature": { "type": "int16" },
|
|
"SelectedTemperatureLevel": { "type": "uint8", "description": "选定的温度级别" },
|
|
"SupportedTemperatureLevels": { "type": "list", "description": "支持的温度级别列表" }
|
|
},
|
|
"commands": {
|
|
"SetTemperature": {
|
|
"description": "设置温度",
|
|
"fields": {
|
|
"TargetTemperature": { "type": "int16" },
|
|
"TargetTemperatureLevel": { "type": "uint8" }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TemperatureMeasurement": { "cluster_id": "0x0402", "role": "Server", "conformance": "O.a+" }
|
|
}
|
|
}
|