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
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.
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;}
}
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)
Iāve also added your suggestions to the newest release, v0.3.0 of the radar card: 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.