This gist is an example of how to use home assistant to reload the map of the vacuum
How to setup the vacuum side of things
- You will need to copy the
recovery_map.sh
to/mnt/data/valetudo/recovery_map.sh
on the vacuum - Create the backup folder
mkdir -p /mnt/data/rockrobo/backup/
- Run a complete clean or manually steer the vacuum around the entire house. After finishing the tour, return the vacumm to the dock.
- Copy the base map to the backup folder
cp /mnt/data/rockrobo/last_map /mnt/data/rockrobo/backup/
and the charger poscp /mnt/data/rockrobo/ChargerPos.data /mnt/data/rockrobo/backup/
In order for home assistant to reload the map, it will need the ssh key to be able to login to the vacuum. To triger the reload map function, use the automation and restore the map once the vacum has been on the dock for a certain amount of time. AFter this time home assistant will run the shell script.