Security Plan β Zero-UI Home Automation (2025)
Purpose
Provide awareness without chaos. Arming is explicit and minimal. Family experience must remain calm; security must not depend on cloud services.
Desired Outcomes
- Clear, few modes (home / away / optionally armed)
- Reliable detection from hardwired contacts and select motion; AI only filters, never decides
- Actionable, rate-limited alerts only when necessary
- Safe behavior when services or sensors fail
Signals
- Primary: hardwired door/window contacts; selected hardwired motion in perimeter/entry
- Secondary: camera AI classes (person/package/vehicle) as filters; network/phone presence as hints only
- Arming states: explicit, operator-set; never inferred from a single signal
Core Behaviors
- Mode handling: home/away/armed are explicit; no mode explosion
- Perimeter: door/window open in armed/away β actionable alert (rate-limited); in home β silent unless safety
- Entry delay (optional): short grace on primary entry door when armed; cancelled by disarm
- Motion (security zones): in armed/away, only if paired with perimeter trigger or high-confidence AI; avoid motion-only alerts
- Cameras/AI: used to filter/annotate events, not to drive primary actions
Lighting Interplay
- Security triggers may βassist onβ path lights (low impact) when armed/away; never override manual control
- No aggressive offs linked to security states; lighting follows occupancy rules
Notifications
- Allowed only when actionable: perimeter breach while armed/away; camera person/package/vehicle when armed/away; door left open in away after long timer
- Rate-limit and debounce every class; suppress repeats
- No motion-only or noise-only alerts
Fail-Safes
- Cloud/AI down β ignore those signals; rely on hardwired sensors only
- Sensor stale/offline β no false vac/arm; prefer silence and do nothing
- HA/MQTT restart β physical security (locks/contacts) unaffected; automations resume without manual reset
- Internet outage β local behavior intact; no alert spam
Rollout / Testing
- Observe: log security-relevant events; no alerts
- Assist: annotate events with AI classes; operator review only
- Alert: enable actionable, rate-limited alerts in away/armed; verify delays and paths
Naming Examples (one job per automation)
security.perimeter.alert_on_door_open_armedsecurity.entry.delay_and_disarm_windowsecurity.cameras.annotate_person_eventsecurity.away.door_left_open_suppression