Skip to content

peeym/ha-oref-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

HA Oref Alert 🚨

Home Assistant automation for Pikud HaOref (Israeli Home Front Command) rocket alerts with visual light signals.

When a real-time rocket alert is active for your configured area, all color-capable smart lights turn red. When the alert ends, lights flash green and restore to their previous state.

What It Does

Automation Trigger Action
Lights RED Alert active Snapshot current lights → all lights RED
All Clear Alert ends Green flash → restore previous state
Pre-Alert Pre-alert warning Orange flash x3 → restore
Pre → Alert Pre-alert escalates Immediately go RED
Pre Clear Pre-alert ends Dismiss notification

How It Works

  • Pure YAML automations — no custom code
  • Uses the oref_alert HACS integration
  • Snapshots light state before changing, restores after all-clear
  • Persistent notifications in HA dashboard during alerts

Requirements

  • Home Assistant with HACS
  • oref_alert integration installed via HACS
  • Color-capable smart lights (Zigbee, WiFi, etc.)

Installation

See SETUP.md for step-by-step instructions.

Quick version:

  1. Install oref_alert from HACS
  2. Configure your location
  3. Paste automations from automations.yaml into HA
  4. Test by manually setting sensor.oref_alert to alert

Customization

Edit automations.yaml to:

  • Change target lights (replace entity IDs with your own)
  • Adjust colors or brightness
  • Modify flash patterns
  • Add additional actions (sirens, TTS announcements, etc.)

License

MIT

About

Home Assistant automation for Israeli rocket alerts (Pikud HaOref) with visual light signals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors