← Back to Skills Marketplace
ai-gaoqian

Smart Home Hub

by ai-gaoqian · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
41
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install smart-home-hub
Description
跨平台智能家居统一控制中心,支持Home Assistant / Apple HomeKit / Google Home / Amazon Alexa /小米米家等多生态聚合。通过自然语言管理灯光、温控、安防、能耗、场景联动,支持自动化编排与异常告警。
README (SKILL.md)

Smart Home Hub

跨平台智能家居统一控制中心,聚合Home Assistant、Apple HomeKit、Google Home、Amazon Alexa、小米米家等主流生态,提供自然语言驱动的全屋智能管理。

触发条件

  • "打开/关闭客厅灯"
  • "家里温度是多少"
  • "设置离家模式"
  • "谁在家门口"
  • "本月电费花了多少"
  • "创建晚安场景"
  • "XX设备离线了怎么办"

核心能力

能力 说明
设备控制 灯光/窗帘/空调/插座/门锁的开关、调节、状态查询
环境感知 温度/湿度/PM2.5/CO2/光照/人体存在传感器实时读取
场景编排 早安/晚安/离家/回家/观影/用餐等多设备联动场景
安防监控 摄像头画面调取、门窗传感器状态、异常闯入告警
能耗管理 按设备/房间/时段统计用电量,异常耗电预警
自动化规则 支持「如果-则」条件触发自动化创建和管理
设备诊断 离线设备排查、信号强度检测、固件版本检查
多平台聚合 同时管理Home Assistant / HomeKit / Alexa / Google Home / 米家

执行流程

  1. 接收用户自然语言指令
  2. 识别目标平台和设备类型
  3. 通过对应平台API查询/控制设备
  4. 复杂场景编排时先生成预览供用户确认
  5. 执行操作并返回状态确认
  6. 异常情况自动诊断并给出修复建议

输出格式

🏠 智能家居操作报告
━━━━━━━━━━━━━━━━━━━━━
操作: [具体操作描述]
平台: [平台名称]
设备: [设备列表]
状态: ✅ 成功 / ⚠️ 部分成功 / ❌ 失败
详情: [每台设备的具体执行结果]

场景编排示例

晚安场景: 关闭所有灯光 → 窗帘闭合 → 空调设为26°C睡眠模式 → 门锁确认上锁 → 安防设防 → 夜灯开启(亮度10%)

离家场景: 关闭所有灯光和电器 → 窗帘闭合 → 空调关闭 → 安防设防 → 扫地机器人开始工作

注意事项

  • 首次使用需配置各平台API密钥和访问地址
  • 场景编排修改前自动备份现有配置
  • 安防操作(门锁开闭、设防撤防)需二次确认
  • 能耗数据依赖智能插座/电表等硬件支持
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smart-home-hub
  3. After installation, invoke the skill by name or use /smart-home-hub
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug smart-home-hub
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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.

💬 Comments