Hello everyone,
I am struggling to fully grasp the way Home Assistant is storing all the data I am generating.
Lots of entities, from sensors, binary_sensors and all other “things” in HA produce data.
We can include or exclude them from the recorder and only what we include ends up in the database.
But not every “thing” ends up in statistics (either because the entity is not properly configured/implemented or because of the difference between state and measurement or whatever else).
So, I am trying to figure out what is being recorded in my database and how I can access it and from where.
I am tracking via MQTT, via Home Connect, Shelly and other integrations.
And I have defined which entity to include or exclude. Since almost everything generating data is an “entity” of some sort, the entity to me is the link to my data.
All of this information should be going to MariaDB (the database I am currently testing instead of InfluxDB).
But is any of this data being purged after 10 days?
The website Statistics suggests that most of my data is being purged because it is “other objects” and not “statistics”. But for me it is simply data. I don’t really care if a measurement is correctly defined or not. It reports a value for an entity. I want to keep that value until I decide to purge my DB.
So what is the point of purging data which I selected to keep, just because it is a “different object” and not “statistics”? And how can I prevent it?
And if data is not “statistics”, then how can I access it from the dashboard? If only the statistics card and similar can access “statistics”, then I cannot access all the “other objects” despite them being available and linked to an entity.
I am confused. Is HA now storing all my data, independent on whether it does not fit the HA criteria for a state or sensor or whatever? Or is it purging everything it does not regard as “statistics” after 10 days?
All I want is all data matching “include” in my database. And I want to be able to access it whenever I want without the system deciding for me which data is “good” and which is “bad”. I don’t want HA to decide what to delete. Especially not after me telling it what data I want to record.
I think there is a lot of confusion in play here, at least for me, on what a statistic is, what the recorder records and what happens to the data.
1 post - 1 participant
Read full topic