mirror of
https://github.com/tomru/cram-luftdaten.git
synced 2026-03-03 22:47:31 +01:00
make clear that you can use multiple CSVs
This commit is contained in:
@@ -7,9 +7,9 @@ your InfluxDb.
|
|||||||
|
|
||||||
* get the relevant CSVs from https://www.madavi.de/sensor/csvfiles.php (dates
|
* get the relevant CSVs from https://www.madavi.de/sensor/csvfiles.php (dates
|
||||||
are in UTC!)
|
are in UTC!)
|
||||||
* delete all lines that you already have in your DB (keep the header)
|
* delete all lines that you already have in your DB (you can keep the csv header line)
|
||||||
* export settings as environment vars in case they differ from the defaults
|
* export settings as environment vars in case they differ from the defaults
|
||||||
(INFLUXDB_HOST, INFLUXDB_PORT, INFLUXDB_DATABASE, SENSOR_ID)
|
(INFLUXDB_HOST, INFLUXDB_PORT, INFLUXDB_DATABASE, SENSOR_ID)
|
||||||
* run `cat <csv.file> | ./toLineProtocol.py | ./toInfluxDb.sh`
|
* run `cat <file1.csv> [file2.csv...] | ./toLineProtocol.py | ./toInfluxDb.sh`
|
||||||
|
|
||||||
I should advise you to backup the DB first :stuck_out_tongue:
|
I should advise you to backup the DB first :stuck_out_tongue:
|
||||||
|
|||||||
Reference in New Issue
Block a user