Heat map card

There’s one type of visualisation I tend to use a lot in a professional capacity and have been sort of missing in HA: Heat maps.

I made a card for it and hope that others might find it as useful as I do. You’ll find it at kandsten/ha-heatmap-card on Github.


(For the sake of aiding search: Heat map, heatmap, heatmaps)

16 Likes

I started trying this card. Not yet a very goods 1st response thus 1 question.

Is it correct it relies on the “default” database? (recorder). because I have limited that to 2 days and use influxdb to save long term statistics.

image

Apologies re the latency in responding, I seem to have not noticed the ping for your response.

It relies on the Long Term Statistics, so shouldn’t be related to the Recorder limit. What your screen shot tells me is that it’s picking up data, but isn’t associating it properly with a scale. I did rewrite some of the logic, so you might want to try the latest commit to see if that resolves it. If not, I’d be happy to have a closer look.

Hi @andsten, I really like your heat map card and have used it with a number of things in my home with a lot of success, but I am having issues with one thing I’m trying to set up. I have a template that I’m using to generate a motion score for the occupancy sensors in my home. The problem I’m running into is there isn’t really a device class I can map these to and the card doesn’t seem to want to work for me with them.

Here is the template sensor. As you can see I do have history and data on the sensor, but the card doesn’t want to work with it. I’ve even tried to map it to some random device classes without any luck. Any thoughts on this?