-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Feature Request: a way to save/restore all configuration to/from the local computer #41
Comments
Yes, such universal backp/restore is missing and could be not that easy to implement inside valetudo. For now I'd suggest at least the following:
In case of reset, just put all files back to /mnt/data/valetudo and type Also you might be interested in saving some files from /mnt/data/rockrobo as well:
After replacing those it's better to reboot the device or issue |
@MadJoker0815 More advanced ways for other needs:
Do the following on YOUR PC Save the following lines as script e.g. The following lines will create the directory
!!! BE CAREFUL !!!
|
Hey Rand256 what do you mean with map saving state? lab.cfg - map saving state in gen2 |
That's persistent map option value stored there, map won't be saved if there is no "1" in that file. |
I just got bit by this. I recently moved my S6 to a portion of the floor plan that had been inaccessible to the robot until recently; think temporary partition like a child / pet fence. I placed the robot down on the floor just on the other side of where the fence had been and went to check through the web UI if I had already created a name for the region or not. While in the web UI, i accidentally clicked the "return to dock" button. After a few seconds, the robot vocalized: "error positioning, invalid map". I checked the web UI and the entire map has been reset. All my existing zones/segments are no more and i'll have to wait until the entire floor is clear of obstructions so i can send the robot around to do a "full" cleaning/map discovery. A "upload backup archive" function would have been really helpful :(. I do not expect any backup/restore function to support moving configuration across robots! Given that Valetudo now has a more scalable architecture where generic attributes/abilities are implemented via device-specific code, perhaps the device specific code can be updated w/ the list of files/dirs to be backedup / restored? It appears that this may already be the case. |
Your problem could've been easily solved with a map save and and map reload (on home tab). All zones and segments will be saved too while "saving" the map. |
Can you show me a screenshot of this save button? I've got nothing like it anywhere in the Valetudo UI. Or were you speaking hypothetically about how a feature could be implemented? I don't understand why, but rebooting the vac was enough to restore the map. ¯_(ツ)_/¯ |
I ran into a similar issue - trying to get the vac to access an area the robot saw as inaccessible. The problem: A door to a little used room was closed at some point. I sent the robot to clean an adjacent room/area and the robot saw the closed door and marked it as a hard barrier (wall) on the map. After opening the door, I tried to send the robot to that room to clean, but the robot said unable to reach the target. The fix: I simply opened the door and manually drove the robot into the doorway, then drove it in a circle several times, and then back and forth through the doorway until I saw that the robot had scanned the area and the “wall” had disappeared. For a test, I repeated the door closed/try to clean process and was able to repeat the manual drive scan to remove the barrier. I do have the map, zones, etc saved via the UI, but manually driving the robot to force a scan |
You'll first have to enable the feature in settings / web interface / show multimap buttons, then you'll get two new buttons on home tab:
You can get to robot to drive thru the closed door by simply creating a zone at the closed door (one part in the still reachable area, the other part on the other side). While cleaning the zone the door will "be opened". |
@pidator Thanks! I don't have a specific FWIW, i'm running |
Then please for God's sake read at least the Preamble paragraph in REAME.md and understand that this is the repo for the old fork. |
You're running valetudo vanilla |
sigh. Who let me out on the internet!? Apologies. |
As for me, my robot reflashed it self after about 1 Month of operation.
I ran 003468 on my Gen1 and current veletudo.conf with Valetudo RE7.1.
After reflashing all maps and zones are gone.
Here a backup/restore function to save all configuration to the local PC would be nice.
It should copy the zones, saved maps, timers and maybe other settings what can be done.
This way it is easy to go back to the full working operation without having to rerun the whole procedure of creating maps, zones and settings.
The text was updated successfully, but these errors were encountered: