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

add observer on pump deactivated to initialize pump status #285

Merged

Conversation

kskandis
Copy link
Contributor

@kskandis kskandis commented Jun 8, 2024

This resolves Issue Home View shows "No Pod" or "Signal Loss" despite insulin delivery system removal
#283

Tested Omnipod and Medtronics on Simulator

Copy link
Contributor

@bjornoleh bjornoleh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested successfully in Xcode simulator (iPhone 15):

Before fix: Added Dash and removed the pump, the "No pod" warning appears also after removal
After fix: Added Dash and removed the pump, "Add pump" is displayed instead.

I did not review the code changes thoroughly, although I get the gist of it.

Copy link
Contributor

@dnzxy dnzxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested this pre-PR via a .patch-file. Worked as intended.

Tested with rPi pod simulator, in-app simulator on an iPhone 11 @ iOS 16.7.

LGTM

@bjornoleh
Copy link
Contributor

Merging with two approvals

Great job, @kskandis!

@bjornoleh bjornoleh merged commit 9654d70 into nightscout:dev Jun 8, 2024
1 check passed
@marionbarker
Copy link
Contributor

Testing after merge for completeness.

Status

  • Success for Pods
  • Success for MDT

Configuration

  • iPhone SE iOS 17.5.1
  • Trio dev, commit 9654d70

Testing

  • Add Omnipod DASH
    • Deactivate pod and see No Pod on main screen
    • Switch to other delivery and see Add pump on screen
  • Add Medtronic pump, succeeds
    • Delete Medtronic pump and see Add pump on screen.

This was referenced Jun 10, 2024
mountrcg pushed a commit to mountrcg/Trio that referenced this pull request Jun 15, 2024
…ump-deactivated

add observer on pump deactivated to initialize pump status
mountrcg pushed a commit to mountrcg/Trio that referenced this pull request Aug 1, 2024
… recycled (nightscout#285)

* Update DexcomSourceG5.swift

Generate unique _id value to prevent Mongo collisions in Nightscout

* Update DexcomSourceG6.swift

Generate unique _id value to prevent Mongo collisions in Nightscout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Home View shows "No Pod" or "Signal Loss" despite insulin delivery system removal
4 participants