$npx skillfedfor your agent

python-roborock

A package to control Roborock vacuums.

Worth itPyPI LibrariesReleased Aug 2026138.2K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_roborock-6.2.1-py3-none-any.whl
v6.2.1 · released 2026-08-02 · Python <4,>=3.11 · 9 runtime deps: aiohttp, aiomqtt, construct, paho-mqtt, protobuf, pycryptodomex, pycryptodome, pyrate-limiter

Yes. The library is actively maintained, has no known vulnerabilities, uses a permissive license, and offers low installation friction. It's well-suited for anyone building home automation integrations with Roborock devices. The async-first design and support for multiple device protocols make it flexible for both simple control and complex multi-device scenarios.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; email-based login requires receiving a code sent to the registered email address.
  • Low friction installation as a pure-Python wheel.
  • Actively maintained with a recent release (12 days old) and steady repository activity.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for integration into proprietary home automation systems.

last release 2026-08-02 (12 days) · last repo commit 2026-08-13 · 222 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 138,155 downloads/mo, #11,341 on PyPI

Verify before relying

pip install python-roborock

import asyncio
from roborock.web_api import RoborockApiClient
from roborock.devices.device_manager import create_device_manager, UserParams

async def main():
    web_api = RoborockApiClient(username="user@example.com")
    await web_api.request_code()
    code = input("Enter code: ")
    user_data = await web_api.code_login(code)
    device_manager = await create_device_manager(UserParams(username="user@example.com", user_data=user_data))
    devices = await device_manager.get_devices()

asyncio.run(main())
  • Whether all listed supported devices remain compatible with version 6.2.1 or if some require older versions
  • Performance characteristics when controlling multiple vacuums simultaneously
  • Offline control mode requirements and limitations compared to online mode
Same gist for agents: .md · .json

What it is and what it does

python-roborock is a Python library for controlling Roborock vacuum cleaners and related appliances through both online (cloud) and offline (local) connections. It abstracts the different communication protocols used by different device generations—V1 for standard vacuums and A01 for wet/dry vacuums and washing machines—into a unified interface. The library handles authentication via email code login, device discovery through a device manager, and provides trait-based access to device capabilities like status queries, cleaning commands, and map data.

The library is built on async/await patterns using aiohttp and aiomqtt for network communication, with protobuf and cryptographic libraries handling protocol encoding and security. It's designed primarily for home automation integration (notably Home Assistant) and targets developers building smart home applications. The library requires Python 3.11 or later and has no known security vulnerabilities.

Use it for

  • Integrate Roborock vacuums into a Home Assistant or custom home automation system for scheduled or remote cleaning
  • Build a monitoring dashboard that queries vacuum status, battery level, and cleaning history across multiple devices
  • Automate vacuum commands based on external triggers (e.g., start cleaning when household leaves, stop when someone returns)
  • Extract and process vacuum-generated maps and cleaning data for analysis or visualization
  • Control wet/dry vacuums or washing machines via the A01 protocol in multi-device smart home setups

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The library is actively maintained, has no known vulnerabilities, uses a permissive license, and offers low installation friction. It's well-suited for anyone building home automation integrations with Roborock devices. The async-first design and support for multiple device protocols make it flexible for both simple control and complex multi-device scenarios.

Install

python-roborock on PyPI

Before you install

Low friction installation as a pure-Python wheel. Actively maintained with a recent release (12 days old) and steady repository activity. Nine runtime dependencies including aiohttp, aiomqtt, and protobuf are all established packages.

Requires Python 3.11 or later; email-based login requires receiving a code sent to the registered email address.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for integration into proprietary home automation systems.

Quickstart

pip install python-roborock

import asyncio
from roborock.web_api import RoborockApiClient
from roborock.devices.device_manager import create_device_manager, UserParams

async def main():
    web_api = RoborockApiClient(username="user@example.com")
    await web_api.request_code()
    code = input("Enter code: ")
    user_data = await web_api.code_login(code)
    device_manager = await create_device_manager(UserParams(username="user@example.com", user_data=user_data))
    devices = await device_manager.get_devices()

asyncio.run(main())

Verify before relying

  • Whether all listed supported devices remain compatible with version 6.2.1 or if some require older versions
  • Performance characteristics when controlling multiple vacuums simultaneously
  • Offline control mode requirements and limitations compared to online mode

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4,>=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
aiohttpaiomqttconstructpaho-mqttprotobufpycryptodomexpycryptodomepyrate-limitervacuum-map-parser-roborock
MaintenanceActively maintained 12 days since the last release
Last repo commit
First released
Downloads138,155 / month, #11,341 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentTopic :: Software Development :: Libraries

Evidence: python_roborock-6.2.1-py3-none-any.whl

Tags

Capabilities
roborock vacuum control pythonrobot vacuum api libraryhome automation vacuumroborock device managementvacuum cleaner integrationiot vacuum control
Topics
home-automationiot-devicesasync-io
PyPI keywords
homeassistantroborockvacuum

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “roborock vacuum control python”

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also pybotvac · vacuum-map-parser-roborock · deebot-client · vacuum-map-parser-base · python-miio · librouteros · meross-iot · switchbot-api · fjaraskupan · aioairzone-cloud