@mega-yfue/eufy-sdk / VacuumRoomOutline
Interface: VacuumRoomOutline
Which room each cell belongs to — the vendor's RoomOutline, with its plane decompressed.
Properties
cells
ts
readonly cells: Buffer;The room plane: one byte per cell, row * width + col, no padding — a different packing from VacuumMapPlane.cells, which the vendor states separately for each.
The byte is not the room id on its own. Its low two bits carry a sub-type and the id is the remaining bits, so the room at a cell is cells[i] >> 2.
height
ts
readonly height: number;mapId
ts
readonly mapId: number | undefined;origin
ts
readonly origin: MapPoint;Where this plane's cell (0, 0) sits, in centimetres.
Its own origin, not the map's. The two planes are not guaranteed to start at the same world position, so a room lookup under a map cell must convert through world coordinates rather than reusing the index.
releases
ts
readonly releases: number;resolution
ts
readonly resolution: number | undefined;width
ts
readonly width: number;