Skip to main content

Client Library for Deebot devices (Vacuums)

PyPI - Downloads Buy Me A Coffee

IMPORTANT: Contribution only

This project is maintained in our spare time. Please be patient and respectful.

It's not related to Ecovacs or Deebot and we don't get any support from them.

As all is reverse engineered it might take some time to add new features and we can't guarantee that all features will be added.

Unfortunately some people think we are paid to do this and get angry if things don't work as they expect. As result of this, we decided that this project is in a contribution only mode.

This means, if you want something to be supported/added, you have to provide a fix yourself, wait for someone else to fix it or pay someone to do it. Members will still review and help on pull requests.

Installation

If you have a recent version of Python 3, you should be able to do pip install deebot-client to get the most recently released version of this.

Usage

To get started, you'll need to have already set up an EcoVacs account using your smartphone.

You are welcome to try using this as a python library for other efforts. A simple usage might go something like this:

import aiohttp
import asyncio
import logging
import time

from deebot_client.api_client import ApiClient
from deebot_client.authentication import Authenticator, create_rest_config
from deebot_client.commands.json.clean import Clean, CleanAction
from deebot_client.events import BatteryEvent
from deebot_client.mqtt_client import MqttClient, create_mqtt_config
from deebot_client.util import md5
from deebot_client.device import Device

device_id = md5(str(time.time()))
account_id = "your email or phonenumber (cn)"
password_hash = md5("yourPassword")
country = "DE"


async def main():
    async with aiohttp.ClientSession() as session:
        logging.basicConfig(level=logging.DEBUG)
        rest_config = create_rest_config(
            session, device_id=device_id, alpha_2_country=country
        )

        authenticator = Authenticator(rest_config, account_id, password_hash)
        api_client = ApiClient(authenticator)

        devices_ = await api_client.get_devices()

        bot = Device(devices_.mqtt[0], authenticator)

        mqtt_config = create_mqtt_config(device_id=device_id, country=country)
        mqtt = MqttClient(mqtt_config, authenticator)
        await bot.initialize(mqtt)

        async def on_battery(event: BatteryEvent):
            # Do stuff on battery event
            if event.value == 100:
                # Battery full
                pass

        # Subscribe for events (more events available)
        bot.events.subscribe(BatteryEvent, on_battery)

        # Execute commands
        await bot.execute_command(Clean(CleanAction.START))
        await asyncio.sleep(900)  # Wait for...
        await bot.execute_command(Charge())


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.create_task(main())
    loop.run_forever()

A more advanced example can be found here.

Note for Windows users

This library cannot be used out of the box with Windows due a limitation in the requirement aiomqtt. More information and a workaround can be found here

Thanks

My heartfelt thanks to:

  • deebotozmo, After all, this is a debotozmo fork :)
  • sucks, deebotozmo was forked from it :)
  • xmpppeek, a great library for examining XMPP traffic flows ( yes, your vacuum speaks Jabber!),
  • mitmproxy, a fantastic tool for analyzing HTTPS,
  • click, a wonderfully complete and thoughtful library for making Python command-line interfaces,
  • requests, a polished Python library for HTTP requests,
  • Decompilers online, which was very helpful in figuring out what the Android app was up to,
  • Albert Louw, who was kind enough to post code from his own experiments with his device, and
  • All the users who have given useful feedback and contributed code!

Metadata

Release files for deebot-client 18.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deebot-client 18.8.0
File Size Uploaded Provenance Actions
deebot_client-18.8.0.tar.gz 303.1 kB With provenance Details for deebot_client-18.8.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for deebot-client 18.8.0
File Actions
deebot_client-18.8.0-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for deebot_client-18.8.0-cp315-cp315-win_amd64.whl
deebot_client-18.8.0-cp315-cp315-musllinux_1_2_x86_64.whl CPython 3.15 CPython 3.15 Linux musl 1.2+ x86-64 Details for deebot_client-18.8.0-cp315-cp315-musllinux_1_2_x86_64.whl
deebot_client-18.8.0-cp315-cp315-musllinux_1_2_aarch64.whl CPython 3.15 CPython 3.15 Linux musl 1.2+ ARM64 Details for deebot_client-18.8.0-cp315-cp315-musllinux_1_2_aarch64.whl
deebot_client-18.8.0-cp315-cp315-manylinux_2_34_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.34+ x86-64 Details for deebot_client-18.8.0-cp315-cp315-manylinux_2_34_x86_64.whl
deebot_client-18.8.0-cp315-cp315-manylinux_2_34_aarch64.whl CPython 3.15 CPython 3.15 Linux glibc 2.34+ ARM64 Details for deebot_client-18.8.0-cp315-cp315-manylinux_2_34_aarch64.whl
deebot_client-18.8.0-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details for deebot_client-18.8.0-cp315-cp315-macosx_11_0_arm64.whl
deebot_client-18.8.0-cp315-cp315-macosx_10_12_x86_64.whl CPython 3.15 CPython 3.15 macOS 10.12+ x86-64 Details for deebot_client-18.8.0-cp315-cp315-macosx_10_12_x86_64.whl
deebot_client-18.8.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for deebot_client-18.8.0-cp314-cp314-win_amd64.whl
deebot_client-18.8.0-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for deebot_client-18.8.0-cp314-cp314-musllinux_1_2_x86_64.whl
deebot_client-18.8.0-cp314-cp314-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ ARM64 Details for deebot_client-18.8.0-cp314-cp314-musllinux_1_2_aarch64.whl
deebot_client-18.8.0-cp314-cp314-manylinux_2_34_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ x86-64 Details for deebot_client-18.8.0-cp314-cp314-manylinux_2_34_x86_64.whl
deebot_client-18.8.0-cp314-cp314-manylinux_2_34_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ ARM64 Details for deebot_client-18.8.0-cp314-cp314-manylinux_2_34_aarch64.whl
deebot_client-18.8.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for deebot_client-18.8.0-cp314-cp314-macosx_11_0_arm64.whl
deebot_client-18.8.0-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details for deebot_client-18.8.0-cp314-cp314-macosx_10_12_x86_64.whl

Total release size: 19.2 MB

Release files / deebot_client-18.8.0.tar.gz

Download URL deebot_client-18.8.0.tar.gz
Size 303.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a1a78e10de7bc7749ba8aa30dfb5fc3b0e4599d137075f3994de9556852793ee
BLAKE2b-256 checksum
How to use checksums
51a6e982b5c71e9358eacfcf6fa9477bfe26416020d85875040f731a07d6338e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp315-cp315-win_amd64.whl

Download URL deebot_client-18.8.0-cp315-cp315-win_amd64.whl
Size 1.3 MB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
29b687e3a48622836717b988d752236062cbb3755c828a4bad6ce88441ec7f41
BLAKE2b-256 checksum
How to use checksums
68641641593102d49a902abfe9536c42eeefc2c3d129186acaabc8d5003bd60d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp315-cp315-musllinux_1_2_x86_64.whl

Download URL deebot_client-18.8.0-cp315-cp315-musllinux_1_2_x86_64.whl
Size 1.5 MB
Tags CPython 3.15 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
98a96e0b80c04aad4b93539d5db8a0214ba6f6fef264eea68aba4d8c7fb651c2
BLAKE2b-256 checksum
How to use checksums
b4ff8ec367274afe5d57c3facbe7f73057de0301a0165831329c198943b57990
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp315-cp315-musllinux_1_2_aarch64.whl

Download URL deebot_client-18.8.0-cp315-cp315-musllinux_1_2_aarch64.whl
Size 1.4 MB
Tags CPython 3.15 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
712d10076c9a13c2b4562d7e82af0319214d306845760e7891290683a5fb6be5
BLAKE2b-256 checksum
How to use checksums
fca4de96941c49749e71406bfdc9787219c419bc0c9517eaa05e46767e1a9feb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp315-cp315-manylinux_2_34_x86_64.whl

Download URL deebot_client-18.8.0-cp315-cp315-manylinux_2_34_x86_64.whl
Size 1.3 MB
Tags CPython 3.15 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
b6621288926a386667fc8ff403828697842bc0e9fe4826835f9f706381c12574
BLAKE2b-256 checksum
How to use checksums
4894996fe8eb0b2bb818e43c1553d79478f8fbf8a73c3daa463f523f4aca066b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp315-cp315-manylinux_2_34_aarch64.whl

