NSW Rural Fire Service Incidents
The nsw_rural_fire_service_feed
platform lets you integrate a GeoJSON feed provided by the NSW Rural Fire Service with information about bush fires, grass fires, hazard reductions and more. It retrieves incidents from a feed and shows information of those incidents filtered by distance to Home Assistant’s location.
Entities are generated, updated and removed automatically with each update from the feed. Each entity defines latitude and longitude and will be shown on the map automatically. The distance in kilometers is available as the state of each entity.
The entity’s information can be used for example if a bush fire that produces smoke or embers is reported close to your home, and you want to automatically close windows, turn on a sprinkler system or simply send yourself a reminder to clean the gutters from dry leaves.
The data is updated every 5 minutes.
Configuration
To integrate the NSW Rural Fire Service Incidents feed, add the following lines to your configuration.yaml
.
# Example configuration.yaml entry
geo_location:
- platform: nsw_rural_fire_service_feed
Configuration Variables
The distance in kilometers around Home Assistant’s coordinates in which incidents are included.
List of incident category names found in the feed. Only incidents from the feed that match any of these categories are included. Valid categories are ‘Emergency Warning’, ‘Watch and Act’, ‘Advice’, ‘Not Applicable’.
None. Any incident regardless of its category will be included.
Latitude of the coordinates around which events are considered.
Latitude defined in your configuration.yaml
State Attributes
The following state attributes are available for each entity in addition to the standard ones:
Attribute | Description |
---|---|
latitude | Latitude of the incident. |
longitude | Longitude of the incident. |
source |
nsw_rural_fire_service_feed to be used in conjunction with geo_location automation trigger. |
external_id | The external ID used in the feed to identify the incident in the feed. |
category | One of ‘Emergency Warning’, ‘Watch and Act’, ‘Advice’, ‘Not Applicable’. |
location | Location details of where the incident takes place. |
publication_date | Date and time when this incident was last updated. |
council_area | Council area in which this incident takes place. |
status | One of ‘Under Control’, ‘Being Controlled’, ‘Out of Control’. |
type | Incident type, for example ‘Bush Fire’, ‘Grass Fire’ or ‘Hazard Reduction’. |
fire |
True if this incident is a fire, False otherwise. |
size | Size in hectare |
responsible_agency | Agency responsible for this incident. |
Advanced Configuration Example
Depending on your personal circumstances with regards to bush fire risk you may want to adjust the radius and define the categories of fire warnings you are actually interested in.
# Example configuration.yaml entry
geo_location:
- platform: nsw_rural_fire_service_feed
entity_namespace: "nsw_fire_service_feed"
radius: 10
categories:
- 'Emergency Warning'
- 'Watch and Act'
- 'Advice'