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

Set timer when pre-bolusing for meals #414

Open
bryan1976 opened this issue Sep 22, 2024 · 4 comments
Open

Set timer when pre-bolusing for meals #414

bryan1976 opened this issue Sep 22, 2024 · 4 comments
Labels
enhancement New feature or request needs-triage

Comments

@bryan1976
Copy link

When enacting a pre-bolus for meal in say 20 minutes time, set a timer to alert when it's time to eat so you don't eat too late.

@bryan1976 bryan1976 added enhancement New feature or request needs-triage labels Sep 22, 2024
@dnzxy
Copy link
Contributor

dnzxy commented Sep 28, 2024

Please use the feature request template that is prompted when you create a feature request.

Please provide more information why this is needed and what problem it solves – you can set a timer with your phone, watch, etc., even using Siri ("Hey Siri, set a timer for 20 minutes").

@bryan1976
Copy link
Author

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

NO. Not a problem, just a proposed feature request. When enacting a pre-bolus, it is critical to remember to eat on time to prevent a hypo. However it is easy to forget to either check the current time, or manually set a reminder.

Describe the solution you'd like

A setting/preference where an alarm is set within iOS if the meal time is set in the future. For example, 20 mins.

Describe alternatives you've considered

You could use siri...but a bit awkward if in a meeting and you need other pre-bolus. I could set a timer manually, but could get this wrong (input error ie 02 00 00 instead of 00 20 00. But I'm just wondering if this could be automated at the time the bolus is enacted?

Additional context

I have used AndroidAPS for the past 2 years, and the automation of setting an alarm when bolusing for when it's 'Time to eat' has been incredibly useful. I can carry on working, looking after the kids and not worry that I will forget to eat on time.

Technical Details

If applicable, provide any technical details or considerations that might impact the implementation of this feature. This could include dependencies, potential risks, or required changes to existing functionalities.

@dnzxy
Copy link
Contributor

dnzxy commented Sep 29, 2024

Thank you for providing more context and background information ☺️

iOS is limiting our ability to set alarms. Programmatically, we cannot schedule alarms. We could maybe invoke a shortcut on the phone that then sets an alarm, but that would need additional user setup on top of what we can proclivity in the app (via code).

From your experience using this with AAPS, and also from knowing how iOS behaves: would a push notification be enough of a reminder? You would receive that on your phone, and if you have one paired on your Apple watch.

@bryan1976
Copy link
Author

HI @dnzxy

Yes I think a push notification would be great. With a sound attached to it, that would be enough.

If possible, the default setting would be YES to send notification IF carb time is future dated. But then in preferences, this can be disabled is users don't want this feature. In Android APS it's default on.

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage
Projects
Status: No status
Development

No branches or pull requests

2 participants