Download URL deebot_client-18.8.0-cp315-cp315-manylinux_2_34_aarch64.whl
Size 1.3 MB
Tags CPython 3.15 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
98dcada5d1a3b5748c10e11ac1ff08aa2e82df13cf5219b5592f3a0b46ac4100
BLAKE2b-256 checksum
How to use checksums
02c39eef5cfd0f2c0e5b3e91fcbe893ebc5d8f1ebf89e0e284b467795468610b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp315-cp315-macosx_11_0_arm64.whl

Download URL deebot_client-18.8.0-cp315-cp315-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c75b963c3eeab4ba917a66b468a16194c2471727fe0fc7e6b76f76894678bcf3
BLAKE2b-256 checksum
How to use checksums
cb12961efac8ce9a7515c14d901e3f472c94109679143a144d7c2ce1808933f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp315-cp315-macosx_10_12_x86_64.whl

Download URL deebot_client-18.8.0-cp315-cp315-macosx_10_12_x86_64.whl
Size 1.3 MB
Tags CPython 3.15 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
1b390e5803e4ab0dd319a4bb1929d66a18c01cad6a4b6c341d0eee5a76dfa3af
BLAKE2b-256 checksum
How to use checksums
e5d183a94b99e03647f709e76856e12918f02f5b061d71d4dbfe8b7cb516dc46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp314-cp314-win_amd64.whl

Download URL deebot_client-18.8.0-cp314-cp314-win_amd64.whl
Size 1.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
03979d8c199d18254a1e6fee5cda195c2339f4816517fe1405649e7e315d588a
BLAKE2b-256 checksum
How to use checksums
70138d3c107a8e88193b8cd2973513c24b7b31ab3f13acf1fb7634b8562494ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL deebot_client-18.8.0-cp314-cp314-musllinux_1_2_x86_64.whl
Size 1.5 MB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
a539840012b4e1bb4a3ff6b711f8f58d66b5cd0d92744e147a937897a9714640
BLAKE2b-256 checksum
How to use checksums
7a4e9000693eaacc20b54106c3a18dd009d79253a5acc59bf267fab22130c943
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp314-cp314-musllinux_1_2_aarch64.whl

Download URL deebot_client-18.8.0-cp314-cp314-musllinux_1_2_aarch64.whl
Size 1.4 MB
Tags CPython 3.14 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
52d2324527c0905177f07905c46bb600ed13924968c6c22482f6f943716b33b4
BLAKE2b-256 checksum
How to use checksums
21ab4d611d64a424f09180c5bd06e9a9d4e00d1a1dd0bf7dbccaf473311caad6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp314-cp314-manylinux_2_34_x86_64.whl

Download URL deebot_client-18.8.0-cp314-cp314-manylinux_2_34_x86_64.whl
Size 1.3 MB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
88d9eccf5626da7ea6099bdf79bc27978c827e985b1580bfdc6335420b5b1867
BLAKE2b-256 checksum
How to use checksums
31a932fdd30ab1db98d887ed66c208b3f31d1ea4a4851babef9bbace0ed513d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp314-cp314-manylinux_2_34_aarch64.whl

Download URL deebot_client-18.8.0-cp314-cp314-manylinux_2_34_aarch64.whl
Size 1.3 MB
Tags CPython 3.14 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
5013bda0f6cd0f5c2ef9c831543ce32b2ae33bd82eff082c6f48f5bbc91d7c40
BLAKE2b-256 checksum
How to use checksums
2805dd4e078c63b3c6f2a64024ae973f2198dc3a03ba7194b5774b6038a2d07b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL deebot_client-18.8.0-cp314-cp314-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
06f45c695477848186f837841ae0d7dba06b336d7b2252c2da460e054c7196c0
BLAKE2b-256 checksum
How to use checksums
9898034f95d0c5cb0ea7ade3a954f0b74ddaeb76b07bab966e036799c8af0b08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / deebot_client-18.8.0-cp314-cp314-macosx_10_12_x86_64.whl

Download URL deebot_client-18.8.0-cp314-cp314-macosx_10_12_x86_64.whl
Size 1.3 MB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
aaf36b02b0a857a8de26537620c209452968a071842d7bc43937553ca428f481
BLAKE2b-256 checksum
How to use checksums
fd04e082e1f73d733f309e9a0db422aebcaab8ade582d0f39f3bd7997aa3b466
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for deebot-client 18.8.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.

Full provenance

All 15 files in this release have been uploaded with provenance metadata.

Select from 15 files

Attestation for deebot_client-18.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

18.8.0 This release

15 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page