ABC Emergency - Real-time Australian Emergency Alerts for Home Assistant

Stay safe this bushfire and storm season with real-time emergency alerts in your smart home.


G’day everyone! :wave:

With bushfire season well underway and increased storm and flood risks, I wanted to share an integration I’ve been working on that brings ABC Emergency data directly into Home Assistant.

What is it?

ABC Emergency for Home Assistant monitors real-time emergency incidents across Australia and enables smart home automations that could genuinely help keep you and your family safe.

Add to HACS


Check out the frontend friend for this at Polygons on Maps & Australian Emergency Alerts - Share your Projects! / Dashboards & Frontend - Home Assistant Community

:fire: Key Safety Features

Three Monitoring Modes

Mode Best For How It Works
State Mode Overview Monitor all incidents in a state/territory
Zone Mode Your home Alerts within configurable radius of fixed locations
Person Mode Family safety Track alerts near family members as they move

Australian Warning System Integration

The integration uses official warning levels:

  • :red_circle: Emergency Warning - Act immediately, you may be in danger
  • :orange_circle: Watch and Act - Conditions changing, take action now
  • :yellow_circle: Advice - Incident occurring, stay informed

Point-in-Polygon Containment Detection

This is the feature I’m most proud of. Traditional alerts tell you “bushfire 15km away” - but what if you’re actually inside the warning zone polygon, even though the centre is far away?

Containment detection tells you when you’re physically inside an emergency boundary, not just near it. This matters because:

  • Large bushfire zones can span 50+ kilometres
  • Weather warnings cover entire regions
  • Flood zones follow rivers with irregular shapes
  • You could be “50km from the centre” but directly affected

The integration fires events when you:

  • Enter an emergency polygon
  • Exit an emergency polygon
  • When severity escalates while you’re inside (e.g., Advice → Emergency Warning)

:house: Smart Home Automation Ideas

Here’s where it gets interesting. Some automations that could genuinely help:

Bushfire Protection

# Activate bushfire deluge system when Emergency Warning detected
automation:
  - alias: "Bushfire Deluge System"
    trigger:
      - platform: state
        entity_id: binary_sensor.abc_emergency_home_inside_emergency_warning
        to: "on"
    condition:
      - condition: template
        value_template: >
          {{ state_attr('binary_sensor.abc_emergency_home_inside_emergency_warning', 'incidents')
             | selectattr('event_type', 'eq', 'Bushfire') | list | length > 0 }}
    action:
      - service: switch.turn_on
        target:
          entity_id: switch.bushfire_deluge_system
      - service: notify.critical_alerts
        data:
          title: "DELUGE SYSTEM ACTIVATED"
          message: "Bushfire Emergency Warning - deluge system running"

Smoke Prevention

# Close windows and shut down HVAC during nearby bushfire
automation:
  - alias: "Smoke Prevention Mode"
    trigger:
      - platform: event
        event_type: abc_emergency_entered_polygon
    condition:
      - condition: template
        value_template: "{{ trigger.event.data.event_type == 'Bushfire' }}"
    action:
      - service: cover.close_cover
        target:
          entity_id: cover.all_windows
      - service: climate.turn_off
        target:
          entity_id: climate.home
      - service: notify.mobile_app
        data:
          title: "Smoke Prevention Activated"
          message: "Windows closed, HVAC off due to bushfire zone entry"

Flood Preparation

# Alert when flood warning approaches
automation:
  - alias: "Flood Warning Preparation"
    trigger:
      - platform: numeric_state
        entity_id: sensor.abc_emergency_home_nearest_incident
        below: 10
    condition:
      - condition: template
        value_template: >
          {{ state_attr('sensor.abc_emergency_home_nearest_incident', 'event_type') == 'Flood' }}
    action:
      - service: notify.family
        data:
          title: "Flood Warning Nearby"
          message: >
            Flood warning {{ states('sensor.abc_emergency_home_nearest_incident') }}km away.
            Consider moving vehicles to higher ground.

Family Safety Tracking

