Storm approaching - alert (data from Blitzortung intergation)?

Hi all!

I’m quite a noob in programming, but been using HA for over a year so I managed to taste the fun in automation and configuring sensors etc…

With all there climate change factors that are now every day turning our days into storms with hail, lightning strikes and flooding, I already set up lightning detection sensor with notification.

But I wanted to upgrade it with lightning detection in proximity of my location (based on phone location).

And then I was thinking of approching storm (in fact from lightning azimuth, distance and strikes from Blitzortung integration). So, if the storimg is moving towards my location…

Has anyone done similar stuff? I want to ask before I dig into it :slight_smile:

Regards,
Andrej

I have an automation that notifies me when the lightning distance reported in Blitzortung is below 10 km. Nothing fancy, but it works. Probably redundant though since you tend to notice thunder quite easy when it’s close :stuck_out_tongue:

Yes, it is possible with the Blitzortung integration. I have a TTS message over the speakers when thunder is within 50 km and also integrated the Custom compass card to show me the distance and direction to the nearest strike.

Edit: I read again, you want it to your phone location. Hmm, I need to dig in to that … :face_with_monocle:

Clever! Mind sharing the config of the compass card? First time I’ve heard of it :slight_smile:

Thanks.
I have this configured too…so when the lightning strikes closer to my home (10km) for now. But to be more on safe side, approaching storm (like 100km away) on trajectory would be quite fancy :slight_smile:

You find the card in HACS.

type: custom:compass-card
indicator_sensors:
  - sensor: sensor.blitzortung_lightning_azimuth
    indicator:
      type: arrow_outward
      color: orange
      show: false
      dynamic_style:
        sensor: sensor.blitzortung_lightning_distance
        bands:
          - from_value: 1
            show: true
value_sensors:
  - sensor: sensor.blitzortung_lightning_distance
    state_value: null
    show: true
    color: yellow
header:
  title:
    value: Åska
  icon:
    color: grey
compass:
  circle:
    background_opacity: 0.3
  north:
    show: true
    offset: 90
5 Likes