← 返回 Skills 市场
Smart Home Hub
作者
ai-gaoqian
· GitHub ↗
· v1.0.0
· MIT-0
41
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install smart-home-hub
功能描述
跨平台智能家居统一控制中心,支持Home Assistant / Apple HomeKit / Google Home / Amazon Alexa /小米米家等多生态聚合。通过自然语言管理灯光、温控、安防、能耗、场景联动,支持自动化编排与异常告警。
使用说明 (SKILL.md)
Smart Home Hub
跨平台智能家居统一控制中心,聚合Home Assistant、Apple HomeKit、Google Home、Amazon Alexa、小米米家等主流生态,提供自然语言驱动的全屋智能管理。
触发条件
- "打开/关闭客厅灯"
- "家里温度是多少"
- "设置离家模式"
- "谁在家门口"
- "本月电费花了多少"
- "创建晚安场景"
- "XX设备离线了怎么办"
核心能力
| 能力 | 说明 |
|---|---|
| 设备控制 | 灯光/窗帘/空调/插座/门锁的开关、调节、状态查询 |
| 环境感知 | 温度/湿度/PM2.5/CO2/光照/人体存在传感器实时读取 |
| 场景编排 | 早安/晚安/离家/回家/观影/用餐等多设备联动场景 |
| 安防监控 | 摄像头画面调取、门窗传感器状态、异常闯入告警 |
| 能耗管理 | 按设备/房间/时段统计用电量,异常耗电预警 |
| 自动化规则 | 支持「如果-则」条件触发自动化创建和管理 |
| 设备诊断 | 离线设备排查、信号强度检测、固件版本检查 |
| 多平台聚合 | 同时管理Home Assistant / HomeKit / Alexa / Google Home / 米家 |
执行流程
- 接收用户自然语言指令
- 识别目标平台和设备类型
- 通过对应平台API查询/控制设备
- 复杂场景编排时先生成预览供用户确认
- 执行操作并返回状态确认
- 异常情况自动诊断并给出修复建议
输出格式
🏠 智能家居操作报告
━━━━━━━━━━━━━━━━━━━━━
操作: [具体操作描述]
平台: [平台名称]
设备: [设备列表]
状态: ✅ 成功 / ⚠️ 部分成功 / ❌ 失败
详情: [每台设备的具体执行结果]
场景编排示例
晚安场景: 关闭所有灯光 → 窗帘闭合 → 空调设为26°C睡眠模式 → 门锁确认上锁 → 安防设防 → 夜灯开启(亮度10%)
离家场景: 关闭所有灯光和电器 → 窗帘闭合 → 空调关闭 → 安防设防 → 扫地机器人开始工作
注意事项
- 首次使用需配置各平台API密钥和访问地址
- 场景编排修改前自动备份现有配置
- 安防操作(门锁开闭、设防撤防)需二次确认
- 能耗数据依赖智能插座/电表等硬件支持
安全使用建议
Install only if you are comfortable giving an agent access to smart-home platforms. Configure least-privilege API tokens where possible, require confirmations for locks, alarm state, cameras, and automation edits, and review where any scene backups are stored.
能力评估
Purpose & Capability
The stated purpose is cross-platform smart-home control, and the listed capabilities match that purpose: device control, sensors, scenes, security monitoring, energy tracking, diagnostics, and platform aggregation.
Instruction Scope
The skill uses broad natural-language triggers for lights, temperature, scenes, cameras, energy, and diagnostics. Security actions are disclosed and the artifact says door-lock and alarm arm/disarm operations require secondary confirmation, but camera access and automation changes would still deserve careful user-side permission settings.
Install Mechanism
The package contains only a markdown SKILL.md artifact and metadata; no executable installer, scripts, hidden files, or package code were present.
Credentials
Use of Home Assistant, Alexa, Google Home, HomeKit, and similar platform APIs is proportionate for the stated purpose. API keys and platform access addresses are disclosed as first-use requirements.
Persistence & Privilege
The artifact mentions backing up existing scene configuration before changes, which is purpose-aligned, but it does not define retention or storage location. No background worker, persistence mechanism, privilege escalation, or local credential/profile scraping is present in the artifact.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smart-home-hub - 安装完成后,直接呼叫该 Skill 的名称或使用
/smart-home-hub触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Smart Home Hub 是什么?
跨平台智能家居统一控制中心,支持Home Assistant / Apple HomeKit / Google Home / Amazon Alexa /小米米家等多生态聚合。通过自然语言管理灯光、温控、安防、能耗、场景联动,支持自动化编排与异常告警。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。
如何安装 Smart Home Hub?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-home-hub」即可一键安装,无需额外配置。
Smart Home Hub 是免费的吗?
是的,Smart Home Hub 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Smart Home Hub 支持哪些平台?
Smart Home Hub 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Smart Home Hub?
由 ai-gaoqian(@ai-gaoqian)开发并维护,当前版本 v1.0.0。
推荐 Skills