get rid of linting warnings

This commit is contained in:
Thomas Ruoff
2019-09-12 20:45:57 +02:00
parent c184f7aaa6
commit 9d31b84e6b
4 changed files with 93 additions and 88 deletions

View File

@@ -7,11 +7,10 @@ You can use this to fill up your local InfluxDB with previous data or fill data
# How does it work
* get the relevant CSVs from https://www.madavi.de/sensor/csvfiles.php (dates
are in UTC!)
* delete all lines that you already have in your DB (you can keep the csv header line)
* get the relevant CSVs from https://www.madavi.de/sensor/csvfiles.php
* delete all lines that you already have in your DB (you must keep the csv header line)
* export settings as environment vars in case they differ from the defaults
(INFLUXDB_HOST, INFLUXDB_PORT, INFLUXDB_DATABASE, SENSOR_ID)
* run `cat <file1.csv> [file2.csv...] | ./toLineProtocol.py | ./toInfluxDb.sh`
* run `cat <file1.csv> [file2.csv...] | ./to_line_protocol.py | ./to_influx_db.sh`
I should advise you to backup the DB first :stuck_out_tongue: