Go to file
2024-04-02 14:32:52 +00:00
.github/workflows ci: login to ghcr 2024-03-20 09:45:06 +00:00
api first commit 2024-03-20 07:58:17 +00:00
cmd/glucose_exporter feat: move cmd to own dir 2024-03-21 10:19:32 +00:00
httpslog style: happy linting 2024-04-02 07:36:59 +00:00
internal chore: logging 2024-04-02 07:57:33 +00:00
vendor first commit 2024-03-20 07:58:17 +00:00
.gitignore feat: move cmd to own dir 2024-03-21 10:19:32 +00:00
.golangci.yml first commit 2024-03-20 07:58:17 +00:00
.goreleaser.yml feat: move cmd to own dir 2024-03-21 10:19:32 +00:00
Earthfile style: formatting 2024-04-02 14:26:32 +00:00
go.mod first commit 2024-03-20 07:58:17 +00:00
go.sum first commit 2024-03-20 07:58:17 +00:00
README.md docs: adds exported metrics 2024-04-02 14:32:52 +00:00
README.png docs: adds readme 2024-04-02 14:26:41 +00:00


Exported glucose measurements from your freestyle libre in your monitoring setup

Notes

Caution

Im pretty sure this is not official, so i wont take any warrenty of anything. This is experimental and just a fun project. Use at your own risk.

Usage

Prepare

Even if you run the Libre app on your phone, you also have to install the LibreLinkUp app. This is the app for family or friends to receive glucose values. This is how this software gets its data from. It fetches it from that api.

  1. So install the app and create an account
  2. Link it to the Libre app

Running the exporter

The easiest way to install and running the exporter is through docker. Please check the release page for the latest release.

Configuration

Environment variable Description
EMAIL Email login data for LibreLinkUp
PASSWORD LibreLinkUp password. Consider using PASSWORD_FILE
PASSWORD_FILE File with the account password in it. Nice to use in combination with docker compose secrets
CACHE_DIR Where to store cache data. Defaults to /var/cache/glucose_exporter
DEBUG Enabling debug logging

Exported metrics

Metrics Description
value_in_mg_per_dl The glucose level itself
trend_arrow A integer representing the glucose trend

Trend interpretation

Trend Meaning
1 ⬇️
2 ↘️
3 ➡️
4 ↗️
5 ⬆️

Thanks