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

27th
Mar 2016
Ben West
@bewest
Mar 27 2016 00:01
no
cd.. is not the same as cd ..
garykidd
@garykidd
Mar 27 2016 00:17
oh just need space?
network crapped out again---just had to relog back into it---and its up again...still have to use ip address---but it works.
again...now
@bewest check it out...
garykidd
@garykidd
Mar 27 2016 00:22

iMac:~ g$ ssh pi@raspberrypi.local
The authenticity of host 'raspberrypi.local (192.168.1.119)' can't be established.
ECDSA key fingerprint is SHA256:hZJQY81ekuTAmlkbgse3Mo9eo0XtG5bQig11n+yGm20.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'raspberrypi.local' (ECDSA) to the list of known hosts.

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Mar 27 00:19:59 2016 from imac
pi@raspberrypi:~ $

pi@raspberrypi:~ $ cd myopenaps
pi@raspberrypi:~/myopenaps $ cd ..
pi@raspberrypi:~ $
nice
3 things
garykidd
@garykidd
Mar 27 2016 00:46
today
thx
Whats better 712 or 715?
to use?
Scott Leibrand
@scottleibrand
Mar 27 2016 01:18
715
712 will work for overnight but you have to hard code some things. And it can't report carbs so meal assist won't work.
garykidd
@garykidd
Mar 27 2016 01:20
715 it is...thx
@scottleibrand THanks for help
Have been following along in RTD...up to 3.2.2.2.5. Check that you can communicate with your pump....
So strange thing is...I must've really missed something because I didnt configure the carelink stick...can you re-direct me a bit...pleae?
garykidd
@garykidd
Mar 27 2016 01:36
openaps use GK2PUMP model
Traceback (most recent call last):
File "/usr/local/bin/openaps-use", line 4, in <module>
import('pkg_resources').run_script('openaps==0.0.10', 'openaps-use')
File "build/bdist.linux-armv7l/egg/pkg_resources.py", line 492, in run_script
def contains(self, dist):
File "build/bdist.linux-armv7l/egg/pkg_resources.py", line 1350, in run_script
op = cls.values[name]
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg/EGG-INFO/scripts/openaps-use", line 63, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg/openaps/cli/init.py", line 44, in call
self.run(self.args)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg/EGG-INFO/scripts/openaps-use", line 57, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg/openaps/uses/init.py", line 92, in call
return self.method.selected(args)(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg/openaps/uses/init.py", line 31, in call
return self.method(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg/openaps/uses/use.py", line 44, in call
self.before_main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg/openaps/vendors/medtronic.py", line 61, in before_main
self.setup_medtronic( )
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg/openaps/vendors/medtronic.py", line 141, in setup_medtronic
self.uart.open( )
File "/home/pi/myopenaps/decoding-carelink/decocare/stick.py", line 874, in open
log.info('%s' % self.product_info( ))
File "/home/pi/myopenaps/decoding-carelink/decocare/stick.py", line 515, in product_info
return self.query(ProductInfo)
File "/home/pi/myopenaps/decoding-carelink/decocare/stick.py", line 509, in query
return self.process( )
File "/home/pi/myopenaps/decoding-carelink/decocare/stick.py", line 490, in process
raw = self.send_force_read( )
File "/home/pi/myopenaps/decoding-carelink/decocare/stick.py", line 606, in send_force_read
self.link.write(reader.format( ))
File "/home/pi/myopenaps/decoding-carelink/decocare/link.py", line 47, in write
r = self.serial.write( string )
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 466, in write
if not self._isOpen: raise portNotOpenError
ValueError: Attempting to use a port that is not open
Dana Lewis
@danamlewis
Mar 27 2016 02:00
@garykidd which branch are you looking at?
Look at master or dev for now. The others are pending in progress.
garykidd
@garykidd
Mar 27 2016 02:08
hmmmm i dont know actually...how do i tell
Scott Leibrand
@scottleibrand
Mar 27 2016 02:09
Bottom right there is a little black box
it's also in the URL. Paste that if you want it to be clear to everyone what you're looking at.
garykidd
@garykidd
Mar 27 2016 02:14
ok selected master..thanks. but that doesnt seem any different. i searched for carelink and it seems like there are only 4 references...somehow I seemed to have skipped something...
was just trying to use 'model' to get model from pump. but i think i missed anything/everything relating to carelink stick
pasted in the output from the command above.
Scott Leibrand
@scottleibrand
Mar 27 2016 02:15
There isn't much to setting up the carelink when it works: you just add a pump device.
(Providing the serial number)
if that doesn't work, you need to switch to troubleshooting mode. There is a section for that, and if it's missing something you can help add it.
I usually start with lsusb two or three times with the stick in and out to make sure it detects you plugging it in.
garykidd
@garykidd
Mar 27 2016 02:17
yup ok.will try just re-inserting stick maybe...you think basedon the output that might be it?
garykidd
@garykidd
Mar 27 2016 02:40
its detected for sure...
Bus 001 Device 006: ID 0a21:8001 Medtronic Physio Control Corp. MMT-7305WW [Medtronic Minimed CareLink]
still getting a port not open error
Scott Leibrand
@scottleibrand
Mar 27 2016 02:42
I don't remember what Port Not Open usually means. You can try mm-stick warmup
garykidd
@garykidd
Mar 27 2016 02:55
ran that...i guess theres no specific output neccesarily
?
garykidd
@garykidd
Mar 27 2016 03:25
sam errors....any ideas
Scott Leibrand
@scottleibrand
Mar 27 2016 03:48
Try searching gitter for that port not open error
garykidd
@garykidd
Mar 27 2016 04:50
got it to work
thx
Scott Leibrand
@scottleibrand
Mar 27 2016 04:54
What was it?
I'm sure someone else will have the same issue, so best to have an explanation of what it was, ideally both here and in the troubleshooting section.
garykidd
@garykidd
Mar 27 2016 04:56
i think that i may have been in wrong directory==stupid==true
anyway...i think...also tired
yup...taking notes
Scott Leibrand
@scottleibrand
Mar 27 2016 04:57
Interesting. Tomorrow you should see if you can reproduce the problem. Helps you see if you really understand what happened. If not, you can then clarify, and if so, you'll be able to help others.
Have a good night. :-)
You're not the first person to get stuck there and won't be the last.
garykidd
@garykidd
Mar 27 2016 04:57
ill be up a bit have too much to learn...excited
youre on west coast...right?
Scott Leibrand
@scottleibrand
Mar 27 2016 04:58
Yeah. Vacationing in Arizona, but still MST=PDT.
:-)
lots of people in here at all hours, so just post any questions any time. By the time we all go to bed the Europeans are waking up. ;-)
garykidd
@garykidd
Mar 27 2016 05:00
gotchya. well thanks for all the help. I hope you can enjoy your time bud
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:00
Think it's time to start testing advanced meal assist, interested to see what it calculates for carbs per hour
Scott Leibrand
@scottleibrand
Mar 27 2016 05:00
Sure are so far. Going to biosphere 2 tomorrow. :-)
garykidd
@garykidd
Mar 27 2016 05:01
i tried dex sensor on back of my arm....i think i noticed the #s bouncing a bit erratically
awesome
Scott Leibrand
@scottleibrand
Mar 27 2016 05:01
it's really interesting how much the dynamic carb absorption calculations in AMA jump around. I like the results.
garykidd
@garykidd
Mar 27 2016 05:02
got to try it eventually cant wait to get first loop going
Scott Leibrand
@scottleibrand
Mar 27 2016 05:02
Still need to fix some stuff with carb stacking, and get some sort of temporary target adjustment going for eating soon and activity modes.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:03
I'm thinking about some adjustment for carb ratio, so I can have bolus wizard always under calculate
But have OpenAPS add 15-30%
Scott Leibrand
@scottleibrand
Mar 27 2016 05:04
You might find that isn't really necessary with AMA
By the time all the carbs are absorbed, it falls back to projecting current carb absorption to continue for 30m
so even if your carb count is off it should still react well to what is actually happening.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:06
I want to have the initial boluses smaller, I do it manually all the time, but hard to tell them at school
Scott Leibrand
@scottleibrand
Mar 27 2016 05:06
Or in your case, if your carb ratio is off
maybe try just making the carb ratio more conservative and see how it works.
Without any other adjustments initially
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:07
That's basically what I have now
Looks like just some extra input for oref0-meal
Scott Leibrand
@scottleibrand
Mar 27 2016 05:07
Will be interesting what you see with AMA at school then.
Scott Leibrand
@scottleibrand
Mar 27 2016 05:19
I have been continually amazed at how much longer AMA thinks carbs remain on board vs. DIYPS' simple 30g/hr calculations. And how often it's right, and is able to start high-temping right away for a late post-meal rise. (It's nice that if it thinks COB are left but they don't cause BG to rise, it doesn't affect anything.)
Iain
@iainct
Mar 27 2016 05:24
hi guys, I am in phase 2, where do I find [Understanding oref0-determine-basal recommendations] Understand-determine-basal.mdthanks!
That's broken in master, but fixed in that branch.
Iain
@iainct
Mar 27 2016 05:28
ah i see should i use the dev docs over the current...?
cheers
Scott Leibrand
@scottleibrand
Mar 27 2016 05:28
generally no, but when you find something broken, yes. Or if you want to help us review the new structure.
Iain
@iainct
Mar 27 2016 05:29
sure, i'll take a look at both and see if i can give some input, thanks for your help :-)
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:34
@scottleibrand you saw the test failures for AMA?
Scott Leibrand
@scottleibrand
Mar 27 2016 05:34
I've been studiously ignoring them. ;-)
i know they fail, but haven't taken time to try to fix the tests yet.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:37
ok, thought that was the case
I'm going to get it setup now, got a big meal on board, but even the partial boluses I did were too much, so now low, would be easy to mess up and go high and be stuck there there, so a good test
Scott Leibrand
@scottleibrand
Mar 27 2016 05:39
Yeah that's what it's best for.
Especially the "rising? Nope! Just kidding!" situations.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:41
wonder if we should relax the max temps thresholds
Scott Leibrand
@scottleibrand
Mar 27 2016 05:44
We did, but the built in maxima were only slightly higher.
eyim
@eyim
Mar 27 2016 05:52
advanced meal assist sounds very cool. On a trip now but will want to try it when i get back home
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:54
is carbhistory.json used for anything? you're pulling that from NS?
Jason Calabrese
@jasoncalabrese
Mar 27 2016 05:59
"reason": "COB: 85, Dev: 27, BGI: -0.56, Target: 115; BG 63<80, delta 7>0; setting current basal of 0.75 as temp"
came out of the low temp faster than normal
Scott Leibrand
@scottleibrand
Mar 27 2016 06:04
You need the extra debugging output to make sense of why
There are BG predictions I didn't put into reason
Jason Calabrese
@jasoncalabrese
Mar 27 2016 06:04
anything extra you think we should add the the NS pill?
Mar 26 23:04:25 indy-e2 openaps-loop: {"carbs":85,"boluses":3.15,"mealCOB":85}
Mar 26 23:04:25 indy-e2 openaps-loop: {"ratio":1}
Mar 26 23:04:25 indy-e2 openaps-loop: {"iob":-0.575,"activity":-0.0002,"bolussnooze":0,"basaliob":-0.739,"netbasalinsulin":-1.2,"hightempinsulin":0.45,"time":"2016-03-27T06:01:49.000Z"}
Mar 26 23:04:25 indy-e2 openaps-loop: {"delta":10,"glucose":73,"avgdelta":7}
Mar 26 23:04:25 indy-e2 openaps-loop: {"duration":27,"rate":0.75,"temp":"absolute"}
Mar 26 23:04:25 indy-e2 openaps-loop: {"max_iob":2,"type":"current","dia":3,"current_basal":0.75,"max_daily_basal":0.75,"max_basal":2.25,"min_bg":110,"max_bg":120,"sens":80,"carb_ratio":16}
Mar 26 23:04:25 indy-e2 openaps-loop: { carbs: 85, boluses: 3.15, mealCOB: 85 }
Mar 26 23:04:25 indy-e2 openaps-loop: Carb Impact: 7 mg/dL per 5m; CI Duration: 10.1 hours
Mar 26 23:04:25 indy-e2 openaps-loop: PredBGs: [73,80,87,95,103,111,119,128,137,146,155,164,173,182,191,200,208,216,224,232,239,246,253,260,266,272,278,284,290,296,301,306,311,316,321,326,331]
Mar 26 23:04:25 indy-e2 openaps-loop: calculate-iob://text/shell/predict/iob.json
Mar 26 23:04:25 indy-e2 openaps-loop: reporting predict/iob.json
Mar 26 23:04:25 indy-e2 openaps-loop: determine-basal://text/shell/predict/oref0.json
Mar 26 23:04:25 indy-e2 openaps-loop: reporting predict/oref0.json
Mar 26 23:04:25 indy-e2 openaps-loop: {"temp":"absolute","bg":73,"tick":"+10","eventualBG":331,"snoozeBG":161,"reason":"COB: 85, Dev: 42, BGI: 0.08, Target: 115; BG 73<80, delta 10>0, temp 0.75 ~ req 0.75U/hr"}
yeah, some interesting output
Jim Matheson
@jmatheson
Mar 27 2016 06:31
Just had a sketchy moment. Sparkfun otg came loose and fell off. Started to smell someting so quickly disconnected battery etc. hopefully i did not fry the edison itself.
Feeling like i need a more stable setup with a case
Jason Calabrese
@jasoncalabrese
Mar 27 2016 06:38
would be nice to get something really solid
would be cool to add meals in the future from NS, and let openaps prepare for it
Jason Calabrese
@jasoncalabrese
Mar 27 2016 06:43
for a scheduled school snack I bet I could do it all temps and no bolus
with all the apps that can post to NS now you could enter from a watch, etc
calendar
Jason Calabrese
@jasoncalabrese
Mar 27 2016 07:00
@scottleibrand a fix for the pill in NS when iob is an array nightscout/cgm-remote-monitor#1563
Scott Leibrand
@scottleibrand
Mar 27 2016 07:01
:+1:
Jason Calabrese
@jasoncalabrese
Mar 27 2016 07:12
wow, guess I corrupted the repo on an edison/sparkfun by pulling the power, wasn't corrected, and was fully wiped
I haven't seen that on an edison before
Matteo Neri
@francescaneri
Mar 27 2016 07:32
@all Happy Easter
Aaron Michelson
@Aaybob
Mar 27 2016 07:39
Happy Easter.
How would I fix this error?
$ openaps device show
Traceback (most recent call last):
File "/usr/local/bi.......................................ror(section)
ConfigParser.NoSectionError: No section: u'device "pumpbuilding"'
Aaron Michelson
@Aaybob
Mar 27 2016 07:45
And same error message with this command
$ openaps use cgmbuilding -h
Traceback (most recent call last):
File "/usr/local/bin/openaps-use", line 6, in <module>
exec(compile(open(file).read(), file, 'exec'))
File "/home/pi/src/openaps/bin/openaps-use", line 63, in <module>
app( )..........line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: u'device "pumpbuilding"'
Going to re setup openaps dependencies with curl -s https://raw.githubusercontent.com/openaps/docs/master/scripts/quick-packages.sh | bash -
Jason Calabrese
@jasoncalabrese
Mar 27 2016 07:58
think it's looking for a device named pumpbuilding, but looks like something is getting concatenated
garykidd
@garykidd
Mar 27 2016 14:39
I believe I read receiver from G5 can be used now?
William Fallon
@inform880
Mar 27 2016 15:24
@Aaybob I'm getting that same error with mine too
Jim Matheson
@jmatheson
Mar 27 2016 15:44
@jasoncalabrese bummed to hear that
I am rolling back to the Pi this morning due to my sparkfun breaking right before bed. had to go openaps naked overnight.
had to do two different low temps in the night.
Scott Leibrand
@scottleibrand
Mar 27 2016 15:48
Why not run both Pi and Edison rigs?
we have three Pi and one Edison rig at home, and brought all but one of those on this trip.
Jim Matheson
@jmatheson
Mar 27 2016 15:49
I had problems with clashing and had not had time to figure it out. So all i did was disconnect the TI stick from PI thinking it’d be easy to get going if need to roll back. of course was getting some error while in bed so had to bail out and fix it now.
i was still trying to find time to get my second edison rolling but now i am back down to 1 sparkfun board sadly.
https://github.com/scottleibrand/openaps-sh/blob/mmeowlink/setup.sh#L149 are what I do to allow multiple rigs to run without stomping on each other.
Jim Matheson
@jmatheson
Mar 27 2016 15:56
I think my issue (was running those) was that i am sitting at my desk and my my #1 rig kept sleeping for 2 minutes and overall the loop timing was slower. and i could not figure out the advantage of having a second rig live
since 100% of the time that rig would be fighting to communicate when i am in range.
the advantage of course is if one goes down, but the other 98% of the time it was just running slower due to waits.
i was carrying my edison in my pocket
Scott Leibrand
@scottleibrand
Mar 27 2016 15:57
Was your #1 rig always in range? We find that depending on body position a single rig gets blocked and fails a lot.
Ah, yeah. One alternative then is to set up time of day cron schedules.
So the secondary rig runs infrequently during the day (just often enough to act as backup) and on normal schedule at night.
Jim Matheson
@jmatheson
Mar 27 2016 15:58
my preference is to just have one that i carry on me and the others are backup. it’s a lot of work to keep my installs, what i am testing and ini updated on multiple rigs.
Scott Leibrand
@scottleibrand
Mar 27 2016 15:59
Yeah, but that means your cold spare is never ready to go.
Jim Matheson
@jmatheson
Mar 27 2016 15:59
I had just been carrying it in my pocket and charging it right by my bed overnight.
Scott Leibrand
@scottleibrand
Mar 27 2016 15:59
We find two rigs on opposite sides of bed are much less likely to lose connectivity for 30m+
Jim Matheson
@jmatheson
Mar 27 2016 16:00
i thought having the spare plugged in and running with the TI stick unplugged would be easy to get up and running. but did not work when i plugged it back in.
Scott Leibrand
@scottleibrand
Mar 27 2016 16:00
yeah, nothing like having a hot spare known to be working. (Lesson from day job)
Jim Matheson
@jmatheson
Mar 27 2016 16:01
i guess. i thought it was working :)
and it was live, just had the TI unplugged
i am also thinking about going back to the murse for awhile until I can figure out a case for the Edison setup. realized last night that it is pretty sketchy.
a little bit of what broke can be seen in video from yesterday on http://videos.crushingt1d.com
alright back up and running on the pi. glad it was an easy fix. had the wrong preflight running in my ini somehow.
Scott Leibrand
@scottleibrand
Mar 27 2016 16:13
@jmatheson if you want faster loop timing:
openaps/oref0#78
Jim Matheson
@jmatheson
Mar 27 2016 16:14
how much faster is it?
for those running multiple rigs, how are you gathering all of your historical data (json checkins, logs, etc) into one place to have a single place to look back at past decisions and history? not doing it? just using NS data?
Scott Leibrand
@scottleibrand
Mar 27 2016 16:16
it can enact a new temp based on new BG within a few seconds, rather than waiting for new pumphistory.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:16
That looks good
I wonder if it will cover up other issues
Might need extra monitoring
Scott Leibrand
@scottleibrand
Mar 27 2016 16:17
I'm not centralizing low level stuff. For holistic view, I rsync everything to a central server to run oref0 pebble, and for historical I look at NS or log into the rig(s) closest to the pump.
It still does an rm of old pumphistory during gather, so it can't act on old data.
Aaron Michelson
@Aaybob
Mar 27 2016 16:19
I have multiple CareLink sticks one on six foot, one on twelve foot cable and I put one of those in my pajama pocket next to pump.
Scott Leibrand
@scottleibrand
Mar 27 2016 16:19
If monitor-pump fails, it has to succeed again before it can do quick enacts again.
@jasoncalabrese can you think of any other failure modes?
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:21
I was thinking that it might look like it's looping, but never pull history, buy sounds like that won't happen more than once
I'll give it a try
Also thinking about falling back to recent 24h history if regular history fails
Saw that happen a few times last night
Scott Leibrand
@scottleibrand
Mar 27 2016 16:22
Yeah. Have seen if stop enacting when pumphistory doesn't refresh.
Interesting, hadn't thought of that.
Would have to check how recent it is.
Maybe just an mtime check would be sufficient?
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:24
Was getting a lot of preflight failures last night, and I think it was temp/humidity related, pulled an extra cover of him since he was sweating and it stopped
Guess it's one of those detuning things
Could add a lot of smarts with mtimes, but adds complexity too
Scott Leibrand
@scottleibrand
Mar 27 2016 16:25
yeah
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:25
Could skip pulling lots of the settings of there's within some threshold
Scott Leibrand
@scottleibrand
Mar 27 2016 16:25
yeah, that was my thought before coming up with this.
Give everthing a "refresh after X minutes"
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:26
Yeah, I like this better
I need to setup rsync, uploading all my rigs independently is a pain
*updating
Scott Leibrand
@scottleibrand
Mar 27 2016 16:28
I don't rsync configs, just results.
openaps import is good for config updates.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:28
I was thinking of syncing the inis
Scott Leibrand
@scottleibrand
Mar 27 2016 16:28
When I make a change I usually want to roll it out slowly.
And every rig has different stick port etc.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:30
Yeah, that's why I haven't done it, but made a bunch of changes yesterday, and ended up syncing multiple times
AMA did pretty good, but the spike came late after the carbs were no longer in the history
Spike was around 2 for a big late dinner around 8
Scott Leibrand
@scottleibrand
Mar 27 2016 16:35
Is your pumphistory too short?
the algorithm considers carbs for up to 1.5x DIA
Or had it already decayed them to zero (vs. forgetting about them at the history cutoff)?
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:37
Had it at 4h for a 3h dia, I'll fill back to the 6 I had, but still probably not long enough for big slow meals like pizza or Mexican
Seemed to drop from 50 cob to 10 very fast, as it moves out of the history
Scott Leibrand
@scottleibrand
Mar 27 2016 16:38
would be interested to see if COB for those is still nonzero when it gets to the 1.5*DIA cutoff.
Did he have 10 carbs later?
It should decay COB as BG rises (positive deviation) then drop to zero of it's still positive at the cutoff.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 16:40
Yeah, carb corrections that I entered with 0.05U boluses
So those were several hours after the meal
Scott Leibrand
@scottleibrand
Mar 27 2016 16:53
K. Please do LMK how long AMA still registers slow-meal carbs after you fix pumphistory. And whether that seems to reflect reality or not...
Stephan
@MosiGitHub
Mar 27 2016 18:28
short question: I was looking for the meal
short question_ I was looking for the meal-assist branch, but I find only the advanced meal assist one. Is that the one I should use for setting up the auto-sensitivity and meal -assist stuff? Or am I completly wrong in the oref0 github repos?
Dana Lewis
@danamlewis
Mar 27 2016 18:33
Meal assist (regular) is in dev now
So I would start with dev first for getting set up
Stephan
@MosiGitHub
Mar 27 2016 18:35
cool, thanks.. that is what I found a minute ago: Merge branch 'meal-assist' of github.com:openaps/oref0 into meal-assist - so I continue :+1: thanks for your help
Dana Lewis
@danamlewis
Mar 27 2016 18:36
:+1:
Scott Leibrand
@scottleibrand
Mar 27 2016 18:42
We need a PR to fix the meal-assist setup instructions there too.
Stephan
@MosiGitHub
Mar 27 2016 18:53
ok ... so I do my first PR ;-)
but I havent't seen the meal-assist setup intsructions so far ... I can write some as openaps/docs in the DEV branch like : https://github.com/openaps/docs/blob/dev/source/docs/walkthrough/phase-2/Configure-Automatic-Sensitivity-Mode.md
or what was your intention @scottleibrand
Stephan
@MosiGitHub
Mar 27 2016 19:00
or do you want your script to be fixed?
Scott Leibrand
@scottleibrand
Mar 27 2016 19:01
Ah, ok. Forgot the script referenced the branch. Yeah, you can PR that, or I can later.
I was thinking of the autosens docs.
Stephan
@MosiGitHub
Mar 27 2016 19:02
ok .. so just a PR on the autosens doc :+1:
Scott Leibrand
@scottleibrand
Mar 27 2016 19:09
Or both if you're feeling adventurous. ;-)
Stephan
@MosiGitHub
Mar 27 2016 19:19
so I did just the first one ... the other one maybe after the ski vacation trip we are starting soon - but before that I have to do it at least once myself (maybe twice - I use two different rigs)
Dana Lewis
@danamlewis
Mar 27 2016 19:24
:+1: @MosiGitHub :)
jaylagorio
@jaylagorio
Mar 27 2016 19:27
I recently switched from using built in Minimed CGM to a Dexcom device. Before the switch I was using the mm-format* tools in oref0 to convert the data for upload to Nightscout. I might be missing it but I don't see formatting tools for Dexcom and the native data doesn't seem to be going into Nighscout. Is there a tool or step I'm missing between getting the data off the Dexcom device and feeding it to ns-upload?
Ben West
@bewest
Mar 27 2016 19:49
@jaylagorio good question, can you file an issue on oref0?
@jaylagorio "need tool to format dexcom glucose for NS"
I think there is a gap there, but it's easy to solve
jaylagorio
@jaylagorio
Mar 27 2016 19:51
@bewest I will, thanks! I'm definitely owning the "iterate" mentality for openaps. Once I get this working wired to an RPi I plan to use your BT tools. I gave it a trial run a couple weeks ago but for some reason that didn't work. I'll revisit once I know I can get the data flowing over the USB cable to the Pi.
Submitted. Thanks again!
Scott Leibrand
@scottleibrand
Mar 27 2016 19:56
:+1:
Ben West
@bewest
Mar 27 2016 19:56
:+1:
Jason Calabrese
@jasoncalabrese
Mar 27 2016 20:11
@bewest did you @tghoward get share ble working to the edison?
Tim Howard
@tghoward
Mar 27 2016 20:15
@jasoncalabrese , yes, got it working. Very happy with it
There are a few tweaks. And we had permissions problems, but @bewest helped work through it.
jaylagorio
@jaylagorio
Mar 27 2016 20:16
@tghoward You don't happen to have that written up somewhere, do you? I said above I tried it a couple weeks ago without luck but will definitely be interested in trying again.
Tim Howard
@tghoward
Mar 27 2016 20:17
@jaylagorio @jasoncalabrese , you need the custom gatt profile of the Adafruit branch:
And then openxshareble: https://github.com/bewest/openxshareble
Jason Calabrese
@jasoncalabrese
Mar 27 2016 20:18
great to hear @tghoward, looked like it wasn't working but the room got busy
Tim Howard
@tghoward
Mar 27 2016 20:18
Follow the Adafruit directions first, then openxshareble.
jaylagorio
@jaylagorio
Mar 27 2016 20:18
Right, pretty sure that's what I brought down according to the directions. I didn't know if there was something else you did.
Tim Howard
@tghoward
Mar 27 2016 20:18
@jasoncalabrese didn't get it till the next day
yes, there may be some final steps, like giving 'edison' some proper permissions.
jaylagorio
@jaylagorio
Mar 27 2016 20:19
Good deal, thanks for the advice!
Jason Calabrese
@jasoncalabrese
Mar 27 2016 20:21
it's been reliable for you, uploading to NS or just using for the loop?
Tim Howard
@tghoward
Mar 27 2016 20:21
and also note that I found I needed to call `openaps use share configure' AFTER you have configured with the receiver ID in order for it to connect. *this isn't clearly documented
So I call that in each loop. Probably only need it every time you reboot
I get BG data this way, then use edison to upload the BG data to NS that I got this way ...
Hasn't been too many days, but so far seems to be reliable (and only using for nights, too, btw)
Jason Calabrese
@jasoncalabrese
Mar 27 2016 20:23
that's great, I need to get that going, starting 2nd receiver now
Tim Howard
@tghoward
Mar 27 2016 20:23
:+1:
jaylagorio
@jaylagorio
Mar 27 2016 20:26
Yeah, thanks for the pointers. Maybe I'll try again at getting this working now since I have a minute and have things loaded up.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 20:32
some minor new options for the OpenAPS pill in NS, now you can turn some things on/off, we can add more over time, nightscout/cgm-remote-monitor#1565
by default only change is removing the freq that you get from mmtune if you're running that
PieterGit
@PieterGit
Mar 27 2016 20:58
can somebody explain how i can fix: "BG Target data is expected to be expressed in mg/dL. Found mmol/L in settings/bg_targets.json .". How should i convert mmol/L tot mg/dL?
Elliott
@esteward
Mar 27 2016 21:01
Question: you should be able to format your SD Card, write a saved pi backup to the card, and just plug it in and go. Correct?
I'm looping, but my loop stopped working so I am going back to a saved version.
Or do you have to change the date on the pi when you revert to an older image?
Scott Leibrand
@scottleibrand
Mar 27 2016 21:12
@PieterGit there is an openaps units conversion tool
Elliott
@esteward
Mar 27 2016 21:16
Are Carelinks interchangible? Does anyone know?
jaylagorio
@jaylagorio
Mar 27 2016 21:17
@esteward Pretty sure the Carelink USB sticks are interchangeable, yeah
Not sure about changing the date on a restored SD card but you should be able to restore like that (generally on the Pi anyway)
Elliott
@esteward
Mar 27 2016 21:19
Looks like my pi auto changed the time.
PieterGit
@PieterGit
Mar 27 2016 21:22
@scottleibrand : can you explain how i can integrate such a conversion in openaps.ini?
Stephan
@MosiGitHub
Mar 27 2016 21:41
i don't know why, but azure has stopped showing my websites :-(
is anyone using Heroku for visualization?
William Fallon
@inform880
Mar 27 2016 21:46
I keep getting this error:
 monitor/status.json  raised  bytearray index out of range
Traceback (most recent call last):
  File "/usr/local/bin/openaps-report", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/pi/src/openaps/bin/openaps-report", line 82, in <module>
    app( )
  File "/home/pi/src/openaps/openaps/cli/__init__.py", line 44, in __call__
    self.run(self.args)
  File "/home/pi/src/openaps/bin/openaps-report", line 75, in run
    output = app(args, self)
  File "/home/pi/src/openaps/openaps/cli/subcommand.py", line 52, in __call__
    return self.method.main(args, app)
  File "/home/pi/src/openaps/openaps/reports/invoke.py", line 40, in main
    output = task.method(args, app)
  File "/home/pi/src/openaps/openaps/uses/use.py", line 45, in __call__
    output = self.main(args, app)
  File "/home/pi/src/openaps/openaps/vendors/medtronic.py", line 177, in main
    return self.pump.model.read_status( )
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.21-py2.7.egg/decocare/models/__init__.py", line 25, in __call__
    self.response = inst.session.query(self.msg, **kwds)
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.21-py2.7.egg/decocare/session.py", line 101, in query
    self.execute(command)
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.21-py2.7.egg/decocare/session.py", line 98, in execute
    return super(type(self), self).execute(command)
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.21-py2.7.egg/decocare/session.py", line 39, in execute
    self.download( )
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.21-py2.7.egg/decocare/session.py", line 54, in download
    self.command.respond(data)
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.21-py2.7.egg/decocare/commands.py", line 58, in respond
    self.getData( )
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.21-py2.7.egg/decocare/commands.py", line 1352, in getData
    status = { 'status': normal.get(data[0], 'error'),
IndexError: bytearray index out of range
No CGM data.
You have new mail in /var/mail/pi
Stephan
@MosiGitHub
Mar 27 2016 21:50
maybe it could help to switch to decocare 0.0.22
Brian Bonner
@itsn0tm3
Mar 27 2016 22:29
the weird thing is I keep getting that error too
at random times no less
not quite sure what causes it
Jim Matheson
@jmatheson
Mar 27 2016 22:30
does AMA work better with stacked carbs vs dev? noticed i probably needed high temping but dev did not correct since it was still only 10-15 mins after i stacked a small bolus for more carbs
kinda got me in a rise after it temped me to zero for 75 minutes. beforehand. i know there has been some folks interested in not letting a zero temp last for too long. is there any branch yet potentially addressing that?
Jason Calabrese
@jasoncalabrese
Mar 27 2016 22:41
AMA does seem more aggressive, high temps longer or more, so far it's working great
and setup is easy if you already have meal-assist setup, just need to add a few more fields to the meal.json report
Jim Matheson
@jmatheson
Mar 27 2016 22:42
i am going to try to get it going now.
every minor carb miscount has been throwing me one direction or the other.
Jason Calabrese
@jasoncalabrese
Mar 27 2016 22:44
cancels low temps sooner too
Jim Matheson
@jmatheson
Mar 27 2016 22:45
well the interesting part there was i was low, and had not really started bouncing back at all yet. So i am not sure what the precise answer is. because usually coming out of a low you are eating (to bring BG up or simply a meal).
Matt Pressnall
@logichammer
Mar 27 2016 23:56

Quick question to try to understand the IOB listed on the NS website...which normally seems right but today seems a bit off.
This is what I am seeing:
!(http://content.screencast.com/users/loki_mdog/folders/Snagit/media/b88d1361-7432-4514-bb58-69f812e7410d/03.27.2016-16.52.png)
Despite this being in iob.json:

{"iob":2.0935069921549996,"activity":0.03657357323232322,"bolusiob":0.45713597003500006}

And I saw that file get generated and matches what I am seeing on the pump. Yes, extra basal is being added in over the last hour but not enough to bring 2.09 up to 3.38.
Also, can you tell today was Easter from those numbers?