gillesvs / librelink

Librelink integration for Home Assistant
MIT License
21 stars 6 forks source link

mg/dL and mmol/L readings #4

Closed Stu333 closed 6 months ago

Stu333 commented 6 months ago

Suggestion to provide mg/dL and mmol/L readings, either as selection of unit of measure or provide two sensors (mmol/L = mg/dL divided by 18). Freestyle LibreLink defaults unit of measure to the region/country, (e.g. Australia is mmol/L) and cant change it in the app.

gillesvs commented 6 months ago

Done, can you test the pre release v1.1.2b

Stu333 commented 6 months ago

I removed the initial LibreLink install via HACS 'remove', also deleted the librelink files and librelink dir in custom components directory to be sure. I downloaded the Beta v1.1.2b via HACS, restarted HA, the added the integration again. home-assistant_librelink_2024-02-01T23-24-42.341Z.log The integration is working however Im not seeing anything new regards additional sensors or changes to measurement units, pic of device screen attached and I also enabled debug log as attached. LibreLink integration

Im also not sure how to check which version is actually running, or what should I expect is different in v1.1.2b

gillesvs commented 6 months ago

Hi stu. This is normal.

Go to Integrations=>librelink=>configure

You will have to chose the unit and the sensor unit of measurement will change instantly

Stu333 commented 6 months ago

Hi, appreciate your help on this. I navigated Settings>Integrations>LibreLink but I can’t see Configure; screenshot IMG_0528

gillesvs commented 6 months ago

Hi, appreciate your help on this. I navigated Settings>Integrations>LibreLink but I can’t see Configure; screenshot IMG_0528

Hi, Strange I have this in my test environment:

Capture d'écran MMOL

Stu333 commented 6 months ago

Ok, some I’m not the best in all things HA, how can I check the beta version is loaded/ running in integrations? It’s definitely the right version in the HACS - see pic. Is there a cache or something like that to reset etc., maybe it’s to do with my browser? IMG_0529

Stu333 commented 6 months ago

If it helps, I’m using the HA IOS app on an iPad.

gillesvs commented 6 months ago

I will try to deliver a new package, but IOS is not the issue

gillesvs commented 6 months ago

@Stu333 , new package delivered. Normally you can just update the integration without deleting everything

Stu333 commented 6 months ago

Success!! Very appreciative of your support, thank you. Pics attached of HAC repository & device integration with Configure menu now working. The process I went thru was to delete the old LibreLink in Settings>integrations, then used the Remove menu option in HAC to remove the LibreLink repository from HACS. I then used HAC to select Beta & download the 1.1.2 version LibreLink and then did reboot of HA. I used ‘reboot’ this time instead of ‘restart’ as I noticed that option also restarts all add ons. Then added the integration & used the new Configure menu to set mmol/L. I’m a diabetic and this is a very useful integration for me. I now use this data in HA to display as complications on my Apple Watch face, so I can see both my BGL and Trend readings at a glance! IMG_0532 IMG_0531

gillesvs commented 6 months ago

Thanks for your feedback. I also use this integration for custom alerts and integration with my smart watch.