← 返回 Skills 市场
267
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sonoff
功能描述
Control and automate SONOFF devices with eWeLink cloud workflows, LAN and DIY mode operations, and safe multi-device execution.
安全使用建议
This skill appears internally consistent and appropriate for controlling SONOFF/eWeLink devices. Before installing/using it: (1) ensure you are comfortable providing EWELINK_API_TOKEN as an environment variable (use least-privilege account and rotate tokens); (2) confirm curl and jq are available; (3) be aware the skill will create ~/sonoff/ files and suggests permission settings—inspect those files and their contents; (4) recognize the skill will make local LAN calls to device IPs and calls to eWeLink/coolkit cloud endpoints (expected for this purpose); (5) never paste your token into chat—follow the skill's guidance to keep secrets in environment variables only. If you want extra assurance, review the created ~/sonoff/* files and run the skill in read-only/dry-run mode first.
功能分析
Type: OpenClaw Skill
Name: sonoff
Version: 1.0.0
The Sonoff skill bundle is a well-structured tool for managing eWeLink and Sonoff devices via cloud, LAN, and DIY modes. It includes robust safety instructions for the AI agent, such as mandatory state verification (read-before-write), explicit user confirmation for high-impact actions (e.g., power relays), and strict credential handling (using EWELINK_API_TOKEN from environment variables). The setup process in setup.md uses standard shell commands to initialize a local workspace in ~/sonoff/ with restrictive file permissions (chmod 600/700), and all external endpoints are legitimate Sonoff/eWeLink services (e.g., coolkit.cc).
能力评估
Purpose & Capability
Name/description (eWeLink cloud, LAN, DIY control) match the declared requirements: EWELINK_API_TOKEN for cloud, and curl/jq for making and parsing HTTP requests. Declared endpoints (coolkit.cc, dev.ewelink.cc, local zeroconf and iHost URLs) are exactly the types of endpoints needed for this functionality.
Instruction Scope
SKILL.md and auxiliary docs stay on-topic: they describe discovery, read-before-write loops, control-plane selection, safety gates, and local workspace usage. The instructions reference only the env var(s) and local ~/sonoff/ files that are relevant to operation. They explicitly warn not to paste secrets into chat and to avoid persisting raw tokens.
Install Mechanism
There is no install script or remote download; the skill is instruction-only. That reduces filesystem/network install risk. Required binaries (curl, jq) are reasonable and proportionate to the described HTTP+JSON tasks.
Credentials
Only EWELINK_API_TOKEN is required (primary credential) and is justified for cloud API control. No unrelated credentials or broad-system config paths are requested. The docs explicitly instruct reading the token from environment and not persisting raw tokens.
Persistence & Privilege
The skill recommends creating and managing a local workspace under ~/sonoff/ (memory.md, devices.md, etc.) and provides shell commands (mkdir, chmod). This is coherent for a skill that maintains local state, but users should be aware files will be created in their home directory and given recommended permissions.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sonoff - 安装完成后,直接呼叫该 Skill 的名称或使用
/sonoff触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with SONOFF and eWeLink workflows for cloud and LAN control, device discovery, command safety, and incident-ready automation playbooks.
元数据
常见问题
Sonoff 是什么?
Control and automate SONOFF devices with eWeLink cloud workflows, LAN and DIY mode operations, and safe multi-device execution. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 267 次。
如何安装 Sonoff?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sonoff」即可一键安装,无需额外配置。
Sonoff 是免费的吗?
是的,Sonoff 完全免费(开源免费),可自由下载、安装和使用。
Sonoff 支持哪些平台?
Sonoff 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。
谁开发了 Sonoff?
由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.0。
推荐 Skills