nightscout / nightscout/AndroidAPS

Feature request: New SMS Command; Enable/Disable SMBs

Open
#4,174 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
1.2k
Forks
6.4k
Avg merge
2d 7h
Merged PRs (30d)
19

Description

Description:

Add a new SMS command to enable or disable SMBs via the existing SMS command system in AndroidAPS.

Background:

Currently, there is no way to remotely enable or disable SMBs. With the increasing use of automation in AAPS, SMBs can now be toggled based on context (e.g. activity, time of day, etc.). However, this introduces potential risks in remote care situations, especially if automation activates SMBs when they are not appropriate.

Use Case:

In parental or caregiver-managed setups, there is a need to override SMB settings remotely—for example, to disable SMBs during unexpected activity, illness, or if food intake is delayed. SMS is an important communication method. A manual SMS command would provide a quick and robust fallback when automation or local conditions require immediate change.

Proposed commands:

SMB ON
SMB OFF
SMB STATUS

Optional: confirmation SMS reply showing current SMB state.

Adding this command would improve safety and control in remote therapy management, especially where automation leads to unintended settings.

Contributor guide

Open the contributing guide

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.

Research direction

The issue points to AndroidAPS's existing SMS command system but names no files or tests; start by tracing how current SMS commands are parsed and how SMB state is read or changed. Done means SMB ON, SMB OFF, and SMB STATUS behave consistently with the existing command system, with the optional confirmation behavior clarified and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.