Skip to content

Comments

Fix mmol/l value when native value of the app is set to mg/dl#49

Merged
PTST merged 7 commits intomainfrom
fix_mmol_l_when_not_native_value
Feb 20, 2026
Merged

Fix mmol/l value when native value of the app is set to mg/dl#49
PTST merged 7 commits intomainfrom
fix_mmol_l_when_not_native_value

Conversation

@PTST
Copy link
Owner

@PTST PTST commented Feb 20, 2026

Turns out that the .value returned from the api is not always in mmol/l as assumed. Instead it seems to be the native value that the libre app is set to.

So we calculate the mmol/l ourselves from the fixed mg/dl value provided
Should fix #48

PTST added 7 commits February 20, 2026 07:23
Turns out that the .value returned from the api is not always in mmol/l as assumed. Instead it seems to be the native value that the libre app is set to.

So we calculate the mmol/l ourselves from the fixed mg/dl value provided
Add app_uom property and update get_mmol_l_value method to handle unit of measurement.
@PTST PTST merged commit 6d051fb into main Feb 20, 2026
5 checks passed
@PTST PTST deleted the fix_mmol_l_when_not_native_value branch February 20, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

value_mmol_l bad value ?

1 participant