Custom component to control/automate Weback robot vacuum cleaners. The code used some ideas from other repositories (https://github.com/Jezza34000/weback and https://github.com/opravdin/weback-hass). But the main process required decompiling the weback APK file in order to analyze the source code and also doing a man in the middle attack between the android app and the remote server using a custom (fake) certificate in order to analyze the network traffic unencrypted (TLS and WSS websockets).
It has been tested only with the following robots:
- ABIR xs-x6
- Tesvor X500
But should work with many (most) weback controlled robot vaccuum cleaners. Please, let me know if your device is supported. This Home Assistant custom component was quite hard to create because of the complex reverse engineering process that took me several weeks of work.
First of all, install the component in your Home Assistant by copying the weback_robot_vacuum directory inside your Home Assistant's config/custom_components/ directory.
Add the following to your Home Assistant configuration.yaml file:
weback_robot_vacuum:
username: <your WeBack email>
password: <your WeBack password>
region: <your country phone code> (e.g. for Argentina the code is 54).
Restart Home Assistant and you should see your vacuum robots available as new entities. From there you can simply add the vacuum to your dashboard in order to start/stop/return home/clean spot/ etc. etc. or create your own new automations.
Hope you enjoy it and please, consider buying me a cold beer 🍺.