View and control Wyze cameras — snapshot/thumbnail image, siren, floodlight/spotlight, motion & notification toggles, power. Unofficial Wyze API via wyze-node.
Coding
Wyze
Try itControl Wyze smart-home devices — lights (on/off/dim/color/temp), plugs, and wall switches — from your assistant. Unofficial Wyze API via wyze-node.
What it does
Control Wyze smart-home devices — lights (on/off/dim/color/temp), plugs, and wall switches — from your assistant. Unofficial Wyze API via wyze-node.
The skill document
Wyze devices
Control Wyze lights (bulbs, color/mesh bulbs, light strips), plugs, and
wall switches through the bundled wyze CLI, which wraps
wyze-node. Credentials stay local;
after a one-time login it runs on a cached token (no password).
Unofficial:
wyze-nodeuses Wyze's developer API Key auth and reverse-engineered endpoints. Not affiliated with or endorsed by Wyze; Wyze may change their API at any time.
When to use
Any request to control or check Wyze home devices: turn lights/plugs/switches on or off, dim or recolor lights, or see what's on.
Setup (once)
- Install the dependency:
npm install --prefix "{baseDir}/scripts" wyze-node(or havewyze-nodeinstalled globally, or setWYZE_NODE_DIRto a clone) - Get a free developer API Key + Key ID at https://developer-api-console.wyze.com/#/apikey/view
- Put
WYZE_EMAIL,WYZE_KEY_ID,WYZE_API_KEYinWYZE_ENV(default~/.openclaw/secrets/wyze.env) or the environment. - Cache a login token in a terminal:
node "{baseDir}/scripts/wyze" login(prompts for your password; never written to disk — only a refresh token is cached). After this, all commands run without a password.
Run
node "{baseDir}/scripts/wyze" [args]
Commands
list [lights|plugs|switches]— controllable devices with on/off stateon [lights|plugs|switches]— turn onoff [lights|plugs|switches]— turn offbrightness <0-100>— lights onlycolor— color/mesh bulbs & strips only (e.g.FF8800)temp— lights only (2700warm,5000cool)statuslogin— interactive one-time setup (run in a terminal)
`` is a case-insensitive substring of the device's nickname; a name that
matches several devices applies to all of them. all targets every controllable
device (optionally narrow with a kind: off all lights).
Examples
- "turn off the lights" →
off all lights - "turn off everything" →
off all - "turn off the porch light" →
off "porch" - "turn on the christmas tree" →
on "christmas" - "dim the living room to 20%" →
brightness "living room" 20 - "what's on?" →
list
Safety
- Confirm before turning off all devices, or any device whose name implies a door/garage/opener/gate (a plug or switch may actuate it). A single named turn-on/off is fine to do directly.
- Plugs and switches control whatever is wired to them — act on the user's named target, not assumptions.
Configuration (env vars)
WYZE_NODE_DIR— path to awyze-nodeclone (fallback). Default~/code/wyze-node.WYZE_ENV— secrets file (default~/.openclaw/secrets/wyze.env).WYZE_TOKEN_DIR— where the cached login (./scratch) is stored (default:WYZE_NODE_DIRif present, else~/.openclaw/wyze).
Notes
- Device kinds: lights = product_type Light/MeshLight/LightStrip; plugs =
Plug/OutdoorPlug; wall switches = model LD_SS1. Other Wyze devices (cameras,
sensors, lock, vacuum, scale) are supported by
wyze-nodebut not exposed here. - If calls fail with auth errors, the cached token expired — ensure the keys are
set and re-run
login. - License: MIT. Backed by the open-source
wyze-nodeclient.
Related skills
Read Wyze sensor states — contact (door/window open/closed), motion (detected/clear), and temperature/humidity. Read-only. Unofficial Wyze API via wyze-node.
Check and control a Wyze smart lock — status (locked/unlocked + battery), lock, and unlock. Unofficial Wyze API via wyze-node.
Check and control a Wyze robot vacuum — status (battery, docked/cleaning), start, pause, and send to dock. Unofficial Wyze API via wyze-node.
Read body metrics from a Wyze smart scale — weight, BMI, body fat, water, muscle, BMR. Supports multiple household members. Unofficial Wyze API via wyze-node.
Control, organize, diagnose, design, personalize, and answer product knowledge questions for a Yeelight smart home. Use for Yeelight homes, rooms, areas, gat...