Recorder History

Just wanted to share a helpful tool for optimizing the Recorder history:

Background:
About a year ago, I configured Home Assistant’s Recorder to keep the full history of every entity. I wanted history to be available for any device I added, without having to update the Recorder configuration each time.

As I added more devices, especially an energy monitor, the database grew much faster than I expected. That made my backups bigger, too. They were filling up my Home Assistant disk and taking up a lot of space on Google Drive.

I looked for a tool that would let me clean up the history I already had and set rules for what to keep going forward. I couldn’t find one that fit my setup, so I built Recorder History. Using it on my own installation, I freed up more than 70 GB of disk space and cut my backup size in half.

Recorder History lets you clean up existing data and set rules for what history to keep. It applies those rules going forward, so you can keep adding devices without having to revisit your Recorder setup every time.

If your Home Assistant history is taking up more space than you expected, give Recorder History a try. I’d love to hear how it works for you and what would make it more useful in your setup.

Thanks for reading, and greetings to everyone in the Home Assistant community!