Skip to content

eufy-mega / model/capabilities / AlarmDelaySeconds

Type Alias: AlarmDelaySeconds

ts
type AlarmDelaySeconds = object;

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).

Properties

min3

ts
readonly min3: 180 = 180;

min5

ts
readonly min5: 300 = 300;

off

ts
readonly off: 0 = 0;

sec15

ts
readonly sec15: 15 = 15;

sec30

ts
readonly sec30: 30 = 30;

sec45

ts
readonly sec45: 45 = 45;

sec60

ts
readonly sec60: 60 = 60;

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.