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

20th
Jun 2016
Garrett Webb
@garetis
Jun 20 2016 00:02
What all should be a part of the enact alias? Should it be set up to display suggested.json before it is enacted upon? Or is it really just going to be executing enacted.json?
Sarah Hodson Grady
@shgrady
Jun 20 2016 00:02
I am trying to keep track of this stuff because for less than technical people, signs of success, failure and indifference could help in the documentation, so I caught that you said "pump" originally, then swapped my512 in, I will get there someday, thanks, very encouraging to see the pump start wigging.
Garrett Webb
@garetis
Jun 20 2016 00:03
@shgrady I started out calling my pump Pump712, but I ended up deleting it and calling it pump to match all the docs and make my life easier
Sarah Hodson Grady
@shgrady
Jun 20 2016 00:06
@garetis I also wondered though, because in my zealousness to get pumps I have one, have one arriving next week, and may end up with a third, will there be a reason to define them differently, or will I just want to edit the device if I switch between?
The 512 arrived first, the 722 is pink...
Garrett Webb
@garetis
Jun 20 2016 00:07
I'm not sure. that was my thought, but if I update my 712 then I might just replace the serial number on my "pump device" and hopefully everything still works
I was talking to the lady selling that 722 pink, I was trying to talk her into swapping it for one I have, haha
Paul Martin
@Spazholio
Jun 20 2016 00:08
And even though I have temp basals being set, and I can see them in NS, the icicles aren’t working either.
Sarah Hodson Grady
@shgrady
Jun 20 2016 00:14
Oh, I actually swapped Omnipods for the pink 722 (found her on Facebook)
Scott Leibrand
@scottleibrand
Jun 20 2016 00:33
@Spazholio not sure.
Paul Martin
@Spazholio
Jun 20 2016 00:33
Switching back to my old method of calculating everything seems to have gotten my IOB pill and icicles populating again. Not really diggin’ that, and the new one felt faster and way more stable/robust. I’ll have to dig into what’s different, although the relevant NS stuff seemed identical. =/
Sarah Hodson Grady
@shgrady
Jun 20 2016 00:46
when doing openaps use <dexcomname> iter_glucose 1, why would the display time be right, and the system time be wrong...I thought the RaspberryPi gets the time from wifi when connected...or is this a diff system time?
Scott Leibrand
@scottleibrand
Jun 20 2016 00:47
The system time is the internal Dexcom reciecer clock.
*receiver
Sarah Hodson Grady
@shgrady
Jun 20 2016 00:48
so its ok, it seems to be UK time then?
plus 15 mins
Scott Leibrand
@scottleibrand
Jun 20 2016 00:52
It was probably UTC/GMT originally, but it drifts and doesn't get corrected. Display time is what is used for everything, and that you can change.
Sarah Hodson Grady
@shgrady
Jun 20 2016 00:53
@scottleibrand thanks
Paul Martin
@Spazholio
Jun 20 2016 01:01
@scottleibrand Not to harp on this, but do you know specifically what needs to be present to make the icicles show and the IOB pill get populated and recognized? I’ve moved back to my old scripts, but if I’m lucky, they’re working every 10-ish minutes. With your scripts, they ran flawlessly. So for obvious reasons, I’d really like to move to yours. I checked all the NS stuff, and it’s uploading, but I suspect it’s just missing something.
Scott Leibrand
@scottleibrand
Jun 20 2016 01:03
I don't know the NS side all that well. @jasoncalabrese might, although I think he's heading out on vacation.
Ben West
@bewest
Jun 20 2016 01:05
icicles use the treatments data
you primarily need treatments from pump/careportal and entries for glucose
the rest are all extra little things
Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:11
the pill is updated from devicestatus
you probably want to post to device status at the end of every loop
Paul Martin
@Spazholio
Jun 20 2016 01:14
Ok, so verify that treatments are getting uploaded for icicles, and the devicestatus for the pill. It’s not just that the pill isn’t being updated, but I suspect the insuln isn’t even being taken into account, which is my concern.
Ben West
@bewest
Jun 20 2016 01:16
the insulin stuff is all "treatment" data coming from the pump, eg basal commands show up in the pump history list along with bolus, carbs... most everything has an analog for the manual care-portal entries
the basal lines are part of that, any temp basals are in treatment data
Paul Martin
@Spazholio
Jun 20 2016 01:18
Well, I saw the boluses/basals in pump history.json so I know they’re getting from my pump to my rig. Just not sure why they’re not making it to NS.
Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:20
check the times, maybe it's not getting zoned?
Paul Martin
@Spazholio
Jun 20 2016 01:21
Which alias should I be concerned with? upload-pumphistory-entries or upload-recent-treatments?
@jasoncalabrese Looks like everything is zoned. This is from @scottleibrand’s setup script, so it’s 99% freaking awesome. Just this one little issue I can’t quite resolve.
Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:26
@shgrady, you don't need to use saline, you can trick the pump to make it think it has a cartridge, just use your finger to put a little resistance on the piston when going throught the cartridge refill screens
Paul Martin
@Spazholio
Jun 20 2016 01:28

