This is a typical task for a Time Series Database (TSDB), such as InfluxDB.
In combination with Telegraf and Grafana, the data from the sensor is collected and visualised.
Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data. - influxdata/telegraf
github.com
play.grafana.org
Very easy installation on an Rasberry and there is also an InfluxDB client for Arduino
Simple library for sending measurements to an InfluxDB with a single network request. Supports ESP8266 and ESP32. - tobiasschuerg/InfluxDB-Client-for-Arduino
github.com
See for more information in this german tutorial.
Jeder, der über eine längere Zeit Sensordaten aufnehmen möchte, steht unweigerlich vor einem Problem: Wie können die gesammelten Daten gespeichert und
www.reichelt.de