Skip to content

WildPress/quantified-self

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantified Self

Please refer to my blog post for more details.

Server Installation

  1. Clone this repo
  2. Copy .env.example to .env
  3. Update the .env variables
  4. docker compose up -d
  5. Connect to InfluxDB: http://hostname:8086
  6. Connect to Grafana: http://hostname:3000
  7. InfluxDB: Generate a write-only API key for your bucket (for Tasker)
  8. InfluxDB: Generate a read-only API key for your bucket (for Grafana)
  9. Grafana: Add the InfluxDB bucket as a data source. You will need to set a custom HTTP header: "Authorization": "Token YOUR_API_TOKEN". Make sure to include "Token ".
  10. You should be connected and ready to set-up your first Grafana dashboards!

Android Installation

  1. Install Health Connect
  2. Connect Health Connect to Samsung Health, Google Fit, Withings, etc.
  3. Install Tasker
  4. Install TaskerHealthConnect plugin
  5. Import the taskerTemplate.conf into Tasker
  6. Download the healthConnectExport.js file and update the Path in the Tasker A2 task.
  7. Generate a write-only API key for your InfluxDB bucket and add it as a Tasker variable %INFLUXDB_API_TOKEN
  8. Add a Tasker variable %INFLUXDB_API, it should be formatted: "HOSTNAME:8086/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=ms
  9. Run the tasker task to verify it works and set it up to run on a schedule

Usage

Once installed, you should be able to run the Tasker task to push your Health Connect data to InfluxDB. You can then query this data in Grafana to create your dashboards. I'll go into more details about creating useful dashboards on my blog.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages