Storing history for graphs etc

Having trouble understanding exactly how to use the recorder. I want to record more then 10 days for my graphs. Eg temp/humidity/power to day 100 days. I’m not sure how to do that.

For other stuff, like if a door is open/closed, I want to see the History maybe for 1-2 days but really not 100.

Is this possible? And I’m not sure how to choose which
include:
domains:

I’m in a nas vm, so I have plenty of space if need be.

Hi,

Best way is to use the Influx add-on and Grafana add-on to view. The recorder DB is not really suited to holding 100’s of days of info.

2 Likes

The recorder will be the same for all entities, you cannot (yet?) record 100 days for temperatures and only 2 days for doors.

So you’ll have 2 solutions :

  • record everything for 100 days (will take a lot of space, I would not stay on sqlite3 default db because there is a high chance of corruption on a such big database => Go for mysql for example.
  • Record only 2 days with the recorder and send the entities states you want for 100 days to another time series db like influxdb.

Edit : @Neil_Brownlee was faster :stuck_out_tongue:

2 Likes

Thanks. I have a few questions:
InfluxDB installed using documentation. I didn’t change Configuration as I don’t know what options I want.
Do I touch the Users |chronograf|kapacitor|?
I added the configuration.yaml, don’t see any data in it yet.
Host list shows 0. Is it right?

Grafana again installed using documentation “Using it with the InfluxDB Community add-on”. I didn’t change Configuration as I don’t know what options I want.

It’s coming in now. All good!

1 Like