vacuum-console-cli
扫地机器人控制台(vacuum-console)连接器的 CLI 执行体。 用命令行控制米家生态扫地/拖地机器人(小米、石头老款、追觅等 200+ 型号)。
安装
python -m pip install vacuum-console-cli
内置 miIO 协议库(python-miio,GPL-3.0,作为 pip 依赖使用、不内嵌其源码), 无需编译器、无需访问 GitHub。
快速开始
# 起一个本地假扫地机(无真机走通全链路)
vacuum-console sim --start
vacuum-console --backend sim bind --auto
vacuum-console --backend sim start
vacuum-console --backend sim status
# 真机:绑定后直接用(省略 --backend)
vacuum-console bind --auto # 或 bind --robot 客厅 --ip 192.168.x.x --token 32位token
vacuum-console status
vacuum-console start
vacuum-console fan --level turbo
vacuum-console home
命令一览
| 命令 | 说明 |
|---|---|
list / status / doctor |
只读查询 |
start / pause / resume / stop / home |
清扫控制(stop 无门槛) |
find |
定位鸣声 |
fan --level silent/standard/turbo/max |
吸力 |
volume --value 0-100 |
语音音量(部分机型) |
consumables / history |
耗材余量 / 清扫历史 |
sim / verify |
本地假设备 / 契约核对 |
安全
stop任何状态可用、无确认门槛- 勿扰时段(22:00–08:00)远程
start默认拦截,--confirm显式放行 - 区域清扫默认关闭(
config --enable-zone开启) - 不开放遥控摇杆、视觉/摄像头能力
- 全部控制指令写入
~/.vacuum-console/audit.jsonl
Metadata
Release files for vacuum-console-cli 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vacuum_console_cli-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for vacuum_console_cli-1.0.0-py3-none-any.whl |
Release files / vacuum_console_cli-1.0.0-py3-none-any.whl
| Download URL | vacuum_console_cli-1.0.0-py3-none-any.whl |
|---|---|
| Size | 30.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
211e28ae23934fccc80e7e54c980fbf168563548096ef3dc2324a7ec7496a036
|
|
BLAKE2b-256 checksum How to use checksums |
ee44fb21bf9aea50dffb96bc60b116fc3ef6e5016cb7e939319767afdccb29c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for vacuum-console-cli 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.