Skip to content

eufy-mega / core/contracts / LockAutoLockSnapshot

Interface: LockAutoLockSnapshot

Decoded auto-lock settings, read off the device's settings reply (the response tag map: a1=enabled, a2=delaySeconds, a3=isSchedule, a4/a5=schedule start/end). These are the SAME fields setAutoLock already reads internally to preserve them on a write — this is that read, exposed standalone with no write attached.

Properties

delaySeconds

ts
delaySeconds: number;

Auto-lock delay, in seconds.


enabled

ts
enabled: boolean;

Whether auto-lock is currently enabled.


isSchedule

ts
isSchedule: boolean;

Whether the schedule window is active.


scheduleEndTime

ts
scheduleEndTime: [number, number];

Schedule end, [hour, minute] — read back verbatim, not independently validated.


scheduleStartTime

ts
scheduleStartTime: [number, number];

Schedule start, [hour, minute] — read back verbatim, not independently validated.

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