Skip to content
forked from gillesvs/librelink

Librelink integration for Home Assistant

License

Notifications You must be signed in to change notification settings

dodog/librelink

 
 

Repository files navigation

Maintenance hacs_badge Validate with Hassfest Validate with HACS

LibrelinkUp Integration for Home Assistant

This integration will set up the following platforms for each patient linked to the librelinkUp account.

  • Enhanced Trend Calculation More accurate than the sensor's native trend. Better reflects true physiological changes by reducing noise. Uses a weighted average of multiple time windows (1-min, 5-min, 15-min) and applies smoothing logic.
Platform Description

sensor | Show info from LibrelinkUp API.

  • Active Sensor (in days) : All information about your sensor. State is number of days since activation.
  • Glucose Measurement (in mg/dL) : Measured value every minute.
  • Glucose Trend : Direction and speed of glucose change. Calculates rate of change, then classifies it using clinical thresholds.
  • Trend Arrow : A visual arrow: ↗, →, ↘, ↓, ↑.
  • Rate of Change : Precise speed in mg/dL/min or mmol/L/min.
  • Delta 1/5/15 Min : Absolute change over 1, 5, and 15 minutes in mmol/L or mg/dL.
  • Minutes since update (in min) : self explanatory.

binary_sensor | to measure high and low.

  • Is High | True of False.
  • Is Low | True of False.

Illustration with a custom:mini-graph-card

302025877-bfed1b2b-dbf7-4666-a202-885ff3db67b8

And the yaml if you like this card: https://github.com/dodog/librelink/blob/main/custom_components/librelink/mini-graph-glucose.yml

Installation

  1. Add this repository URL as a custom repository in HACS
  2. Restart Home Assistant
  3. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Librelink"

Configuration is done in the UI

You need a librelinkUp account to use this integration User must have accepted Abbott user agreement in the librelinkUp app for the integration to work.

  • Use username (mail) and password of the librelinkUp account.
  • A token will be retreived for the duration of the HA session.

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines


Buy Me A Coffee

Forked from @gillesvs and @kubasaw.

About

Librelink integration for Home Assistant

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • Python 100.0%