Control Wyze smart-home devices — lights (on/off/dim/color/temp), plugs, and wall switches — from your assistant. Unofficial Wyze API via wyze-node.
设计与多媒体
Wyze Cam
试用View and control Wyze cameras — snapshot/thumbnail image, siren, floodlight/spotlight, motion & notification toggles, power. Unofficial Wyze API via wyze-node.
它能做什么
View and control Wyze cameras — snapshot/thumbnail image, siren, floodlight/spotlight, motion & notification toggles, power. Unofficial Wyze API via wyze-node.
技能文档
Wyze cameras
View and control Wyze cameras through the bundled cam CLI, which wraps
wyze-node. Reuses the same cached
login as the wyze skill (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 see a camera ("show me the driveway", "snapshot the front door") or control one: siren, floodlight/spotlight, toggle motion detection or notifications, turn a camera on/off.
Setup (once)
Shares the wyze skill's setup. If you haven't already:
- Install the dependency:
npm install --prefix "{baseDir}/scripts" wyze-node - Put
WYZE_EMAIL,WYZE_KEY_ID,WYZE_API_KEYinWYZE_ENV(default~/.openclaw/secrets/wyze.env) — keys from https://developer-api-console.wyze.com/#/apikey/view - Cache a login token once via the
wyzeskill'slogin(shared token). - Live snapshot only — for
snapshot(a fresh WebRTC frame), also install the optional deps:npm install --prefix "{baseDir}/scripts" werift ws ffmpeg-static(and haveffmpegavailable). Not needed for any other command.
Run
node "{baseDir}/scripts/cam" [args]
Commands
list— cameras with online/offline statethumbnail— latest cached thumbnail URL (fast, dependency-free; may lag by minutes and isn't available on every model)snapshot [outpath]— capture a live frame to a JPG and print the path (needs the optional WebRTC deps; works on newer wired models — older V1 cams and some battery models can't negotiate a stream)on/off— power the camera on/offsiren on|offfloodlight on|off(aliasspotlight,light)motion on|off— motion detectionnotifications on|off— push notificationsrecording on|off— motion-triggered recording
`` is a case-insensitive substring of the camera's nickname and must match exactly one camera (it lists the conflicts if not).
Getting an image
Prefer thumbnail first — it's instant and needs no extra deps. Use snapshot
when you need a current frame and the camera supports WebRTC. Attach the
resulting image to the user.
Safety
- The siren is loud — only fire it on an explicit, specific request, and confirm before turning it on.
- Some Wyze cameras drive a garage-door controller. Treat any camera whose name implies a door/garage/opener with the same caution as a door: confirm first.
- Act on the user's named camera, not all cameras at once.
Configuration (env vars)
WYZE_NODE_DIR(default~/code/wyze-node) or an npm-installedwyze-nodeWYZE_ENV(default~/.openclaw/secrets/wyze.env)WYZE_TOKEN_DIR(default:WYZE_NODE_DIRif present, else~/.openclaw/wyze)
Notes
- Cameras are
product_typeCamera. Thumbnails are signed, time-limited URLs. - License: MIT. Backed by the open-source
wyze-nodeclient.
相关技能
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.
从单个 stdlib Python SDK 注册并操作 reCamera Pro 设备——检测规则、抓拍、录像、GPIO 一站式搞定。