pacer2influxdb/README.md
n 44d7bd9159
All checks were successful
lint / lint (push) Successful in 32s
update README
2024-02-14 21:47:03 +01:00

11 lines
750 B
Markdown

# pacer2influxdb
export [Pacer](https://play.google.com/store/apps/details?id=cc.pacer.androidapp) data to [InfluxDB](https://www.influxdata.com/products/influxdb-overview/)
* require Python 3, `influxdb-python` and `sqlite-python`
* 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](https://grafana.com/) dashboard export in json format is included, adjust datasource name