New findings in the Viomi map format #966
Locked
halfbakery
announced in
zzz_Archive
Replies: 1 comment
-
Great! It would be awesome if you could update the kaitai struct with your findings: For testing, just throw that + a sample map file into https://ide.kaitai.io/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a Viomi V2 Pro (viomi.vacuum.v6) owner, and I created a Viomi map parser for https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/tree/dev_new_api based on your excellent documentation. During the implementation I've found some new information which I'd like to share:
featureFlags
word or dword, followed by themapId
field. It seems themapId
value is the section header magic. I don't know whether it's version specific or random (my findings are based on just some maps, but I've never ever seen the same value). All of the time I've found thefeatureFlags
0x78ff and the map exactly has 12 sections. ThemapId
at offset 4 is the magic of the robot status section.0
/255
: the same as you found1
: scanned but unreachable area2
: I couldn't find its meaning, but found on many maps[10 ... 59]
: room_id[60 ... 109]
: rooms selected/under cleanup,room_id = value - 50
Beta Was this translation helpful? Give feedback.
All reactions