Closed shanks3042 closed 2 months ago
I also had a similar issue at some point where all of a sudden, the map was broken and would not show anymore.
I suspect it is related to the fact that the map 'values' are supposed to be compressed. At some point my robot stopped sending compressed values (or it never did - I played with it so much that I cannot be sure anymore and I didn't save logs) even though I never upgraded its firmware.
Additionally, the 'center' value is missing in our case, so I think we would have to compute it from the existing values.
I did a very dirty adaptation to the code to get it to at least show the map and be able to use rooms in my case (basically skip decompressing and compute the center). I haven't tested nogo zones or editing the map though. I'm not currently in front of my PC, I will try to find the time to post a draft in the next couple of days.
That would be very helpful
It's a dirty hack that still has debugging lines, but this is what I did to get the rooms to show up: https://github.com/m8schmit/ecovacs-stack/commit/793256298fd846be312a968b129215185aaf3e08
I believe no-go zones work, although I'm not entirely sure (let me know if you test it).
Editing the map still doesn't work for me though.
I can also see some lines pointing to each room that all converge to a point outside of the screen, so something else must still be wrong.
Thanks, seems to be working so far :)
The error results in the LZMA_FORMAT_ERROR. Because there is no catch in that code block this leads to
Child got SIGTERM, exiting
and thus the webinterface is not loaded (at least not the map).A small workaround to at least get the map to load was adding the catch statement in the mqttClient.ts file . But this leads to the problem that only the map loads but no map features are available.
What's not working:
Here is one example of a response that leads to the issue.
Do you have any tips how I can fix this? I would gladly fix this but I don't really know where to start so any help is appreciated.