Recorder setup: What can I exclude "safely" from being stored in the db?

Hi,

I would like to configure the recorder in order to keep my snapshots rather small. I found some examples of what people exclude and include in their recorder but I could not find a general tip on what I should or should not exclude in order to keep the system functioning. Is there some kind of general guideline I can apply?

Basically I only use the DB for some temperature sensor, but I am really just interested in the last 24h or so. The rest would not need to be stored as far as I am concerned, but I don’t know how or if excluding entire domains would break scripts, automations etc or if I could as well just exclude basically everything.

Thanks in advance!

You can exclude everything if you want to. Home assistant will still run perfectly fine. *

If you only have a few sensors that you want to see history graphs for, consider just including them instead of excluding everything else.

* The only exception I can think of is the History Stats sensor that requires use of the recorder.

2 Likes

Thank you for your fast reply. I will try to “include” some of the sensors then and see if I still see the history of others (just because I am curious now :slight_smile:).

You shouldn’t see anything that you have not included.

Recorder - Home Assistant

include map (Optional)

Configure which integrations should be included in recordings. If set, all other entities will not be recorded. (Configure Filter)

1 Like