[Under New Management] Interactive history explorer custom card

Probably some longterm stats (LTS) sensors. In other words, entities with a state class. Yes, it goes to separate tables and aren’t affected by your recorder’s settings.

Found it, if I choose Export Statistics, then I get the hourly history for up to a year…

Exporting data doesn’t remove it.

The LTS data is quite compact.

Right, what I meant was if I expanded the Recorder days, that would increase the backup size. I can still get the same stats from LTS, but not have to blow up my backup size by increasing the recorder days to keep

1 Like

Does anyone have issues exporting as CSV?

Soon as I click export, I get the spinny gif, but nothing ever happens, and the log says:

2024-10-01 00:47:41.716 ERROR (MainThread) [frontend.js.modern.202409091] Uncaught error from Chrome 128.0.0.0 on Windows 10
ReferenceError: moment is not defined
o.exportFile (/hacsfiles/history-explorer-card/history-explorer-card.js:17:65198)
L.exportFile (/hacsfiles/history-explorer-card/history-explorer-card.js:93:7543)

Doesn’t matter what browser I use. Cleared cache, restarted.

Can’t get this card on dashboard. I followed the manual adding of resource steps, place the .js file in the www directory. Added the resource with a local address to dashboards. But no luck. I can’t add the damned card on my dashboard, it doesn’t show up when I search. Any ideas?

Try installing via HACS.

1 Like

Are you clearing your cache and refreshing? I believe you also need to restart HA after adding resources, but I could be wrong on that.

1 Like

How do i do that? Searching for it in HACS brings up nada.

1 Like

Follow the link in the first post in this topic and follow the instructions to add a custom repository

There is no info about a “custom repository” in the first post by HeyImAlex Alex. Do you have any info about what custom repository should be used?

Yeah, same here!

1 Like

Ok, thanks. So I guess you need to add the new github url to HACS as a “custom repository”, right?

1 Like

Correct

1 Like

hi petro.

weird things happened today.

After finding this great history-explorer-card again via this request of mine, I started installing it manually via www, and adding a resource, but it wouldn’t show up when trying to add it in the dashboard, no luck. I then tried adding it via HACS / custom repositories, but got an error message. When trying to find it again on HACS, it suddenly showed up as under spanglelabs/history-explorer-card!

Yeah, I installed it and it worked fine right away.

I spend all day creating a long custum card when around 11 PM home assistant suddenly restarted and after restart told me, that the there is no integration named history-explorer-card anymore.

Looking in the filebrowser showed me it had vanished.

So I tried installing it via manual method again, no luck. And when adding the URL https://github.com/SpangleLabs/history-explorer-card/ to custom repositories I got the following error:

<Integration SpangleLabs/history-explorer-card> Repository structure for v1.0.54 is not compliant

What am I doing wrong. Happyly I saved my .yaml from today, but I would love to use it.

Help appreciated.
:astonished:

Kind regards,
yocup

Install it again via HACS

As said…

  • it‘s not in HACS anymore, can’t search it. Until 11 pm yesterday it used to be @ spanglelabs/history-explorer-card.

  • Won’t install from custom reps /github (error, see above)

  • Neither can I register to the .js when manually adding it to /www via /local/history-explorer-card.js

What am I missing???

You are trying to add it as an integration. It is not an integration.

Add it as a type Dashboard

:nerd_face:
Thanks so much! That worked. Noob alarm…

Still weird that it vanished from HACS normal search…

I am confused,
but very happy since I can use it!

2 Likes