Compare commits
2 commits
a465d09e63
...
5d04d6b4ff
Author | SHA1 | Date | |
---|---|---|---|
5d04d6b4ff | |||
f9a1a61200 |
2 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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."""
|
||||
|
|
Loading…
Add table
Reference in a new issue