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楼):
python3 {skill_dir}/laundry_status.py
Specific building:
python3 {skill_dir}/laundry_status.py --building 西16楼
All buildings:
python3 {skill_dir}/laundry_status.py --all
Each machine is grouped by status label:
| Status | Meaning |
|---|---|
| -------- | --------- |
| 空闲 (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 Name | ID |
|---|---|
| --------------- | ---- |
| 西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楼.
共 1 个版本