Fire Danger Rating

Thanks for that!
Has made the wall panel look so much better

2 Likes

As of Sept 1 2022 the BoM has taken over publishing fire danger info nationally. A good overview of the new system can be found in this pdf.

The BoM integration has already been updated to include the new information, so using sensors from that would allow a card to work nationally.

2 Likes

Oh bubbles. That pdf document specifies different signs for digital versions of the ‘watermelon’ ie:
Words below the watermelon Doh! After I updated everything last weekend!

Not the best artwork but the best I can do! I did create them as vector SVG but don’t know how to load them up as SVG

catastrophicdigital
extremedigital
highdigital
moderatedigital
no-ratingdigital

1 Like

Here is a link to a Google drive shared folder which contains the 5 svg files

Fire Danger SVG’s

2 Likes

i wonder if this could be expanded to the new SES National warnings that have come out

Our Warnings | NSW State Emergency Service

Yes, probably but my place us 470m above sea level and don’t expect to be flooded out any tine soon. :laughing: On the other hand the location is a bush fire magnet!

1 Like

I’ve had a muck around today and can get an xml feed from the BoM ftp and get the fire danger rating (number) and now have the attached on my dash. Screenshot from 2023-01-10 12-44-28

1 Like

Aswell as the custom card that is above!

there is a custom component already that provides this as well as the BOM Weather custom component

This is getting the index (numbers) not the moderate, high etc.

I use it for a few things in the RFS

@vk2jnc you can use the numbers to mimic the roadside ‘watermelon’ using a gauge card. (I used a random max value, you might know better)

type: gauge
entity: sensor.home_FBI
needle: true
min: 0
max: 120
segments:
  - from: 0
    color: white
    label: No Rating
  - from: 12
    color: green
    label: Moderate
  - from: 24
    color: yellow
    label: High
  - from: 50
    color: orange
    label: Extreme
  - from: 100
    color: red
    label: Catastrophic
name: Fire Danger Rating
unit: ' '

@DavidFW1960 is it possible to expose the ‘raw’ number from BOM in the BOM Weather custom component?

Ah good idea! I used the custom integration above using a picture card to show the current danger same as the road side. I’ve also got a picture card to show the “Total Fire Ban” when its declared.

cards:
  - card:
      show_state: false
      show_name: false
      camera_view: auto
      entity: sensor.fire_danger_XXXX_danger_level_today
      image: /local/icons/fire_ratings/TOBAN2.PNG
      type: picture-entity
    conditions:
      - entity: binary_sensor.fire_danger_XXXX_danger_level_today
        state: 'Yes'
    type: conditional
type: vertical-stack

@EinSchwerd Also not sure - that was the original way I tried. This was where I was going from to start with. I think @DavidFW1960 gets it from?

"fire_danger": "Moderate",
            "fire_danger_category": {
                "text": "Moderate",
                "default_colour": "#64bf30",
                "dark_mode_colour": "#64bf30"

How is it possible to obtain the fire danger rating index (number) using the BOM Weather custom component? Or which is the other custom component that can provide this number?

both the following provide the actual “official” rating text rather than a number

GitHub - bremor/bureau_of_meteorology: Custom component for retrieving weather information from the Bureau of Meteorology. - BOM custom integration
Fire Danger Rating – neon.ninja - NSW Rural Fire Service custom integration

You forgot this one:

Looks like neon ninja is that one anyway

1 Like

yup - I should have linked direct. my mistake. thanks.

Both feeds provided by the RFS (and made available through my custom component) only contain the textual rating, no numeric values.

But if all you do is translate the numeric value back into a human-readable rating and a corresponding colour, then the custom component is all you need. It was also supposed to mimic the physical signs that you see around the state, and those are also just based on the textual rating.

1 Like

I was looking for a way to get a Total Fire Ban notification for districts in Victoria. Specifically the North Central district where I live.

I came up with the following simple solution based on the CFA RSS feed:

  1. Add the RSS feed for the whole of Victoria to your configuration.yaml
feedreader:
  urls:
    - https://www.cfa.vic.gov.au/cfa/rssfeed/tfbfdrforecast_rss.xml

You only need the first entry which is today.
Restart HA.

  1. Create a boolean helper to use as a binary sensor:
    image

  2. Create an automation to turn the boolean on/off

alias: Weather - VicEmergency RSS Feed
description: ""
trigger:
  - platform: event
    event_type: feedreader
    event_data:
      feed_url: https://www.cfa.vic.gov.au/cfa/rssfeed/tfbfdrforecast_rss.xml
condition: []
action:
  - if:
      - condition: template
        value_template: >-
          {{ 'North Central: YES - TOTAL FIRE BAN IN FORCE' in
          trigger.event.data.description }}
    then:
      - service: input_boolean.turn_on
        metadata: {}
        data: {}
        target:
          entity_id: input_boolean.total_fire_ban
    else:
      - service: input_boolean.turn_off
        metadata: {}
        data: {}
        target:
          entity_id: input_boolean.total_fire_ban
mode: single

Replace the text in the value template for your district (this list is incomplete - check the text in your RSS feed in your browser):

Central: YES - TOTAL FIRE BAN IN FORCE
Mallee: YES - TOTAL FIRE BAN IN FORCE
North Central: YES - TOTAL FIRE BAN IN FORCE
Northern Country: YES - TOTAL FIRE BAN IN FORCE
South West: YES - TOTAL FIRE BAN IN FORCE

Then you can use the input_boolean in automations, etc.

3 Likes