Blitzortung, showing thunder on map

I meant these

from the repo mentioned by Tim.

I believe I didnt see those before in HA, and something like that would be nice to show, separate from all other cards I have. Id be interested to learn how to get that, and feed them with data

fwiw, adding the live map is cool too, I use Blitzortung.org - Live Lightning Map and do that inside a fold of my weather apps

  - type: custom:fold-entity-row
    head:
      type: section
      label: Bliksem
      card_mod: !include /config/dashboard/card_mods/label.yaml
#     padding: 0
    entities:
      - type: custom:hui-element
        card_type: iframe
        aspect_ratio: 100%
        url: !secret blitz

unfortunately it keeps asking for confirmation there, even with &LinksCheckboxChecked=1 in the url…

after click

You can turn the other elements (map and history chart) off:

Also the compass card is very similar to the left chart and is highly customisable.

Or do you mean show other data than lightning?

You’d just have to supply a counter an angle and a distance and it can plot anything:

distance: sensor.blitzortung_lightning_distance
counter: sensor.blitzortung_lightning_counter
azimuth: sensor.blitzortung_lightning_azimuth
1 Like

of course, I didnt think of that…
thanks.

I had hoped it to be a standalone-able import of some other element, (a bit like the map I shared above) and not have to install all the other options of yet another custom card.

I’ll give it a go.

@Mariusthvdb New Lovelace Card – Radar Card šŸ“”

2 Likes

Yeah I saw that ! Thx!
Seems really sweet

1 Like

Hey Tim,

Do you have any plans to make this into a standalone windrose card?
Figured since you made the Radar card, it would be great to have the same style standalone for the weather view…
would be just a bit more efficient than the Blitzortung with every there detail hidden, a more lightweight card.

on the radar card: does animation mean the entities get a radar like circle around them when they move?
its what I did on my Map cards with card_mod, but it would be great if your card could do that natively

blinking radar
        ha-map $:
          ha-entity-marker $: |
            {% for entity in config.entities %}
              {% set id = entity.split('.')[1] %}
              {% set activity = states('sensor.' ~ id ~ '_activity') %}
              {% set afstand = states('sensor.thuis_' ~ id ~ '_distance')|int(-5) %}
              {% set thresholds =
                [(300,0.5),(200,1),(150,1.5),(100,2),(50,2.5),(30,3),(20,3.5),(10,4)] %}
              {% set pix =
                thresholds|selectattr('0','<=',afstand)
                |map(attribute='1')|list|first|default(8) %}
              {% set t = ((1 / 150) * afstand + 1)|round(1) %}
              {% if activity in ['Automotive','Cycling','Walking'] %}
                :host([entity-id='{{entity}}']) .marker {
                  outline: solid {{pix}}px var(--warning-color);
                  animation: resizing_outline calc( {{t}}s ) linear infinite;
                  border: var(--warning-color) {{pix}}px dashed;
                }
              {% endif %}
              {% if is_state(entity,'not_home') %}
                :host([entity-id="{{ entity }}"]) .entity-picture {
                  filter: grayscale();
                }
              {% endif %}
            {% endfor %}

            @keyframes resizing_outline {
              0% {outline-offset: 0;outline-color: rgb(from var(--warning-color) r g b / 1);}
              25% {outline-offset: 5px}
              50% {outline-offset: 10px}
              75% {outline-offset: 15px}
              100% {outline-offset: 20px;outline-color: rgb(from var(--alert-color) r g b / 0.1);border-color: transparent;}
            }

:wink: it’s a bit over the top, but looks rather cool, (I really miss the radar beeping when seeing that…)
(story, this is off-topic here, is there a dedicated thread for the new card)

1 Like

Hey @Mariusthvdb :wave:,

No plans on making a standalone compass / windrose card — there’s already a great one here: Compass Card by tomvanswam.

For the radar card itself, I’ve opened a dedicated thread here: New Lovelace Card – Radar Card.

I’ve also added your suggestions to the newest release, v0.3.0 of the radar card:
:arrow_right: Release v0.3.0


  • Moving Entity ā€œRadar Pingā€ Animation
    I added a new ā€œradar pingā€ animation that can be enabled for entities considered to be moving. This adds a dynamic visual cue, making it easier to spot active entities at a glance.
    This feature is highly configurable and disabled by default:
    • Enable the animation with a switch in the editor’s Animation section.
    • Specify which entity attribute to monitor (defaults to activity).
    • Provide a custom, comma-separated list of values (e.g., Driving, Walking) that define a ā€œmovingā€ state. The check is case-insensitive.
1 Like

checking this once more, I finally found the correct syntax to Not show the cookies add:

this is the full url when in the Blitzortung web interface:

https://map.blitzortung.org/index.php?interactive=0&NavigationControl=0&FullScreenControl=0&Cookies=0&InfoDiv=0&MenuButtonDiv=0&ScaleControl=0&LinksCheckboxChecked=1&LinksRangeValue=10&MapStyle=2&MapStyleRangeValue=10&Advertisment=0#3/40/15

so I changed it a bit and deleted some options to use this as my url in secrets

blitz: >
  https://map.blitzortung.org/index.php?Cookies=0&FullScreenControl=0
   &MenuButtonDiv=0&InfoDiv=0&LinksCheckboxChecked=1
   &LinksRangeValue=10&Advertisment=0
   #6.45/52.3/5.5

and use it in the fold:

  - type: custom:fold-entity-row
    head:
      type: section
      label: Bliksem
      card_mod: !include /config/dashboard/card_mods/label.yaml
#     padding: 0
    entities:
      - type: custom:hui-element
        card_type: iframe
        aspect_ratio: 100%
        url: !secret blitz

Marius!..keep rocking
Yay…

1 Like