Home Assistant Red Alert Automations

Home Assistant automations for Oref Alert integration with TTS announcements for red alert events in Israel

About This Project

This project is a Home Assistant automation system that responds to rocket alerts issued by Israel's Pikud HaOref (Home Front Command) through the Oref Alert integration. When an alert is triggered, the automations pause and clear any playing media on a PA or multi-room audio system, play an airport-style chime followed by a pre-recorded voice announcement, change RGB lights to an alert color (red, orange, or green), flicker lights and activate sirens for the alert phase, hold the alert color for three minutes, and then restore lights from scene snapshots and resume media playback. Separate automations handle preemptive early warnings, active alerts, all-clear notices, and a mass alert case triggered when more than 50 simultaneous alerts are active nationwide. Test automations with manual triggers allow the setup to be verified without waiting for a real event.

The system is built on Home Assistant YAML automations and relies on the amitfin Oref Alert integration for its binary sensor and area-specific data, including the country_active_alerts attribute and Hebrew preemptive warning text. It uses template triggers, scene snapshots, light groups, and media player actions that support announcements, and is tested with Snapcast through Music Assistant. Audio prompts were generated with OpenAI TTS. Entity IDs, media paths, and the mass alert threshold are designed to be customized through comments in each file.

The project is most relevant to Home Assistant users in Israel who want to add audible, visual, and audio alerting to their home for rocket and missile alerts. It may also interest developers building emergency-alert automations or others studying how Home Assistant can combine sensor states, scenes, and media players into coordinated notifications.

Project Details

Categories

Tags

pikud-haorefpreparednessred-alert

Explore More Projects