Thomas Ruoff b9a6c008de fix header
2017-05-31 08:49:12 +02:00
2017-05-31 08:49:12 +02:00
2017-05-31 01:19:26 +02:00
2017-05-31 01:22:48 +02:00

Write Luftdaten CSV to a InfluxDB

Helpers to write CSV files from https://www.madavi.de/sensor/csvfiles.php to your InfluxDb.

How does it work

  • get the relevant CSVs from https://www.madavi.de/sensor/csvfiles.php
  • delete all lines that you already have in your DB (keep the header)
  • export settings as environment vars in case they differ from the defaults (INFLUXDB_HOST, INFLUXDB_PORT, INFLUXDB_DATABASE, SENSOR_ID)
  • run cat <csv.file> | ./toLineProtocol.sh | ./toInfluxDb.sh

I should advise you to backup the DB first 😛

Description
No description provided
Readme 42 KiB
Languages
Python 91.9%
Shell 8.1%