eufy-mega / model/capabilities / 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 pass what you want to keep.
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).