Compare commits

...

2 commits

Author SHA1 Message Date
n
ffef9adfac
markdownlint fixes
All checks were successful
lint / lint (push) Successful in 41s
2024-10-04 00:03:01 +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 }}." - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Lint Markdown files
uses: actions/markdownlint-cli2-action@v17
with:
globs: |
**/*.md
- name: Create Python virtualenv - name: Create Python virtualenv
run: | run: |
mkdir -p .cache mkdir -p .cache

View file

@ -1,11 +1,15 @@
# pacer2influxdb # 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` * requires Python 3, `influxdb-python` and `sqlite-python`
* original code from https://github.com/korjavin/sqlite2influxdb and https://github.com/influxdata/influxdb-python * original code from [https://github.com/korjavin/sqlite2influxdb] and
* sqlite database is `/data/data/cc.pacer.androidapp/databases/MDData.db` on an Android device, may need root privileges to get it [https://github.com/influxdata/influxdb-python]
* collects steps, distance, active time and calories * sqlite database is `/data/data/cc.pacer.androidapp/databases/MDData.db` on an
* for now InfluxDB database needs to be created first Android device, may need root privileges to get it
* incremental feed: just insert missing points * collects steps, distance, active time and calories
* [Grafana](https://grafana.com/) dashboard export in json format is included, adjust datasource name * 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