Skip to content

Client control: QR pairing, roles, hardened mode, own Nightscout token - #2638

Merged
MilosKozak merged 2 commits into
devfrom
client-control-pairing
Oct 21, 2026
Merged

MilosKozak merged 2 commits into
devfrom
client-control-pairing

Conversation

@MilosKozak

Copy link
Copy Markdown
Collaborator

Documents the new client control features of AAPS 4.

Wait with the merge until the matching code is in AndroidAPS dev.

What changes:

  • Master ↔ Client control (main page):
    • three ways to add a client: QR code with Nightscout and pairing, QR code with Nightscout only, PIN
    • scanning the QR code on the client (setup wizard step "Set up from the master", or Pair with master)
    • new sections: client roles, hardened mode, the client's own Nightscout token
    • managing clients: role buttons, which token a client uses, "Read Nightscout only", removing a client deletes its token
    • security notes: the pairing secret is replaced right after pairing; least rights in Nightscout
    • troubleshooting rows for the new messages
    • fixes two outdated statements: the "Allow client control" switch is no longer in the NSClientV3 settings, and the quoted websocket warning no longer exists
  • AAPSClient: the new wizard step and both ways to pair
  • Remote control, Setup wizard, Preferences, Your AAPS profile: short updates for QR pairing and hardened mode (Nightscout website treatments are not applied while client control is on)
  • What changed in v4, Release notes, Remote monitoring, FAQ: short mentions and links

Screenshots still to add are marked with SCREENSHOT NEEDED comments in the pages (the new add-client dialog, the client list with roles, the client wizard step). The QR code screen cannot be captured: AAPS blocks screenshots there.

utils/qualitycheck.py --lang EN passes.

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

♻️ Preview destroyed

PR preview ♻️ Destroyed ♻️ Destroyed
🔗 Preview https://openaps-AndroidAPSdocs-build-pr-2638.surge.sh (already destroyed)
📝 Commit36df331
🪵 LogsView logs

🤖 Powered by surge-preview

@MilosKozak
MilosKozak merged commit 84280f3 into dev Oct 21, 2026
1 check passed
@MilosKozak
MilosKozak deleted the client-control-pairing branch October 21, 2026 20:41
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