-
Notifications
You must be signed in to change notification settings - Fork 70
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
Manually stopping insulin shows as regular basal rate in nightscout #17
Comments
Does it show correctly in t:connect? If you power off the pump, t:connect does something similar, assuming it delivered insulin at the basal rate till you power it back on... |
Yes, tconnect shows it correctly. There are no treatments entered in to nightscout for the manual stop or the manual restart but all treatments either side of the stop show up in nightscout. |
Oh, whoops! Helps to look at the attached images LOL
…On Wed, Oct 27, 2021 at 5:37 PM vonstein2002 ***@***.***> wrote:
Yes, tconnect shows it correctly. There is no treatments entered in to
nightscout for the manual stop or the manual restart but all treatments
either side of the stop show up in nightscout.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHDGDXMO3H757ZEMWMY45GDUJBWJVANCNFSM5G3DGHPA>
.
|
Thanks for noticing and reporting this -- this is a perfect example of the sort of edge case that's easy to miss without either a lot of real-world use or very good test cases. I've been looking into the data that tconnect returns from its API to pinpoint exactly how to detect when this situation occurs. Given the following data: I was able to validate that the "0 u/hr Basal" basal events are properly being processed, as they show up in
But, like you mentioned, "Manual/Alarm" basal events are not currently working.
I've added some code to catch this case and add a manual basal event for 0u/hr at the time of the manual suspension, with a duration lasting until the next basal event detected by the pump. |
Thanks for your work on this project! Allows me to use openaps autotune again :) |
Highlighted area on tconnect shows 0u/hr. in Nightscout it shows regular basal rate. tconnectsync version 0.4.1
The text was updated successfully, but these errors were encountered: