Tailscale provides a simple to setup and use private network. I've just starting using this on my home network for home assistant and valetudo. Here are the instructions for setting up Tailsclae on the roborock vacuum.
For official tailscale installation see here: https://tailscale.com/download/linux/static
To install tailscale on the vacuum, download the latest release for arm 32. Untar the release
wget https://pkgs.tailscale.com/stable/tailscale_1.0.5_arm.tgz
tar xvf tailscale_1.0.5_arm.tgz
Copy the two binary files to the vacuum.
scp tailscale_1.0.5_arm/tailscaled [email protected]:/usr/local/bin/tailscaled
scp tailscale_1.0.5_arm/tailscale [email protected]:/usr/local/bin/tailscale
Copy the upstart script (see below) to the vacuum and reboot to start the service
scp tailscaled.conf [email protected]:/etc/init/tailscaled.conf
sudo reboot now
Get a token:
sudo tailscale up
There has been a recent blog post on how to install tailscale on the Z10 Pro.
I wanted to make the updating procedure easier, so I made a small script, which will grab the current version, unpack, move the files, and reboot the robot. It can be set as a chronjob for every week.
IMPORTANT: tailscale will be down during running this, so execute this script only through normal ssh
If you want to do this using tailscale ssh, you can execute something like
sh -c 'sleep 10 && sh /data/tailscale_download_script.sh' &
. Then exit the ssh session and wait.The script can look something like this: