A useful telegram bot to control Xiaomi Vacuum Cleaner V2.
The Xiaomi Vacuum Cleaner V2 has the new cleaning zone feature. This is awesome and very helpful! But unfortunately each time the cleaning zone must be reconfigured for certain rooms. That is time-consuming and annoying. It would be nice if I could just tell Roborock, "Clean the living room.".
- Install the python packages python-telegram-bot and python-miio
- Get your token from the Roborock (see python-miio.readthedocs.io)
- Create a telegram bot with BotFather.
- Clone or download the XiaomiVacuumCleanerTelegramBot.
- Make a copy of the file
example_config.json
->config.json
. - Insert the Roborock and Telegram Bot token into
config.json
. - Insert the Roborock IP address into
config.json
- Insert your cleaning zones (doors, rooms, areas) in the
config.json
. - Start the telegram bot with
main.py
.
- Start your Telegram Bot with
/start
. - Follow the menu.
- Enjoy 😄
Feel free to add an issue or an pull request.