Webrtc was added to the core, which was a great decision, the same thing should be done with history explorer. Analysing data is a key functionality, on other platforms like openhab dynamic history view is standard since a long time. Keeping thumbs pressed!
Iâd always welcome if anyone in our community can help replace our current chart.js with something that allows browsing through time (and also less ugly).
I think this post is making the same mistake as the original one from 2022, which is just focusing on zooming in/out of the history, what I think is needed is a completely revamped history, like the one in alexarch21âs project (GitHub - alexarch21/history-explorer-card: A card for Home Assistant Lovelace for exploring the history of your entities interactively and in real time.), unfortunately abandoned, although completely functional in the SpangleLabs fork Iâm currently using (GitHub - SpangleLabs/history-explorer-card: A card for Home Assistant Lovelace for exploring the history of your entities interactively and in real time.)
If you try it you can completely forget about the tedious and not very functional original Home Assistant history, this work is incredible and itâs just how the HA history should look like
Like @juanmijm said - there is an modern, intuitive, ressourcefriendly, flexible Card out there. After the Creator unfortunatly left the Community, he opened it on the MIT Licence, so there is no Need to reinvent the Wheel. Probably catch some breaking changes.
There is another post very similar to this one and it is a shame to divide efforts and votes between two:
Please vote in both guys!
Hi.
Good idea that I would like to support with my vote
The fact that there are now several (6) current WTH topics specifically dealing with suggestions and good ideas for improvements to the history graph, shows that it is effectively time to bring out something new and more performant.
I have also created a WTH topic to this theme:
And here are another 4 actual WTH topics on the same theme:
- WTH lets upgrade History Graphs, they so outdated
- WTH; Why can't you change the colors of lines
- WTH aren't the history and statistics graph card more alike
- WTH don't history and stats graph cards have a date/time picker
So, vote diligently and hope for a new history graph
Hi, these days I mess a lot with history graphs.
They so useful for troubleshooting or maybe creating a tailored automation for custom device.
The control of time seems to be very outdated. The life will be so much easier if we could control this on some Easy manner. Idea came to my head if we could have a two knobs like in the old oscilloscope And by turning them, we could play with the time and shift the graph from left to right, this will be awesome. Olso make some nice interface we could rename it from History to Scope for example.
Totally agree! Have a look at custom history explorer. Itâs been out there for a long time, and I canât imagine working with the standard history graph again.
For me, everything needed is (almost) already there, and highly configurable as well. This is how a history graph needs to look and feel like.
A proper revamped history graph replacing this outdated would be awesome!
Iâve been complaining (to myself) about the Home Assistant history for a long time, itâs something that I donât understand how it can still be so bad (despite the latest changes and improvements that have been applied), itâs really tedious and frustrating to look at something there, almost forcing me to use Grafana or other means for it (which is also very tedious to configure, but at least itâs more functional)
As I was already fed up a few days ago I started to investigate how I could improve this, then I discovered this project:
Which has been abandoned, but Iâve used a fork that works perfectly continued here:
- Before putting this post, Iâve seen some other ones that talked about improving some aspect of the history, such as being able to zoom, but Iâm opening a new one because I think that what needs to be improved is much more, what we need is a totally renewed history, just like the original project from alexarch21
Searching a little more I found this old post from 2022, in which there was already a comment talking about alexarch21âs project:
I see that the post currently has 421 votes and a lot of people interested in this, but unfortunately it is an old post and already archived.
Dear developers (hope this will be read and responded by one of the developers):
WTH: I have never understood in Home Assistant till today is the poor implementation of the device value history graph function. It still seems to be underdeveloped (prehistoric) compared to the rest of all great monthly released Home Assistant features.
To me the history graph or data tables seems to be one of the key functions to read and interpret our smart home data but itâs now too basic and fails often. Please take a look at domoticz how they did this. Just to get an impression.
Whatâs in my opinion could be improved in favour of the majority of Home Assistant users?
- Zoom in/out (pinch/scroll to zoom on IOS/scroll to zoom to decrease/increase the graph time scale.) Now users must make too many steps and many clicks for selecting for example the last hour of received data. Unfortunately totally unusable for daily analyse of entity values.
- Make it possible to point at any position above the graph line to show the data. Now on IOS it requires you to EXACTLY touch the plotted graph line to show the values. This is terrible. Even worse: When you want to see the value in a graph the shown values are exactly displayed under your finger tips. I now need to redo my touch selection min. 5 times to make sure it shows the correct point in time and I touched really the lowest value. Itâs not usable like this and so not user friendly.
- Make it possible to show with one button click the RAW historic data in a table. Such as time and value in per row.
- Make it possible to sort values in the displayed data table eg. the averge/highest/lowest, descending/⌠in last day, last hour
- Make it possible to choose a second/third sensor the present two or more values in one chart such temperature/humidity/pressure/other sensor data.
- Make it possible to show different graphs such as BAR charts and other.
- Any other of the forum users has a better idea?
Your respond to this request is much appreciated. Thank you so much in advance.
There is another post very similar to this one and it is a shame to divide efforts and votes between two:
Please vote in both guys!
Hi.
Good idea that I would like to support with my vote
The fact that there are now several (6) current WTH topics specifically dealing with suggestions and good ideas for improvements to the history graph, shows that it is effectively time to bring out something new and more performant.
I have also created a WTH topic to this theme:
And here are another 4 actual WTH topics on the same theme:
- WTH canât I zoom in or out on history graphs - #8 by C64
- WTH; Why can't you change the colors of lines
- WTH aren't the history and statistics graph card more alike
- WTH don't history and stats graph cards have a date/time picker
So, vote diligently and hope for a new history graph
Searching HACS doesnât appear to find this cardâŚ? Has it been removed from the default repositories?
Very happy to, but didnât want to if it was unnecessary⌠The Github readme states: " The history explorer card is now part of the default HACS Home Assistant Community Store. This is the preferred way to install this card.", without mentioning the need for a custom repository.
Thanks
Then why posting this? )
At the risk of going completely off topic! My thought process was:
- Read about the integration, thought it looked interesting, investigate further
- Read the Github readme, notice itâs a fork, notice it says âdefault HACSâ
- Search HACS, not found
- Wonder if the integration had previously been in HACS but had been removed for some reason?
- Asked the question
I hope that makes my brain process clearer⌠I should, perhaps, raise a documentation issue against the Github repo�
Thanks
The original history-explorer-card was archived and was removed from HACS.
A fork of this card seems to be not added yet to HACS, a custom repo should be added.
I can totaly agree. History is one of the core functions of Home Assistant. It cannot keep up with other systems and does not comply with the otherwise very modern smart home software. I tried myself in understanding the Source Code and was able to add at least a Previous and Next-Button to be able to move between the timeranges. It is Part of Home Assistants since the 2024-12-Release, see: add previous and next button to History and Logbook by boern99 ¡ Pull Request #22802 ¡ home-assistant/frontend ¡ GitHub. We now try to improve the styles, so that the buttons can also be used on mobiles. As a next step, I currently also try to add buttons for Zoom-In and Out. Buttons are a quick win because they can be added relatively easily into the existing source code. To be able to scroll or zoom: This is more demanding: Looks like a new base would probably be necessary.
I also added some Information on this on my website[New: Home Assistant history: previous and next buttons]
Other aspects of the History card (I really donât want to add a fresh WTH as it dilutes the votes)
- Reorder the entities
- deselect entites from view (but donât delete from card).
- more flexible time/date picker - e.g. not just last year but last 12 months or last x months or since date x (same for days/hours laxt 7 days 12hrs etc - this is different to âlast weekâ).
- Save a view