mirror of
https://github.com/tomru/cram-luftdaten.git
synced 2026-03-03 06:27:23 +01:00
use python to speed up things
This commit is contained in:
@@ -10,6 +10,6 @@ your InfluxDb.
|
||||
* 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`
|
||||
* run `cat <csv.file> | ./toLineProtocol.py | ./toInfluxDb.sh`
|
||||
|
||||
I should advise you to backup the DB first :stuck_out_tongue:
|
||||
|
||||
Reference in New Issue
Block a user