nightscout / Trio

MIT License
45 stars 125 forks source link

Cannot set a BG target of 6.1, silent reset to 4 mmol/l #318

Closed widmann closed 1 week ago

widmann commented 2 weeks ago

Trio is also affected by this bug: https://github.com/Artificial-Pancreas/iAPS/issues/712

If I try to set a BG target of 6.1 mmol/l in the UI, the setting is silently reset to 4 mmol/l after saving and exiting the UI. Setting 6.0 or 6.2 mmol/l works, so there is a workaround. However, since there is no visual feedback of the reset and a target of 4 mmol/l could have serious side effects, I would consider this a high priority issue.

Steps to reproduce:

Expected result:

Actual result:

A prerequisite is probably setting the BG units to mmol/l, but I have not systematically tested this yet.

marionbarker commented 2 weeks ago

Summary

I confirm this issue exists with the most recent configuration for Trio-alpha.

Testing

Sjoerd-Bo3 commented 2 weeks ago

Did the same testing as Marion with the same outcome.

bjornoleh commented 2 weeks ago

Can confirm this was the same with an older iAPS build (v2.2.5)

dsut4392 commented 2 weeks ago

Yep, confirmed same in dev32b5e95 with pump simulator.