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

21st
Oct 2015
Scott Leibrand
@scottleibrand
Oct 21 2015 00:41
cool
live4sw
@live4sw
Oct 21 2015 00:54
Hi guys - just saying hello. I'm new to this. I just got started on Sunday by setting up my Pi, installing the utility belt and testing it out (successfully connected to a pump and pull readings from my G4), and slowly reading through the pseudocode. Going to spend a couple of days just reading through some of the oref0 files before bothering you guys again.
thanks for all you are doing for the community
Dana Lewis
@danamlewis
Oct 21 2015 00:57
Welcome @live4sw !
Ben West
@bewest
Oct 21 2015 08:48
Ali Mazaheri
@amazaheri
Oct 21 2015 13:21
diabeticgonewild
@diabeticgonewild
Oct 21 2015 19:35
**** my heart rate when they took my blood pressure at the cardiologist was 141! I am so screwed! I am hoping, maybe even praying to the blood pressure gods that they don't make me go to the ER! Immunosuppression hasn't been working.
Ben West
@bewest
Oct 21 2015 19:54
sorry to hear that, sounds like really rough time
diabeticgonewild
@diabeticgonewild
Oct 21 2015 19:59
Yeah, her fellow came in. They were like "we will see what we can do...". They didn't even bother taking my blood pressure standing up cause it's soooo bad.
Dana Lewis
@danamlewis
Oct 21 2015 20:01
Ooh @bewest Just saw your beautiful time zone work :)
Ben West
@bewest
Oct 21 2015 20:01
openaps/openaps-contrib#1
I'm quite pleased with it so far, I've seen all the plugin authors struggle with zones at some point
and everyone is using slightly different ways to deal with it
so now, if people want, there's a way to make sure it fits your expectations
python actually throws errors if you try to compare or do math with two datetimes where one knows about a zone, and the other does not
diabeticgonewild
@diabeticgonewild
Oct 21 2015 20:04
I bet it's going to be a cardiology admission. Neurology is a way more chill service to be admitted to. Endocrine is by far the worst though.
I'm tired of doing this.
But my immunosuppression hasn't been working and that's old news, as of 2 weeks. I'm pretty sure I am going to get screwed.
I was admitted on the endocrine service every single time for this kind of crap when my autonomic nervous system problems over the course of 3-4 months. There was nothing they could do for me except pump me full of fluids to raise my blood pressure. And then I would end up back within a week or two. And being admitted on that service it sucks.
Scott Leibrand
@scottleibrand
Oct 21 2015 20:11
hospitals are there to help make you better. if you're worried they won't do something right, you can take steps in advance to make sure they know what needs to be done to keep from making things worse... if you "got screwed" previously, you'll know what they tend to miss, and know what you need to make sure they need to look out for the next time you have to get admitted...
diabeticgonewild
@diabeticgonewild
Oct 21 2015 20:23
They aren't making me go to the hospital. Yay.
I don't think going to the hospital is a reasonable option.
diabeticgonewild
@diabeticgonewild
Oct 21 2015 20:32
It's very unusual for them to let me out in a circumstance like this.
diabeticgonewild
@diabeticgonewild
Oct 21 2015 20:39
You get screwed cause you have a rare disease and there's not that much that they can do for you. It's called being put through the wringer
Ben West
@bewest
Oct 21 2015 20:39
yes, there's a huge loss of control with hospitals and it's exhausting
no fun :-(
diabeticgonewild
@diabeticgonewild
Oct 21 2015 20:40
Indeed. With diabetes I can call the shots. Rare disease never works that way. Your doctors call the shots, and that's just the way it is.
It's really out of my hands.
That seriously made my day: not having to go to the hospital. Yay.
LadyViktoria
@LadyViktoria
Oct 21 2015 20:44
wish you all the best :*
diabeticgonewild
@diabeticgonewild
Oct 21 2015 20:45
Thanks! ❤️😎
GeoffWyche
@GeoffWyche
Oct 21 2015 21:38
@LadyViktoria I noticed that you are working with the Roundtrip code, specifically with the Mongo-to-RestAPI branch. If I can help you with that, let me know: geoff-at-gxwtech.com
LadyViktoria
@LadyViktoria
Oct 21 2015 21:39
just testing some things...
Dana Lewis
@danamlewis
Oct 21 2015 22:20
Someone just shared some cool #OpenAPS usage data (@channemann), which reminded me that I wanted to put out another ping/request to anyone who's new-ish to starting to close the loop - make sure (or try) to have 30 days of cgm data before you start looping, even just downloading your dexcom receive so we've got a before/after snapshot to see how the loop is working with you. Helps for average BG changes and time in range to show the picture of how things are going.
Tim Howard
@tghoward
Oct 21 2015 22:20
On the timezone subject - I had a heck of a time initially because my RPi (crontab, actually) insisted it wanted to be on GMT. I finally got it to my time zone (EST) and all was well, but I've been pretty tempted to suggest we only care about the pump time and the CGM time ... who cares what time the RPi thinks it is?
Dana Lewis
@danamlewis
Oct 21 2015 22:21
heh. Did you see @bewest 's openaps timezone stuff today?
Tim Howard
@tghoward
Oct 21 2015 22:22
yes, I saw he put it out but have not looked in depth yet. I expect it will be helpful!
Chris Hannemann
@channemann
Oct 21 2015 22:24
Thanks for the shout-out, @danamlewis. If anyone is interested, it was a Facebook post to friends/family (so the text may not be targeted towards this group), but I opened it up to public consumption: https://www.facebook.com/photo.php?fbid=10101497731006979
Lori
@LoriLori
Oct 21 2015 22:29
it would be good time to start FB group :)
Lori
@LoriLori
Oct 21 2015 22:43
@channemann chart looks so nice, what software it was created in? tableau ?
Ben West
@bewest
Oct 21 2015 22:43
he mentioned he gets stats calculated by tidepool, shoves that through several layers google docs and excel
Lori
@LoriLori
Oct 21 2015 22:45
may be its Mac's excel, everything on Mac looks somehow better, even screen shoot :)
Ben West
@bewest
Oct 21 2015 22:46
lol
Lori
@LoriLori
Oct 21 2015 22:47
font used is beautiful, think it is Mac :)
Chris Hannemann
@channemann
Oct 21 2015 22:49
Correct, it's Excel 2016 on a Mac
google docs is actually just where I keep the daily stat records, nothing fancy happening there
font is Calibri, which is the Excel default
(just don't tell @amazaheri I used an MS program to do something useful)
Ben West
@bewest
Oct 21 2015 22:52
awww, we love MS
Lori
@LoriLori
Oct 21 2015 23:07
love access SELECT Format(GlucoseInternalTime,"dd/mm/yyyy") AS Da, sum(IIf(GlucoseValue>4.4 And GlucoseValue<8,1,0)) AS inRange, sum(1) AS Count, Avg(GlucoseValue) as avgX, sum(IIf(GlucoseValue>4.4 And GlucoseValue<8,1,0))/sum(1)*100 AS inRangePct
FROM CGMSi group by Format(GlucoseInternalTime,"dd/mm/yyyy")
blob
Ben West
@bewest
Oct 21 2015 23:09
nice
Lori
@LoriLori
Oct 21 2015 23:10
and then switch to chart view, switch chart to XY, play a lot because defaults are not as nice in 2007 ... chart was build
nor are fonts or paints nice on non Mac :worried:
curious if you can connect Mongo as remote data source, may be in 2016 version :)
Ben West
@bewest
Oct 21 2015 23:13
you can connect nightscout rest api as data source in excel
we generate csv records...
for glucose, anyway
it imports directly into docs/excel
just put WebImport function or whatever in a cell, you can use some other cells for search params
count and find[dateString][$gte]=2014... is fairly important
Chris Hannemann
@channemann
Oct 21 2015 23:15
@LorelaiL very nice!
Took me a second to recalibrate and figure out that you're on mmol
Lori
@LoriLori
Oct 21 2015 23:16
This message was deleted
thx
@channemann yours is much more pleasant to look at
Chris Hannemann
@channemann
Oct 21 2015 23:27
10 minutes of polishing is all you need. Once the data is cleaned up and in there, it's just beautification.
live4sw
@live4sw
Oct 21 2015 23:40
Was hoping to get some suggestions on what I should do/read next. Happy to spend a while doing homework before coming back, but just not sure where my next 5-10 hours of focus should be
Scott Leibrand
@scottleibrand
Oct 21 2015 23:42
See if you can figure out how to use the oref0 tools to take the outputs fromopenaps use commands and turn them into a temp basal recommendation that you can then enact on the pump.
get-profile, calculate-iob, and determine-basal. The latter implements the algorithm in the psuedocode with some minor updates.
Once you figure that out, you can start recording the various openaps commands as reports and chaining them together with aliases.
The main objective is to understand what data you need and how it all fits together.
Oh, and welcome. :-)
Lori
@LoriLori
Oct 21 2015 23:51
This message was deleted
This message was deleted
Ben West
@bewest
Oct 21 2015 23:53
@live4sw we don't have any official guides on using oref0 quite yet, I've got an example up here: https://github.com/bewest/openaps-example/tree/wip/home
you can see how I start to consider different phases, and create a subdirectory for each phase
live4sw
@live4sw
Oct 21 2015 23:59
wow, this is all quite daunting. i will go back and use the clues you guys have provided to see if i can figure some things out. it sounds like i need to figure out how to use 'openaps use' to create json files that are valid inputs to 'oref0 determine-basal'