These are chat archives for nightscout/intend-to-bolus

2nd
Aug 2015
diabeticgonewild
@diabeticgonewild
Aug 02 2015 09:05
Going to work on getting openaps-js on my Raspberry Pi today. For those of you that don't know, it's the closed loop implementation for OpenAPS. Then I am going to make a write up as soon as possible on it. Hopefully I can complete a nice write up within a week. I think that's reasonable time for doing a good job...
diabeticgonewild
@diabeticgonewild
Aug 02 2015 10:15
Oh and I get super excited when books are available to me in formats that other people can't get (nothing personal, I just like to have access to books, plain and simple, in an accessible format). I just found exactly what I was looking for http://www.learningally.org/CollegeAdults/BookDetails.aspx?BookID=JR268 (I have a print related disability due to having rare disease(s) )
diabeticgonewild
@diabeticgonewild
Aug 02 2015 10:21
• Learning Ally is human narrated books by volunteers (80,000+ books) for $199/year
• Bookshare is digital text in an accessible format that is free of digital rights management (350,000+ books plus some newspapers and magazines that are good) for $50/year
• National Library Service is professional human narrated books (25,000+ and a about 80 magazines—in text) for free
However you can get the first two for free if you are a student through a grant through the U.S. Government but I am not going to do that....yet. Not that stingy.
diabeticgonewild
@diabeticgonewild
Aug 02 2015 10:28
its supposed to say $119 not $199, but still it is really expensive compared to Bookshare. But I like human narrated books for pleasure reading so it's worth it to me.
But yeah going to sleep for awhile...going to get openaps-js hopefully running today...
diabeticgonewild
@diabeticgonewild
Aug 02 2015 12:46
Starting to work on getting OpenAPS running. Didn't sleep at all last night...tired
diabeticgonewild
@diabeticgonewild
Aug 02 2015 12:56
Or I guess I am going to try to sleep...
Scott Leibrand
@scottleibrand
Aug 02 2015 19:15
@loudnate @amazaheri I've been noticing that the output of iob.js doesn't always match what DIYPS and Nightscout calculate. We should probably refactor iob.js to use Nate's normalization code, and then calculate the IOB contribution of each resulting temp basal event by modeling it as a single net bolus at the midpoint of the timeframe (rather than a series of microboluses at fixed time intervals or amounts).
If y'all want to get started on that while we're honeymooning, please feel free. :-)
Ali Mazaheri
@amazaheri
Aug 02 2015 19:21
Not sure why you are on gitter now but @danamlewis will handle that :) I am meeting with @bewest this week to work on OpenAPS on Windows piece and can look at this as well if @loudnate available. Congratulations again and enjoy your honeymoon ...
Scott Leibrand
@scottleibrand
Aug 02 2015 19:22
;-)
Nathan Racklyeft
@loudnate
Aug 02 2015 19:30
Re: availability @amazaheri I'm in northern Michigan this week without a laptop. Are you in SF?
Ali Mazaheri
@amazaheri
Aug 02 2015 19:35
no in SoCal, I setup sometime for when you are back. We have alot to do with @bewest on NS and OpenAPS for next week and we can tackle this when you are back.
timomer
@timomer
Aug 02 2015 20:33
Hey all, I am starting work on an Android app for capturing my Carbs, Insulin and BG from xDrip, this will be a "info only system" as it will not be talking to my pump, yet. I am looking at using the openaps-js code, I cannot find any COB function - is this correct?
Ben West
@bewest
Aug 02 2015 20:34
it's from pump/treatments history
you can get it from NS rest api
would suggest implementing mqtt for real-time updates from NS/pump/openaps
timomer
@timomer
Aug 02 2015 20:36
ok, I was looking at the NS IOB-COB branch, but was worried if that code was still being maintained
@bewest where will I find this? NS/pump/openaps should I be looking under the NS Master branch?
Ben West
@bewest
Aug 02 2015 20:43
I think for NS it comes from treatments
eg, treatments are entered into careportal
for openaps I don't see that used anywhere
timomer
@timomer
Aug 02 2015 20:44
r, I do find it odd that COB appears to be missing for openaps
Jason Calabrese
@jasoncalabrese
Aug 02 2015 20:54
Most of iob-cob features are in dev now
If you want to get the iob from the pump instead of the treatment we could add a plugin. All the infrastructure for it is in place
timomer
@timomer
Aug 02 2015 21:00
thanks, will checkout dev, take it IOB-COB branch is now redundant? IOB I will be manually capturing, do not have a comms to my pump yet
Jason Calabrese
@jasoncalabrese
Aug 02 2015 21:23
the iob-cob branch did the forecasting using iob and cob from the treatments, using carbs/hour
been hard for most people to get that tuned right
they designed openaps to not use cob at all
Scott Leibrand
@scottleibrand
Aug 02 2015 22:23
yeah, we didn't want to have openaps high-temping people based on erroneously high carb guesstimates, so we figured out how to do a good "bolus snooze" without any knowledge of carbs whatsoever
I still use the wip/iob-cob branch of NS to visualize the data uploaded from openaps, but I haven't updated that code (or merged master) in month: really need to do that after the honeymoon
@loudnate @bewest: I just posted some examples of garbage-in-garbage-out decocare output to openaps/openaps#32. LMK if you need anything else.
Ali Mazaheri
@amazaheri
Aug 02 2015 23:12
And the logic works very well after 3 weeks of running it.
Scott Leibrand
@scottleibrand
Aug 02 2015 23:14
Yeah, I'm impressed at how robust the system is to all the minor bugs we're still tracking down and fixing. Definitely provides a lot of reassurance that the design is solid. :-)
Ali Mazaheri
@amazaheri
Aug 02 2015 23:15
In my case for now main usage of cloosed loop is for over night although it has responded well during the day
Also when he is on tandem i manually adjust based on recomme dation i get from openaps through text and iob and respinse very close and predictable. Yes I like openaps KISS design.
We shoyld ban Scott and Dana from gitter for next two weeks! 😊
Dana Lewis
@danamlewis
Aug 02 2015 23:27
;)
We hadn't told anyone yet, but I had him wear the loop under his tux yesterday :D and it worked well!
(But now we are taking off. So ya'll won't hear much from us on any channels until we find signal wherever we're going. )
Ali Mazaheri
@amazaheri
Aug 02 2015 23:46
Have fun!