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

8th
Jun 2016
Ben West
@bewest
Jun 08 2016 00:03
@lmoynihan73 is that a G5 model or G4?
if it's a G5, do: openaps use cgm config --G5
ryanchen26
@ryanchen26
Jun 08 2016 00:03
We tried an overnight closed loop test last night. We set our max temp basal limit for safety, but if the system is not able to deliver the much higher suggested basal the user gets a lower but still significant temp basal for an extended period of time, potentially hours. Thus when the drop finally came and the system set the temp basal to zero the bg dropped like a stone, and required intervention with glucose. If we had a higher temp basal threshold would the rising BG be knocked down faster (causing the basal to throttle back sooner) thus providing better control? Is that a logical expectation or not? Thanks.
lmoynihan73
@lmoynihan73
Jun 08 2016 00:07
it's a G5 @bewest . Thank you!!
Paul Martin
@Spazholio
Jun 08 2016 00:19
The openaps use share iter_glucose 1 command seems to exit the same way if the receiver is paired with the phone or not. Might be why it’s not really getting paired. Not really sure how to un-pair it any harder though. =)
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 00:47
I've had the "waiting" status on the APS pill for the last half hour or so. I thought maybe it was due to the pump battery starting to run low - so I changed it, and the new battery is reflected on NightScout. But I still have the waiting message. My understanding is that waiting means that APS isn't hearing from the pump, but the battery update seems to suggest that the APS is talking to the pump?
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 00:55
NVM, it just came back online! Maybe it just needed a little time to catch up.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 01:08
@PazolesBrooke_twitter Congratulations! I am too chicken to set my targets that tight yet.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:09
Thanks @flutelynne_twitter! I hope to make mine tighter in the future - ideally 65-110 - but taking baby steps!
I think I figured out the waiting issue - the APS only wants to connect to my phone's hotspot. It's not successfully switching over to my home wifi. Anyone know how I can convince it to get off the hotspot?
Gah, nevermind. It's back to waiting on the hotspot now. It just seems glitchy right now. Sorry for all the questions! I'll figure it out eventually!
Lynne Butts
@flutelynne_twitter
Jun 08 2016 01:12
Another question about the battery charging while using OpenAPS...I must have not done it right last night. Pump was working, and then I plugged the battery to charge. It was still wifi-ing all night, and the battery was charging, but I had no TBR's. Dexcom alerted me at 79, meter was 40. I treated and did a 0 temp basal for 30 min, my BG dropped again later, too, but no TBR. I am wondering if I should do a sudo shutdown..., unplug the battery, plug in the charger, THEN plug the Pi back in so wifi and the pump starts its loop?
@PazolesBrooke_twitter I have tons of questions, too, as you can see. I had that problem earlier, and two people said that a person could just turn off the hotspot on the phone without harming anything. But I did have my issue ^^ last night. My targets are like 120-160. I'm chicken...
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:16
I'm getting the "waiting" message with hot spot on and off - so I don't think it's that. Then after about 15 minutes I'll suddenly come back online for just a minute or two. I'm not sure what's going on! My husband is the expert but he's away so I'm trying to troubleshoot without breaking anything, haha.
Not chicken! NOTHING wrong with being safe!!
Lynne Butts
@flutelynne_twitter
Jun 08 2016 01:17
@PazolesBrooke_twitter I get that waiting part, too, even with just wifi at home, so it may just be the cycle of it.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:18
Hm. It's definitely much slower than it has been since we first starting testing. It usually takes 4-5 minutes and now it seems to be taking about 15. Who knows!
Paul Martin
@Spazholio
Jun 08 2016 01:18
If you’re referring to the “Waiting…” message on NS, it just means that the loop didn’t upload data. Since the data upload is at the end of the loop, it’s possible that the loop just died somewhere before it got to the upload. Especially if it magically starts working again. I’m finding this happening REALLY often now that I moved my pump site to my right side. Since my rig usually sits to my left during the day, I think it’s just having issues communicating with the pump. I move the rig to my right, and I have no issues.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:19
Oh that's really interesting Paul. My body is blocking my pump from the rig. I'll try switching spots on the couch :)
Paul Martin
@Spazholio
Jun 08 2016 01:19
Yeah, I wouldn’t have thought that would be an issue, but I take the pump and just move it a bit to the left so my body isn’t blocking it, and BOOM - works each time.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:19
I'm spoiled with my Dexcom range
Lynne Butts
@flutelynne_twitter
Jun 08 2016 01:20
@Spazholio Thanks!
Paul Martin
@Spazholio
Jun 08 2016 01:23
If you’re not sure if you’re wirelessly connected (or you want to see which network you’re connected to) you can SSH into your rig, and type sudo wpa_cli status. However, if your rig isn’t wired in directly, and you can SSH, that kinda gives you your answer anyway. =)
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:25
No luck with moving it closer, unfortunately
Thanks @Spazholio
Paul Martin
@Spazholio
Jun 08 2016 01:26
Bummer. I would definitely check the logs on your rig to see if the loop is failing and if so, where. That might give you someplace to start troubleshooting.
Dana Lewis
@danamlewis
Jun 08 2016 01:32
@flutelynne_twitter I would consider setting your targets closer. Ie 140-160, rather than 120-160.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 01:33
@danamlewis Thank you. Maybe 120-140 for the next day or two, then probably move them down? I am changing that right now.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:37
@flutelynne_twitter @danamlewis 's suggestion helped us out - not saying to lower the target, but to make the targets closer to each other
Lynne Butts
@flutelynne_twitter
Jun 08 2016 01:40
@PazolesBrooke_twitter Thank you. That is what I was thinking she meant. But before I started looping live, I had the target the general 90-140. I am fine with the 20 pt difference for now. Hope to move it closer as I get accustomed to this.
Dana Lewis
@danamlewis
Jun 08 2016 01:42
Yea. 10 is what most loopers use, 20 is fine, beyond that gets weird/annoying
Scott Leibrand
@scottleibrand
Jun 08 2016 01:47
@ryanchen26 what targets are you using?
fjungman
@fjungman
Jun 08 2016 01:48
We started at 10pt spread and 150 target at night, 120 during the day. I'm moving them both down 20pts tomorrow.
Just FYI.
Dana Lewis
@danamlewis
Jun 08 2016 01:52
:+1:
fjungman
@fjungman
Jun 08 2016 01:53
How many people are looping now, @danamlewis ?
Dana Lewis
@danamlewis
Jun 08 2016 01:53
Fwiw, 100 is the lowest I would consider reasonable for lower end loop targets for average user. Because you will often run under that, you need safety buffer.
77 because I just saw your form @fjungman :)
fjungman
@fjungman
Jun 08 2016 01:54
:+1:
Paul Martin
@Spazholio
Jun 08 2016 01:54
That’s my “range” right now during the daytime - 100-100. I have a slightly elevated range in the middle of the night, since I’ve been having some lows.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:54
We aren't looping yet but 90-100 is working well for us as we test it.
Dana Lewis
@danamlewis
Jun 08 2016 01:55
@PazolesBrooke_twitter for first few overnight
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:55
But I'm considering doing it higher, for the reason Dana just said
Yeah, I will definitely have it higher for the first overnight loops
Dana Lewis
@danamlewis
Jun 08 2016 01:55
Yea. For first few overnights you might consider 100-110 or higher
:+1:
fjungman
@fjungman
Jun 08 2016 01:55
I went 150 overnight, because I wouldn
't be able to react in time, at night.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 01:58
That makes sense. There's nothing I hate more than going low at night, so I would like to avoid that.
Dana Lewis
@danamlewis
Jun 08 2016 01:58
Yea. 150 is a good overnight start. So is upping the low alarm on your Dexcom those first nights as another back up
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 02:00
Good ideas
It almost makes me want to wait until we have the DAD to try closed looping....but nah, I'm way too impatient to wait that long! :)
Andrew Dodd
@Entropy512
Jun 08 2016 02:03
DAD?
Dana Lewis
@danamlewis
Jun 08 2016 02:05
diabetes alert dog. and nah, with as much open looping as you’ve been doing, you’ll have amuch better idea of how your body is going to respond than most people when they do the first overnight
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 02:06
Do most people not test it as much as we have been?
Dana Lewis
@danamlewis
Jun 08 2016 02:06
not as much open looping, or they’re less vocal about it. one of the two :)
but it’s good either way, as long as you’re willing to spend the time tracking & learning
Andrew Dodd
@Entropy512
Jun 08 2016 02:07
I wish the dexcom RX allowed for a combined rate/level combo for alarms... I know NS does, but I prefer to have the Dexcom as a first-line alarm system
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 02:07
Haha! I'm a sharer :)
Dana Lewis
@danamlewis
Jun 08 2016 02:07
me too ;) #hashtagallthethings
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:06
If the little circle is not on the pump, does that mean that the pump is not looping? My BGs were really steady, so no TBR. but Nightscout shows stale pump data. For now, I did shutoff and am charging up the battery. But just curious.
Dana Lewis
@danamlewis
Jun 08 2016 03:08
unless you disabled the feature where it always sets a temp, that usually means it’s not looping for some reason.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:09
Where would I have disabled that?
Dana Lewis
@danamlewis
Jun 08 2016 03:09
we designed it to set the current basal rate as a temp if it’s working, so you know that it’s working by the fact that there’s a temp.
you can disable the feature, but I doubt you did.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:09
I definitely did not try to disable it. I will plug back in and see what happens.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:10
Dang. That's so smart @danamlewis. And explains something I didn't quite get on the APS pill on nightscout. Smart smart smart!
Paul Martin
@Spazholio
Jun 08 2016 03:10
What’s that feature called? And how is it toggled?
Dana Lewis
@danamlewis
Jun 08 2016 03:11
it’s called skip_neutral_temps @Spazholio, you set it in preferences.json I think
wherever you set maxiob
Paul Martin
@Spazholio
Jun 08 2016 03:12
I’ve noticed that sometimes I don’t have the circle, but lots of times I have a temp basal set for my regular basal rate. Odd. I’ll start paying more attention to it now. Thanks!
Dana Lewis
@danamlewis
Jun 08 2016 03:12
@PazolesBrooke_twitter :D it’s helpful if you want a quick check to know if it’s looping. some people don’t like the hourly buzzes though if a temp is always set, though, so per Mark’s feedback a toggle switch was added
@Spazholio that’s the feature that does it, so you know that you’re looping by the fact that a temp is set.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:12
Good point. I don
I don't imagine the buzz will bug me, but who knows. Great to have a toggle.
Paul Martin
@Spazholio
Jun 08 2016 03:14
Wait, is that why I beep sometimes? Because it’s…wait, what exactly is causing it to beep?
ericmtx
@ericmtx
Jun 08 2016 03:14
It's a pump settings - beep vs. vibrate
Buried in the utilities menu?
And it notifies at the top of the hour if a temp basal is set
Paul Martin
@Spazholio
Jun 08 2016 03:15
No no, I get that, but the only time I beeped before is when I set a reminder, which I don’t do anymore.
Ahhhh, ok. So if temp basal is set, and it’s the top of the hour, then beep?
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:15
(or vibrate - you can turn the beep off)
Dan Piessens
@dpiessens
Jun 08 2016 03:16
yeah that's a tiny bit annoyting
Dana Lewis
@danamlewis
Jun 08 2016 03:16
yes, it alerts at the top of the hour if you have a temp set
Dan Piessens
@dpiessens
Jun 08 2016 03:16
we should program in a temp cancel for the top of each hour
ericmtx
@ericmtx
Jun 08 2016 03:16
annoying but worth it :smile:
Dana Lewis
@danamlewis
Jun 08 2016 03:16
doesn’t bother me at all, sometimes quite helpful to keep track of time passing ;) but if it bugs you, you can turn off. but then it’ll be harder to see if the loop is working. so it’s a toss up
@dpiessens seems unnecessarily complex
ericmtx
@ericmtx
Jun 08 2016 03:17
can't turn off the vibrate - no way to make it totally silent when the temp basal is actually running
Dan Piessens
@dpiessens
Jun 08 2016 03:17
yeah my wife is a light sleeper so it wakes her but not me
ericmtx
@ericmtx
Jun 08 2016 03:17
yeah - agree we shouldn't build in complexity
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:17
@dpiessens The pump beep wakes her up? Dang! Light sleeper indeed. If I could get any alarm on my dexcom to wake me up I'd be happy...
Andrew Dodd
@Entropy512
Jun 08 2016 03:18
I used to be a heavy sleeper that could sleep through California earthquakes when on family vacation
Dan Piessens
@dpiessens
Jun 08 2016 03:18
no my pump is on vibrate all the time and the vibrate wakes her
Andrew Dodd
@Entropy512
Jun 08 2016 03:18
now anything wakes me up
Dana Lewis
@danamlewis
Jun 08 2016 03:18
@PazolesBrooke_twitter ditto. thus DIYPS and then #OpenAPS. (Build a system to make all the alarms; then build a system to do all the things so you don’t need any alarms ;))
but, because i have so many less alarms now (thanks OpenAPS!) I actually more easily wake up to Dexcom. so, yay.
Andrew Dodd
@Entropy512
Jun 08 2016 03:18
on a routine basis, my Dexcom's vibe is enough to wake me up
Dan Piessens
@dpiessens
Jun 08 2016 03:18
I'll try changing it to light beeping
Paul Martin
@Spazholio
Jun 08 2016 03:19
@PazolesBrooke_twitter Put your Dexcom in a glass, set it to vibrate, and set it on your nightstand. Pretty sure that’ll get ANYONE up. =)
Dan Piessens
@dpiessens
Jun 08 2016 03:19
the Dexcom can wake a sleeping bear :)
Dana Lewis
@danamlewis
Jun 08 2016 03:19
@Spazholio I did that in hotels, it still didn’t wake me up.
put coins in the glass, too…still didn’t work
Andrew Dodd
@Entropy512
Jun 08 2016 03:19
Yeah... Worse, accidentally let it touch your change on the dresser
coins are LOUD when they vibrate
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:20
Ugh @Spazholio I've heard that tip, but I can't keep a glass next to my bed because we have cats and they will knock it over and make a whole scene....they also try to bite my pump tubing.....cat problems.
Paul Martin
@Spazholio
Jun 08 2016 03:20
That’s incredible. You may very well sleep heavier than I do. I’m sorta impressed. =)
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:20
Huh! Wind machine. That's a new one. Thanks!
Dana Lewis
@danamlewis
Jun 08 2016 03:20
@Spazholio ;)
Paul Martin
@Spazholio
Jun 08 2016 03:20
@PazolesBrooke_twitter We have a kitten. It tried to bite my tubing. Once. It learned.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:20
Ha!
Dana Lewis
@danamlewis
Jun 08 2016 03:20
LOL
Andrew Dodd
@Entropy512
Jun 08 2016 03:20
pre-diabetic me would've been a nighmare with CGM - as I've grown older I've become a much lighter sleeper
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:20
We are also getting a DAD, so I'm hoping that cold wet nose will help to wake me up too :D
Paul Martin
@Spazholio
Jun 08 2016 03:20
Don’t chew through the life-giving tube and don’t chew through my cabling, and we’ll get along just fine. =)
ryanchen26
@ryanchen26
Jun 08 2016 03:20
Previously I put in ISFs of 100 in all the time fields to get the openaps to loop without getting an error. I'm testing now to find out why. In the pump I entered (for testing) 375, 375, 175, 200, 200, 200, 175, 300 on our 723 pump. The values in pumphistory.json after attempting to run the loop are: "changed": { "insulin_sensitivies": [ { "i": 0, "_offset": 0, "sensitivity": 0, "offset": 0 }, { "i": 1, "_offset": 64, "sensitivity": 119, "offset": 1920 }, { "i": 2, "_offset": 70, "sensitivity": 119, "offset": 2100 }, { "i": 3, "_offset": 12, "sensitivity": 175, "offset": 360 }, { "i": 4, "_offset": 19, "sensitivity": 200, "offset": 570 }, { "i": 5, "_offset": 23, "sensitivity": 200, "offset": 690 }, { "i": 6, "_offset": 34, "sensitivity": 200, "offset": 1020 }, { "i": 7, "_offset": 40, "sensitivity": 175, "offset": 1200 }
Dan Piessens
@dpiessens
Jun 08 2016 03:21
Side note for people who update Nightscout frequently: there's a bug with iob if you're using AMA with the latest checkin on dev. I submitted a PR to Nightscout to fix it
Andrew Dodd
@Entropy512
Jun 08 2016 03:21
seeing people with sensitivities over 100 makes me think that I REALLY need to lose weight
I don't think I ever had THAT kind of a sensitivity even when I was an undergraduate
and I walked uphill both ways to class
ryanchen26
@ryanchen26
Jun 08 2016 03:22
The error is " ISF of -1 is not supported"
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:23
over 100?? Wow. I use 20 units TDD max (often under 10), and my ISF is still 60.
ryanchen26
@ryanchen26
Jun 08 2016 03:23
My boy is 3.5 years old.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:24
Oh - that makes sense. :)
Do you use diluted insulin?
ryanchen26
@ryanchen26
Jun 08 2016 03:24
Are you serious? We use regular humalog
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:25
Just curious.
I know some people use diluted in their pumps for little ones.
Dana Lewis
@danamlewis
Jun 08 2016 03:26
@ryanchen26 you should really talk to @ddaniels1. he has a 1yo, and they dilute insulin. it might help.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:27
I used diluted when I was on MDI last year. It was extremely helpful.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:28
No circle showing.. It doesn't seem like I can communicate with my pump. It is maybe too far from me? I just plugged in the battery to charge, then plugged in the usb cable. Should I try something else?
Dana Lewis
@danamlewis
Jun 08 2016 03:28
range is often the culprit.
ryanchen26
@ryanchen26
Jun 08 2016 03:32
@danamlewis I've never heard of diluted insulin. I'll look into it.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:34
I took off my pump and set it right next to the rig. About four inches from the carelink, flat part up.
Scott Leibrand
@scottleibrand
Jun 08 2016 03:36
@ryanchen26 I think @ddaniels1 has to dilute it himself. I'm guessing just injects appropriate amounts of saline and U100 insulin into the reservoir to dilute it appropriately.
Dan Piessens
@dpiessens
Jun 08 2016 03:36
@flutelynne_twitter This may be a later step, but working though getting a TI stick will really help with range. I literally was a floor apart in my house and my loop was working
Paul Martin
@Spazholio
Jun 08 2016 03:37
Agreed. The difference between a TI stick and the Carelink was night and day.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:37
It was working fine until this evening. But @dpiessens I will definitely consider the TI stick in the future.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:38
@scottleibrand that's exactly how I do it. Feel free to PM me about it @ddaniels1. It's very easy to do, you just have to get the solution (it's free, just have to get your doc or pharmacist to order it for you).
It's NOT regular saline, it's a specific solution - and there's a different one for novolog vs humolog
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:41
I'm getting an ACK error? raise AlreadyInUseException("{port} already in use".format(port=port))
Scott Leibrand
@scottleibrand
Jun 08 2016 03:42
@PazolesBrooke_twitter I think you meant to address that to @ryanchen26 :)
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:43
Oops! Sorry! Yes, I did mean that.
Scott Leibrand
@scottleibrand
Jun 08 2016 03:43
@PazolesBrooke_twitter why do you need to dilute?
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:44
I don't need to on the pump because of the microdosing, but when I was MDI last year for a while I couldn't draw up small enough doses.
(why I asking about the basal increments the other day)
ryanchen26
@ryanchen26
Jun 08 2016 03:45
@scottleibrand @PazolesBrooke_twitter I just asked and my wife has read about the practice...also I see that I'm able to change the ISF to 200 without getting the error when running the loop. So there's that.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 08 2016 03:45
You can get a pharmacy to do it for you but I prefer to do it myself because I have trust issues :)
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:51
Well, before my two attempts at preflight had failed when I did "do-everything". I unplugged and replugged the carelink stick again, waited, did a .2 bolus with the pump disconnected. Waited, ran preflight. Came back OK. and the circle is back.
Dana Lewis
@danamlewis
Jun 08 2016 03:52
The .2 shouldn't need to be part of your do-everything fix
Lynne Butts
@flutelynne_twitter
Jun 08 2016 03:53
I wasn't sure how else to approach it. I didn't have to bolus or have any rate changes since I was so steady. The do-everything was the $openaps do-everything to get things uploaded.
ryanchen26
@ryanchen26
Jun 08 2016 03:55
@scottleibrand Regarding my previous question, and your follow up, the BG targets last night were set to 100-140, which we definitely know is not high and wide enough. Next time we try it we were thinking 130-180 for bg targets. But back to our original question, we were wondering if giving the program more room to operate with a higher max-temp-basal be something worth trying...instead of capping the system to a moderately high basal rate that takes much longer to address highs.
Dana Lewis
@danamlewis
Jun 08 2016 03:57
@flutelynne_twitter you could always manually set a temp that's .1 higher or lower and let it read and write over that
@ryanchen26 50 points of target seems too wide.
ryanchen26
@ryanchen26
Jun 08 2016 03:58
Too wide? Huh.
Dana Lewis
@danamlewis
Jun 08 2016 03:59
Yea. I'd pick 20 points or so
ryanchen26
@ryanchen26
Jun 08 2016 03:59
Wow, I had no idea.
Dana Lewis
@danamlewis
Jun 08 2016 03:59
That's part of the reason you're probably experiencing what you are
Lynne Butts
@flutelynne_twitter
Jun 08 2016 04:00
@danamlewis Thank you. I wasn't sure if manually setting a temp would mess something up. For some reason, when Nightscout is not reading the info, I restart the dynos in heroku, and everything there comes back.
Dana Lewis
@danamlewis
Jun 08 2016 04:02
@flutelynne_twitter nah, it'll never mess anything up, but it's safer than a bolus and safer than forgetting to reconnect the pump ;)
Lynne Butts
@flutelynne_twitter
Jun 08 2016 04:02
@danamlewis Very true! : )
Scott Leibrand
@scottleibrand
Jun 08 2016 04:53
@ryanchen26 it can't low-temp to ward off a low unless the projected BG is below your min. So it's better to have that range pretty tight: 10 points seems to be what most people do.
Maybe try 140-150 to start with, and adjust from there.
Garrett Webb
@garetis
Jun 08 2016 05:26
Hey guys. This is my first post to Gitter... please let me know if this is not the best place/room to post this particular question (for future reference). But, I'm about to set up my Pi3 and was reading about logging the terminal session with "scrip <filename>". For the <filename>, does it need a particular extension?
Ben West
@bewest
Jun 08 2016 07:04
.txt is always good or maybe .log, but no, it's not required
ryanchen26
@ryanchen26
Jun 08 2016 08:02
@scottleibrand We are 3.5 hours into closed-loop test #2. BG target: 150-170. My son's bg has been 150 (+/- 3 ) the entire time. So far so good.
timomer
@timomer
Jun 08 2016 09:56
@Entropy512 its still in progress with accessing the combo. We have code that can start the pairing process with the pump from android, but having some difficulty getting the pump to provide the pin. There is progress, just painfully slow. Luckily there are now people much more knowledgable than me looking at it. if you want more info PM me.
Dana Lewis
@danamlewis
Jun 08 2016 12:27
@ryanchen26 :+1:
val-albany
@val-albany
Jun 08 2016 12:45
@danamlewis @jasoncalabrese I might be able to make a NYC meetup next week, keep me posted on details.
Dana Lewis
@danamlewis
Jun 08 2016 12:55
@val-albany cool! Will do. Would be Wednesday night. @jasoncalabrese
Dan Piessens
@dpiessens
Jun 08 2016 15:45
@bewest @scottleibrand for the AMA Temp Targets thing we were talking about yesterday, we don't need optional args. I just needed to create a report for carb ratios from my pump and put it in the profile and it all works
Jason Calabrese
@jasoncalabrese
Jun 08 2016 15:48
thanks for the PR @dpiessens, just merged it nightscout/cgm-remote-monitor#1795
I cleaned up some of the tests too, so hopefully we'll have less flaky builds
Jarred Yaw
@jyaw
Jun 08 2016 15:57
are temp targets supposed modify my NS profile or pump bolus wizard targets (temporarily)? When I do an "eating soon", it looks like that entry only affects the treatments.json on my NS... Is that per design?
Just want to clarify for my understanding. When not connected to internet, I guess I just change the BG targets on my pump.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 16:23
@Spazholio With that Zendur A3 battery, do you just plug in the charger without shutting down the pi first? I did sudo shutdown, etc., waited, plugged in the charger, then the usb for the pi. My loop did not run much at night, if at all.
Paul Martin
@Spazholio
Jun 08 2016 16:25
@flutelynne_twitter I don't have the Zendur yet, but you shouldn't need to shut down the Pi for that. Just plug the battery in while it's already connected to the Pi.
Eric Luhrs
@eluhrs
Jun 08 2016 16:25
@flutelynne_twitter yes, you can plug/unplug that battery without shutting down.
Paul Martin
@Spazholio
Jun 08 2016 16:25
I suspect your issues with the loop running intermittently had very little - if anything - to do with the battery. =/
Lynne Butts
@flutelynne_twitter
Jun 08 2016 16:26
@eluhrs Thanks! I was trying to fine your name to ask you, too. I appreciate the suggestion. @Spazholio What do you suspect it could be?
Paul Martin
@Spazholio
Jun 08 2016 16:26
So it ran occasionally, but not consistently?
Jason Calabrese
@jasoncalabrese
Jun 08 2016 16:29
@jyaw the temp targets aren't used by BWP yet, but that would make sense
Lynne Butts
@flutelynne_twitter
Jun 08 2016 16:29
It didn't come back on after brushing my teeth before bed, even though I had tried the unplug and replug the carelink stick. After I did a bolus in the middle of the night to lower my BG, it looped for a bit, then stopped. It wasn't looping this morning until I shutdown the pi, unplugged the battery charger and usb for pi, then waited, and plugged the pi back in. Then looping started.
Paul Martin
@Spazholio
Jun 08 2016 16:31
I think the only way to be sure is to go back through your logs to see specifically why it was failing to loop. Now, is it possible that it was looping, but not uploading?
Lynne Butts
@flutelynne_twitter
Jun 08 2016 16:32
I was checking the actual pump, and there was no circle.
Paul Martin
@Spazholio
Jun 08 2016 16:33
Yeah, in that case I'd definitely recommend checking the logs to see what's going on.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 16:34
Would that be the gather-profile or do-everything?
I will be back in a while. Thank you @Spazholio
Paul Martin
@Spazholio
Jun 08 2016 16:36
I would check ALL the logs. I have everything going into one single logfile so it's simple to just watch it and see where it fails.
You're welcome. Good luck!
Paul Martin
@Spazholio
Jun 08 2016 16:41
So at the risk of beating this horse too severely, does anyone have a moment to help me diagnose my openxshareble install? I can NOT get it to pair with the receiver no matter what I try.
Ben West
@bewest
Jun 08 2016 16:42
what version of bluez? bluetoothd -v?
Paul Martin
@Spazholio
Jun 08 2016 16:42
5.40
Ben West
@bewest
Jun 08 2016 16:43
ah, quite recent
I think the --experimental flag is required
Paul Martin
@Spazholio
Jun 08 2016 16:43
It's there.
/usr/local/bin/bluetoothd --experimental That
's what my processlist shows.
Ben West
@bewest
Jun 08 2016 16:44
ok, and then list_dexcom can find them?
Paul Martin
@Spazholio
Jun 08 2016 16:45
It can. It's not un-paired yet, as I've been using it today.
When I ran it yesterday, it would see the Dexcom, but every time I ran the suggested command, it looked like it tried to pair each time. So the implication is that it failed to pair each time.
Ben West
@bewest
Jun 08 2016 16:47
in openaps config
like in openaps device show cgm --ini
does serial start with SM?
Paul Martin
@Spazholio
Jun 08 2016 16:48
My device is called "share" for the moment, but yes it does start with "SM"
Ben West
@bewest
Jun 08 2016 16:49
mine has 8 numbers following SM
Paul Martin
@Spazholio
Jun 08 2016 16:49
As does mine.
Ben West
@bewest
Jun 08 2016 16:51
hmmm
I'm on planes a bit today, so will in and out
Paul Martin
@Spazholio
Jun 08 2016 16:51
I can post full output if you think it will help. I can manually add the MAC of my receiver to the INI as well, if that narrows it down?
I think I even tried pairing via bluetoothctl at one point, and got nowhere either. Which leads me to think maybe the receiver still thinks it's kinda sorta paired to my phone even though it's clearly not?
Ben West
@bewest
Jun 08 2016 16:52
nah
Paul Martin
@Spazholio
Jun 08 2016 16:52
Oh man, you're traveling? I definitely appreciate you taking the time out then.
Jarred Yaw
@jyaw
Jun 08 2016 16:56
@jasoncalabrese BWP is not used by OpenAPS correct? I was just speaking in context of what my loop uses for determine-basal.
Matthias
@ceben80
Jun 08 2016 17:00
@bewest
Hi Ben, I'd like to add this device with a openaps device add, but don't know how to...
In the past I copied this section to my openaps.ini, but now I would be happy about the syntax - Thanks in advance!
[device "curl"]
fields = 
cmd = bash
vendor = openaps.vendors.process
args = -c "curl -s https://xxx.azurewebsites.net/api/v1/entries.json | json -e 'this.glucose = this.sgv'"
Jason Calabrese
@jasoncalabrese
Jun 08 2016 17:22
@jyaw BWP is just for NS, for openaps you need to make a request to get the temp targets from NS
Nathan Morse
@morsen
Jun 08 2016 17:23
Is it bad that I am so itching to capitalize the ‘L’ in the Nightscout mg/dL label? ;-D
Jarred Yaw
@jyaw
Jun 08 2016 17:24
thanks for the clarification! @jasoncalabrese
apabari
@apabari
Jun 08 2016 17:51
Hi... I've just rebuilt my rig using a Pi Zero (dropped my first one and broke it!) but am running into an issue when trying to access the pump... this is the error I see. Has anyone seen this before?
blob
Dana Lewis
@danamlewis
Jun 08 2016 18:07
@jyaw correct if you are offline and want temp targets, you'll have to change the targets on your pump and then remember to change them back later
Dragan Maksimovic
@dm61
Jun 08 2016 18:08
@ceben80 , I do not know how to add that device either. Instead, I am trying to use the ns device, see Ben's notes here: openaps/docs#129
Matthias
@ceben80
Jun 08 2016 18:13
@dm61 for ns thanks :+1:
Jarred Yaw
@jyaw
Jun 08 2016 18:20
@danamlewis thanks! that makes sense. May try to see if I can help work on pancreabble or something since an offline rig is what I'll primarily use at work... Is there a gitter channel for that?
Dana Lewis
@danamlewis
Jun 08 2016 18:20
:+1: not sure if there's a channel, @mddub ?
Jarred Yaw
@jyaw
Jun 08 2016 18:21
ah, his username didn't popup when I was typing... gitter...
Thacher
@thacherT1D
Jun 08 2016 18:23
after setting up nightscout with openaps my version is showing as "0.9.0-beta3" instead of "0.9.0-dev" like it says it should in the docs... is that okay?
David Cintron
@loudestnoise
Jun 08 2016 18:24
@thacherT1D Yep, just means a newer version has been released
Thacher
@thacherT1D
Jun 08 2016 18:24
@loudestnoise thanks!
David Cintron
@loudestnoise
Jun 08 2016 18:25
@apabari those are the kinds of errors I normally see when the communication fails e.g. carelink can’t talk to pump
Matthias Granberry
@mgranberry
Jun 08 2016 18:25
@danamlewis I finally got an OpenAPS rig set up and running for overnight use last week. I think I'm going to continue using it vs. the t:slim while I'm asleep. Can you add me to the alert list?
@mgranberry ^ :)
Matthias Granberry
@mgranberry
Jun 08 2016 18:28
Thanks
David Cintron
@loudestnoise
Jun 08 2016 18:29
@danamlewis Filled out the Google Doc and added myself to the Where in the World page earlier today :smile:
I also sang “Where in the World is Carmen San Diego” while doing it
Jason Calabrese
@jasoncalabrese
Jun 08 2016 18:30
:+1: @mgranberry
Dana Lewis
@danamlewis
Jun 08 2016 18:30
:D have a new count to release soon once I catch up on everyone from today ;)
Thacher
@thacherT1D
Jun 08 2016 18:30
I loved that game :)
Dana Lewis
@danamlewis
Jun 08 2016 18:32
@mddub may have to update his deck for Friday! :)
Lynne Butts
@flutelynne_twitter
Jun 08 2016 18:46
@danamlewis How many hours before I could add myself on the list? Clocking 44 straight hours so far.
Garrett Webb
@garetis
Jun 08 2016 18:46
I don't quite understand "installing nightscout". Is it done through the Pi? I'm looking at this page: https://github.com/nightscout/cgm-remote-monitor/tree/dev - Is under the INSTALL where I start? I didn't know what Node.js is, but now I assume it's a computer program? The line under that means nothing to me... "Clone this repo then install dependencies into the root of the project: $ npm install"
Dana Lewis
@danamlewis
Jun 08 2016 18:49
@flutelynne_twitter per the page, after three successful overnights with no major problems, i.e. When You have a working system that's not still breaking :)
Doesn't have to be straight hours, because some people only use overnight
But goal is to wait til you feel you have a working/somewhat stable system before you say "done"! :)
apabari
@apabari
Jun 08 2016 18:50
@loudestnoise Thanks. I think it's an issue with the Pi Zero. If I use a regular Pi, or Pi 2, it works. I was hoping to use the Pi Zero for a smaller size and lower power consumption... and to avoid dropping the whole rig again :)
Lynne Butts
@flutelynne_twitter
Jun 08 2016 18:51
@Spazholio I think, like what Dana said last night, it is probably a connectivity issue. I move around the house a lot, and walk away from the rig. Today it is on my back in a spibelt messenger bag. Working fine so far. @danamlewis Ok. Thanks. I guess I'll have to figure out what happens at night. Maybe because I am also charging my phone next to the OpenAps set-up?
Dana Lewis
@danamlewis
Jun 08 2016 18:55
What do you mean? Are you losing connectivity overnight?
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:00
I'm not sure what happens. The battery is charging, wifi is there. carelink is flat-side up on the nightstand next to me (about 2 feet away, though the pump is on my waist, so about 4-4 1/2 feet maybe). No circle on the pump to show that it is looping. Last night I manually entered a correction bolus, then a temp basal, and it kicked on for a bit. But no circle when I woke up. I ssh'd and shutdown the pi before disconnecting the charging cord from the battery. Unplugged the battery usb, waited and plugged it back in. I have been looping since. Can't figure out the nights issue.
Dana Lewis
@danamlewis
Jun 08 2016 19:01
Do you have NS to easily see when you were looping and not?
That can help pinpoint when to dig into the logs
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:02
Yes.
Dana Lewis
@danamlewis
Jun 08 2016 19:04
Is there a certain time t stopped looping? Or was it looping off and on all night?
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:07
Sorry, just looking. It stopped 12AM to about 1AM. At 1AM, I did a bolus and a temp basal, and it was working. Then it looks like it stopped looping again between 7 and 9AM.
Dan Piessens
@dpiessens
Jun 08 2016 19:08
cool, thanks @jasoncalabrese
Dana Lewis
@danamlewis
Jun 08 2016 19:09
Np. I'd dig in the logs to see if there was preflight fail (indicating range issue) or some other error
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:11
ok Thanks. I sent you a pic via direct message on twitter of the NS page.
Dana Lewis
@danamlewis
Jun 08 2016 19:11
:+1:
Scott Leibrand
@scottleibrand
Jun 08 2016 19:14
@flutelynne_twitter sounds like you're experiencing the wonderful fun of inconsistent Carelink performance. You can expect the loop to work intermittently, but hopefully often enough to be useful, as long as you use a Carelink. Many people have gotten TI sticks to replace the Carelink for that reason. If you can find someone with a CC-Debugger who can flash it for you, that will take care of the most difficult step for you.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:16
@scottleibrand Looks like the TI stick is my next purchase. Do people buy two of those, as with the carelink?
Dana Lewis
@danamlewis
Jun 08 2016 19:18
Depends on how many rigs you want
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:18
How many do people usually have?
Dana Lewis
@danamlewis
Jun 08 2016 19:18
If you want one to leave at home and one to be on the go, (or more commonly thought of, a dev and a production rig) then two makes sense
Very common to have 2.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:19
ok. Thank you.
Dana Lewis
@danamlewis
Jun 08 2016 19:19
:+1:
I have 7 I think. All in various states of dev and prod. 2 are mostly home rigs; and I always carry 2 when I travel.
But that's excessive and more about our dev work than what I need for my normal looping even with my tendency to break things :)
Paul Martin
@Spazholio
Jun 08 2016 19:28
So when you get home, do you just turn off your "on the go" rig? And then power it on when you leave the house?
Dana Lewis
@danamlewis
Jun 08 2016 19:29
No. I just plug it in to recharge. I never intentionally power off a rig. (I sometimes kill them by running down power, but I don't turn them off)
More rigs in various places = more coverage
Paul Martin
@Spazholio
Jun 08 2016 19:30
You just have the "hey is anything else talking to the pump right now?" code running on all of them, I take it?
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:31
I'm not sure how to pinpoint the openaps report to only show the overnight hours.
Dana Lewis
@danamlewis
Jun 08 2016 19:31
@Spazholio yes "wait for silence"
Dana Lewis
@danamlewis
Jun 08 2016 19:35
@Spazholio ^
Scott Leibrand
@scottleibrand
Jun 08 2016 19:37
@flutelynne_twitter you can also drag the Nightscout back in time to look at what was happening then in the OpenAPS pill.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 19:46
@scottleibrand Thank you!
Dana Lewis
@danamlewis
Jun 08 2016 19:55
@flutelynne_twitter I can't tell from NS what the issue is. You'll need to dig into the logs some more to see what openaps was doing after midnight when it stopped looping. @Spazholio may be a good one to help you figure out how to most easily dig through the logs :)
Paul Martin
@Spazholio
Jun 08 2016 20:03
Sure, no problem. Gonna have to be in a little bit though, as I'm gonna be heading home soon.
So, does anyone run a rig with the Sparkfun boards?
Dana Lewis
@danamlewis
Jun 08 2016 20:08
I do
Paul Martin
@Spazholio
Jun 08 2016 20:08
What do you use to talk to the pump - TI stick?
Dana Lewis
@danamlewis
Jun 08 2016 20:08
Yep over usb
Paul Martin
@Spazholio
Jun 08 2016 20:09
I'm having issues finding compatible cables. They're all too fat around where the microUSB plug is. I can't plug anything in AND charge it at the same time. How did you work around that?
Dana Lewis
@danamlewis
Jun 08 2016 20:10
You have to have a spacer board
So it becomes a 3 stack
Which is why it's not my favorite rig because it's bigger. But we are taking with Intel and sparkfun about a better board option in the future
Paul Martin
@Spazholio
Jun 08 2016 20:12
I love that the hardware manufacturers are actually open to discussion about this sort of thing.
Dana Lewis
@danamlewis
Jun 08 2016 20:12
Yea :)
Eric Luhrs
@eluhrs
Jun 08 2016 20:12
While we're on the topic of hardware, has anyone integrated a rig that uses a charging board to power both an Edison and a Wixel/xDrip?
Paul Martin
@Spazholio
Jun 08 2016 20:13
Even with a spacer board, it'll be way smaller than this camera bag I'm carrying around. =)
Eric Luhrs
@eluhrs
Jun 08 2016 20:13
I want to know if you simply split the power coming from the charging board.
Dana Lewis
@danamlewis
Jun 08 2016 20:14
@Spazholio true. but I got spoiled because the first “small” rig I got was an edison/TI, so the three stack seems unnecessarily big after that
Paul Martin
@Spazholio
Jun 08 2016 20:14
Do you have a link to that spacer board?
Yeah, I can see that. =)
Dana Lewis
@danamlewis
Jun 08 2016 20:14
it came with the kit we got
Eric Luhrs
@eluhrs
Jun 08 2016 20:15
@spazholio I don't think it matters which board you use, the idea is to separate the battery contacts from the main board to prevent shorting
I hear that others have used kaptan tape.
Dana Lewis
@danamlewis
Jun 08 2016 20:16
:+1:
Paul Martin
@Spazholio
Jun 08 2016 20:16
Would tape help with the not-enough-space-for-USB-plugs issue I'm running into?
Eric Luhrs
@eluhrs
Jun 08 2016 20:17
What is the issue you have? that you can't plug two USBs in side-by-side?
Paul Martin
@Spazholio
Jun 08 2016 20:18
Not side by side, but I can't plug something into the OTG and charge it via the battery block.
C-Ville
@C-Ville
Jun 08 2016 20:18
@eluhrs I am aiming for the rig that @oschumac had build https://github.com/oschumac/python-uart-pi-xbridge/blob/master/edison_hardware.pdf
Scott Leibrand
@scottleibrand
Jun 08 2016 20:19
@Spazholio a spacer board separates the battery block's microUSB from the two on the main breakout board, so that you can use all three if you need to
Paul Martin
@Spazholio
Jun 08 2016 20:20
Right. I can't seem to find a "spacer board" on Sparkfun's website. Is that what it's called? Or is it just a generic board that doesn't have a USB right there?
Scott Leibrand
@scottleibrand
Jun 08 2016 20:20
we used the UART/GPIO board that came with the starter kit, but it has a long tongue on it. there are others that don't have any sticky-outy bits and keep the battery wire from shorting out
Paul Martin
@Spazholio
Jun 08 2016 20:20
Ahhh, ok.
Eric Luhrs
@eluhrs
Jun 08 2016 20:21
@scottleibrand wasn't there a shorting issue too?
Scott Leibrand
@scottleibrand
Jun 08 2016 20:21
yeah, so you have to make sure the one you pick doesn't have metal under the battery board's solder points
I think the microSD one has metal under one of those wires but not the other
Paul Martin
@Spazholio
Jun 08 2016 20:23
Nice. Now that I know it's not a specific board, I'll do a little more looking around. Thanks.
Eric Luhrs
@eluhrs
Jun 08 2016 20:23
@C-Ville do you know why he used a level shifter instead of a charging board?
Scott Leibrand
@scottleibrand
Jun 08 2016 20:24
I like the idea of the 9 Degrees of Freedom one, because that would let you use the accelerometer to activate activity mode automatically :)
Didie
@elodaille01_twitter
Jun 08 2016 20:24
I try to install node.js
Where is it unzip the files ?
Please
C-Ville
@C-Ville
Jun 08 2016 20:26
no, I thought the level shifter was needed but then oskar told me that at least for the ERF it is not needed. Curently I am still USB powering and trying to get the ERF to work, before I move further, but I do have the charging board from the last page as well
Didie
@elodaille01_twitter
Jun 08 2016 20:28
where the root of the project ?
Scott Leibrand
@scottleibrand
Jun 08 2016 20:30
@elodaille01_twitter what step in the docs are you trying to do?
Didie
@elodaille01_twitter
Jun 08 2016 20:30
Install Node.js
Scott Leibrand
@scottleibrand
Jun 08 2016 20:30
is that the one referenced in this issue? openaps/docs#201
"Install Node.js" is very general: I'd need to know the exact command you're trying to run, or the exact URL of the section of the docs you're following
Didie
@elodaille01_twitter
Jun 08 2016 20:34
I downloaded nods 6.2.1
Or do I unzip the files ?
David Cintron
@loudestnoise
Jun 08 2016 20:35
Full on ambulatory with my Dashpoint 20 bag. Quite the snug fit, but hey it seems to all fit. :wink2:
RPi_Rig_Dashpoint20.JPG
Didie
@elodaille01_twitter
Jun 08 2016 20:36
In what directory on the pi ?
David Cintron
@loudestnoise
Jun 08 2016 20:36
@elodaille01_twitter I think @scottleibrand is trying to help, but try and give more context.
For example, “I’m trying to install Nightscout and it says I need this node thing. How do I do that?"
or if you can copy the command you’re running and paste it here into gitter, that might help too
Didie
@elodaille01_twitter
Jun 08 2016 20:38
thank you
David Cintron
@loudestnoise
Jun 08 2016 20:38
if you throw a pair of around the text it even formats them all fancy for ya
` is the character
npm install for example
Didie
@elodaille01_twitter
Jun 08 2016 20:38
Yes, npm install
That's right
David Cintron
@loudestnoise
Jun 08 2016 20:39
are you trying to install Nightscout, or is this for OpenAPS?
Didie
@elodaille01_twitter
Jun 08 2016 20:39
For OpenAPS
David Cintron
@loudestnoise
Jun 08 2016 20:39
so can you past the URL of the page that gave you the instructions to run that npm install command?
Garrett Webb
@garetis
Jun 08 2016 20:40
I think I am in a similar position... I posted something a little earlier but it didn't get any traction.
David Cintron
@loudestnoise
Jun 08 2016 20:40
was it on the openaps.readthedocs.io page?
Didie
@elodaille01_twitter
Jun 08 2016 20:41
Visualization and Monitoring
Nightscout is the recommended way to visualize your OpenAPS closed loop. Even if you don’t choose to share your Nightscout instance with another person, it will be helpful for you to visualize what the loop is doing; what it’s been doing; plus generate helpful reports for understanding your data and also allowing you to customize watchfaces with your OpenAPS data. This provides a visual alternative to SSHing into your raspberry Pi or loop system and looking through log files.
Scott Leibrand
@scottleibrand
Jun 08 2016 20:41
@loudestnoise or anyone else who might know how to fix it: I think this might be the same issue as openaps/docs#201
David Cintron
@loudestnoise
Jun 08 2016 20:41
ah ok, so you’re in Phase1 @elodaille01_twitter
Didie
@elodaille01_twitter
Jun 08 2016 20:41
Yes
David Cintron
@loudestnoise
Jun 08 2016 20:42
Ok, so are you using Azure or Heroku to install Nightscout?
Didie
@elodaille01_twitter
Jun 08 2016 20:43
Heroku
David Cintron
@loudestnoise
Jun 08 2016 20:44
ok, and are you following the instructions on nightscout.info, or just trying to use the github page for cgm-remote-monitor
Didie
@elodaille01_twitter
Jun 08 2016 20:44
i already used nightscout without the closed loop course
David Cintron
@loudestnoise
Jun 08 2016 20:44
ah ok
Didie
@elodaille01_twitter
Jun 08 2016 20:45
the github page
David Cintron
@loudestnoise
Jun 08 2016 20:45
so you shouldn’t need to do any npm install business if you’re using Heroku. You also might try the main Nightscout gitter room
Didie
@elodaille01_twitter
Jun 08 2016 20:46
Oh ok
David Cintron
@loudestnoise
Jun 08 2016 20:46
also, the instructions on nightscout.info are quite helpful
but if I’m understanding correctly, you may just be trying to move your existing Nightscout to the dev version because you want to use OpenAPS
Didie
@elodaille01_twitter
Jun 08 2016 20:47
Yes, that's true
So i have to skip this step ?
David Cintron
@loudestnoise
Jun 08 2016 20:50
Yeah, you would probably not be doing that. I know there are some tools to help you upgrade your Nightscout install, but idk about switching the branch to dev
Ask around in the nightscout public gitter page maybe
er room
whatever you call it
Didie
@elodaille01_twitter
Jun 08 2016 20:51
thank you so much
Garrett Webb
@garetis
Jun 08 2016 20:59
I've scoured nightscout.info, but I'm having difficulty for my setup. I am currently using the 530g, but I have an old 712 I was going to use for OpenAPS (at least, initially, it is pretty beatup and probably from 2008), I have Android and using Medtronic CGM. I saw this (https://github.com/jberian/mmcommander/blob/master/INSTALL.pdf) but am wondering about wireless capabilities...
Can I move forward with OpenAPS setup without setting up NS, at least temporally, or is setting up NS the next step for me?
*temporarily
Scott Leibrand
@scottleibrand
Jun 08 2016 21:04
if you're stuck on nightscout, you can proceed with most of the openaps setup while you iron that out
you don't really want to close the loop without being able to see what it's been doing though
Dana Lewis
@danamlewis
Jun 08 2016 21:04
@garetis yes you can move forward. but highly recommend NS for visualizing what the loop is doing
Garrett Webb
@garetis
Jun 08 2016 21:07
What about wireless setup for NS with Medtronic CMG and Android? Or are people who are running OpenAPS with android always having to connect a TI stick to their phone. Again, I've scoured nightscout.info, but I can't seem to find clear answers for that.
Also -- So, Phase 1 is setting up NS, and I can skip to Phase 2 while I sort out this NS setup?
David Cintron
@loudestnoise
Jun 08 2016 21:11
@garetis So I think you’re mixing some things. Nightscout can be fed many ways with CGM data. Your “wireless” options would include Nightscout Bridge which pulls data from your dexcom account or something like xDrip, but that’s mostly all Nightscout focused
Garrett Webb
@garetis
Jun 08 2016 21:12
I'm using Medtronic CGM... not Dexcom.
David Cintron
@loudestnoise
Jun 08 2016 21:12
Ah, ok so you might actually benefit from that
your CGM data would be pulled into OpenAPS via the CareLink or TI stick you’re using
at least I believe that’s how it works
Garrett Webb
@garetis
Jun 08 2016 21:13
I agree, but I thought that was a separate issue than getting data to NS
Scott Leibrand
@scottleibrand
Jun 08 2016 21:14
Correct. OpenAPS can get CGM data from the pump, and use it even if you don't have upload set up yet.
Garrett Webb
@garetis
Jun 08 2016 21:18
Ok, well I have a pending request for the NS facebook page, I'll address those questions there I guess.
So, is there anything from Phase 1 I need to do before moving into Phase 2? One of the first things that is said in Phase 2 is "By this stage, you should have already set up your pump and cgm as openaps devices." I don't recall doing that.
Lynne Butts
@flutelynne_twitter
Jun 08 2016 21:20
@danamlewis Thanks for looking into it. Tonight I will try to have my battery already charged, then hang the rig on the bedpost instead of using the nightstand. Also try to have my phone already charged, too. It worked great on our walk, even though I forgot to use my phone as a hotspot until 30 min into the walk, Nightscout showed it all when I opened it up at home. Fingers crossed.
Sarah Hodson Grady
@shgrady
Jun 08 2016 21:20
Still have not gotten ahold of a compatible pump yet, but wow, the BWP has shown me how "off" my management was....Thanks everybody.
Dana Lewis
@danamlewis
Jun 08 2016 21:21
@garetis no, that's out of order. Also we just merged dev to master some help with uploading to NS that you might want to check out (i.e. Refresh)
@shgrady :+1:
@flutelynne_twitter :+1:
Lynne Butts
@flutelynne_twitter
Jun 08 2016 21:21
@shgrady Loved when they added BWP!
Dana Lewis
@danamlewis
Jun 08 2016 21:22
Keep in mind bwp is not interested yet with openaps; so iob will be different (i think)
Lynne Butts
@flutelynne_twitter
Jun 08 2016 21:23
Definitely using the pump's bolus wizard every time, but whether it was MDI or Ping, it was very helpful.
Sarah Hodson Grady
@shgrady
Jun 08 2016 21:23
@danamlewis thanks, but I also notice it does not take into account carbs, is that because I enter them from my pebble or will it never?
like when it tells me to eat 2g and I do, it does not update
Dana Lewis
@danamlewis
Jun 08 2016 21:24
@flutelynne_twitter the pump bolus wizard also won't have accurate net iob so keep that in mind, too
@shgrady it should if there getting entered back into NS, but might be a bug in your setup?
Garrett Webb
@garetis
Jun 08 2016 21:25
Could someone provide a link, possibly? I'm looking at the same page (https://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-2/considerations.html) and it seems to be saying the same thing.
Dana Lewis
@danamlewis
Jun 08 2016 21:26
I don't know how long it takes for read the docs to update, look at GitHub in the meantime
And you can go look at the pull requests and look through the most recent closed one to show what was changed
Garrett Webb
@garetis
Jun 08 2016 21:27
Ok, so the GitHub docs are best to follow? And, just out of curiosity, but what is BWP?
Sarah Hodson Grady
@shgrady
Jun 08 2016 21:27
blob
You can just see, the 2 g right below the window
Dana Lewis
@danamlewis
Jun 08 2016 21:28
@garetis it's the same content but since we just merged a Pr, it might take a few min or more for read the docs to have the changed content. But also good to look at the Pr directly to see what changed
BWP is bolus wizard preview, it's a tool in Nightscout. Keep in mind it won't have the netiob when using the loop, though. That's an outstanding issue that's on the list for someone to tackle.
@shgrady maybe @jasoncalabrese will have some ideas.
Garrett Webb
@garetis
Jun 08 2016 21:31
Gotcha. Thanks. Onward and upward...
Sarah Hodson Grady
@shgrady
Jun 08 2016 21:31
I think its the fact that I now notice two possible temp basals that made me think it was related. thanks for the clarification!
Dana Lewis
@danamlewis
Jun 08 2016 21:32
:+1:
Garrett Webb
@garetis
Jun 08 2016 22:10
Why would people want to create multiple instances of openaps?
Paul Martin
@Spazholio
Jun 08 2016 22:30
OpenAPS or NS?
Garrett Webb
@garetis
Jun 08 2016 22:31
OpenAPS. As in, when you go and create an "instance" of OpenAPS using $ openaps init <my_openaps>
Just wondering if there was any reason why someone might have multiple instances.
Paul Martin
@Spazholio
Jun 08 2016 22:36
Maybe one home rig for multiple PWDs?
Jason Calabrese
@jasoncalabrese
Jun 08 2016 22:36
@danamlewis, @shgrady BWP will use the oref0 net iob from the device status if there's current data
but it doesn't use COB yet
Dana Lewis
@danamlewis
Jun 08 2016 22:42
Thx for clarifying @jasoncalabrese !
Garrett Webb
@garetis
Jun 08 2016 22:45
For a line of code like $ openaps use <my_pump_name> model, what/how is the Pi getting that info from the pump? NS?
Paul Martin
@Spazholio
Jun 08 2016 22:45
Is there a way to set up a cross-compiler for the Edison? Compiling bluez directly on the Edison is gonna take a bit. =)
@garetis It would be using whatever communication device you have, whether it’s a Carelink, TI stick, Slice of Radio, ERF, etc...
Garrett Webb
@garetis
Jun 08 2016 22:47
So the Carelink should have been connected to the Pi? Is there any other setup that is needed, or just plug and play? I don't recall seeing a discussion on that
Scott Leibrand
@scottleibrand
Jun 08 2016 22:48
OpenAPS uses decocare to talk to the pump using the carelink.
Most people just call their pump "pump". Not sure why we suggest people choose their own name.
Dana Lewis
@danamlewis
Jun 08 2016 22:50
Yes, carelink should be plugged into the Pi.
Re-look through phase 0 instructions
Garrett Webb
@garetis
Jun 08 2016 22:51
I called mine Pump712, because I found out it's my first one from 2004 and I expect to change it out when I can find a cheaper/newer one. Ok, thanks.
Garrett Webb
@garetis
Jun 08 2016 23:01
I looked through Phase 0 but the only place the Carelink is talked about is in Hardware, and only discusses its use, not its installation. When I run $ openaps use <my_pump_name> model I am getting bash: $: command not found
I just plugged in the Carelink and powered my 712 and they are next to each other on the other side of the room (though I still have my 530g connected to me, presumable out of range)
Paul Martin
@Spazholio
Jun 08 2016 23:03
It sounds like you don’t have openaps installed yet. Have you successfully run openaps commands before?
Garrett Webb
@garetis
Jun 08 2016 23:04
I believe so, everything has gone smoothly up to this point, and when I installed with this script (https://raw.githubusercontent.com/openaps/docs/master/scripts/quick-packages.sh) I got back that it was on version 0.1.5 or something along those lines
Scott Leibrand
@scottleibrand
Jun 08 2016 23:05
Don't paste the $
lmoynihan73
@lmoynihan73
Jun 08 2016 23:12
Need some beginner help installing preferences oref0. Trying to follow the directions at https://github.com/openaps/oref0/blob/master/bin/oref0-mint-max-iob.sh, but it's Greek to me. I can't tell what part I'm supposed to input?
Garrett Webb
@garetis
Jun 08 2016 23:12
Perfect, thanks
Hichame Yessou
@hichameyessou
Jun 08 2016 23:24

I'm getting this error frequently, but only the first time that I'm starting the 'manual loop'

reporting monitor/pumphistory.json
iob://text/shell/monitor/iob.json

module.js:485
    throw err;
          ^
SyntaxError: /home/pi/openaps-dev/settings/profile.json: Unexpected end of input
    at Object.parse (native)
    at Object.Module._extensions..json (module.js:482:27)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/oref0/bin/oref0-calculate-iob.js:43:22)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
reporting monitor/iob.json
pump://JSON/read_bg_targets/settings/bg_targets.json

What could be?

Dana Lewis
@danamlewis
Jun 08 2016 23:25
lmoynihan73
@lmoynihan73
Jun 08 2016 23:30
@scottleibrand Help? Need some beginner help installing preferences oref0. Trying to follow the directions at https://github.com/openaps/oref0/blob/master/bin/oref0-mint-max-iob.sh, but it's Greek to me. I can't tell what part I'm supposed to input?
Scott Leibrand
@scottleibrand
Jun 08 2016 23:32
@lmoynihan73 paste your best guess and we can edit from there.
@hichameyessou are you refreshing things out of order? Refreshing something after it's used?
lmoynihan73
@lmoynihan73
Jun 08 2016 23:32
self=$(basename $0)
MAX_IOB=${1-}
OUTPUT=${2-/dev/fd/1}
kstdennis
@kstdennis
Jun 08 2016 23:33
lurking, waiting for my TI usb stick. :) I'll be (n=1)*95 or something
Scott Leibrand
@scottleibrand
Jun 08 2016 23:33
@lmoynihan73 no, you run that script, not paste its contents.
Dana Lewis
@danamlewis
Jun 08 2016 23:34
;) @kstdennis
Lynne Butts
@flutelynne_twitter
Jun 08 2016 23:34
Interesting to see that I had double entrie on my treatment circles. I ate 45 carbs, and it was doubled, showing COB right now of 70! Deleted it in treatments, but I guess that it doesn't really interfere with the OpenAPS.
Dana Lewis
@danamlewis
Jun 08 2016 23:34
I’m printing the poster for SciSessions tomorrow, so this is the last call for anyone who’s been looping for 3+ nights but hasn’t filled out the form. please do so tonight, otherwise the poster will read with 81 for Saturday ;)
errr @flutelynne_twitter is that a recurring problem? Need to figure out why the double entry so it doesn’t cause havoc
lmoynihan73
@lmoynihan73
Jun 08 2016 23:38
@scottleibrand is this closer? openaps report add settings/preferences.json JSON pump {"max_iob": 2}
Kevin Wells
@wkcwells
Jun 08 2016 23:43
I just updated to the latest oref0/advanced-meal-assist, and can’t seem to get yargs installed right on my edison w/ ubilinux. Any pointers?
Hichame Yessou
@hichameyessou
Jun 08 2016 23:45
@scottleibrand I'm also getting this error Files monitor/last-glucose.json and monitor/glucose.json differ
It could be something concerning the cleaning of the cgm data with the "glucose-tools"? I run an 722+Enlite
Scott Leibrand
@scottleibrand
Jun 08 2016 23:47
@hichameyessou that's not an error
that's an indication you have updated glucose info and it can start the next loop
@wkcwells you need to do the npm install steps to install the updated oref0 binaries
@lmoynihan73 you want to put that {"max_iob": 2} output into a file, and then reference the file at the end of that command
you can redirect the output of the mint script into a file by putting something like > preferences.json at the end of it
lmoynihan73
@lmoynihan73
Jun 08 2016 23:56
@scottleibrand thank you!
Hichame Yessou
@hichameyessou
Jun 08 2016 23:58
@scottleibrand now it works, there was something wrong with the calculate-iob virtual device.
I'm still missing the mm-format-ns-glucose tool and the upload to NS! But it works!