-
been playing around with the service call "vacuum_restore_map_from_file" to see how it affects the map system on the vacuum robot. I started by deleting all maps from within the dreame app then created a new map scan job. It looks like when succesfully calling the service "vacuum_restore_map_from_file" the map change is reflected on the "main" map page on the dreame app itself. What I mean is if I goto the map edit page on the dreame app, then another older map is presented and not the newly uloaded one I just did. When I look at the camera.vacuum entity I can see the saved maps are listed as under the dictionary: recovery_map_list Am I missing something here ? Although I was able to recover an older perfect golden map on my newly factory resat vacuum - how ?? If you want the steps for this they are: Then go into map edit on the dreame app, then create an extra backup. you will use this map as a base for the modification. now open the initial tbz2 in 7zip (windows). the initial tbz2 contents is: (15 is map_id, it will vary in your case) original golden map content is: you will need to modify the initial tbz2 file (do it on a new file copy eg.)
in other words: then upload the modified file to the vacuum using .. doing these steps and I am able to have my old map even through a fact. reset procedure. EDIT: I just found a useful workaround for having the newly uploaded locally stored map appear in the map editing section of the dreame app. vacuum bot: l10s ultra |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Is there anything I can do about this? |
Beta Was this translation helpful? Give feedback.
-
sorry for the late reply. Well I did seem to conclude that the "map_id" + the the other attributes related to downloading the map on the camera.xyz entity did not reflect the actual state. This happened when I did changes to the map in the official Dreame android app. Easy to repro. just create a new backup map in the dreame app. They way I circumvented that was merely to reload the Dreame hass integration in hass. Then all the data attributes of the camera entity would be spot on and actual. Onto the actual case itself... If we could somehow remove the mundane manual steps involved with preparing an old map archive that the enduser would want to reapply on a vacuum setup that now has a non matching map_id ? I guess your integration could take care of this by applying hese changes on the fly on the archive itself in order to artificially keep the map_id of the archive 100% in sync with the actual current map_id of the vacuum. It's just a matter of renaming the previously named folders etc. within the archive I tried comparing the older dat file to the new one in the most recent archive. I guess this could be automated by your integration as well. Atleast I have the manual steps on how to go about. |
Beta Was this translation helpful? Give feedback.
I won't add anything to the integration can potentialy break your device. Modifying a packaged achive and uploading to device a modified store file can result a boot loop and potentially soft brick your device. These devices are really built to be made to be at low cost that means software is very badly implemented and there is no checks for unexpected values in anywhere even api requests. Also you cannot expect this can be a thing tested by any engineer who built the device so if anything goes wrong you will probably have a very expensive brick. Not to mentioning there are more than 5 generation of devices which has different capabilities related to the map data so your solution might no…