• Guest - w'd love to know what you think about the forum! Take the 2025 Survey »

LibreView integration in Home assistant

Tazdevl

Member
Messages
22
Type of diabetes
Type 2
Treatment type
Tablets (oral)
Maybe way way to technical but I'm looking for a way to get data from my FreeStyle Libre 2 Plus sensor into Home assistant.

Found 2 possible solutions:

Both don't seem to work :)

Might be a long shot but I'm hoping there are some IT nerds like me on the forum :)
 
I've been in working on computers since 11 (programming on the ZX81), I've since made it my career. I know a lot but you can't know everything :)
 
Might be a long shot but I'm hoping there are some IT nerds like me on the forum

How far did you get?

I only recently installed HomeAssistant (so I'm only a newbie with regards to it), but I just tried the first of those repos (which shows up as LibreView in HACS)

Haven't yet figured out how to get proper graph (as per their screenshots) but is displaying my current glucose level;

1761743305244.png
 
Ok bear with me, there is some slight trickery involved.

In LibreLink, connected apps, tap LibreLinkUp.
Invite a second email address (tried with the same as in the LibreLink app, it didn't work)
Install LibreLinkUp on a mobile device and follow the steps to set it up with the second email address.

In home assistant open HACS, click the topleft tree dots & choose add custom...
Add: https://github.com/dodog/librelink
This is a Fork (a copy of sorts) of the gillesvs version, with fixes that DoDog has made.
In the search bar, type LibreLink, sadly there's 2 at the moment :)
For me the newest had the fixes. Install this version

Go to settings, devices & services. LibreLink should be there.
Open the app and start config by adding an entry. With the correct email address the patient_id changed to the display name I used in LibreLink.

Next: On https://github.com/dodog/librelink is a link to a yaml card: https://github.com/dodog/librelink/blob/main/custom_components/librelink/mini-graph-glucose.yml
You first need to install the "mini-graph-card" addon.

And for some reason... this is where I'm stuck at the moment. The connection works and I have a somewhat useless card but the data is there!
 

Attachments

  • Screenshot 2025-10-29 182159.jpg
    Screenshot 2025-10-29 182159.jpg
    18.4 KB · Views: 8
Same here, have some long days ahead at a IT security conference today and tomorrow. Probably no energy to work on it.

There must be some logging info available. So next step, probably in the weekend, find out where :)
 
What are you expecting to see?

This is my current dashboard, showing my figures for the last 24 hours and last three.

1761810008262.png
 
Guessing the "_van_etc" is the issue?
Also Maxence_ .

I guess the person who posted that example was named Maxence van Schendel. The good news is that the editor should do completion, so if you type `sensor.` you should get a popup of all the variables and you can select the one containing your name as used by LibreLinkUp and ending in _measurement. From your other screenshot it may be 'sensor.Dennis_Van_T_measurement'.
 
Back
Top