[RELEASE] Advanced House Security (Family Protection) – The Ultimate Peace-of-Mind Engine

Hey everyone,

I’m excited to share a project I’ve been working on: Advanced House Security.

I built this app because I wanted more than just a standard "Armed/Disarmed" alarm system. I needed a true "peace-of-mind engine" tailored specifically for family safety, toddler wandering prevention, and intelligent notification routing without the typical smart home spam.

Whether you need to monitor high-risk zones, track when the kids get home, or temporarily bypass the alarm to let the dog out at 2 AM, this app has you covered.

:eye: The "Eye in the Sky" Live Dashboard

One of the core features is the built-in Master Control dashboard. It provides a real-time "Eye in the Sky" view of your home's entire defensive perimeter.

  • System Status & Active Alerts: Quickly view your current mode, manual bypass status, and a dedicated table for active alerts (showing the exact time, source device, message, alert count, and duration). You can easily dismiss and clear these alerts with a button.
  • Recent Context Engine: A rolling timeline of the last 25 house events, which is crucial for verifying exactly when someone arrived or what triggered an alert.
  • Matrix View: A color-coded table showing the status of every monitored sensor, its assigned zone (e.g., Curfew, High-Risk, Perimeter), and what the engine's expected response is if breached.

:shield: Granular Zone Protection

The app breaks your home down into distinct zones, each with two fully customizable rule sets (allowing you to set different behaviors based on mode, specific times, or sunrise/sunset offsets):

  • High-Risk Boundaries: Dedicated monitoring for sensitive areas like pool gates, gun safes, or medicine cabinets.
  • Curfew Zones (Toddler Prevention): Designate specific doors that should never be opened during the night. If breached, it triggers a Critical Alarm.
  • Perimeter Setup & Left-Open Reminders: Standard monitoring for exterior doors and windows, complete with an outbound grace period. It also features proactive "Left Open" reminders that will alert you after a custom delay (e.g., 15 minutes) if a door or window isn't shut.
  • Smart Motion Tracking: Configure outdoor motion with weather/overcast overrides, and indoor motion tracking. The engine is smart enough to escalate a glass break event into a Critical Alarm if indoor motion tracks an intruder immediately afterward.

:loud_sound: Dynamic Audio Routing & Debounce

If you're tired of notification fatigue, this is for you.

  • Granular Zooz & TTS: Route specific alerts to specific Zooz chime devices or TTS speakers based on the exact event.
  • Time-of-Day Volume Scaling: Set a Standard Day volume, a Whisper/Quiet volume for night modes, and a 100% Emergency Overdrive volume for critical alerts.
  • Sensor Debounce: Built-in cooldown timers for motion and contact sensors to prevent your speakers from spamming you if a door is opened and closed repeatedly.
  • Quiet Hours Routing: Granular control over exactly what is allowed to make noise when the house is sleeping. You can mute standard motion alerts while ensuring Life-Safety and Curfew alarms still bypass the quiet rules.

:running_man: Individual Presence & Safe Transit

  • Configure personalized arrival and departure rules for up to 4 individuals.
  • Customize unique TTS greetings, push notifications, and Zooz chimes for each person.

:rotating_light: Life Safety & Emergency Evacuation

  • Integrates your smoke detectors, CO detectors, and panic buttons.
  • Evacuation Automations: If life safety devices are triggered, the system can automatically turn on standard lights, change RGB lights to a specific emergency color (like Red), unlock doors, and broadcast a custom evacuation TTS message at maximum volume.

:dog2: Quality of Life Features

  • Temporary Bypasses: Map a physical button or virtual switch to temporarily bypass specific doors for a set duration (perfect for letting pets out at night without waking the house).
  • System Health Watchdog: Runs a daily check and sends a maintenance push notification if any monitored sensor battery drops below 15%.
  • Dashboard Integration: Optionally creates a Virtual Child Device that outputs real-time activity and context events so you can easily read the system state on external dashboards.

I hope some of you find this useful for your own setups!

Free to use, free to edit, free to take code for your own projects. If there are any features you would be interested in having added, feel free to let me know.

App:
raw.githubusercontent.com/ShaneAllen334/Hubitat_Apps/refs/heads/main/Advanced_House_Security/Advanced_House_Security.groovy


Just be aware that Hubitat does not market their hub as a security device and have explicitly said that you should not rely on it for critical life functions.

7 Likes

Bug fixes for Advanced House Security are available on Github.