Query real-time status of Haier IoT washing machines and dryers at SJTU Minhang campus.
Invoke this skill when the user asks about:
Default building (西21楼):
text
python3 {skill_dir}/laundry_status.py
Specific building:
text
python3 {skill_dir}/laundry_status.py --building 西16楼
All buildings:
text
python3 {skill_dir}/laundry_status.py --all
Each machine is grouped by status label:
StatusMeaning空闲 (Idle)Machine is available — tell the user to go use it now使用中 (In Use)Machine is running; an estimated finish time may be shown as [预计HH:MM结束]故障 (Fault)Machine is broken and cannot be used离线 (Offline)Machine is unreachable or powered off
Machines are listed in priority order: 空闲 first, then 使用中 (with finish times), then 故障 and 离线.
Building NameID西21楼27131西16楼27136
Use the building name (e.g. --building 西16楼) or ID (e.g. --building 27136). If the user does not specify a building, default to 西21楼.