Here’s an odd data point:

Listening: .No comms detected
mmtune: "916.732", 5, -57 PREFLIGHT OK
ns-glucose://text/shell/monitor/ns-glucose.json
reporting monitor/ns-glucose.json
{"carbs":0,"boluses":0,"mealCOB":0}
{"ratio":0.84}
{"iob":0,"activity":0,"bolussnooze":0,"basaliob":0,"netbasalinsulin":0,"hightempinsulin":0,"time":"2016-06-20T00:20:18.000Z"}
{"delta":2,"glucose":175,"avgdelta":4}
{"duration":28,"rate":3.65,"temp":"absolute"}
{"max_iob":8,"type":"current","dia":3,"skip_neutral_temps":false,"current_basal":1.8,"max_daily_basal":1.8,"max_basal":8,"min_bg":100,"max_bg":100,"sens":20,"carb_ratio":5}
Adjusting basal from 1.8 to 1.51

My basal rate is currently 5.40u/hr and I have 2.5u on board. So why is it showing that it’s adjusting from 1.8 to 1.51 (which it didn’t do), and showing no IOB?

Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:29
something doesn't seem to be refreshing
Scott Leibrand
@scottleibrand
Jun 20 2016 01:29
Is your rig time correct?
Paul Martin
@Spazholio
Jun 20 2016 01:29
Rig time is correct.
Scott Leibrand
@scottleibrand
Jun 20 2016 01:30
Focus on calculate-iob for a bit.
Run it manually etc.
Paul Martin
@Spazholio
Jun 20 2016 01:30
I don’t know how to do that, honestly. Do I just run node [path]/calculate-iob.js?
Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:31
you'd run the openaps use
or even invoke the report
Paul Martin
@Spazholio
Jun 20 2016 01:31
For…what?
Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:32
openaps report invoke predict/iob.json or similar
Scott Leibrand
@scottleibrand
Jun 20 2016 01:33
Do that first. Then you can drill down and run 'oref0-calculate-iob` manually if needed.
Paul Martin
@Spazholio
Jun 20 2016 01:33
Yeah, iob.json shows 0.
oref0-calculate-iob monitor/pumphistory-zoned.json settings/profile.json monitor/clock-zoned.json seems to indicate 0 iob as well.
Scott Leibrand
@scottleibrand
Jun 20 2016 01:35
Check inputs next.
Paul Martin
@Spazholio
Jun 20 2016 01:35
And it’s still showing Adjusting basal from 1.8 to 1.62 for every iteration. Odd.
Scott Leibrand
@scottleibrand
Jun 20 2016 01:35
Adjusting basal is just autosens.
Paul Martin
@Spazholio
Jun 20 2016 01:35
It’s dead wrong though.
No?
Scott Leibrand
@scottleibrand
Jun 20 2016 01:36
Check timestamps on all input files vs. date
Paul Martin
@Spazholio
Jun 20 2016 01:36
My current basal rate is 5.4u.
Scott Leibrand
@scottleibrand
Jun 20 2016 01:36
Does profile.json say 1.8?
Paul Martin
@Spazholio
Jun 20 2016 01:36
It does.
That’s my regular rate, but not my current rate.
Scott Leibrand
@scottleibrand
Jun 20 2016 01:37
5.4 is a temp?
Paul Martin
@Spazholio
Jun 20 2016 01:37
Correct.
Scott Leibrand
@scottleibrand
Jun 20 2016 01:37
the 1.8 is talking about your baseline scheduled basal.
It's saying all oref0 calculations will proceed from a baseline of 1.62 instead of 1.8
Paul Martin
@Spazholio
Jun 20 2016 01:38
Hmm.
Scott Leibrand
@scottleibrand
Jun 20 2016 01:38
that isn't your problem right now. Check IOB input times.
Paul Martin
@Spazholio
Jun 20 2016 01:39
monitor/iob.json is the right date. As are every other file, if that’s what you meant?
Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:40
date; ls -l monitor/pumphistory-zoned.json
Scott Leibrand
@scottleibrand
Jun 20 2016 01:40
I mean the contents.
Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:41
I'd check both, if timezone were off the contents might trick you
Scott Leibrand
@scottleibrand
Jun 20 2016 01:41
Maybe paste most recent entry from each file and date
Paul Martin
@Spazholio
Jun 20 2016 01:41
Sun Jun 19 21:41:36 EDT 2016
-rw-r--r-- 1 edison users 12995 Jun 19 21:41 monitor/pumphistory-zoned.json
Jason Calabrese
@jasoncalabrese
Jun 20 2016 01:42
and the first entry too, the timestamp could be right if you zoned an old history file
Paul Martin
@Spazholio
Jun 20 2016 01:44
You might be onto something. Here’s the top two entries from monitor/pumphistory.json:
  {
    "_type": "TempBasalDuration",.
    "duration (min)": 30,.
    "_description": "TempBasalDuration 2016-06-19T21:24:28 head[2], body[0] op[0x16]",.
    "timestamp": "2016-06-19T21:24:28",.
    "_body": "",.
    "_head": "1601",.
    "_date": "5c98155310"
  },. 
  {
    "_type": "TempBasal",.
    "temp": "absolute",.
    "_description": "TempBasal 2016-06-19T21:24:28 head[2], body[1] op[0x33]",.
    "timestamp": "2016-06-19T21:24:28",.
    "_body": "00",.
    "_head": "33d8",.
    "rate": 5.4,.
    "_date": "5c98155310"
  },.
