Roborock S50 rooten

Roborock neu bespielen nach Reset

https://github.com/Hypfer/Valetudo/wiki/Installation-Instructions

Firmware-image besorgen: https://dustbuilder.xvm.mit.edu/

pyton venv vorbereiten: apt install python3 python3-pip python3-venv

env erstellen:

mkdir flasher
cd flasher
python3 -m venv venv

env installieren

source venv/bin/activate
pip3 install wheel
pip3 install python-miio
cd ..

token bestimmen: mirobo --debug discover --handshake true

flashen: mirobo --ip 192.168.8.1 --token XXXXXXXXXXXXXXXX update-firmware firmware/output/v11_001748.fullos.pkg

token und flash mit awk/sed automatisieren?

Wifi setzen: http://192.168.8.1

#!/bin/bash
token=$(mirobo --debug discover --handshake true|grep -oP "(?<=token: b').*(?=')"
mirobo --ip 192.168.8.1 --token $token update-firmware v11_001886.pkg

upgrade valetudo