If you live in a bush fire prone area like me, keeping yourself informed about and prepared for fires near you is important.
The role that a home automation system can play when it comes to bush fire alerts or back burning activities could for example be notifying users about certain alerts, monitoring the air quality, or maybe automatically closing windows.
Here in Australia, the NSW rural fire service publishes alerts in GeoJSON format, and HA can compare those alerts with the coordinates of your HA instance, and filter alerts by distance to only display those near you.
If you are interested in trying a pre-release of this new sensor (tested with HA 0.48), please follow these instructions:
- Copy the file nsw_rural_fire_service.py into
<config_dir>/custom_components/sensor/
- add a new sensor to your configuration:
sensor:
- platform: nsw_rural_fire_service
- The default filter distance between your HA coordinates, and the alerts is 20km. You can change that distance if required by adding the
radius
parameter, expecting a float value in km:
sensor:
- platform: nsw_rural_fire_service
radius: 10.0
- Restart HA
- Four new sensors should appear that you can arrange and group as usual
- The data is updated every 5 minutes
- Details including location and status are displayed in the info dialogue
_Disclaimer:_ Do not use this new sensor as the sole source of information on bush fires near you. The software may contain bugs, the information may be incomplete or inaccurate.
Please let me know if the sensor works for you and how useful you find it. Is there anything missing from your point of view? Any other use-cases you could think of where this type of sensor may be useful?