Feature request: Time parameter for the 'Pump unreachable" alert

Closed
#4,902 7 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
kotlin
Domain
mobile

Research direction

Start by locating the “Pump unreachable” alert, its user-facing settings, and the logic that determines when the alert fires. Trace how pump-unreachable duration is measured, then define done as allowing a selectable delay and verifying that the alert waits for that duration while still triggering afterward.

Written by the indexing model from the issue text.

Description

enhancement

This alert can trigger while I am switching from an old pod to a new one.

I'd rather not get this alert while switching to a new pod. But, if AAPS cannot reach the pod any other time, I would like to be alerted.

Would it be possible to add a parameter to this alert so that if you enable it, you can also specify or choose a time parameter that the alert would not trigger until the length of time the pump is unreachable reaches this time period.
For example, let's say you give the user the following choices:
5 minutes
10 minutes
20 minutes
40 minutes

And you can set the default to 5 minutes.
Then, if the user has the alert enabled, it would only trigger if the pump is unreachable more than the chosen length of time.

Then, someone like me can set it to 10 minutes for example and then it will never trigger while I am switching to a new pod.

Dominant language
Kotlin
Stars
1.2k
Forks
7.4k
Avg merge
1d 9h
Merged PRs (30d)
92

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nightscout/AndroidAPS

All issues in nightscout/AndroidAPS

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.