Skip to content

@mega-yfue/eufy-sdk / ArmingMode

Type Alias: ArmingMode ​

ts
type ArmingMode = typeof ArmingMode[keyof typeof ArmingMode];

The guard modes setMode can SET — every mode a station reports, all nine confirmed against real hardware. ArmingMode is both the const value-object (ArmingMode.home) and the union type of its values, so callers pass the named constant: setMode(ArmingMode.home).

The domain of setMode (cmd 1224) alone. The alarm-delay write (cmd 1255) carries its own mode integer on a separate wire and takes AlarmDelayMode, which stays NARROWER — evidence for one command is not evidence for the other, and 1255 still has no capture beyond its byte-captured three.

A mode belongs here only once its write is confirmed against real hardware, because a fire-and-forget wire makes a wrong mode look exactly like success; ARMING_MODE_WIRE carries the per-value evidence. The union is also what ARMING_MODE_WIRE is keyed by, so the table cannot name a mode this does not.

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.