This small tool downloads the logfiles from your ESP32 and stores the last value of the day in an *.csv file.
To use this tool you need to activate the debug logfile in your configuration (Configuration / Debug / Logfile). I go with 30 days of retention in days.
It downloads only the past logfiles (yesterday and older).
You can define the max. number of Logfiles to download (beginning from newest [yesterday]).
I wrote this tool to get a chart of the daily gas consumption to optimize my gas powered heating.
Variables to define by yourself:
Feel free to optimize and modify it.