Hello, lemmy.world! First time posting here, hope you’ll find it somewhat useful.
In an attempt to protect my personal info from data-hungry cloud-infested madness that comes from app stores of various kinds, I decided to establish a routine of scraping health metrics from… myself. This particular example requires manual input, however it proved to be working reliably and much more precise than any other mood journaling app.

More details you may find here, in my personal blog.
Feel free to ask other details, I can share my termux scripts, Tasker workflows, Grafana dashboard JSONs, and other infrastructure around it.


Does gadgetbridge have something like an API? It seems like it should already have something along these lines, since health wearables not having one is what gave birth to gadgetbridge in the first place…
To my knowledge not really much is available. You may use an intent to trigger database export and then use SQLite to scrape data.
Also keep in mind that data is kept in device specific tables.
https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Intent-API