-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Improperly formatted map data (again) #388
Comments
RE version sends to MQTT mapdata packets in the same untouched format they are received by valetudo from the device. Hypfer's version unpacks mapdata packets, parses them and re-packs them again into a different format, and only then they are sent to MQTT. Because of that you can't use mapdata from RE where it is supposed to be taken from Hypfer's and vice versa, and this can't be resolved. |
Thanks a lot for the quick response!
As I understood - that's the part where the/your errorlog from the container:
|
The error you see is caused by the mapper tries to parse mapdata as a plain JSON. As seen here, the proper binary mapdata from RE must begin with bytes [0x1f, 0x8b, ...] - otherwise it's assumed to be JSON. So the question is whether you are completely sure that the current mapdata in MQTT is up to date value generated by RE release and not some older cached value? |
I can't be 100% sure (to be honest), but I am confident that it is new data, because I let the vacuum run and this resulted in a fresh stream of data. Thanks. |
There're none actually. Even ntp is needed only for gen3 devices to have scheduled cleaning start at proper time. |
mosquitto 2.0.7-1 (archlinux)
|
Same issue here, brand new Roborock S6 with Valetudo RE 0.10.5 and valetudo-mapper 0.2.0. |
You start by using valetudo-mapper current master - not years outdated 0.2.0 release. |
Thanks a lot. I did not recognize that the released zip file was that old. OK, so now I get stuck at this:
The log file does not seem to offer additional information. |
Hi,
I finally wanted to get the map-integration get running in my home-assistant installation.
For now I used the valetudo from Hypfer and switched to this fork 2 days ago.
I also have the same trouble like here: #150
My setup:
Gen1 / Valetudo RE v0.10.4 / NodeJS 12.20.1
current log (
mosquitto_sub -h "127.0.0.1" -t "valetudo/miepmiep/#" -p 1883 -v
)Used Mapper:
docker-image:
rand256/valetudo-mapper:latest
(pulled yesterday)Since I use both ran256-implementations I assume they should definitely work together.
2 days ago I got the original Valetudo working by disabling the base64encoding (?). (
mqttInputHomeassistantMapHack
?)Then I got the map through to home-assistant. However it didn't get updates that was the reason to switch to Valetudo Re.
How can this get resolved?
Do you need other information?
Thanks in advance!
kollaesch
The text was updated successfully, but these errors were encountered: