export Pacer data to InfluxDB
Find a file
n dfafee53b6
Some checks failed
lint / lint (push) Failing after 26s
add Gitea CI
2024-02-13 21:44:08 +01:00
.gitea/workflows add Gitea CI 2024-02-13 21:44:08 +01:00
grafana.json shared crosshair 2019-05-19 21:39:12 +02:00
LICENSE Initial commit 2019-05-19 17:24:03 +02:00
pacer2influxdb.py pylint fixes 2024-02-13 21:36:27 +01:00
README.md requirements 2019-05-20 00:42:42 +02:00

pacer2influxdb

export Pacer data to InfluxDB

  • 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 dashboard export in json format is included, adjust datasource name