Token导航 LogoToken导航

Agent Skill · 研究检索

smarthome(smarthome 控制)

smarthome 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

smarthome 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 12,395。

总安装 10,302周安装 425GitHub Stars 公开资料未说明下载 3,366核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:smarthome(smarthome 控制)
来源仓库:https://github.com/airoom-ai/smarthome
安装命令:
openclaw skills install smarthome
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install smarthome

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

通过家庭助手(首选)和涂鸦智能(后备)控制全球智能家居设备,具有模糊名称匹配和本地设备缓存。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install smarthome;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

smarthome 怎么安装?

在终端执行 openclaw skills install smarthome。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

smarthome 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

smarthome 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

smarthome 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

smarthome 用的人多吗?

公开数据是累计安装 10,302 次,近一周安装 425 次,下载 3,366 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

smarthome 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
smarthome

smarthome 控制 · 本页

10,302—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

SKILL.md universal-smarthome 通用智能家居支配Skill Dominate your smart home with seamless control across Home Assistant and Tuya Smart. 通过Home Assistant(首选)和涂鸦智能(备选)操控全球品牌家电,支持模糊名称匹配。

Setup 设置 Option 1: Config File (Recommended) 选项1:配置文件(推荐) Create ~/.config/universal-smarthome/config.json: 创建~/.config/universal-smarthome/config.json:

