This small tool downloads the datafiles (*.txt, before AI-on-the-edge-device V13.0.1) or valuefiles (*.csv, since AI-on-the-edge-device V13.0.1) from your ESP32 and stores the last value of the day in a *.csv file.
You can find the Project from jomjol here: https://github.com/jomjol/AI-on-the-edge-device
To use this tool you need to activate the DataLogging in your configuration (Configuration / Data Logging / DataLogActive). I go with 30 days of retention in days.
It downloads only the past datafiles (yesterday and older, not the actual day).
You can define the max. number of datafiles 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:
- URL to Logfile-Path on Device: "http://ESP32-IP-Address/fileserver/log/"
- Download datafiles to: enter a valid directory, e.g. "D:\Gaszaehler\Auswertung\Log-Downloads\"
- Output CSV-File: enter a valid directory, e.g. "D:\Gaszaehler\Auswertung\DailyValues.csv"
- Download past # days: enter the max. number of days you want to download (<= your datafiles retention value in your device configuration)