export Pacer data to InfluxDB
|
||
---|---|---|
.forgejo/workflows | ||
grafana.json | ||
LICENSE | ||
pacer2influxdb.py | ||
README.md |
pacer2influxdb
- requires Python 3,
influxdb-python
andsqlite-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