Smart Home Hub
/install smart-home-hub
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密钥和访问地址
- 场景编排修改前自动备份现有配置
- 安防操作(门锁开闭、设防撤防)需二次确认
- 能耗数据依赖智能插座/电表等硬件支持
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install smart-home-hub - After installation, invoke the skill by name or use
/smart-home-hub - Provide required inputs per the skill's parameter spec and get structured output
What is Smart Home Hub?
跨平台智能家居统一控制中心,支持Home Assistant / Apple HomeKit / Google Home / Amazon Alexa /小米米家等多生态聚合。通过自然语言管理灯光、温控、安防、能耗、场景联动,支持自动化编排与异常告警。 It is an AI Agent Skill for Claude Code / OpenClaw, with 41 downloads so far.
How do I install Smart Home Hub?
Run "/install smart-home-hub" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Smart Home Hub free?
Yes, Smart Home Hub is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Smart Home Hub support?
Smart Home Hub is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Smart Home Hub?
It is built and maintained by ai-gaoqian (@ai-gaoqian); the current version is v1.0.0.