Python API for communicating with Eufy RoboVac 11c devices
Project description
PyRobovac
Python library for controlling the Eufy RoboVac 11c.
Requirements
PyRobovac requires Python 3.6+. All other requirements should be installed by Pip.
Usage
from 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. In order to
retrieve this code, the Eufy API can be used. The get_local_code
function
has been implemented for this purpose
Currently, the IP address provided must match the RoboVac's IP in order to find the local code.
get_local_code
from robovac import get_local_code
my_robovac_local_code = get_local_code(my_eufy_username, my_eufy_password, ip_of_my_robovac)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file robovac-0.0.9.tar.gz
.
File metadata
- Download URL: robovac-0.0.9.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fea14b51197d037808112ac30aaa66a7de230364f94a183d0897fc76755e29f |
|
MD5 | 62afbdb9f1fcbf99f5ef297d7522f53f |
|
BLAKE2b-256 | f459fc46abe5424125de61ca793520944d7d9f2e11711684f540228519457dd1 |