@mega-yfue/eufy-sdk / AlarmDelayMode
Variable: AlarmDelayMode
const AlarmDelayMode: object;The modes the alarm-delay write (cmd 1255) accepts a mode_id for — the three guard modes whose wire integer is byte-captured.
A domain of its own, because the two mode integers ride different commands: setMode writes mode_type on cmd 1224, and cmd 1255 carries mode_id. Neither wire validates the integer, so each union IS its command's gate, and evidence for one is not evidence for the other. custom1 is confirmed on 1224 only; 1255 has no capture carrying mode 3, and no known GET to read one back — the app's own replies {count:0,data:null} — so it is absent here. Narrower than ArmingMode by exactly that value.
Type Declaration
away
readonly away: "away" = "away";Armed — full protection, nobody home (wire value 0).
disarmed
readonly disarmed: "disarmed" = "disarmed";Disarmed — no alarms; sensors still report state (wire value 63).
home
readonly home: "home" = "home";Armed for occupancy — reduced/perimeter protection while home (wire value 1).