Richard Mitchell c5f392c631 Tuya 3.3 support (fixes #3)
* support tuya 3.3 protocol
* Switch argument order
* Debug logging for demo
* Home Assistant config changes
* Vacuum has a 'power' property
* Formatting changes
* Improve Tuya message repr
* Include socket error in error output.
2019-09-07 20:24:16 +01:00
2019-09-07 20:24:16 +01:00
2019-04-14 19:00:35 +01:00
2019-09-07 20:24:16 +01:00
2019-04-14 19:00:35 +01:00

Eufy Robovac control for Python

Work in progress!

Installation

Pre-requisites:

  • openssl (used for encryption)
git clone https://github.com/mitchellrj/eufy_robovac.git
cd eufy_robovac
python3 -m venv .
bin/pip install -e .

Demo usage

bin/demo DEVICE_ID IP LOCAL_KEY

The demo:

  • connects to your device,
  • prints its state out,
  • starts cleaning,
  • waits 30 seconds,
  • sends the device home,
  • waits 10 seconds,
  • disconnects & exits

Home Assistant integration

EXPERIMENTAL!

Copy the contents of the eufy_robovac folder to custom_components/eufy_vacuum in your home assistant configuration directory. Then add the following to your configuration file:

eufy_vacuum:
  devices:
  - name: Robovac
    address: 192.168.1.80
    access_token: YOUR LOCAL KEY HERE
    id: YOUR DEVICE ID HERE
    type: T2118
Description
Control a eufy robovac with a python script :3
Readme 126 KiB
Release v1.2 Latest
2025-09-12 05:15:42 +00:00
Languages
Python 99.1%
Shell 0.5%
Dockerfile 0.4%