Valetudo is the roman name for the greek goddess Hygieia which is the goddess of health, cleanliness and hygiene. Also I’m bad at naming things.
No. We know what caused them, and it’s not happening anymore.
To add some context:
Roborock V1 and Roborock S5 up to firmware version 1898 hat an issue with random factory resets. This only applies to these two models of vacuum robot. Nothing else.
Those resets were caused by the watchdog of the firmware sometimes noticing that there was less free ram than expected, due to Valetudo running on the vacuum. This set a “broken” flag for the partition and if on the daily reboot both system A and B were flagged, the robot would reset itself to factory defaults.
This isn’t happening anymore on the S5 FW 2008+ due to roborock having optimized their software quite significantly so that they could manufacture the S5 Max with only 256MB RAM as opposed to the 512MB on the S5.
However we’ve also found a mitigation which prevents this issue from appearing on the V1 which hasn’t yet received the new and memory-optimized roborock firmware code.
If you build your firmware with the fix reset option (on by default), it will contain a script that on each reboot checks both System A and System B for the “broken” flag and unsets that.
Therefore, it will never have two “broken” flags, unless stuff is actually broken.
Yes. Simply reset your robot to factory defaults.
No. Valetudo removes the connection to Xiaomi’s cloud, which the Mi Home app relies on, and thus it won’t work anymore. This is by design to improve your privacy. You should be able to do anything you want to do, also on phones, by just connecting to your vacuum’s IP address through your browser. It will open an user-friendly control interface.
Because it’s language is set to Chinese!
/mnt/default/roborock.conf and change
The python-miio project offers a commandline tool to communitcate with the robot. This can upload a language pack and install the sound file in your preferred language.
Download the language pack
Go to https://dontvacuum.me/robotinfo/ and check out the links in “Soundfiles” column.
For this the following packages need to be installed:
Setup a python virtual env:
mkdir miio cd miio python3 -m venv venv
source venv/bin/activate pip3 install wheel pip3 install python-miio
Now you can install the sound pack with:
mirobo --ip <ip> --token <token> install-sound /path/to/<lang>.pkg
tail -f /var/log/upstart/valetudo.log
printf $(cat /mnt/data/miio/device.token) | xxd -p
Since v0.3.0 Valetudo now use the cloud interface and that requires the robot to be provisioned (wifi configured). Therefore, the map will not be displayed in AP mode! Ensure you added your device to your own wifi network. In AP mode, a map will nevertheless be created, that map can later be displayed once connected to the wifi network.
By default, the robot will generate a new map on each clean, and it is likely this will void any saved zones.
For Gen1, the only way to mitigate this is to not use full cleans, as the feature to save maps is not supported. Perform a full clean once for the map to be created, then create zones that you can use individually.
For Gen2, you can enable persistent maps on the device by opening up Valetudo, navigating to Settings > Persistent data and enabling the feature.
It’s also possible to do this using the
mirobo --ip <ip> --token <token> raw-command set_lab_status 1 # Enabling the lab status allows advanced commands to be issued mirobo --ip <ip> --token <token> raw-command save_map # Enable persistent maps!
The sensors don’t wear out, but Xiaomi recommends cleaning them after each 30 hours of vacuuming as they collect dust. This includes four cliff sensors on the bottom and the wall sensor on the side of the robot. Just reset the sensor consumable after cleaning.
Flashing via the local OTA method is only possible with older firmwares, since newer ones don’t allow that anymore.
If your robot is older than 2019-09, you can simply factory reset and then install Valetudo.
However if your robot is newer and already came with a non-flashable firmware from the factory, you’re pretty much out of luck. Installing Valetudo on such devices requires disassembly and thus voiding the warranty.