Skip to content

@mega-yfue/eufy-sdk / LockActions

Type Alias: LockActions

ts
type LockActions = Surface<typeof LOCK_MEMBERS>;

Bound lock controls — the object returned by dev.lock().

Everything is DERIVED from LOCK_MEMBERS. lock/unlock and the setting toggles drive any lock-family actuator — currently the T8531 video smart lock and the T85D0 garage door, which share one actuation frame. This module emits ONE transport-neutral intent (identity fields only, no wire bytes, no cipher, no routing key) and names no transport: the command sink routes P2P vs MQTT by the device's topology, and the chosen transport's command router builds the frame + envelope and re-resolves its own routing tail. Which pipe it is does not reach dev.lock() — its surface is identical either way, the same way P2P-vs-cloud is hidden for live media.

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.