Skip to main content

Python API for communicating with Eufy RoboVac 11c devices

Project description

PyRobovac

Python library for controlling the Eufy RoboVac 11c.

Usage

from robovac.robovac import Robovac

my_robovac = Robovac('ROBOVAC_IP', 'ROBOVAC_LOCAL_CODE')

# Cleaning modes
my_robovac.start_auto_clean()
my_robovac.start_edge_clean()
my_robovac.start_single_room_clean()
my_robovac.start_spot_clean()

# Set cleaning speed
my_robovac.use_normal_speed()
my_robovac.use_max_speed()

# Stop cleaning
my_robovac.stop()

# Return to charging base
my_robovac.go_home()

# Activate "find me" mode, plays a tone until deactivated
my_robovac.start_find_me()
my_robovac.stop_find_me()

# Move in a given direction
my_robovac.go_forward()
my_robovac.go_backward()
my_robovac.go_left()
my_robovac.go_right()

# Get RoboVac status
my_robovac.get_status()

Local code

The API authenticates with the Robovac using a unique local code. This is a 16 character string that's unique to the RoboVac. Currently, the easiest way to find this code is to connect to your Android phone via ADB, and run Logcat while running the Eufy Home app.

You can then search through the log output for "localcode" to find the local code for your device.

Notes & Acknowledgements

This library can only be used when on the same LAN as the RoboVac. The library has only been tested with the Eufy RoboVac 11c. It may or may not work with other models.

Thanks to @mjg59 for his work on decrypting packets received from Eufy devices. See it here: google/python-lakeside

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robovac-0.0.5.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

robovac-0.0.5-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file robovac-0.0.5.tar.gz.

File metadata

  • Download URL: robovac-0.0.5.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for robovac-0.0.5.tar.gz
Algorithm Hash digest
SHA256 53f93ff24ff1e364fe1c6238981143dafa64ed66daae28c2032c0710a88969c8
MD5 7a0cefb97ae1a719439f90107c2dba37
BLAKE2b-256 1e6ca7d98e41cfea62a686a97dfa8ddc4a2d8e127f59d4f9af4f15923c395805

See more details on using hashes here.

File details

Details for the file robovac-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: robovac-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for robovac-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2fc27424fd538e03c9c7e75027e9d8dc40cf7edb6d8f7655122564b9d8391e31
MD5 96fce281dc706968040fce5ea826a73d
BLAKE2b-256 e747a52ea220ce8f5c2066ff48b4589b236928ccd148ecc6dbf24d11bb2926a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page