How to have a long term history graph

Hi all,

I would like to display a graph that show a temperature value in a time extended range, i.e. the mean temperature of the house, one value a day, and the graph that show last year history.
actually I’ve xiaomi aqara temperature sensor that records values.

How can I do that?

Influxdb and Grafana.

some examples where I can start?