Compare commits

..

2 commits

Author SHA1 Message Date
n
994d3829f7
markdownlint fixes
All checks were successful
lint / lint (push) Successful in 39s
2024-10-04 00:05:39 +02:00
n
92c58dce57
add markdownlint to CI 2024-10-04 00:00:28 +02:00
2 changed files with 17 additions and 8 deletions

View file

@ -12,6 +12,11 @@ jobs:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- name: Lint Markdown files
uses: actions/markdownlint-cli2-action@v17
with:
globs: |
**/*.md
- name: Create Python virtualenv
run: |
mkdir -p .cache

View file

@ -1,11 +1,15 @@
# pacer2influxdb
export [Pacer](https://play.google.com/store/apps/details?id=cc.pacer.androidapp) data to [InfluxDB](https://www.influxdata.com/products/influxdb-overview/)
export [Pacer](https://play.google.com/store/apps/details?id=cc.pacer.androidapp)
data to [InfluxDB](https://www.influxdata.com/products/influxdb-overview/)
* requires 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](https://grafana.com/) dashboard export in json format is included, adjust datasource name
* requires Python 3, `influxdb-python` and `sqlite-python`
* original code from [https://github.com/korjavin/sqlite2influxdb](https://github.com/korjavin/sqlite2influxdb)
and [https://github.com/influxdata/influxdb-python](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](https://grafana.com/) dashboard export in json format is included,
adjust datasource name