Alarm: adjustable entry delay before activation, configurable per sensor

The Need

Gladys already waits before arming: it’s the exit delay, which gives time to leave the house. The symmetrical feature — the entry delay — is missing.

When you come home, opening the front door should not trigger the alarm immediately. You need a few tens of seconds to reach the keypad or your phone and enter your code. On the other hand, a window opening at the back of the house has no reason to benefit from the same delay: there, the triggering must be immediate.

Therefore, this setting should be adjustable down to the sensor — with a default value, so you don’t have to configure thirty sensors one by one.

What is Expected

  • A default entry delay, applied to all monitored sensors.
  • The possibility to redefine it sensor by sensor, including the value « immediate ».
  • A visible state during the countdown, distinct from « armed » and « triggered », with the remaining time and the sensor concerned.
  • Disarming during the countdown cancels everything, without anything being triggered.
  • The countdown is usable in a scene — to make a keypad beep or announce the remaining time vocally.

What it Would Look Like

DELAYS

Exit Delay                                         30 s
   Time left to leave the house after arming

Default Entry Delay                               30 s
   Applied to any sensor that does not have its own setting

Exceptions, per sensor                            + Add
──────────────────────────────────────────────────────────────
Garage Door                                            45 s
Kitchen Window                                    immediate
Living Room Motion                               immediate
┌────────────────────────────────────────┐
│  Alarm — Home                       │
│                                        │
│  ● Entry Delay              0:24    │
│    Front Door                      │
│                                        │
│  ┌────────────────────────────────────┐│
│  │          Enter the Code            ││
│  └────────────────────────────────────┘│
└────────────────────────────────────────┘

Questions to Decide

  1. Does the delay also depend on the mode? Many control panels trigger immediately in night mode, even on the front door: no one is supposed to come in at 3 a.m. Should there be a delay per sensor and per mode, or a delay per sensor with a « immediate in night mode » checkbox?
  2. What happens during the countdown? If another sensor, without a delay, is triggered during the 30 seconds — the intruder entered through the door then crossed the living room — does the alarm sound immediately, or does the countdown continue?
  3. Should the exit delay also become adjustable per mode?
  4. If a timed sensor is still open at the end of the exit delay, what does Gladys do?

Complexity and Dependencies

Medium. Depends on the request Alarm: declare monitored sensors and choose which are active in each mode: the delay is a setting carried by the alarm sensor, it does not exist before it.


This request is part of a set from the discussion Gladys Alarm System (need F04).