Skip to content

eufy-mega / core/contracts / LockSettingsReader

Interface: LockSettingsReader

The lock-settings read boundaryGET_SETTINGS is a request/reply query (like a MediaProvider media op), not a passive property the device broadcasts, so it needs its own request/reply primitive rather than reusing the write-only CommandSink. Bound to one device serial (transport picked internally, P2P or MQTT, same as CommandSink), so methods take no identity args. Optional because an unbound model has no live client, and because only lock-family devices have one at all.

Methods

getAutoLockState()

ts
getAutoLockState(): Promise<LockAutoLockSnapshot>;

Read the device's current auto-lock settings via a live GET_SETTINGS round-trip.

Returns

Promise<LockAutoLockSnapshot>

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.