Files
AI-on-the-edge-device-docs/docs/outdated--Gasmeter-Log-Downloader.md
CaCO3 030dc276eb .
2023-01-06 23:21:17 +01:00

1.1 KiB

Gasmeter Log-Downloader

!!! Warning This page no longer is maintained!

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:

  • URL to Logfile-Path on Device: "http://ESP32-IP-Address/fileserver/log/message/"
  • Download Logfiles 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 Logfiles from past # days: enter the max. number of logfiles you want to download (<= your logfile retention value in your device configuration)

Feel free to optimize and modify it.