← Back to Skills Marketplace
267
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install sonoff
Description
Control and automate SONOFF devices with eWeLink cloud workflows, LAN and DIY mode operations, and safe multi-device execution.
Usage Guidance
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.
Capability Analysis
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).
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sonoff - After installation, invoke the skill by name or use
/sonoff - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with SONOFF and eWeLink workflows for cloud and LAN control, device discovery, command safety, and incident-ready automation playbooks.
Metadata
Frequently Asked Questions
What is Sonoff?
Control and automate SONOFF devices with eWeLink cloud workflows, LAN and DIY mode operations, and safe multi-device execution. It is an AI Agent Skill for Claude Code / OpenClaw, with 267 downloads so far.
How do I install Sonoff?
Run "/install sonoff" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Sonoff free?
Yes, Sonoff is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Sonoff support?
Sonoff is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).
Who created Sonoff?
It is built and maintained by Iván (@ivangdavila); the current version is v1.0.0.
More Skills