{ "homeassistant": { "url": "http://homeassistant.local:8123", "token": "your-long-lived-access-token" }, "tuya": { "access_id": "your-access-id", "access_secret": "your-access-secret", "endpoint": "https://openapi.tuyacn.com" } } Option 2: Environment Variables 选项2:环境变量 export HA_URL="http://homeassistant.local:8123" export HA_TOKEN="your-long-lived-access-token" export TUYA_ACCESS_ID="your-access-id" export TUYA_ACCESS_SECRET="your-access-secret" Getting Home Assistant Token 获取Home Assistant令牌 Open Home Assistant → Profile (bottom left) 打开Home Assistant → 个人资料(左下角) Scroll to "Long-Lived Access Tokens" 滚动到“长期访问令牌” Click "Create Token", name it (e.g., "Clawdbot") 点击“创建令牌”,将其命名(例如,“Clawdbot”) Copy the token immediately (shown only once) 立即复制令牌(仅显示一次) Getting Tuya Credentials 获取涂鸦凭据 Log in to Tuya Smart Platform (https://iot.tuya.com/) 登录涂鸦智能开放平台(https://iot.tuyacn.com/) Create a cloud project or navigate to "Cloud Development" 创建云项目或进入“云开发” Get access_id and access_secret from the project credentials 从项目凭据中获取access_id和access_secret Quick Reference 快速参考 Discovery 设备发现 python3 scripts/smart.py discovery Sync all devices from Home Assistant and Tuya to local cache. 从Home Assistant和涂鸦同步所有设备到本地缓存。

Control Devices 控制设备

Turn on device by name

python3 scripts/smart.py control "device_name" on

Turn off device by name

python3 scripts/smart.py control "device_name" off

The script automatically identifies the platform (HA or Tuya) based on device ID

脚本根据设备ID自动识别平台(HA或涂鸦)

Device Name Matching 设备名称匹配 The script supports fuzzy name matching: 脚本支持模糊名称匹配:

If device_cache.json contains:

{"id": "light.living_room", "name": "客厅灯", "platform": "homeassistant"}

User can say: "打开客厅灯" or "打开灯"

用户可以说:“打开客厅灯”或“打开灯”

Priority: Exact name match → ID match → Fuzzy match 优先级:精确名称匹配 → ID匹配 → 模糊匹配 CLI Wrapper CLI包装器 The scripts/smart.py CLI provides smart home control: scripts/smart.py CLI提供智能家居控制:

Discovery - sync all devices

python3 scripts/smart.py discovery

Control device by name

python3 scripts/smart.py control "客厅灯" on python3 scripts/smart.py control "卧室灯" off

The script will:

1. Look up device ID from local cache

2. Try Home Assistant first (preferred)

3. Fallback to Tuya Cloud if HA fails or device not found

脚本将:

1. 从本地缓存查找设备ID

2. 优先尝试Home Assistant

3. 若HA失败或设备不存在,回退到涂鸦云端

Supported Platforms 支持平台 Platform平台 Features功能 Priority优先级 Home Assistant Local control, fast response, entity-based 本地控制,响应快,基于实体 1 (Primary) 首选 Tuya Cloud Cloud API, broader device support 云端API,更广泛的设备支持 2 (Fallback) 备选 Common Issues & Solutions 常见问题与解决方案 Error: Config missing 错误:配置文件缺失 Solution: Create ~/.config/universal-smarthome/config.json 解决方案:创建~/.config/universal-smarthome/config.json

Error: 1004: Sign Invalid 错误:1004: 签名无效 Solution: Check Tuya access_id and access_secret. Ensure endpoint matches your region (cn/com/us/eu). 解决方案:检查涂鸦access_id和access_secret。确保endpoint匹配您的区域(cn/com/us/eu)。

Error: Entity not found 错误:实体未找到 Solution: Run "python3 scripts/smart.py discovery" to sync devices first. 解决方案:先运行“python3 scripts/smart.py discovery”同步设备。

Error: Connection refused (HA) 错误:连接被拒绝(HA) Solution: Check HA_URL, ensure Home Assistant is running and accessible. 解决方案:检查HA_URL,确保Home Assistant正在运行且可访问。

Error: 401 Unauthorized (HA) 错误:401未授权(HA) Solution: Token expired or invalid. Generate a new Long-Lived Access Token. 解决方案:令牌过期或无效。生成新的长期访问令牌。

Device not responding 设备无响应 Solutions: 解决方案:

  1. Check if device is online in respective app (HA or Tuya)

检查设备是否在相应应用(HA或涂鸦)中在线

  1. Try controlling directly in Home Assistant or Tuya app

尝试直接在Home Assistant或涂鸦应用中控制

  1. Run discovery again to refresh device cache

再次运行discovery刷新设备缓存 Architecture 架构设计 ┌─────────────────┐ │ User Request │ │ 用户请求 │ └────────┬────────┘ │ ▼ ┌─────────────────┐ │ Semantic Parse │ │ 语义解析 │ └────────┬────────┘ │ ▼ ┌─────────────────┐ │ Device Lookup │ │ 设备查找 │──────▶ Local Cache │ │ (device_cache.json) └────────┬────────┘ │ ▼ ┌────┴────┐ │ │ ▼ ▼ ┌───────┐ ┌───────┐ │ HA │ │ Tuya │ │ 优先 │ │ 备选 │ └───┬───┘ └───┬───┘ │ │ └────┬────┘ │ ▼ ┌─────────────────┐ │ Control Result │ │ 控制结果 │ └─────────────────┘ Security 安全说明 Credentials are stored locally at ~/.config/universal-smarthome/ 凭据存储在本地~/.config/universal-smarthome/ No hardcoded tokens or secrets in scripts 脚本中无硬编码的令牌或密钥 Only访问用户定义的HA address and Tuya official API 只访问用户定义的HA地址和涂鸦官方API No third-party data exfiltration 无第三方数据回传 Troubleshooting 故障排除 401 Unauthorized: HA token expired or invalid. Generate a new one. 401未授权:HA令牌过期或无效。生成新的令牌。

Connection refused: Check HA_URL, ensure HA is running and accessible. 连接被拒绝:检查HA_URL,确保HA正在运行且可访问。

Entity not found: Run discovery to sync devices first. 实体未找到:先运行discovery同步设备。

1004 Sign Invalid: Verify Tuya credentials and region endpoint. 1004签名无效:验证涂鸦凭据和区域endpoint。

All platforms failed: Check network connection and device online status. 所有平台失败:检查网络连接和设备在线状态。

API Reference API参考 For advanced usage and custom integrations, see: 高级使用和自定义集成,请参阅:

Home Assistant API: https://developers.home-assistant.io/docs/api/rest/ Tuya Cloud API: https://developer.tuya.com/en/docs/iot/api-reference/list

平台分布

OpenClaw

87.91%
按下载量换算2,959

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills