Hello Home Assistant gurus;
I am very new to Home Assistant (HA) and am in need of some help: I have developed a device that disconnects my Amateur Radio antennas during a lightning storm and reconnects them after the storm has passed. This works great using the Blitzortung.org (near real time strike positions) in HA. I use Node Red in HA to disconnect my antennas whenever there are lightning strike within 35km (approx. 20 miles). See attached screen shot for my HA.
Now for the question; how do I change the LS circled icons with a Flash (lightning bolt) icon? If this is possible can someone guide me on how to do it.
I would have expected at least the last one to work since the geo_locations poplulate my list of entities, since so I expect them to fullfill the requirement being an entity.
If oneās really entitled to customize given trackers such as the ā.seeā one ā¦ Iām completely unsure.
In only HA wouldnāt pass the config validation in such cases where everything shows no errors while resulting in simply nothing at all.
In the first one you arenāt customizing an entity. You are trying to customize a service (device_tracker.see is a service not an entity) so thatās why nothing is changing there.
In the second one try removing the quotes around the file name.
No luck, removing quotes simply changed nothing at all. Perhaps itās a problem with the path defined. Who knows is /config really matches the common folder named config just below the root folder?
I assume those device trackers are created dynamically?
What is creating them? I donāt think you can set a standard icon for all device trackers.
But perhaps if the thing that creates the device trackers also adds the icon. That could perhaps work
Yeah this was the point (in principle) while the result is as ugly as it was before.
What happens now is no matter which size the given picture is, it gets scaled up into the backgrounded circle which depending upon the zoomlevel of the map covers half a state.
The idea was to get small dots similar to lightningmaps.org plotted so that 10 lightning strikes within a range of 20km wonāt completely cover the home location by 100%.
One canāt have it all, perhaps HA isnāt ideal for this specific task.
Nevertheless thanks for the hints given ā¦ to know about how to display images onto a map is most welcome for some other ideas I got in mind.
Stefan,
From your answer it looks like you figured it out albeit not the total result you wanted. Can you enlighten me to how you did it? Maybe a snippet of the configuration yaml code you used.
Thanks
Dave
and place a picture file into the /config/www/ folder matching the filename from above.
Simply as āfinityā described when he/she pointed out to have a look at āCustomizing entitiesā.
And be warned you wonāt loose the circles on the map, all what happens is that besides the āTSā which seems to be the shortened friendly_name which gets potted into the cicles is that you see the picture on top of that.
What I did miss in customize is something such as entitly_circle: false or something similar
What I really wonder ā¦ the circle must be defined somewhere somehow, perhaps in the theme? I got no idea but Iām pretty sure it doesnāt happen from pure imagination. Means since itās defined somewhere itās likely possible to get rid of it.
Perhaps someone could enlighten both of us.
I think Iāll have a look at the themes definitionsā¦ perhaps itās defined in there?
I like the idea to override the circles on a map, because they are a bit too large. A smaller coloured dot or just a small simple icon would be nice, maybe even in combination with mouse-over or mouse-click/touch hint.
If somebody finds a way how to do it, please give a hint. Thank you so much.