Currently the insulin on board is calculated based on a hard coded value.
There are different kinds of insulin and each has its own active time.
The settings page should support the different insulin models.
This can be copied from Loop, where there are 4 insulins models: Walsh, rapid acting for adults, rapid acting for children and fiasp.
Currently the insulin on board is calculated based on a hard coded value. There are different kinds of insulin and each has its own active time. The settings page should support the different insulin models. This can be copied from Loop, where there are 4 insulins models: Walsh, rapid acting for adults, rapid acting for children and fiasp.
Example from loop