← 返回 Skills 市场
345
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install smarthome
功能描述
Control global smart home devices via Home Assistant (preferred) and Tuya Smart (fallback) with fuzzy name matching and local device caching.
安全使用建议
Proceed with caution. The implementation aligns with controlling Home Assistant and Tuya, but there are red flags: (1) registry metadata (name/owner/version) differs from the internal _meta.json and README — this can indicate repackaging or poor publishing hygiene; (2) SKILL.md documents environment-variable setup that the script does not implement (the script only reads a config file); (3) the discovery command is a placeholder and may not populate the device cache as promised. Before installing, review scripts/smart.py locally and: (a) ensure you create the config file at ~/.config/universal-smarthome/config.json rather than relying on env vars, (b) inspect network endpoints you configure (the script will contact the HA URL you provide and the Tuya endpoint), (c) avoid pasting real production credentials until you’ve tested in a safe environment, and (d) consider running the script in an isolated host or container and reading the source to ensure no unexpected data-sending behavior. If you need higher assurance, ask the publisher to reconcile the metadata and update the documentation or provide a vetted release from a known homepage/source.
功能分析
Type: OpenClaw Skill
Name: smarthome
Version: 1.0.0
The skill provides a legitimate utility for controlling Home Assistant and Tuya smart home devices. It manages credentials by storing them in a local configuration file (~/.config/universal-smarthome/config.json) and communicates only with user-defined endpoints or official Tuya APIs. The Python script (scripts/smart.py) implements standard HMAC-SHA256 signing for Tuya and REST API calls for Home Assistant without any evidence of data exfiltration, unauthorized remote execution, or malicious prompt injection.
能力评估
Purpose & Capability
The code (scripts/smart.py) implements Home Assistant control and Tuya cloud calls as described, and stores credentials locally — so purpose matches implementation. However the package/registry metadata (ownerId/slug/version) does not match the internal _meta.json and the SKILL name (smarthome vs universal-smarthome), which could indicate repackaging or sloppy publishing.
Instruction Scope
SKILL.md documents two setup options (config file OR environment variables). The script only reads a config file (~/.config/universal-smarthome/config.json) and does not read the documented environment variables; discovery is advertised but the discovery command is a stub (does not actually fetch/merge devices). This mismatch between runtime instructions and actual behavior is scope-creep/incorrect documentation and could confuse users when credentials placed in env vars are ignored.
Install Mechanism
This is an instruction-only skill with no install spec — nothing is automatically downloaded or written during install. The only file that runs is the included script; no external install URLs or archive downloads are present.
Credentials
The skill legitimately needs Home Assistant token and Tuya access_id/access_secret to function; the script expects those in a local config file. Registry metadata lists no required env vars/credentials (which is inconsistent with SKILL.md), but the credentials requested are proportional to the stated purpose. There is no evidence the code requests unrelated credentials.
Persistence & Privilege
The skill does not request persistent always:true, does not modify other skills or system-wide configs, and only stores config/cache under ~/.config/universal-smarthome, consistent with its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smarthome - 安装完成后,直接呼叫该 Skill 的名称或使用
/smarthome触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of universal-smarthome skill:
- Seamless smart home control across Home Assistant (preferred) and Tuya Cloud (fallback).
- Supports device discovery and fuzzy name matching for global brands.
- Local config file or environment variable setup; no hardcoded credentials.
- CLI utility for device discovery and on/off control with automatic platform detection.
- Troubleshooting guides and architecture overview included.
元数据
常见问题
smarthome 是什么?
Control global smart home devices via Home Assistant (preferred) and Tuya Smart (fallback) with fuzzy name matching and local device caching. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 345 次。
如何安装 smarthome?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smarthome」即可一键安装,无需额外配置。
smarthome 是免费的吗?
是的,smarthome 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
smarthome 支持哪些平台?
smarthome 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 smarthome?
由 airoom-ai(@airoom-ai)开发并维护,当前版本 v1.0.0。
推荐 Skills