But that’s odd, since the file is refreshed every minute or so. It’s not an old file.
Paul Martin
@Spazholio
Jun 20 2016 01:53
And monitor/glucose.json seems to have the right times.
Char B.
@sweetlatte2427
Jun 20 2016 02:21
Hi everyone: We are at the point in our system where we are setting up all the reports and processes for oref0. My question is: Is it worth me setting a blood sugar range (say, 100-120 mg/dl) as my target blood sugar, vs. having it at a single number target of 100 mg/dl? Our concern is that having a single number at the target range will be more taxing on the system. My pump has been set to 100 mg/dl for a long time for all my correction boluses. Thank you!!
Ben West
@bewest
Jun 20 2016 02:22
it's not more taxing on the system
use whatever makes the most sense for you
Char B.
@sweetlatte2427
Jun 20 2016 02:24
Cool! Thank you @bewest ! do you know if the system will constantly try to correct to reach a target with zero range?
Ben West
@bewest
Jun 20 2016 02:25
recently, we introduced several changes which even if you are on target 100% of the time, it will still issue a new temp basal that is equivalent to the scheduled basal
it's call neutral active temp basal I think
or active neutral temp basal
so it's always doing the same amount of work, always setting temp basals: even if it's a "no-op" a case where nothing is to be done, it's still same amount of work
the range can be thought of as a type of delay on when to make changes in general, or when to be aggressive and decide to intervene, and when not to
that's independent "knob" from the activity that goes on to make the decision
so if you have say 100 - 110
if you are at 105, it won't do anything
it won't consider doing anything until something decides that relative to 100 or 110 something should be done
so the range is a kind of whitelist
"if in this range basically do nothing"
Char B.
@sweetlatte2427
Jun 20 2016 02:28
so if i was 112, with your example.. it would need to determine if something needs to be done, but the answer may still be "do nothing"
Ben West
@bewest
Jun 20 2016 02:28
so if it's a single set point, it'll try to do more, you may see more "stitching" what I call when every 5 minutes it's reversing the prior decision
if if you set point is 100, it will decide to do something if you go from 100 - 104 - 106 (even if nothing is really needed)
it will also decide to increase/decrease between 98 - 101 - 98 - 101
so instead of seeing a straight line, you'd see a "bang bang" type of line that goes constantly from 200% to 0% 50% of the time
as in every other 5 minutes it'd be either 200% or 0%
Char B.
@sweetlatte2427
Jun 20 2016 02:30
ok, that makes sense.
Ben West
@bewest
Jun 20 2016 02:30
assuming you have a perfect flat line
so the range is like a whitelist/sleep mode almost
Garrett Webb
@garetis
Jun 20 2016 02:37
I'm looking to set up the enact alias. Should it be set up to display suggested.json before it is enacted upon? I'm not sure how I would go about implementing that.
Dana Lewis
@danamlewis
Jun 20 2016 02:45
@sweetlatte2427 you'll also want to start your targets for looping higher than you would for manual corrections. Then once you see how it works, lower it down a bit at a time
Scott Leibrand
@scottleibrand
Jun 20 2016 02:49
@bewest it shouldn't reverse itself like that if nothing changed.
Most of its decisions are based on a 15m average BG delta, so if BG is oscillating in a narrow range it will make fairly minor adjustments. If BG is more jumpy it will be quick to zero temp and then do a slightly high temp to counteract once it's clear you're not actually falling.
Char B.
@sweetlatte2427
Jun 20 2016 02:51
@danamlewis hi Dana! that makes good sense. Thank you!
Scott Leibrand
@scottleibrand
Jun 20 2016 02:52
But to @sweetlatte2427's question, I agree that a "range" 0 mg/dL wide is fine. That's what we do.
Char B.
@sweetlatte2427
Jun 20 2016 02:53
@scottleibrand Cool. i'm so used to just using a single number as a target. i've never used a "Range" before. What @danamlewis said makes sense to start with.. then once we are much more familiarized with the system, maybe we can go back to a single number target
Scott Leibrand
@scottleibrand
Jun 20 2016 02:54
You can still do a single number target: just start with that number higher.
Char B.
@sweetlatte2427
Jun 20 2016 02:55
True.
Garrett Webb
@garetis
Jun 20 2016 03:15
So, a pseudo list of items that is going to occur in the enact alias: rm -f monitor/ enact/, gather-profile, monitor-pump, monitor-cgm, retry-loop, invoke enacted.json, status-upload? Did I miss anything?
Scott Leibrand
@scottleibrand
Jun 20 2016 03:19
That sounds like a "loop" or "do-everything" alias.
Not sure what your retry-loop does, but mine is a wrapper around loop.
is the enact alias only implementing the enact/enacted.json, or what other things are supposed to be implemented with it?
Scott Leibrand
@scottleibrand
Jun 20 2016 03:25
Usually people do suggested and enacted in the enact alias. It can be done however you like, though.
Garrett Webb
@garetis
Jun 20 2016 03:30
So, generally, when people open loop, will they preview suggested.json before running enacted.json, or just run enacted.json, observe what is being suggested, and then evaluate what was computed?
because if you are running suggested and enacted in the same alias, I don't see an opportunity to observe what is being suggested...
Scott Leibrand
@scottleibrand
Jun 20 2016 03:32
You can always run suggested twice. Seems like personal preference.
Reason for putting it into enact alias is to help guarantee you won't get stuck enacting the same temp indefinitely t
Garrett Webb
@garetis
Jun 20 2016 03:36
do people usually run a status-upload at the end of their enacted alias?
Scott Leibrand
@scottleibrand
Jun 20 2016 03:37
Yeah. Need to upload treatments at some point too.
Scott Leibrand
@scottleibrand
Jun 20 2016 03:40
Ya
Garrett Webb
@garetis
Jun 20 2016 03:47
do people do that as part of enact, or some other open-loop type alias?
Scott Leibrand
@scottleibrand
Jun 20 2016 03:48
I have an upload alias I run at the end of the loop
jim-andrews
@jim-andrews
Jun 20 2016 04:30
@danamlewis Looks like that did the trick. For all of you looking to medwow for pumps, please keep in mind that users of that site are reporting difficulty in removing sold items. one user I spoke to said he sold his pump "months ago" and was unsuccessful in removing his listing from their site. FYI.
Dana Lewis
@danamlewis
Jun 20 2016 04:31
@jim-andrews hooray! And thanks for sharing this info with everyone.
Garrett Webb
@garetis
Jun 20 2016 04:59
what is openaps upload-recent-treatments actually uploading? What are the treatments?
ddaniels1
@ddaniels1
Jun 20 2016 05:53
@scottleibrand 27 hours on pump and glucose history. I think something went haywire when I did a sensor change and there was not data for 2 hours right after I had bolused for a meal. Will take a look next time again.
Garrett Webb
@garetis
Jun 20 2016 06:13
Is it typical to do anything more complicated than openaps alias add enact "report invoke enact/suggested.json enact/enacted.json", and save all the other touch-ups for another looping alias?
Scott Leibrand
@scottleibrand
Jun 20 2016 12:04
@garetis that seems reasonable.
@ddaniels1 ah, yeah. It would miss all the carb absorption that occurred during the warm up period. We could probably interpolate the missing data and get a decent estimate of the missing carb absorption: want to open an oref0 issue for that?
epbray712
@epbray712
Jun 20 2016 13:18
Good morning, all! My name is Elizabeth: T1 for 20 years. My husband and I are going to attempt to build our Open APS project here shortly. I'm an "IT dummy" SO may have quite a few questions once we get up running on this project but I am super eager to get started.
Sarah Hodson Grady
@shgrady
Jun 20 2016 13:21
welcome @epbray712 , this group is super helpful, sometimes they start helping me with the next step faster than I can follow the next step in the documentation, do you have Nightscout already?
epbray712
@epbray712
Jun 20 2016 13:26
@shgrady Not yet - I began working on that late last week. I have almost everything completed, just need to enter the Minimed Connect info. I feel a bit overwhelmed at this point, but like I said, I am eager to learn and try. I thought there was a step by step type of instructions, or at least where to begin but I'm not finding anything - any help on where to go to get started would be fantastic.
I forked a copy and then am putting my notes in my copy as I go, including when I get help on here.
Scott Leibrand
@scottleibrand
Jun 20 2016 13:30
Minimed connect is not part of the standard setup.
Would beer great to get it added though
Ha. *be
epbray712
@epbray712
Jun 20 2016 13:37
@scottleibrand apologies - I am referring to setting up Nightscout only. I have only began compiling the hardware components and researching to begin OpenAPS
Scott Leibrand
@scottleibrand
Jun 20 2016 13:37
:+1:
Sarah Hodson Grady
@shgrady
Jun 20 2016 13:39
@epbray712 so you must have already been medtronic then? I got one on Saturday, I gotta say, the screw out reservoir scares the pants off me.
epbray712
@epbray712
Jun 20 2016 13:41
@shgrady I have been a Medtronic user since 1999.....I've not had a single reservoir problem! That should be the least of your concerns! :-)
Dan Piessens
@dpiessens
Jun 20 2016 13:44
@shgrady I've been on a pump since the late '90s too, Medtronic's design has only improved over the years and the drive is basically flawless. If anything it's the housing on the older units that tend to scrape and crack over time
Sarah Hodson Grady
@shgrady
Jun 20 2016 14:04
@epbray712 @dpiessens I knocked the reservoir loose this morning when I slipped putting on the clip, not a big deal because wearing two pumps, one with saline, little disconcerting though, the quick set not as easy to manually insert as the ones I used to use with the 509C
Chris Oattes
@cjo20
Jun 20 2016 14:46
I'm starting to get quite frustrated by my sensors not giving me accurate enough readings to use openaps at the moment
Sarah Hodson Grady
@shgrady
Jun 20 2016 14:47
@cjo20 I went through this a couple of months ago, getting frustrated, would it be terrible if I repeated the tips I go?
Chris Oattes
@cjo20
Jun 20 2016 14:55
the usual ones with Enlite are only calibrate 3 times a day, when BG is flat, not near food, stay hydrated, leave sensor to "soak" for 12+ hours before activating it for the first time
if you've got any more I'd be happy to hear them :)
@shgrady ^
Sarah Hodson Grady
@shgrady
Jun 20 2016 14:59
oh geeze, sorry, I have the Dexcom, I calibrate whenever I am flat and they are reading similar (which can be 5-6 times a day), I don't soak, keep hydrated. I used to calibrate when they were off, (by more than a few points) that just confuses the thing.
@cjo20 I get a big difference in accuracy between sites, my legs are horribly inaccurate, the back of my arms way better than my abdomen
My theory was all the scar tissue on my abdomen inhibited natural interstitial flow.
epbray712
@epbray712
Jun 20 2016 15:13
I have had great luck with my Enlite in my behind. It looks great through my leggings....but it is worth it. I have tried my abdomen, but it never works and has to be removed and discarded.
Chris Oattes
@cjo20
Jun 20 2016 15:17
The thing is, I had about 2 weeks when they were working really well. And the last 2 sensors have been garbage
all of them in my abdomen
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Jun 20 2016 15:19
If you don't get 7 days out of a Dex sensor and you have the box they came from or the orig package the sensor was in dex will replace for free,
Chris Oattes
@cjo20
Jun 20 2016 15:28
Medtronic are sending me a replacement for the one that died after 24 hours
Dana Lewis
@danamlewis
Jun 20 2016 15:34
@epbray712 the Nightscout instructions are over at Nightscout.info if you haven't stumbled across them yet
epbray712
@epbray712
Jun 20 2016 15:44
@danamlewis Thank you, Dana. I'm almost 95% done with the setup for Nightscout. If figured that would be a good way to get my feet wet in terms of programming before I jump into the OpenAPS. Does anyone have photos of them wearing their setup? Curious how you all carry it around all day
Chris Oattes
@cjo20
Jun 20 2016 15:45
I carry stuff around in my pocket (I have a big pocket)
edison based stuff is small enough that it can be carried pretty much any way you like
Sarah Hodson Grady
@shgrady
Jun 20 2016 15:46
This message was deleted
blob
After seeing this picture, I have a chalk bag on the way
Chris Oattes
@cjo20
Jun 20 2016 15:47
I also just ordered my edison
fingers crossed it'll be here tomorrow
epbray712
@epbray712
Jun 20 2016 15:48
I teach dance....I imagine I may need some type of wearable bag....shall I utter the word "fanny pack"? What is the range of the device? Or does it need to be on your person at all times? Also, I read somewhere that you have to have internet connection? Is that to use it all the time? As in, the OpenAPS cannot be used unless connected to internet?
Sarah Hodson Grady
@shgrady
Jun 20 2016 15:48
only if you rely on nightscout for your blood glucose transmission
David Cintron
@loudestnoise
Jun 20 2016 15:49
@shgrady I use the Dashpoint 20 bag by Lowerpro. It’s snug, but fits. It comes with a strap like the pic of Mike you just shared
Sarah Hodson Grady
@shgrady
Jun 20 2016 15:49
does it "need" to be connected to internet
Chris Oattes
@cjo20
Jun 20 2016 15:49
The edison rigs I've seen are smaller than most mobile phones
David Cintron
@loudestnoise
Jun 20 2016 15:50
Yep, Edison is quite tiny
Sarah Hodson Grady
@shgrady
Jun 20 2016 15:50
honestly, I am so "engaged" with my pump while working out, I was planning on using it more for sleep and at work
Pi in the middle, Edison on the right
Sarah Hodson Grady
@shgrady
Jun 20 2016 15:51
@loudestnoise I wanted to make a bit more of a fashion statement than a Lowepro
David Cintron
@loudestnoise
Jun 20 2016 15:51
LOL yeah
Dana Lewis
@danamlewis
Jun 20 2016 15:56
A flip belt is also an option
Scott Leibrand
@scottleibrand
Jun 20 2016 15:57
@shgrady you might find that temporary targets allow you to stop being quite so "engaged" when you'd rather be doing something else...
epbray712
@epbray712
Jun 20 2016 16:01
If I use an intel Edison in lieu of the Pi, is the setup the same?
Dana Lewis
@danamlewis
Jun 20 2016 16:06
You'll need to use the mmeowlink wiki. Most people find it easier to do a Pi rig first and then go onto Edison or otherwise for a second rig; then the Pi is a great bedside and stable rig
Sarah Hodson Grady
@shgrady
Jun 20 2016 16:07
@scottleibrand this is probably something I will get to, I just don't understand it yet, I find I have to both cut insulin and eat continuously to cycle, if the pump kept slowing down the insulin, I would run out of energy and get left in the dust?
epbray712
@epbray712
Jun 20 2016 16:08
@danamlewis TY
Chris Oattes
@cjo20
Jun 20 2016 16:10
There aren't enough hours in the day :( I need to finish my determine-basal patch, work on doing a basal active insulin graph and I want to design an edison board
Lynne Butts
@flutelynne_twitter
Jun 20 2016 16:23
@loudestnoise congrats on the TI stick setup. What was the first step?
David Cintron
@loudestnoise
Jun 20 2016 16:28
@flutelynne_twitter well I kind of cheated. I got one that was already flashed and just had to setup mmeowlink
Lynne Butts
@flutelynne_twitter
Jun 20 2016 16:31
oh. i didn't know if i install the mmeowlink first or flash the stick first. did you have to lose the carelink stick first, too?
@loudestnoise was the ti stick better overnight?
Dragan Maksimovic
@dm61
Jun 20 2016 17:21
Installing mmeowlink first is possible, but kind of pointless since you would not be able to test anything without a flashed TI stick. So, in practice, flashing a TI stick or getting one already flashed is the first step. The mmeowlink wiki is pretty good - I have not had troubles flashing TI sticks. Consistent with everyone else's experiences, the TI stick has been way better for me than CareLink.
David Cintron
@loudestnoise
Jun 20 2016 17:21
@flutelynne_twitter Yep, what he said ^
I can finally plug in my rig when my battery is getting low and not have to worry about being super close. It can work even across the room
Lynne Butts
@flutelynne_twitter
Jun 20 2016 17:45
@loudestnoise @dm61 Thank you. I suppose I will go over to that channel and get started. @dm61 Did you flash it via linux or windows?
Dragan Maksimovic
@dm61
Jun 20 2016 17:55
via linux, I did that on an RPI
Lynne Butts
@flutelynne_twitter
Jun 20 2016 18:09
Thank you!
Colin
@_ColinR_twitter
Jun 20 2016 19:27
Any chance anyone would know if it's possible to use the MiniMed 754 with OpenAPS if it has the firmware version 2.7A? In the docs I see 2.6A or lower but I've checked and see that the pump does not have the "PC Connect" option which makes me think that maybe it'd still work? Unfortunately I don't have a CareLink card/TI stick or anything to really test if I can connect to it at the moment, was hoping to figure out ahead of time before trying to acquire one of those.
Ben West
@bewest
Jun 20 2016 19:32
likely still works
you can just try it out
where does it hail from? europe?
Colin
@_ColinR_twitter
Jun 20 2016 19:53
Thanks for the reply! Canada, I don't have a way to connect with it at the moment to see if it works but as soon as I do I'll be giving it a try
Didie
@elodaille01_twitter
Jun 20 2016 20:06
hello
blob
Where should he enter commands ? The Pi ?
Sarah Hodson Grady
@shgrady
Jun 20 2016 20:10
@elodaille01_twitter did you already add the devices on the Pi?
Didie
@elodaille01_twitter
Jun 20 2016 20:10
I don't know
I got confused at almost the same spot yesterday. Are you able to SSH into the Pi alright?
btw, just repeating what I was given yesterday, I wish it was easier to search Gitter
Didie
@elodaille01_twitter
Jun 20 2016 20:13
@shgrady I don't understand, i'm french :-(
@shgrady I have to follow the procedure above link ?
Thacher
@thacherT1D
Jun 20 2016 20:15
creating a report for my cgm/dexcom and cgm iter_glucose 4 works with whatever number I specify, but cgm iter_glucose_hours 4 does not work and when I looked at cgm iter_glucose -h it does not show an argument option for hours... should I just use number of events rather than hours? (I am using a dexcom receiver plugged directly into the raspberry Pi) @dm61 ?
Heather Burns
@lilheath4_twitter
Jun 20 2016 20:16
Screen Shot 2016-06-20 at 4.12.22 PM.png
This message was deleted
Sarah Hodson Grady
@shgrady
Jun 20 2016 20:16
My husband speaks french but not tech....let me try a different way....all commands that start with $ are going to be entered into the pi, some people will connect keyboard and screen some will "Putty" in from another machine.
Heather Burns
@lilheath4_twitter
Jun 20 2016 20:17
So, I'm having some confusion while setting up Nightscout. When I set up the page this way (as per the directions for a Dexcom G5) I don't get the 'Profile' option in settings. If I change "bridge" to the "care portal ragbag, etc..." I get the option but no data comes through from the G5 app. Any suggestions?
Sarah Hodson Grady
@shgrady
Jun 20 2016 20:18
@elodaille01_twitter yeah, I think it is way out of order and they know that, but the link I sent is steps that need to be done, also very satisfying because you start to have some visible success. Seriously, someone sent me the same last night.
David Cintron
@loudestnoise
Jun 20 2016 20:18
@lilheath4_twitter For your enable you would have careportal bridge openaps etc
Didie
@elodaille01_twitter
Jun 20 2016 20:18
@shgrady Yes, I have a monitor, mouse and keyboard connected to pi
Heather Burns
@lilheath4_twitter
Jun 20 2016 20:19
@loudestnoise But when I use that for enable instead of bridge, I lose my data. Kinda confusing.
Didie
@elodaille01_twitter
Jun 20 2016 20:20
It's not so simple to create a closed loop...
David Cintron
@loudestnoise
Jun 20 2016 20:20
@lilheath4_twitter so instead of just the word bridge you did bridge careportal openaps etc
you put one after the other with just a space in between
Heather Burns
@lilheath4_twitter
Jun 20 2016 20:21
AH!!!! Will try that now.
Sarah Hodson Grady
@shgrady
Jun 20 2016 20:24
@elodaille01_twitter ok, just did not want to talk about the Putty terminal if you are using RaspPi terminal. The dollar sign is key ($) it symbolizes things going into the command line. Even earlier than what I sent, have you gotten comfy(comfortable) installing packages yet, (openaps had to be installed before the link I sent)?
Heather Burns
@lilheath4_twitter
Jun 20 2016 20:26
@loudestnoise PURE GENIUS!!! Sometimes we truly can't see the forest for the trees. Thank you SO much!!!!
David Cintron
@loudestnoise
Jun 20 2016 20:27
:smiley:
Didie
@elodaille01_twitter
Jun 20 2016 20:29
@shgrady Yes, I installed
Sarah Hodson Grady
@shgrady
Jun 20 2016 20:33
@elodaille01_twitter The picture you sent, I have not seen it, not sure if I forked later than you, can you follow the directions on the link I sent to get your devices added? Then, if you run into trouble, copy your terminal log with the error here. I think it will help people help you.
Didie
@elodaille01_twitter
Jun 20 2016 20:34
Ok thank you
Dragan Maksimovic
@dm61
Jun 20 2016 21:00
@thacherT1D I've never used hours, so I do not know. all my openaps instances are using iter-glucose with number of readings I want
Paul Martin
@Spazholio
Jun 20 2016 21:04
I just hit 49. Anyone wanna take bets on what I’ll be in 2-3 hours? =)
Didie
@elodaille01_twitter
Jun 20 2016 21:14

Check that you can communicate with your pump

Now that you have added these devices, let's see if we can establish communication with them. First, the pump:

$ openaps use <my_pump_name> model

should return something like:

"723"

It does not... It does not shox my pump model
iananders
@iananders
Jun 20 2016 21:16
@elodaille01_twitter do you have the carelink stick attached to your pi?
Didie
@elodaille01_twitter
Jun 20 2016 21:16
But "ValueError" Attempting to use a port that is not open
Oh, i forgot the Carelink
I am tired
Thank you
Didie
@elodaille01_twitter
Jun 20 2016 21:21
@iananders That it better that way ;-)
iananders
@iananders
Jun 20 2016 22:41
@elodaille01_twitter nice.
seems like a silly question - how can i run the max iob script as needed for get-profile?
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Jun 20 2016 22:43
@Spazholio 106
or on the floor
Andrew Dodd
@Entropy512
Jun 20 2016 22:47
@shgrady When you say "inaccurate" on abdomen - was it a tendency of the CGM to not fully track swings in bloodsugar? I have that happen frequently with sensors on my left abdomen. Right abdomen always works great, except sometimes I'll have it "jump around" for 1-2 days after insertion before it settles. (More often at night - almost seems like it's unusually prone to compression lows for the first day or two. Those sensors always wind up my best once I get past the first 1-2 days though.)
Sarah Hodson Grady
@shgrady
Jun 20 2016 22:51
Yep, totally missing highs and lows, crusing along flat when I am not, or staying high hours after my sugar has come down, I have had DM for 27 years though, lot of scar tissue. @Entropy512
Andrew Dodd
@Entropy512
Jun 20 2016 22:52
I'm somewhere in the 25ish range... I keep on forgetting how old I was when in 8th grade
But yeah that's what happens for me - I'll be 200 when it reports 150, calibrate
then be 100 when it reports 140
etc
Sarah Hodson Grady
@shgrady
Jun 20 2016 22:53
Ah, mine was Valentine's Day '89, kindergarden
Andrew Dodd
@Entropy512
Jun 20 2016 22:53
Wednesday before thanksgiving, 8th grade
Strangely, it'll usually take 2-3 days for the sensor to fail that way
starts out good, then flakes out
just the opposite of right-abdomen, starts out flaky and stabilizes
Paul Martin
@Spazholio
Jun 20 2016 23:01
@jlucasvt 106? You’re optimistic. =) When I eat peanut butter (and I did), I get weird results later on. I’m trying to mitigate them with an aggressive, prolonged temp target. Let’s see what happens….
Andrew Dodd
@Entropy512
Jun 20 2016 23:18
weird being elevated sugar, or "weird" being that you expect elevation but you get reduction instead?
Paul Martin
@Spazholio
Jun 20 2016 23:21
Weird being that both can happen. I can skyrocket, or I can stay level until 5-6 hours later.
Thacher
@thacherT1D
Jun 20 2016 23:28
@dm61 thanks! good to know -- when following the directions I just update the 4 hour report to be 48 readings and it seems to have worked
Dragan Maksimovic
@dm61
Jun 20 2016 23:32
ok; I guess there could be a difference between these two (hours versus number of readings) if there are any missing readings, but should not matter
Thacher
@thacherT1D
Jun 20 2016 23:35
@dm61 I'll keep track and see if there's any difference, the only reason I tried hours is that that is what's in the documentation
iananders
@iananders
Jun 20 2016 23:45
Hi all - setting up get-profile and I tried manually creating a preferences.json and ended up with this after creating and invoking my profile.json - get-profile://text/shell/settings/profile.json
/usr/local/lib/node_modules/oref0/lib/profile/basal.js:10
var basalRate = basalprofile_data[basalprofile_data.length-1].rate
^
TypeError: Cannot read property 'rate' of undefined
at Object.basalLookup (/usr/local/lib/node_modules/oref0/lib/profile/basal.js:10:66)
at generate (/usr/local/lib/node_modules/oref0/lib/profile/index.js:32:33)
at Object.<anonymous> (/usr/local/lib/node_modules/oref0/bin/oref0-get-profile.js:104:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
reporting settings/profile.json
ryanchen26
@ryanchen26
Jun 20 2016 23:56
Observation: was recently climbing out of a low, BG leveled at 128 (our target is 130-140), but APS decided to ramp up the basal to 0.325 (our nominal is 0.100) sending the BG downward. APS eventually set the basal to zero, but had to give 2g glucose to level out around 90. I took a screenshot that i can post later if needed.