Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New bolus calculator #408

Open
charlesstyves opened this issue Sep 17, 2024 · 6 comments
Open

New bolus calculator #408

charlesstyves opened this issue Sep 17, 2024 · 6 comments

Comments

@charlesstyves
Copy link

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

I presently use iAPS 4.8.0 and I would like to switch to Trio. To make it happen, I need 2 features to make the switch a success. First is iOS Shortcuts (annonced for Trio 1.0.0, great!) to activate automatically a profil (most important is a night profil with lower UAM/SMB minutes). Second, the subject of this request, is a new bolus calculator. Original iAPS calculator never work well for me and I was bolusing manually when I was on iAPS 2.3.3.

Describe the solution you'd like

Implement a new bolus calculator similar to the own on iAPS 4. Precisly, it's a bolus calculator who work as a traditional calculation. It's easy to understand and helpful for many people. Formula is : (COB/CR - IOB + (BG - Target)/ISF + [15 min trend])*Bolus ratio

Describe alternatives you've considered

Tuning ISF/CR/Basal + Bolus ratio on the old calculator. It didn't work well. Always too agressive on a BG up curve and giving no insulin on a BG down curve.

Additional context

Since 1 month, I had disabled the [15 min. trend] value of the formula. It work better for me without it. Maybe a Enable/Disable option could be great. I had forced it to zero directly into the code. Using Novorad insulin.

User Impact

It let them to work better on their CR/ISF/Basal rate if they are confident with the bolus calculator.

@charlesstyves charlesstyves added enhancement New feature or request needs-triage labels Sep 17, 2024
@Sjoerd-Bo3 Sjoerd-Bo3 added this to Trio Sep 17, 2024
@tmhastings
Copy link
Contributor

tmhastings commented Sep 17, 2024

The new bolus calculator will be in Trio 1.0.0. It was developed by @polscm32

@charlesstyves
Copy link
Author

Great to know! Thanks for fast feedback. Amazing!

@Marvout
Copy link

Marvout commented Sep 19, 2024

@tmhastings I think I didnt do anything for this repo. So I might think you got the wrong person. Or have you used some code from a repo of mine ? Then I might have done something. If not please edit the comment and address it to the right contributor ;)

@Sjoerd-Bo3
Copy link
Contributor

@tmhastings I think I didnt do anything for this repo. So I might think you got the wrong person. Or have you used some code from a repo of mine ? Then I might have done something. If not please edit the comment and address it to the right contributor ;)

She tagged wrong person. Sorry

@Sjoerd-Bo3
Copy link
Contributor

The new bolus calculator will be in Trio 1.0.0. It was developed by @Marvout.

@tmhastings you meant @polscm32

@tmhastings
Copy link
Contributor

Apologies! Yes, I meant @polscm32

@dnzxy dnzxy changed the title New bolus calculator similar as the one on iAPS New bolus calculator Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

5 participants