360 Secure SkillHub
360 安全技能中心

Wyze Vacuum

封装 wyze-node 的 vacuum 命令行,复用 wyze 技能缓存的登录令牌,可查询电量、充电座/清扫/空闲状态与清扫时长,并执行开始、暂停、回充。需 Node 与 Wyze API 凭据,属非官方接口,多台设备时按名称子串选择。

noelportugal
noelportugal
热度 37.08
最近更新 2026-06-19 09:32:18
分类:自动化依赖:代码执行 / 第三方 API / 读写文件应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add wyze-vacuum
Metadata
name
wyze-vacuum
description
Check and control a Wyze robot vacuum — status (battery, docked/cleaning), start, pause, and send to dock. Unofficial Wyze API via wyze-node.
homepage
https://github.com/noelportugal/wyze-node
metadata
{"openclaw":{"emoji":"🤖","requires":{"bins":["node"]}}}

Wyze vacuum

Check and control a Wyze robot vacuum through the bundled vacuum CLI, which wraps wyze-node. Reuses the same cached login as the wyze skill (no password).

Unofficial: wyze-node uses 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

"Is the vacuum charged?", "start the vacuum", "pause the vacuum", "send the vacuum back to its dock".

Setup (once)

Shares the wyze skill's setup:

  1. npm install --prefix "{baseDir}/scripts" wyze-node
  2. WYZE_EMAIL, WYZE_KEY_ID, WYZE_API_KEY in WYZE_ENV (default ~/.openclaw/secrets/wyze.env) — keys from https://developer-api-console.wyze.com/#/apikey/view
  3. Cache a login token once via the wyze skill's login (shared token).

Run

node "{baseDir}/scripts/vacuum" <command> [name]

Commands

  • status [name] — battery %, docked/charging vs cleaning vs idle, last clean duration, connection state. With no name, uses the only vacuum.
  • start [name] — begin a cleaning sweep.
  • pause [name] — pause the current sweep.
  • dock [name] — return to the charging dock.

<name> is a case-insensitive substring of the vacuum's nickname; needed only if you have more than one.

Safety

  • start sends a robot moving through the home. It's low-stakes, but on a clear request only — don't start a sweep on a vague aside.
  • Act on the user's named vacuum, not assumptions.

Configuration (env vars)

  • WYZE_NODE_DIR (default ~/code/wyze-node) or an npm-installed wyze-node
  • WYZE_ENV (default ~/.openclaw/secrets/wyze.env)
  • WYZE_TOKEN_DIR (default: WYZE_NODE_DIR if present, else ~/.openclaw/wyze)

Notes

  • Vacuums use Wyze's "venus" service (product_type JA_RO2). Status fields come from the device heartBeat (battery, charge_state, mode, clean_time).
  • License: MIT. Backed by the open-source wyze-node client.