Helper function longer than 14 days

Hi guys,
Not sure I’m doing this the wrong way but if I have some data and I’m creating a helper to count daily data and reset every day I seem to only have this for last 14 days? Is that default?

For example. If I count how my km my car has been driven every day to get a nice chart of that I use a helper to reset that statistics so I can use the helper dataset in my graph. However it seems it only goes back 14 days? Do we have short- and long time statistics feature?

States and events are stored for 10 days by default. You can adjust this with the recorder integration purge_keep_days option. Best not to exceed about 30 days, depending on the size of your recorder database.

Long term statistics are stored as hourly max, min and average (24 a day) forever.

1 Like