Skip to content

Add directional/charging skip toggles to Low, High and Battery alarms#692

Open
bjorkert wants to merge 2 commits into
devfrom
low-alarm-skip-if-rising
Open

Add directional/charging skip toggles to Low, High and Battery alarms#692
bjorkert wants to merge 2 commits into
devfrom
low-alarm-skip-if-rising

Conversation

@bjorkert

@bjorkert bjorkert commented Jul 6, 2026

Copy link
Copy Markdown
Member

Adds three opt-in toggles that keep alarms quiet when the situation is already correcting itself. All are off by default, so existing alarms behave exactly as before.

  • Low BG — skip if rising: stays silent while glucose is climbing, only firing when the latest reading is flat or still falling.
  • High BG — skip if falling: the mirror case — stays silent while glucose is dropping, only firing when the latest reading is flat or still rising.
  • Phone Battery — skip while charging: stays silent while the phone is plugged in, using the uploader's charging status from Nightscout. If the uploader doesn't report charging status, the alert still sounds.

For the BG alarms, direction is judged by the last two readings; the delta isn't configurable. The battery toggle relies on the isCharging flag already present in the Nightscout devicestatus payload rather than guessing from battery-level history.

The low alarm can now stay silent while BG is climbing, firing only
when the latest reading is flat or still falling. Off by default, so
existing alarms are unaffected.
The high alarm can now stay silent while BG is falling (mirror of the
low alarm's skip-if-rising). The phone-battery alarm can stay silent
while the phone is charging, using the uploader's charging status from
Nightscout. Both are off by default.
@bjorkert bjorkert changed the title Add option to skip low BG alarm while rising Add directional/charging skip toggles to Low, High and Battery alarms Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant