Not sure which update got rid of the temperature history data, but no matter what timeframe i set, only see 9 days back in the history of my temperature sensor.
Is there some secret setting now to get back all history data?
Couple of month ago i could see all history data (at least 6 month) of my temperature sensor.
The default recorder purge keep days option is 10 days. Always has been. So unless you deliberately changed it you should only see 10 days of state history.
Perhaps you are thinking of a statistics graph card. That graphs long term statistics which is kept forever (but at a lower resolution).
Maybe a screen recording can bring in some light. I checked the history data a couple of times / month in the past. “Always”, the same way like you see in the screen capture. With the latest update applied, i can no longer see the history data, that was “always” showing up there and is now gone.
So, how can i bring back the history data (more than 10 days) for the temp. sensors?
This may be an older topic, but I have the same behavior. It seems that when I just started with HA in May, there was nothing purged… After while, I noticed that it would keep only a month or so… And recently it has changed to only 10 days.
I’m not saying that the 10 days were changed… I think the purge is executed more frequently. What triggers a purge? Is it related to db size?
Also, I would like to keep the data for as long as I can. Should I move to MariaDB instead of SQLite?
I didn’t change it and there was definitely more historic data in HA than just 10 days… At some point there was about 3 months of temperature sensor data.
I was planning on using InfluxDB, but my previous solution (Domoticz) could easily retain temperature data for years… I was hoping HA did the same. It seems HA only keeps energy data though…
I mean this… A temperatur sensor with historic data… And a dialog that looks like you can actually browse historic data… but all it contains is 10 days. This definetly showed about 3 months of data after I had used HA for about three months… So I’m not sure if it really purged every day at 4:12 all the time.
So, you mean that this history browser is actually designed only to browse 10 days of history? I wonder why there is even an option to select a date in the past if that’s the case…
but i see a lot of sensors not appearing so probably i’m missing something… for example, should i create template sensors to have statistics of temperature coming from climate entities?
Thanks!
thanks, this makes sense. Local tuya integration is not working, sadly.
Does this mean that - for example - i can’t have statistics of the pFactor? of a percentage sensor?
Thanks