← 返回
未分类

Laundry Status

Use when the user wants to check washing machine or dryer status, laundry room availability, or which machines are free at Shanghai Jiao Tong University Minh...
用于查询洗衣机或烘干机状态、洗衣房可用性,或查看上海交通大学闵行校区的空闲机器。
rexeno56 rexeno56 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 299
下载
💾 0
安装
1
版本
#latest

概述

laundry-status

Overview

Query real-time status of Haier IoT washing machines and dryers at SJTU Minhang campus.

When to Use

Invoke this skill when the user asks about:

  • Washing machine or dryer availability
  • Whether any machines are free
  • Laundry room status for a specific building
  • When machines will finish (estimated completion time)

How to Use

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

Output Interpretation

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 离线.

Available Buildings

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楼.

Error Handling

  • Network timeout or failure: The script exits with a message to stderr. Tell the user the request timed out and to check their network connection.
  • Unknown building: The script reports the invalid name and lists valid buildings. Tell the user the building was not found and offer the available options.
  • API error: The script reports the API error message. Tell the user the service returned an error and to try again later.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-20 05:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

healthcheck

stellarhold170nt
使用 JSON 文件存储追踪饮水和睡眠
★ 11 📥 30,218
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 459 📥 229,581
life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 244 📥 30,709