# Alert when family member enters emergency zone
automation:
  - alias: "Family Member Safety Alert"
    trigger:
      - platform: event
        event_type: abc_emergency_entered_polygon
        event_data:
          instance_type: "person"
    action:
      - service: notify.family_group
        data:
          title: "{{ trigger.event.data.instance_name }} in Emergency Zone"
          message: >
            {{ trigger.event.data.headline }}
            Alert level: {{ trigger.event.data.alert_text }}
          data:
            priority: critical

Severity Escalation

# Critical alert when emergency escalates while you're inside
automation:
  - alias: "Emergency Escalation Alert"
    trigger:
      - platform: event
        event_type: abc_emergency_containment_severity_changed
    condition:
      - condition: template
        value_template: "{{ trigger.event.data.escalated == true }}"
    action:
      - service: notify.mobile_app
        data:
          title: "⚠️ ALERT ESCALATED"
          message: >
            {{ trigger.event.data.headline }} has escalated from
            {{ trigger.event.data.previous_alert_text }} to
            {{ trigger.event.data.new_alert_text }}!
          data:
            priority: critical
            channel: alarm_stream

:package: Installation

Via HACS (Recommended)

Add to HACS

  1. Click the button above, or manually add as a custom repository
  2. Install “ABC Emergency”
  3. Restart Home Assistant
  4. Add the integration via Settings → Devices & Services

Ready-to-Use Blueprints

Import these with one click:

Blueprint Description
Basic Alert Simple notification for any alert
Tiered Notifications Different priorities by warning level
Entered Zone Alert Notify when entering emergency zones
Severity Escalation Alert when emergencies escalate
Inside Emergency Warning Maximum urgency when inside red zones

:bar_chart: Entities Created

Each instance creates:

Sensors:

  • Total incidents count
  • Nearby incidents count
  • Nearest incident distance (with direction)
  • Highest alert level
  • Bushfire/flood/storm counts

Binary Sensors:

  • Active alert
  • Emergency Warning level
  • Watch and Act level
  • Advice level
  • Inside polygon (containment)
  • Inside Emergency Warning polygon
  • Inside Watch and Act polygon
  • Inside Advice polygon

Geo-location entities for map display of all incidents.


:books: Documentation

Full documentation available at:


:warning: Important Disclaimers

  • This is NOT an official ABC product - it’s a community project using publicly available data
  • Always follow official emergency service instructions
  • This should not be your only source of emergency information

:pray: The Story Behind This

This integration was born out of necessity during the December 2025 bushfires when fires broke out near a friend’s place in Woy Woy, NSW. We needed a way to keep our chosen family group informed and safe. What started as a quick hack became this full-featured integration.

I’m sharing it, hoping it helps other Australians protect their homes and loved ones.


:bug: Feedback & Contributions

This is actively maintained and I’d love feedback:

The project follows test-driven development with 100% test coverage.


Stay safe out there! :australia:


Links:

6 Likes

Hi Troy - many thanks for this integration. It’s very much appreciated.

As this post isn’t a bug or request, I thought it made more sense to post here rather than Github.

I’m new to building Dashboards and really wanted a map that would show up conditionally when something was occurring in my watch region. I have your integration installed, but it only seems to provide buttons.

I couldn’t see anything in your documentation regarding dashboards. Apologies if there is. If not, could you provide some information or advice?

Regards,
Dave

1 Like

HI @Festy, just had a look and seems to be there

1 Like

Fond memories many years ago of doing exactly this, hose out the back verandah, dousing the flames that were licking the back fence when ‘Elvis’ dropped six tonnes of salt water from the bay and all of a sudden there wasn’t any fire, just steam. You may need to integrate with FlightRadar24 to warn of approaching helicopters as that much water can give you a heck of a fright, as the helicopter suddenly appears over the ridge.

Kariong: Everybody drives Holdens. While the firies were out fighting fires, one came over the hill due to a wind change and burnt the station and all their cars. Local Holden dealer replaced their cars the next morning, no questions asked. Yes, there are heroes, and not all of them wear capes.

Hope yours was not one of those lost. Great place for holidays, but hard if you have to commute.

1 Like

@Festy let me know if this is what you were looking for homeassistant-abcemergency/examples at main · troykelly/homeassistant-abcemergency · GitHub

