Skip to content

@mega-yfue/eufy-sdk / AutoSpotlightOptions

Type Alias: AutoSpotlightOptions

ts
type AutoSpotlightOptions = object;

Tunables for the "motion-activated light" (auto-spotlight): the spotlight lights up when the camera detects motion. The device takes the WHOLE config on every write — there's no isolated on/off — so these carry the scheduling knobs alongside the enable flag. Defaults mirror the app's; the current values can't be read back, so any field left unset is written as its default rather than preserved.

Properties

brightness?

ts
optional brightness?: number;

Spotlight brightness 1..100 when it triggers (default 50).


mode?

ts
optional mode?: number;

Scheduling mode (default 1).


time?

ts
optional time?: number;

Auto-off timer in seconds after the light triggers (default 30).

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.