Skip to content

@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;

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.