export Pacer data to InfluxDB
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
n 5d04d6b4ff requirements 2 个月前
LICENSE Initial commit 2 个月前
README.md requirements 2 个月前
grafana.json shared crosshair 2 个月前
pacer2influxdb.py no json required 2 个月前

README.md

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