Skip to content

@mega-yfue/eufy-sdk / ArmingMode

Variable: ArmingMode ​

ts
const ArmingMode: object;

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.

Type Declaration ​

away ​

ts
readonly away: "away" = "away";

Armed — full protection, nobody home (wire value 0).

custom1 ​

ts
readonly custom1: "custom1" = "custom1";

Custom 1 — a user-defined posture configured in the app (wire value 3).

custom2 ​

ts
readonly custom2: "custom2" = "custom2";

Custom 2 — a user-defined posture configured in the app (wire value 4).

custom3 ​

ts
readonly custom3: "custom3" = "custom3";

Custom 3 — a user-defined posture configured in the app (wire value 5).

disarmed ​

ts
readonly disarmed: "disarmed" = "disarmed";

Disarmed — no alarms; sensors still report state (wire value 63).

geo ​

ts
readonly geo: "geo" = "geo";

Geofenced — the station follows the app's location-based rules (wire value 47).

home ​

ts
readonly home: "home" = "home";

Armed for occupancy — reduced/perimeter protection while home (wire value 1).

off ​

ts
readonly off: "off" = "off";

Off — the station's alarm system is switched off entirely (wire value 6).

schedule ​

ts
readonly schedule: "schedule" = "schedule";

Scheduled — the station follows the timetable configured in the app (wire value 2).

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.