Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95309

Managing database size

$
0
0

@ianadd wrote:

I want to keep a reasonably long-term record of some data that HA captures but don’t want the database getting huge for no good reason.

For example:
Looking at the ‘events’ table, my wife’s iphone is generating around 400 records per hour whilst she is fast asleep. I do want to track history of people in and out of home but not hundreds of records saying the same thing.

I am using device_tracker on ip from the router and bluetooth from Pi. I link both up to ‘person’ entity if they are family members.

I am also using iphonedetect: which may be part of the reason for lots of entries.

Are there any elegant solutions?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>