ci #1

Merged
n merged 3 commits from ci into main 2024-02-15 17:44:21 +01:00
Showing only changes of commit 95e703d1ac - Show all commits

View file

@ -1,11 +1,11 @@
# pacer2influxdb # pacer2influxdb
export Pacer data to InfluxDB 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 * requires Python 3, `influxdb-python` and `sqlite-python`
* original code from https://github.com/korjavin/sqlite2influxdb and https://github.com/influxdata/influxdb-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 * 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 * collects steps, distance, active time and calories
* for now InfluxDB database needs to be created first * for now InfluxDB database needs to be created first
* incremental feed: just insert missing points * incremental feed: just insert missing points
* grafana dashboard export in json format is included, adjust datasource name * [Grafana](https://grafana.com/) dashboard export in json format is included, adjust datasource name