Skip to content

eufy-mega / model/capabilities / AlarmDelaySeconds

Type Alias: AlarmDelaySeconds

ts
type AlarmDelaySeconds = typeof AlarmDelaySeconds[keyof typeof AlarmDelaySeconds];

Alarm-delay durations the app's OWN picker UI offers — AlarmDelaySeconds is both the const value-object (AlarmDelaySeconds.sec45) and the union type of its values, so callers pass the named constant: {delaySeconds: AlarmDelaySeconds.sec45}.

NOT a wire constraint — the device itself does NOT validate against this list: a live test sent 50 (off this list) and the app reflected it correctly, no rejection. Typed as a closed set anyway so setAlarmDelayConfig callers get the same choices a human editing the same setting in the app would see, rather than an arbitrary int that could silently diverge from every value the real UI can actually produce (and so a caller doesn't have to guess what's "sane" — these ARE all of them).

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.