Close
0%
0%

Roborock S5 RPi Remote Controller

An example of how one can use python, python-miio, RPi, some electronics and woodworking to make remote controller for Roborock S5

Public Chat
Similar projects worth following
The project shown here is a snapshot of SW and HW that runs in my house so my whole family can use Roborock S5 without the smartphone app. The script is not that much generic so that you just snap in into your environment and run. Still, where it was not too demanding I have tried to stay as generic as possible. With these instructions you should be able to understand how it works and what you need to do to adapt it to your environment.
More details on the code and build instructions can be found at https://github.com/aleksandarzivkovic/roborock_remote

The idea is rather simple: python-miio library allows you to get the status of and control the Roborock S5 vacuum cleaner via the python script. You can easily run the following actions (the python-miio library can do much more but these are the ones important for us):

  • start the cleaning of the rooms with given IDs
  • abort cleaning and go to the charger
  • go to a predefined place for the vacuum maintenance
  • (I have almost forgotten) triggering the famous "Hi, I'm over here!" sentence

Around that features list I have added a UI in the form of Raspberry Pi, push buttons and LEDs mounted on the wooden panel with room symbols so my kids can use it.

This video shows how simple it is to start a cleanup of two segments. It also shows the log output of the Python script. Having this remote controller doesn't affect functionality of an official MiHome application nor does it require modification of the vacuum itself. The output of the MiHome application is shown at the top left corner of the video.

Before you start building something similar you should be familiar with the following skills:

  • setting up an Raspberry Pi - burning SD card, WiFi setup, remote ssh connection
  • wiring - IDC connector and flat cables
  • soldering - buttons, resistors and LEDs
  • woodworking - this depends on which material you will use for the housing
  • simple computer image editing (e.g. using Gimp) - for front panel drawings and printing

View all 12 components

  • 1
    WiFi setup

    Place a Raspberry Pi and the vacuum at the same WiFi network

  • 2
    IP addressing

    Find a vacuum IP address and fix the IP address of the vacuum. This can be done by checking the list of DHCP clients on your home router and fixing a vacuum IP address based on its MAC address

  • 3
    Vacuum token

    Get the vacuum access token. I recommend the method described here.

View all 7 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates