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

Enter insulin bolus treatments #300

Open
poml88 opened this issue May 28, 2024 · 22 comments
Open

Enter insulin bolus treatments #300

poml88 opened this issue May 28, 2024 · 22 comments

Comments

@poml88
Copy link
Contributor

poml88 commented May 28, 2024

Since we can enter carbs on watch and phone, would it be difficult to implement entering insuline units?

@dhermanns
Copy link
Collaborator

Hi Phil, can be entered but without any effect. At least for Android APS, since it is not allowed to sync this data to the loop.

@poml88
Copy link
Contributor Author

poml88 commented May 28, 2024

Well, in my case it is just for keeping track of injections. I have a very simple loop, sensor, brain, pen. :-) I guess I could follow the example of the carbs?

@dhermanns
Copy link
Collaborator

Yes - should be pretty similar.

@poml88
Copy link
Contributor Author

poml88 commented May 29, 2024

Just slowly discovering everything... In principle NG shows already everything, and you can enter via the iOS NS view. A quick button like the carbs on the watch would be cool, and a Siri catch like "add 5 units insuline" or so. I'll keep that in mind for later.

@dhermanns
Copy link
Collaborator

Keep in mind how bad siri voice recognition is. So could be dangerous for loop users. Not for AAps Users, but I don't know what other Systems are out there...

@poml88
Copy link
Contributor Author

poml88 commented Jun 20, 2024

Ok, in the latest TestFlight there is an option to create Correction Bolus events.

@poml88
Copy link
Contributor Author

poml88 commented Jun 23, 2024

Do you want a PR for this? I think you saw the TestFlight?

@dhermanns
Copy link
Collaborator

I'm not sure whether this could be to dangerous, depending on your setup.

@poml88
Copy link
Contributor Author

poml88 commented Jun 23, 2024

You mean, somebody enters 6 U and then this persons pump will inject 6 U and the person will run into a low?
Why would it be different from just entering the insulin in Nightscout? Somebody would do it by mistake?
For me it is very handy, because I see at all times how much insulin is still around...

@dhermanns
Copy link
Collaborator

Yes exactly. When you setup your own nightscout, it is up to you. But it's different when offering an App in the Appstore.

@poml88
Copy link
Contributor Author

poml88 commented Jun 23, 2024

You mean all the "this software comes without any warranty" "no medical decisions" and so on will not help?

Anyway, up to you. I do not know (yet) how all that looping works.

It just makes me developing for you a bit harder, because I will have to keep a different version running for myself. But ok, I guess we will manage. :-)

@dhermanns
Copy link
Collaborator

dhermanns commented Jun 23, 2024 via email

@poml88
Copy link
Contributor Author

poml88 commented Jun 23, 2024

I guess sooner or later I will do look at AAPS. My current game changer is my pancreas that is doing the basal rate for me... I try to keep it alive as long as I can... ;-)

Sounds like I need an extra phone. Got a Galaxy Note II lying around, guess that won't be supported anymore... :)

@dhermanns
Copy link
Collaborator

Fingers crossed 🤞🏽

@poml88
Copy link
Contributor Author

poml88 commented Jun 23, 2024

Something else: I have updated the versioning variables, so that the Project and Marketing Versions have to be updated only in one place... Makes it a bit easier (without fast lane?). Would that be of interest?

@dhermanns
Copy link
Collaborator

Sure

@dhermanns
Copy link
Collaborator

I would leave this feature on your fork till now. If someone would like to have this, vote for this here with a "+1".

@poml88
Copy link
Contributor Author

poml88 commented Jun 23, 2024

Ok, you are the boss. :-) But nobody will every find a closed issue...

@poml88
Copy link
Contributor Author

poml88 commented Jun 26, 2024

Just for consideration:
In the carbs view: imagine somebody puts in 20g of carbs and does not eat. Or somebody confuses 10 g with 100 g because of the tiny screen… will also lead to a low.

I guess making a 100% Safe App is very difficult. Maybe also the reason why for example the fsl apps are quite limited.

Let’s see what f anybody would like this feature too. :-)

@dhermanns
Copy link
Collaborator

The effect is much slower and you can simply remove the carbs and correct them. If the insulin is in your body - hard to remove 😉

@poml88
Copy link
Contributor Author

poml88 commented Jun 26, 2024

Agreed. Unless the system injects some sort of bolus for the carbs entered…. But if it uses little doses over time it is indeed not a risk.
complcated this diabetes stuff…

@dhermanns
Copy link
Collaborator

At least I don't know any loops that act this way. AAPS does Micro Boluses or adjust the Basal Rate to accommodate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants