Compare commits

..

No commits in common. "5d04d6b4ff68b600f7c64309c4f0b81f72ac9c5c" and "a465d09e63bf344b966fc94d128653e33d2f4eec" have entirely different histories.

2 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,6 @@
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

View File

@ -4,6 +4,7 @@ import datetime
import time
import sqlite3 as lite
import argparse
import json
def main(host='localhost', port=8086, user='root', password='root', dbname='demo', dbfile='demo.db'):
"""Instantiate the connection to the InfluxDB client."""