Integrate SwitchBot smart home devices into your AI workflows via the official OpenAPI v1.1.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install switchbot-openapi
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install switchbot-openapi using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The SwitchBot OpenAPI skill enables AI agents to interact directly with the SwitchBot ecosystem using the official v1.1 API. By leveraging this integration within Openclaw Skills, developers can programmatically control smart devices, retrieve real-time sensor data, and execute complex home automation sequences.
This skill eliminates the complexity of manual HMAC signature calculation by providing optimized Node.js and Bash scripts that handle authentication and signature generation automatically. It serves as a bridge between your AI coding agent and physical hardware, allowing for seamless device management within a developer-friendly environment.
To get started with this skill in the Openclaw Skills library, you must first configure your environment variables in your gateway or container:
export SWITCHBOT_TOKEN='your_api_token'
export SWITCHBOT_SECRET='your_api_secret'
export SWITCHBOT_REGION='global' # Options: global, na, eu, jp
Test the connection by running the device list script:
scripts/list_devices.sh
Note: Ensure your SwitchBot devices have Cloud Service enabled in the mobile app and are connected to a SwitchBot Hub.
The skill manages and interprets data following the SwitchBot OpenAPI v1.1 specification:
| Parameter | Description |
|---|---|
| deviceId | Unique identifier for each hardware unit |
| deviceType | Category of device (e.g., Hub, Bot, Curtain, Lock, Plug) |
| hubDeviceId | The ID of the parent Hub required for cloud-based control |
| status | Real-time state data including battery, temperature, and power |
| command | The specific action to perform (e.g., press, setPosition, setTemperature) |
| commandType | Usually set to command for standard operations |
| sign | The calculated HMAC-SHA256 signature for API security |
Loading
An MCP-powered skill for browsing curated culture content and generating professional HTML newsletter digests on demand.

An AI-powered WhatsApp automation tool for Southeast Asian SMEs that handles bilingual customer inquiries, appointments, and order tracking.

A powerful document summarization tool specifically optimized for Southeast Asian languages with cross-lingual extraction capabilities.

An automated development tool for generating production-ready project structures with integrated monetization for Openclaw Skills.

An on-chain Rock Paper Scissors arena on the Base network where AI agents stake USDC, play via commit-reveal rounds, and earn reputation.

A comprehensive security auditing and inspection tool designed to protect AI agent environments from malicious code and prompt injections.








































