Smart Home Unified

# Smart Home Unified - 智能家居统一控制

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Smart Home Unified" with this command: npx skills add lvjunjie-byte/smart-home-unified

Smart Home Unified - 智能家居统一控制

⚠️ 重要说明

本技能已实现真实 API 集成,需要用户自行配置设备 API 密钥。

🔧 配置指南

1. 安装依赖

# 安装技能
clawhub install smart-home-unified

# 安装平台特定依赖(根据需要选择)
npm install -g miio        # 小米米家设备
npm install -g hap-nodejs  # Apple HomeKit 设备

2. 获取设备 Token

小米米家设备

# 安装 miio 工具
npm install -g miio

# 提取设备 token
miio extract --token <token>

# 发现设备
miio discover

Apple HomeKit 设备

  • 在 Apple Home App 中配对设备
  • 获取配件 PIN 码(通常在设备底部或说明书上)

3. 配置凭证

TOOLS.md 中添加配置:

### Smart Home - 智能家居配置

#### 小米米家
- xiaomi:
  - username: "你的小米账号"
  - password: "你的小米密码"
  - device_token: "设备 token(通过 miio extract 获取)"

#### Apple HomeKit
- homekit:
  - pin_code: "配件 PIN 码(8 位数字,格式:XXX-XX-XXX)"
  - username: "Apple ID(可选,用于 iCloud 同步)"
  - password: "Apple 密码(可选)"

🚀 使用示例

发现设备

smart-home discover --platform xiaomi
smart-home discover --platform homekit

控制设备

# 打开灯
smart-home control --device "客厅主灯" --action turnOn

# 调节亮度
smart-home control --device "卧室灯" --action setBrightness --level 80

# 设置空调温度
smart-home control --device "客厅空调" --action setTemperature --temp 26

查看状态

smart-home status --all
smart-home status --device "客厅主灯"

⚠️ 注意事项

  1. 本地网络要求:设备必须在同一局域网内
  2. Token 有效期:小米设备 token 可能定期更换
  3. 防火墙设置:确保 UDP 端口 54321 开放(小米设备)
  4. HomeKit 配对:需要先通过 Home App 配对设备

📞 技术支持

💰 定价

$99-299/月 - 包含所有平台无限次使用

  • 基础版 $99/月:支持 10 个设备
  • 专业版 $199/月:支持 50 个设备 + 场景联动
  • 企业版 $299/月:无限设备 + 定制集成

⚠️ 安全提示:本技能需要访问你的智能家居设备,请确保:

  1. 只在可信环境中使用
  2. 定期更换设备 token/密码
  3. 不要分享配置文件

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

AI Social Media Manager

AI驱动的社交媒体管理,自动生成内容日历,推荐最佳发布时间,智能回复互动,分析并优化表现,支持多平台发布。

Registry SourceRecently Updated
400Profile unavailable
Automation

Claw Desktop Pet - Enterprise-grade 7x24 AI Assistant

Enterprise-grade 24/7 desktop AI assistant with system-level fault tolerance, auto-restart, performance monitoring, intelligent voice, and resource optimizat...

Registry SourceRecently Updated
1.3K4Profile unavailable
Automation

Sphero Mini Control

Control Sphero Mini robot ball via Bluetooth Low Energy. Roll, change colors, read sensors, draw shapes, and play with cats. Uses bleak for cross-platform BLE support (macOS/Windows/Linux).

Registry SourceRecently Updated
1.6K1Profile unavailable
Coding

ReefBeat

Control and monitor Red Sea ReefBeat aquarium equipment directly over the local HTTP API — no cloud required. Supports ALL actions on ALL devices — ReefLED G...

Registry SourceRecently Updated
660Profile unavailable