Lighting

SwitchBot API Control

Overview

SwitchBot API Control is an unofficial community plugin for Elgato Stream Deck that integrates with the SwitchBot API v1.1 (Token + Client Secret with HMAC-SHA256 request signing) across both Windows and macOS.

Disclaimer This is an unofficial community plugin developed by neta-verse. It is not affiliated with, endorsed by, or sponsored by SwitchBot or Woan Technology.

This plugin is provided "as is" without warranty of any kind. You are solely responsible for how you configure and trigger physical devices (such as smart locks or appliances). Always test your key assignments carefully and use at your own risk.

Privacy & Security

Your SwitchBot Token and Client Secret are stored locally in Stream Deck Global Settings, masked in the UI, and never written to logs.

All API requests are signed locally with HMAC-SHA256 and sent directly and exclusively to https://api.switch-bot.com/v1.1 (with redirects disabled).

This plugin operates without any developer backend server and collects no telemetry, analytics, or personal data.

Features

Shared API v1.1 Credentials: Enter your SwitchBot Open Token and Client Secret once in Global Settings and test your connection inline. All actions share the same credentials.

Device Control: Pick any physical SwitchBot device (Bot, Plug, Curtain, Blind Tilt, Lock, Lights, Humidifier, Fan, Vacuum) or Hub infrared remote (Air Conditioner, TV, Light, Fan, and custom/DIY IR buttons) and run preset or custom commands (turnOn, turnOff, toggle, press, setAll, setPosition, etc.).

Scene Execute: Select any manual scene from your SwitchBot account and run it with a single key press.

Device Status: Display live sensor and device states (temperature in °C/°F, humidity, CO2, robot vacuum working/online status, power/wattage, lock state, curtain position, battery, or any custom JSON field) directly on the key. Available display modes automatically adapt to each device, and keys watching the same device share a single API poll to respect SwitchBot's 10,000 requests/day limit.

Custom API Request: Send HMAC-SHA256 signed GET / POST / PUT / DELETE requests to any /v1.1/... SwitchBot API endpoint (including webhook management templates), inspect JSON responses inline, and optionally display a response field on the key.

Setup Instructions

Open the SwitchBot mobile app and go to Profile → Preferences.

Tap App Version 10 times until Developer Options appears.

Copy your Token and Client Secret.

Drag any SwitchBot API Control action onto a key, paste both values into API v1.1 Credentials (Shared), and click Test Connection.

Initial release (v1.0.0.0) of SwitchBot API Control:

Full SwitchBot API v1.1 support with HMAC-SHA256 authentication on Windows and macOS.

Device Control: Control physical SwitchBot devices and Hub infrared remotes (including custom/DIY IR buttons) with presets or custom commands.

Scene Execute: Run manual SwitchBot scenes with a single key press.

Device Status: Display live sensor and device states (temperature in °C/°F, humidity, CO2, robot vacuum working/online status, battery, power, lock/curtain state, or custom JSON fields) with dynamic per-device mode filtering and shared API polling.

Custom API Request: Send signed GET/POST/PUT/DELETE requests to any /v1.1 endpoint with quick templates, a Device ID helper, and inline JSON response preview.

Version 1

Dec 3, 2026

Details

Type

Lighting

Monitoring

Smart Home

Utilities

OS

Mac

Windows

Compatibility

Stream Deck 7.1 or later

Size

133.95 KB

Version

1

Language

English

Support

Neo Infobar support

No

Profiles

No

Dial support

No