Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from ValetudoRE to Valetudo #493

Open
backupandforkacc opened this issue Sep 20, 2022 · 4 comments
Open

Switch from ValetudoRE to Valetudo #493

backupandforkacc opened this issue Sep 20, 2022 · 4 comments

Comments

@backupandforkacc
Copy link

I would like to use the companion app valerion, but it does not work with ValetudoRE. What is the best way to switch to Valetudo?

@pidator
Copy link
Contributor

pidator commented Sep 20, 2022

You're asking in the wrong repo... if you want to know how to install valetudo vanilla you'll probably have to look there, but I guess a factory reset and you're good to go from scratch.

@backupandforkacc
Copy link
Author

I successfully this guide:
S5, V1 and S6

If you’re using an S5 or V1, the recommended way to upgrade Valetudo is to flash a new image. This requires you to have SSH access to the robot.

Select the Build for manual installation (requires SSH to install) option in the [Dustbuilder](https://builder.dontvacuum.me/). You will then receive a link to a tar.gz archive by email.
Login to your robot via SSH.
Download the tar.gz file to the /mnt/data folder and extract it:

cd /mnt/data
wget <url to tar from dustbuilder>
tar xzf <file.tar.gz>

The robot has two systems, you cannot update a system whilst it is in use. You will be in system A by default, allowing you to update system B. Update system B (from system A) then reboot into system B:

./install_b.sh
reboot

Reconnect to your robot via SSH. You’ll now be in system B, allowing you to update system A. Update system A (from system B) then reboot back into system A for normal operation:

cd /mnt/data
./install_a.sh
rm -f <file.tar.gz>
reboot

Your robot should now be running the latest version.

@CrazYoshi
Copy link

CrazYoshi commented Dec 16, 2022

Hi,
I've updated ValetudoRE to Valetudo and I've forgot to remove the cleaning schedule before the update.
Now the robot starts cleaning according to the old schedule but I cannot see it from the Valeduto UI.
How can I remove the old cleaning schedule?

I think the robot has this schedule stored in /mnt/data/rockrobo/apptimer.cfg.

root@rockrobo:~# cat /mnt/data/rockrobo/apptimer.cfg
Y dndtimer_22_0_8_0_2 2 1 * 8,9,10,11,12,13,14,15,16,17,18,19,20,21 * * * dnd_stop
Y dndtimer_22_0_8_0_1 2 1 * 22,23,0,1,2,3,4,5,6,7 * * * dnd_start
Y 2Days15pm 1 1 0 15 * * 5 app_start_60

I've tried to delete the file but it automatically recreate that after a reboot.

Thanks in advance for your help!

@rand256
Copy link
Owner

rand256 commented Dec 17, 2022

As a proper solution, you may want to try sending a miio command to delete a timer. Command obviously is del_timer and timer_id is 2Days15pm, and a few tools to send miio commands can be found around the internet.

More rude variant is to stop (actually, kill) roborock services on the device and then remove the apptimer.cfg file. Content of this file is loaded into memory of the AppProxy app (if i recall correctly) so it gets overwritten when you try to remove it while the service is running. But if you kill the service, it shouldn't be able to recreate the file. And then just restart the system to get required services back again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants