pacer2influxdb/README.md

12 lines
751 B
Markdown
Raw Permalink Normal View History

2019-05-19 17:24:03 +02:00
# pacer2influxdb
2024-02-13 22:59:00 +01:00
export [Pacer](https://play.google.com/store/apps/details?id=cc.pacer.androidapp) data to [InfluxDB](https://www.influxdata.com/products/influxdb-overview/)
2019-05-19 18:59:09 +02:00
2024-02-13 22:59:00 +01:00
* requires 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
2024-02-13 22:59:00 +01:00
* sqlite database is `/data/data/cc.pacer.androidapp/databases/MDData.db` on an Android device, may need root privileges to get it
2019-05-19 19:49:31 +02:00
* collects steps, distance, active time and calories
* for now InfluxDB database needs to be created first
* incremental feed: just insert missing points
2024-02-13 22:59:00 +01:00
* [Grafana](https://grafana.com/) dashboard export in json format is included, adjust datasource name