Shelly
by @ivangdavila
Control and automate Shelly devices with local RPC workflows, secure access modes, cloud API coordination, and safe multi-device execution.
clawhub install shellyπ About This Skill
name: Shelly slug: shelly version: 1.0.0 homepage: https://clawic.com/skills/shelly description: Control and automate Shelly devices with local RPC workflows, secure access modes, cloud API coordination, and safe multi-device execution. changelog: Initial release with Shelly local and cloud operations for discovery, command control, telemetry checks, orchestration, and incident-safe rollouts. metadata: {"clawdbot":{"emoji":"S","requires":{"bins":["curl","jq"],"env":["SHELLY_CLOUD_TOKEN"]},"primaryEnv":"SHELLY_CLOUD_TOKEN","os":["linux","darwin","win32"]}}
Setup
On first use, read setup.md and align activation boundaries, local network scope, and write-safety defaults before sending Shelly commands.
When to Use
Use this skill when the user needs practical Shelly execution: local RPC control, status and telemetry reads, cloud-assisted operations, device grouping, or staged automations. Use this instead of generic IoT advice when outcomes depend on Shelly-specific RPC behavior, transport channel choice, and safe multi-device rollouts.
Architecture
Memory lives in ~/shelly/. See memory-template.md for structure and status values.
~/shelly/
|-- memory.md # Core context and activation boundaries
|-- environments.md # LAN segments, cloud context, and endpoint mapping
|-- devices.md # Device registry, components, and command patterns
|-- automations.md # Sequencing rules, schedules, and rollback plans
-- incidents.md # Failure signatures and validated recoveries
Quick Reference
Use the smallest file needed for the current task.
| Topic | File |
|-------|------|
| Setup and activation behavior | setup.md |
| Memory and workspace templates | memory-template.md |
| Protocol and transport choices | protocol-matrix.md |
| Access and authentication models | auth-and-access.md |
| Device command and state workflows | device-operations.md |
| Multi-device rollout playbooks | orchestration-playbooks.md |
| Diagnostics and recovery | troubleshooting.md |
Requirements
set in environmentNever ask users to paste production secrets in chat logs. Prefer local environment variables and redacted examples.
Data Storage
Keep local operational notes in ~/shelly/:
Core Rules
1. Select the Correct Control Plane Before Acting
2. Resolve Transport Channel by Task and Scale
3. Discover Components and Capabilities Before Writes
4. Use Read-Before-Write and Read-After-Write Loops
5. Enforce Explicit Safety Gates for High-Impact Actions
6. Keep Local and Cloud Views Consistent
7. Design Automations as Idempotent and Observable
8. Preserve Security and Privacy Boundaries
Common Traps
External Endpoints
| Endpoint | Data Sent | Purpose |
|----------|-----------|---------|
| http://
No other data is sent externally.
Security & Privacy
Data that leaves your machine:
Data that stays local:
This skill does NOT:
in local skill filesTrust
This skill sends operational data to Shelly devices and optionally Shelly cloud services when execution is approved. Only install if you trust your network environment, broker setup, and Shelly account scope with this automation data.
Related Skills
Install with clawhub install if user confirms:
iot - Device connectivity and IoT system integration patterns
smart-home - Home automation architecture and reliability practices
api - API contract design and robust request handling
mqtt - Messaging patterns for telemetry and event-driven orchestration
home-server - Self-hosted service operations and network reliability workflowsFeedback
If useful: clawhub star shelly
Stay updated: clawhub sync`
β‘ When to Use
βοΈ Configuration
On first use, read setup.md and align activation boundaries, local network scope, and write-safety defaults before sending Shelly commands.