94 lines
2.9 KiB
JSON
94 lines
2.9 KiB
JSON
{
|
|
"_meta": {
|
|
"device_type": "Laundry Washer",
|
|
"device_type_id": "0x0073",
|
|
"matter_spec_ref": "Device Library 13.1, p.143-144",
|
|
"matter_version": "1.5.1",
|
|
"class": "Simple",
|
|
"scope": "Endpoint",
|
|
"description": "洗衣机",
|
|
"security_role": "日常行为节奏参考;异常时段运行可作为行为异常线索"
|
|
},
|
|
"clusters": {
|
|
"Identify": { "cluster_id": "0x0003", "role": "Server", "conformance": "O" },
|
|
"OnOff": {
|
|
"cluster_id": "0x0006",
|
|
"role": "Server",
|
|
"conformance": "O",
|
|
"attributes": {
|
|
"OnOff": { "type": "bool", "values": { "true": "On", "false": "Off" } }
|
|
}
|
|
},
|
|
"OperationalState": {
|
|
"cluster_id": "0x0060",
|
|
"role": "Server",
|
|
"conformance": "M",
|
|
"attributes": {
|
|
"OperationalStateList": {
|
|
"type": "list",
|
|
"description": "支持的操作状态列表"
|
|
},
|
|
"OperationalState": {
|
|
"type": "enum8",
|
|
"description": "当前操作状态",
|
|
"values": {
|
|
"0": "Stopped (已停止)",
|
|
"1": "Running (运行中)",
|
|
"2": "Paused (已暂停)",
|
|
"3": "Error (错误)"
|
|
}
|
|
},
|
|
"OperationalError": {
|
|
"type": "struct",
|
|
"description": "当前错误信息"
|
|
},
|
|
"PhaseList": {
|
|
"type": "list",
|
|
"description": "操作阶段列表 (如 Pre-Wash, Rinse, Spin 等)"
|
|
},
|
|
"CurrentPhase": {
|
|
"type": "uint8",
|
|
"description": "当前阶段索引"
|
|
},
|
|
"CountdownTime": {
|
|
"type": "uint32",
|
|
"description": "剩余时间(秒)"
|
|
}
|
|
},
|
|
"commands": {
|
|
"Start": { "description": "开始运行" },
|
|
"Stop": { "description": "停止" },
|
|
"Pause": { "description": "暂停" },
|
|
"Resume": { "description": "恢复" }
|
|
},
|
|
"events": {
|
|
"OperationalError": { "description": "操作错误事件" },
|
|
"OperationCompletion": { "description": "操作完成事件" }
|
|
}
|
|
},
|
|
"LaundryWasherMode": {
|
|
"cluster_id": "0x0051",
|
|
"role": "Server",
|
|
"conformance": "O",
|
|
"attributes": {
|
|
"SupportedModes": { "type": "list", "description": "支持的洗涤模式" },
|
|
"CurrentMode": { "type": "uint8", "description": "当前洗涤模式" }
|
|
},
|
|
"commands": {
|
|
"ChangeToMode": { "description": "切换模式" }
|
|
}
|
|
},
|
|
"LaundryWasherControls": {
|
|
"cluster_id": "0x0053",
|
|
"role": "Server",
|
|
"conformance": "O",
|
|
"attributes": {
|
|
"SpinSpeeds": { "type": "list", "description": "支持的脱水速度" },
|
|
"SpinSpeedCurrent": { "type": "uint8", "description": "当前脱水速度" },
|
|
"NumberOfRinses": { "type": "uint8", "description": "漂洗次数" }
|
|
}
|
|
},
|
|
"TemperatureControl": { "cluster_id": "0x0056", "role": "Server", "conformance": "O" }
|
|
}
|
|
}
|