Crazy-Marvin / LibreLinkUpDesktop

This is a desktop application that fetches your blood sugar from LibreLinkUp
Apache License 2.0
22 stars 9 forks source link

Add a mmol/L option for displaying results #281

Open Hangar85 opened 3 months ago

Hangar85 commented 3 months ago

:warning: Is your feature request related to a problem? Please describe.

Data is only displaying in mg/dL

:bulb: Describe the solution you'd like.

Data available in mmol/L for UK users

:bar_chart: Describe alternatives you've considered.

NA

:page_facing_up: Additional context

NA

:raising_hand: Do you want to develop this feature yourself?

I'm afraid I'm not a coder so wouldn't really know how to implement this feature.

In the UK values are shown as mmol/L rather than mg/dL https://www.diabetes.co.uk/blood-sugar-converter.html

Would it be possible to have an option in the settings section to be able to toggle this?

CrazyMarvin commented 3 months ago

Do you see the correct values but just the measuring unit is wrong? May you share a screenshot please?

Hangar85 commented 3 months ago

Of course I believe the values are correct, it's just we don't use the mg/dL values in the UK.

image

Screenshot from the LibreLinkUp app :

image
Kev1nr1 commented 3 months ago

Do you see the correct values but just the measuring unit is wrong? May you share a screenshot please?

This should (hopefully haha) be easily solvable. If it would be possible in the settings menu to add another option called display setting or something where you can select mg/dl or mmol/l, the only thing that needs to be changed in the back-end would be to display it instead of 146mg/dl -> (146*0.0555)=8.2 mmol/l

byBlurr commented 2 months ago

Here is how we convert between mmol/L and mg/dl:

mmol/L = (mg/dl / 18) mg/dl = (mmol/L * 18)

tebz commented 1 month ago

mmol/L is also used in Sweden