Skip to content

PTST/LibreView-HomeAssistant

Repository files navigation

Maintenance HACS Badge HACS Validation Hassfest Validation

LibreView Integration for Home Assistant

Will add a sensor per connected person showing their last reported blood glucose levels in either mmol/L or mg/dL
Supports Home Assistant statistics
Screenshot 2024-02-23 083043

Installation

HACS (Recommended)

  1. Search HACS for the LibreView integration and install
  2. Restart Home Assistant

Manual

  1. Using the tool of choice open the directory for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory there, you need to create it.
  3. In the custom_components directory create a new folder called libreview.
  4. Place all files from the custom_components/libreview/ directory in this repository.
  5. Restart Home Assistant

Setup

LibreLinkUp

This integration uses the fact that you can share your data with other people using the LibreLinkUp app. Therefore you must first set this up.

  1. Open your LibreLink App and click on the hamburger menu in the top left corner and click "Connected apps"
    IMG_0621

  2. Click manage next to "LibreLinkUp"
    IMG_0622

  3. Click "Add connection"
    IMG_0623

  4. Enter a name and the email of the account you want to connect to.
    You can either use the same email as you LibreLink account, then you can just use the same login info later on
    or you can add a new email and use that later on to create a new user
    Then click "ADD"
    IMG_0625

  5. You should then get the following screen saying that an Invitation is pending
    IMG_0626

  6. Download and install the LibreLinkUp app on your phone from the App Store or the Google Play Store

  7. Open the LibreLinkUp app you just installed.
    If in step 4 you used the same email as you did for your existing LibreView Account then click "Log in", and proceed to step 10. Otherwise click the "Get started now" button, and then on the next screen click the "Create Account" button
    IMG_0628

  8. Accept the License Agreement and Privacy Policy

  9. Create your new Account and make sure that you use the same email that you provided in step 4.
    IMG_0634

  10. Then a prompt should appear shortly sating that xxx would like to share glucose information with you. Click Accept.
    Then proceed to Home Assistant for the setup of the integration there.
    IMG_0641

Home Assistant

  1. In Home Assistant click on Settings in the left-side navigation
    IMG_0643

  2. Click on "Devices & Services"
    IMG_0644

  3. Click on the "Add integration" button
    IMG_0645

  4. Search for "LibreView" and click on the result
    IMG_0646

  5. Enter your login crendentials for the LibreLinkUp app and click Submit
    IMG_0648

  6. Select your preferred unit of measurement and click submit
    IMG_0649

  7. Click finish
    IMG_0650

  8. You now have a new sensor for each person who shares their glucose measurements with you.
    IMG_0651