Compare commits

...

2 Commits

Author SHA1 Message Date
n 5d04d6b4ff requirements 2019-05-20 00:42:42 +02:00
n f9a1a61200 no json required 2019-05-20 00:39:53 +02:00
2 changed files with 1 additions and 1 deletions

View File

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