I’ve added a couple of examples there.

Love this integration, but haven’t set it up for myself yet (live in Eastlakes), due to amazing vastness of what this integraion can do.
I do have one project I’d love to achieve, maybe in Collab with you, but don’t know if it’s even possible.
I would love to be able to quickly deploy a home assistant instance on a raspberry pi with this installed and mostly configured with all the important automations/dashboards.
All I would need to do is set locations of zones and people to track and change some variables (which I would keep in its own file for ease of updating). Kinda like a pre-configured windows install image.
I’m not talking a backup, because I still need to onboard each HA instance, but something that can easily be deployed (e.g. for elderly people and their families or those in high emergency prone areas)
Main problem seems to be creating a “golden” HAOS install.

Would love to hear your thoughts

—–—–—–—–—–—–—–—–—–—–—–—–—–—–—

Used Gemini to turn those words into more cohesive thought as I suck at articulating what I’m really after. I have included that below

AI enhanced version of my nonsense that makes more sense

Hi Troy,
I’m based in Eastlakes, sydney and I’ve living what this integraion can do; the sheer depth of what you’ve built is incredible.
I wanted to share a vision I have for a project using your work. I’m looking to create a ‘Rapid Deployment’ model for Home Assistant specifically for emergency readiness. The idea is to be able to take a Raspberry Pi to an elderly neighbor’s home or someone in a high-risk area and have it up and running with all your critical emergency automations and dashboards pre-configured.
Essentially, I want to bridge the gap between ‘having the data available’ and ‘getting it into the homes of the vulnerable’ without them needing to know what YAML or HACS is. I’m currently experimenting with creating a ‘Golden Instance’ that would only require minimal local configuration (like setting their specific zones and people to track) during a quick onboarding.
I think there’s a massive opportunity here to provide a ‘ready-to-glow’ emergency solution for the Australian community. I’d love to hear your thoughts on the concept of a pre-configured deployment like this. If it sounds like something that aligns with where you want to take the project, I’d love to collaborate on making it a reality!"

@CoatsyJnr it’s a great idea - the issue is Home Assistant just isn’t really built for this any more.

I lost the argument a long time ago about file based configuration. All the components I create do support it - so you could in theory use that to automatically configure the instance for the components - but the issue will be actually onboarding the Home Assistant server/service itself.

I love HA - I hate how it is configured and managed now. But I do accept that the community has spoken.

Some others might have better ideas for automated deployments, but al I can think of would be an image that has HA mostly set up created on a Pi. It includes some sort of phone home or at least an SSH service with a known key.

You could then have another service that SSH’s in, conifgures what can be configured using yaml files and restarts HA.

That should give you something close to HA in a box for emergencies.

1 Like

I’d love to see how short we could get a deployment time down to and how easy we can make it?
Have you thought about contacting the ABC to see if they’re interested in lending a hand?

The ABC will probably not look too kindly on a project like this.
I think it’s better while they have plausible deniability.

I’m happy to help with advice when and where I can - but I can’t take on a larger project than that at the moment.

All good, I need to set up the integration for myself first and really play around with it

1 Like

I’m adding a map lovelace component so we can display the emergency areas properly because HA only supports points and radius’

Feel free to send any feedback!

1 Like

@troykelly, would love some help checking my setup distance are ok. Am I free to message you?

No problem - I’m travelling today for a few days offline, will reply as soon as I can.

The BoM recently spent $100 million just to get a weather radar update everybody universally hates.
You should he able to do yours for less.

I seem to occasionally be getting results for Vic, SA and Qld along with NSW, despite only having NSW setup and people or zones in Sydney with no more than 150km max distance. Shouldn’t be seeing other states

1 Like

You should ask BoM for your money back…

Seriously, what information is being passed through to the BOM API? Are your requests specific enough? Is the response correct?

That is weird @CoatsyJnr - if you have logging on - can you create an issue in github with the logs?

The component doesn’t use the BOM API - it’s the ABC Emergency API that’s feeding the information.

The component then uses the polygon data for all the alerts to determine relevance and fire events.

I’m seeing the same too

@bacco007 Do you know which sensor it is providing the errant alerts? or is it from the events?