Closed diabetesdiyaps closed 2 years ago
Created this issue with my testing account (diabetesdiyaps). This response by my personal account. Performed some detail testing tonight:
Expected in 5 and 6 is a BG in Nightscout report treatments of 5.5 instead of 99.
Hi,
An update on the findings. Writing to NIghtscout still is in mg/dl instead of mmol/l. But, in a chat with another Dutch user I heard he did not have trouble with his screen "mmol/l / mg/dl stripes" to occur. So I have tested again.
I saw when the switch is "too fast" there's a screen error (see below). When I don't wait for the blue bar to completely finished to right the screen has "mmol/l mg/dl stripes". A good workaround is to Exit the app and restart, the screen will be OK after loading.
Perhaps an idea to pop-up a message after switching from mg/dl to mmol/l to wait completely for the screen to load, or to Exit the app and reboot immediately?
Thanks and all the best, Peter
issue is on NS side. it doesn't convert value to units selectwed in settings. I set at least upload to units selected in AAPS https://github.com/nightscout/AndroidAPS/commit/70f365960052ec28f6844538559c8cd38bf32220 So far it was always in MGDL
Thank you @MilosKozak !
Build version: 3.0.0.2-dev-l
Yesterday setup a test environment for dynISF using my phone and personal accounts (Nightscout, Heroku, xDrip) for it. All have the same version as my girlfriend. My T1D girlfriend is using the production environment ;-)
Found a bug in dev-l in conversion mmol/l and mg/dl:
We use mmol/L settings, but when using bolus calculator, 'blood glucose' value shows in Nightscout (most recent v14.2.5) report Treatments as mg/dl instead of mmol/l. After reverting back to 3.0.0.2 and using bolus calculator the same I see 'blood glucose' value is stored again as mmol/l.
Also, after using AndroidAPS bolus calculator entering value in mmol/l the overview screen suddenly shows the value as mg/dl. When changing AndroidAPS unit setting from mmol/l to mg/ml overview screen seems to show to correct value.
See screenshots for a deep dive:
With dev-l in main window when I switch units it goes wrong:
Set AndroidAPS units in mmol/l
Set AndroidAPS units in mg/dl
No stubs in this test-round ;)
For my the upcoming days / weeks it's possible to re-test, upload log files or build a new dev version to test. Love to help.
Dev's, great job so far !!
All the best, Peter