-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Describe the bug
For Omnipod based pump managers.
- when a pod must be discarded because communication cannot be resumed, the pump manager should report a
Suspendat the time of discard and estimate what the current status is for dosing based on what it knows - this won't be perfect
- but right now no event is reported in response to a discard
Attach an Issue Report
N/A
To Reproduce
Steps to reproduce the behavior
- Attach a rPi DASH simulator to Loop
- Complete the steps to Deactivate and Pair New/Insert a new pod
- ✅ In this case there is a
Suspendat the time of the deactivate and aResumeat the time of cannula insertion
- ✅ In this case there is a
- Interrupt the rPi DASH simulator, attempt to Deactivate - Discard instead, resume rPi DASH simulator and Pair New/Insert a new pod
- In this case there is a
Resumeat the time of cannula insertion but noSuspendis visible - 🧰 I expect to see a
Suspendat the time the pod is discarded
- In this case there is a
- Use the front end to cause a fault and view the fault with the Loop interface, then Interrupt the rPi DASH simulator, attempt to Deactivate - Discard instead, resume rPi DASH simulator and Pair New/Insert a new pod
- No
Suspendwas seen at the time of the Discard statement - The
ResumeandPod Changewas seen at the time of the cannula insertion - 🧰 I expect to see a
Suspendat the time the fault is detected by Loop
- No
- Repeat step 4, but do not interrupt the rPi DASH simulator
- final result shows
Suspend at time of fault with aResumeandPod Change` at time of cannula insertion - ✅ With the updated pod code, the results are as expected
- final result shows
Screenshots
If applicable, add screenshots to help explain your problem.
Phone
- Hardware: SE 3rd gen
- OS Version: iOS 26.1
Loop Version
- Version Number: dev branch, version 3.9.3
- Repo: LoopKit
CGM
- Device: N/A
Pump
- OmniBLE pump manager with rPi DASH simulator
Deleted or edited comments
EDITED TO ADD: @itsmojo reports that the odd
Resumeinstead ofSuspendbehavior mentioned in the original comments were because the rPi DASH simulator was not reporting a fault in the same way that a pod will.
The rPi DASH simulator was subsequently updated with LoopKit/pod PR 15: return suspend when pod fault is detected
Comments that were due to the issue with the DASH pod simulator have been removed.
They are copied here (in strikeout font) for historical reasons.
The issue description above was edited to be correct for a "real" pod.
when a pod fault is detected, the pump should report aSuspendevent - not a resume event.
pod fault and discard
In this case there are two instances of aResumebut noSuspendis visiblethe firstResumeis at the time the fault was detected by Loop - but NOTE this only appears in the pump event log after the pod was discarded in a later stepthe secondResumeis at the time of cannula insertion