I am using HA for a couple of weeks now mainly to gather and display statistics data on my house consumption and Solar panels …
I run HA on a virtual machine on a Synology NAS.
I was wondering on what was the retention period of the statistics for HA ? Is it bas on disk space you have and can be months / years of data ?
I have seen we could use Influx DB and Grafana … is that an added value ?
Long term statistics are never purged. I believe the 5 minute data is transformed to hourly data at some point. So there are only 24 data points x 3 (max, min, average) per sensor per day and they take up very little room in the database.
ok … is there a difference between long term and “short term” statistics ?
How can I distinguish that ? (I have shelly sensors for house consumption, solar panels production, I want to keep for months and years … Is that considered as long term statistic ?
Are those stats backuped in case I need to reinstall my HA for example ?
Hello, I have no trace of any “recorder” in my configuration.yaml file actually.I have a practical example … I have Shelly clamps measuring my GRID, solar panels and some appliances in my house, I see the energy in the Energy tab :
started 22/06, … but I am wondering how much time the data will be there ?
Indeed, I have “default config” in the configuration.yaml.
I understand this default config loads the default config, can I find somewhere the retention config from this default config in the page you provide ? There is this stored ?
Many Thanks !
P.S. in other terms, can I browse the “default config” parameters somewhere ?
Tom, understood what the retention period was, I believe you.
but as I am new in HA, my question was to know if there was some kind of configuration file I can go through (the default_config you were talking about), to see all what as in there.
If the is a config we can not “browse and modify” then fine with me