pacer2influxdb/README.md

12 lines
593 B
Markdown
Raw Normal View History

2019-05-19 17:24:03 +02:00
# pacer2influxdb
2019-05-19 18:59:09 +02:00
export Pacer data to InfluxDB
2019-05-20 00:42:42 +02:00
* require Python 3, influxdb-python and sqlite-python
2019-05-19 19:49:31 +02:00
* original code from https://github.com/korjavin/sqlite2influxdb and https://github.com/influxdata/influxdb-python
* sqlite database is /data/data/cc.pacer.androidapp/databases/MDData.db on an Android device, may need root privileges to get it
* collects steps, distance, active time and calories
* for now InfluxDB database needs to be created first
* incremental feed: just insert missing points
* grafana dashboard export in json format is included, adjust datasource name