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

16th
Jun 2016
Ben West
@bewest
Jun 16 2016 00:00
if one or more of the lines is blank, that's the problem
Paul Martin
@Spazholio
Jun 16 2016 00:01
The cgm file is zoned. They both are, I just checked. And there are no blank lines when I run that command against either file..
Ben West
@bewest
Jun 16 2016 00:04
cat raw-ns/ns-glucose-zoned.json | json -a dateString | head -n 5
for both files
or if you create a gist, I can try it out on my machine with your data
jrussell88
@jrussell88
Jun 16 2016 00:05
@bewest i-Pump... http://www.ipump.org.uk for the project and http://www.ipump.co for the pump.
Ben West
@bewest
Jun 16 2016 00:07
nice, wireless charging can allow it to be waterproof
Paul Martin
@Spazholio
Jun 16 2016 00:07

raw-ns/ns-glucose-zoned.json

2016-06-15T20:01:50-04:00
2016-06-15T19:56:51-04:00
2016-06-15T19:51:50-04:00
2016-06-15T19:46:50-04:00
2016-06-15T19:41:50-04:00

raw-cgm/glucose-zoned.json

2016-06-15T16:51:21-04:00
2016-06-15T16:46:21-04:00
2016-06-15T16:41:21-04:00
2016-06-15T16:36:21-04:00
2016-06-15T16:31:21-04:00
I can create the gist for both full files if it’d help, sure.
Ben West
@bewest
Jun 16 2016 00:08
ah, that seems fine
if that's the data, select should work fine
@jrussell88 I have seen that, although it was years ago, looks like they've made some progress
would be interesting to weave that into our community somehow
Ben West
@bewest
Jun 16 2016 00:24
openaps use tz select raw-ns-glucose-zoned.json raw-cgm-glucose-zoned.json --date "dateString" works for me
I think I fixed a bug earlier last week on openaps-contrib though
maybe sudo pip install -U openaps-contrib
Paul Martin
@Spazholio
Jun 16 2016 00:29
No such luck. Same error.
Ben West
@bewest
Jun 16 2016 00:35
if you check out the demo
you should be able to run the report
I set up a mini openaps instance in my version
should be able to run openaps report invoke selected-demo.json
Paul Martin
@Spazholio
Jun 16 2016 00:38
…ok, that worked.
So…what’s different?
Ben West
@bewest
Jun 16 2016 00:39
not sure
I ran the use like above... earlier I noticed that the filenames had spaces in them
so I moved them around to not have any spaces
dunno, other than that, I didn't do anything different than what I suggested
Paul Martin
@Spazholio
Jun 16 2016 00:50
Oh, I didn’t have spaces in them originally. gists can’t have subdirectories in their names, so I had to do something with the /.
Do you think that running the report versus the use command are assuming different defaults?
Ben West
@bewest
Jun 16 2016 00:51
no
show --cli should print openaps use tz select raw-ns-glucose-zoned.json raw-cgm-glucose-zoned.json --date "dateString"
I'm using openaps-contrib 0.0.15
running it should print all the data
Paul Martin
@Spazholio
Jun 16 2016 00:54
It does. But running that command doesn’t work, whereas running the report generated with those parameters does.
And it appears I’m running openaps-contrib 0.0.15 as well.
Ben West
@bewest
Jun 16 2016 00:56
hmm
jrussell88
@jrussell88
Jun 16 2016 00:56
I understand it's possible to get data from the Medtronic 640g via the Contour Next Link 2.4, and there's a push for the Omnipod; is any progress being made on controlling the 640g or the Cellnovo?
Ben West
@bewest
Jun 16 2016 00:57
yes, 640g is coming along... more research/work is needed
jrussell88
@jrussell88
Jun 16 2016 00:57
Thanks @bewest
Ben West
@bewest
Jun 16 2016 00:58
see @pazaan/decoding-contour
cellnovo I ran into at ADA
Scott Leibrand
@scottleibrand
Jun 16 2016 00:59
some promising discussions with someone at ddata16 who might be able to get the cellnovo communications protocol released
Ben West
@bewest
Jun 16 2016 00:59
yeah, plus we met some friendly neighbors from france at ddata
Paul Martin
@Spazholio
Jun 16 2016 01:01
openaps use tz select ns-glucose-zoned.json glucose-zoned.json --date “dateString"
Fails.
openaps use tz select --date "dateString" ns-glucose-zoned.json glucose-zoned.json
Succeeds.
jrussell88
@jrussell88
Jun 16 2016 01:13
@scottleibrand Cellnovo sounds encouraging - is it likely to reach a decision soon?
Ben West
@bewest
Jun 16 2016 01:15
oh?
@Spazholio well... now that you say it like that I can explain what happened
hmm
hmm that's interesting
Paul Martin
@Spazholio
Jun 16 2016 01:17
Bugs: 0
Spazholio: 1
Ben West
@bewest
Jun 16 2016 01:17
yeah, how about that, the switches generally go before the positionals
hmmm, that's kind of annoying
hard to fix though :(
Paul Martin
@Spazholio
Jun 16 2016 01:19
Can I make a small suggestion? I don’t know if this would be easier, but can you make it show “properly” in the report show —cli output?
Ben West
@bewest
Jun 16 2016 01:20
that's what I'm thinking through
maybe
John Males
@johnmales
Jun 16 2016 01:20
@Spazholio - thanks excellent idea!! putting it in the crontab :smile: )
Paul Martin
@Spazholio
Jun 16 2016 01:21
@johnmales No problem. That should have a verify function by default anyway. =)
Chris Oattes
@cjo20
Jun 16 2016 01:22
@scottleibrand When you've got some time could you take another look at https://github.com/openaps/oref0/compare/dev...cjo20:dev to make sure I'm not doing anything likely to be rejected?
Scott Leibrand
@scottleibrand
Jun 16 2016 01:23
why not just < 1 and < 10 instead of <=0.975 etc?
Chris Oattes
@cjo20
Jun 16 2016 01:24
doesn't really make any difference. I can change to that if you'd prefer
Scott Leibrand
@scottleibrand
Jun 16 2016 01:24
seems identical afaict, and would be easier to understand
but that's a minor nit. :)
round() isn't a reserved function is it?
Chris Oattes
@cjo20
Jun 16 2016 01:26
hmm, not sure. It's Math.round to use the built-in one?
Scott Leibrand
@scottleibrand
Jun 16 2016 01:26
yeah, I know about Math.round, but not sure if there's any others
if the tests pass it's probably fine
Chris Oattes
@cjo20
Jun 16 2016 01:27
it fails some tests at the moment, but that'll be because it expects the output in mg/dl
Scott Leibrand
@scottleibrand
Jun 16 2016 01:27
isn't that the default?
why is it returning mmol/L in tests if it's not specified?
Chris Oattes
@cjo20
Jun 16 2016 01:28
ah, no, it's because I added a space
Scott Leibrand
@scottleibrand
Jun 16 2016 01:28
ah. feel free to put .* in the appropriate place in the test
Chris Oattes
@cjo20
Jun 16 2016 01:28
AssertionError: expected 'Eventual BG 104 < 110, temp 0.25 ~< req 0.3U/hr' to match /Eventual BG .*<110, temp .*/
imo it's easier to read with a space around the "<"
Scott Leibrand
@scottleibrand
Jun 16 2016 01:29
so .*<.*110 in the test will support both
or just add the space to the test
since it'll be committed together
Chris Oattes
@cjo20
Jun 16 2016 01:29
yeah, I'll add the space
Scott Leibrand
@scottleibrand
Jun 16 2016 01:30
I have crap like that every time I change anything. :)
and yay for lots of new tests for the new stuff. :)
looks good. I would be happy to PR this in as-is as soon as tests pass
or as soon as you're happy you got all the mmol/L stuff
Chris Oattes
@cjo20
Jun 16 2016 01:31
yeah, I had to alter the exports for determine-basal to get through to the round_basal for the tests. I hope that was ok.
I'll probably get the rest of the mmol/L stuff tomorrow and put up a PR then
Scott Leibrand
@scottleibrand
Jun 16 2016 01:32
yeah, that made sense to me: whatever works. :)
Chris Oattes
@cjo20
Jun 16 2016 01:33
Thanks for that. Just wanted to make sure I was on the right track :)
Scott Leibrand
@scottleibrand
Jun 16 2016 01:34
you've seen my code, right? not hard to refactor it to be cleaner, as you're finding. :)
Chris Oattes
@cjo20
Jun 16 2016 01:35
most of it looks fine. The only thing I actually don't like is the prevalence of things like a/b/c * d/e * f
Scott Leibrand
@scottleibrand
Jun 16 2016 01:36
yeah, you're not the only person that has tripped up. @brandonarbiter was trying to reproduce my formulas in a spreadsheet and got stuck on one of those.
feel free to fix by adding parentheses
or pulling things out into functions for clarity like you've been doing
Chris Oattes
@cjo20
Jun 16 2016 01:37
Yeah, there weren't really many instances of that sort of thing.
Scott Leibrand
@scottleibrand
Jun 16 2016 01:38
it made sense in my head at the time. ;-)
Chris Oattes
@cjo20
Jun 16 2016 01:38
I do that with code I write. I think to myself "That'll be fine, I mean, it's obvious what it's doing"
6 months later when people say "err, so Chris, how does this function work?" and it takes me 25 minutes to work it out...
Scott Leibrand
@scottleibrand
Jun 16 2016 01:40
haha exactly :)
Paul Martin
@Spazholio
Jun 16 2016 01:43

“Paul, why do you comment so much in your code?”

“Because my memory sucks?"

Chris Oattes
@cjo20
Jun 16 2016 01:43
I'm trying very hard to behave in openaps code
Which text editor do you use for coding?
Ben West
@bewest
Jun 16 2016 01:58
oh the horror :-( oh bother
@Spazholio I uh.... I think I see the issue...
Chris Oattes
@cjo20
Jun 16 2016 01:59
the horror?
Paul Martin
@Spazholio
Jun 16 2016 01:59
That sounds ominous.
Ben West
@bewest
Jun 16 2016 01:59
that --cli thing is super helpful and surprisingly hard to get right
Paul Martin
@Spazholio
Jun 16 2016 02:01
If it makes you feel any better, that command we’ve been diagnosing works fine on my rig, but not on my macbook. =)
Ben West
@bewest
Jun 16 2016 02:02
ah great trying on mac :-)
Paul Martin
@Spazholio
Jun 16 2016 02:02
Traceback (most recent call last):
  File "/usr/local/bin/openaps-use", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/Users/Paul/OpenAPS/src/openaps/bin/openaps-use", line 63, in <module>
    app( )
  File "/Users/Paul/OpenAPS/src/openaps/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/Users/Paul/OpenAPS/src/openaps/bin/openaps-use", line 57, in run
    output = app(args, self)
  File "/Users/Paul/OpenAPS/src/openaps/openaps/uses/__init__.py", line 92, in __call__
    return self.method.selected(args)(args, app)
  File "/Users/Paul/OpenAPS/src/openaps/openaps/uses/__init__.py", line 31, in __call__
    return self.method(args, app)
  File "/Users/Paul/OpenAPS/src/openaps/openaps/uses/use.py", line 45, in __call__
    output = self.main(args, app)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openapscontrib/timezones/__init__.py", line 272, in main
    curr = self.get_postlude(args)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openapscontrib/timezones/__init__.py", line 314, in get_postlude
    dt = parse_datetime(args.current).replace(tzinfo=tz)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openapscontrib/timezones/__init__.py", line 137, in parse_datetime
    return parse(candidate)
  File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 748, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 310, in parse
    res, skipped_tokens = self._parse(timestr, **kwargs)
TypeError: 'NoneType' object is not iterable
Ben West
@bewest
Jun 16 2016 02:02
well...
is this just in that gist?
openaps report show --ini selected-demo.json
Paul Martin
@Spazholio
Jun 16 2016 02:02
I did check both files to make sure they’re the same as the others we were using.
Oh, no that was on my rig.
Let me add the report to the laptop.
Same result when I use the report.
Ben West
@bewest
Jun 16 2016 02:04
that's with --date thing before the positionals?
Paul Martin
@Spazholio
Jun 16 2016 02:04
Here’s the output of the command you pasted:
[report "selected-demo.json"]
use = select
reporter = JSON
no_timezone = False
current = now
date = dateString
gaps = 
input = raw-ns/ns-glucose-zoned.json raw-cgm/glucose-zoned.json
device = tz
timezone = 
prev =
Ben West
@bewest
Jun 16 2016 02:04
that looks right
Paul Martin
@Spazholio
Jun 16 2016 02:05
openaps use tz select --date "dateString" raw-ns/ns-glucose-zoned.json raw-cgm/glucose-zoned.json
Ben West
@bewest
Jun 16 2016 02:05
that also looks right
those create error?
Paul Martin
@Spazholio
Jun 16 2016 02:05
Correct.
Ben West
@bewest
Jun 16 2016 02:05
but it works in the gist?
Paul Martin
@Spazholio
Jun 16 2016 02:06
Unsure what you mean “in the gist”. When I took what you pasted in your gist, and put it into my rig, it works. When I do the same with my laptop, no go.
Ben West
@bewest
Jun 16 2016 02:07
ah, what version of openaps and openaps contrib on the laptop?
what does show --ini say on the laptop?
Paul Martin
@Spazholio
Jun 16 2016 02:07
How do I check the version of openaps-contrib?
And show —ini is what I pasted earlier.
Wait...
Ben West
@bewest
Jun 16 2016 02:07
and the use also fails?
Paul Martin
@Spazholio
Jun 16 2016 02:07
openaps 0.1.6-dev
openaps-contrib (0.0.15)
Ben West
@bewest
Jun 16 2016 02:08
ah, nice
Paul Martin
@Spazholio
Jun 16 2016 02:08
The use fails, yes. Same error.
Ben West
@bewest
Jun 16 2016 02:09
the use is the one with the --date dateString up front?
Paul Martin
@Spazholio
Jun 16 2016 02:09
Correct.
(Paul) [Pauls-Laptop: ~/OpenAPS/openaps] $ openaps use tz select --date "dateString" raw-ns/ns-glucose-zoned.json raw-cgm/glucose-zoned.json 
Traceback (most recent call last):
  File "/usr/local/bin/openaps-use", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/Users/Paul/OpenAPS/src/openaps/bin/openaps-use", line 63, in <module>
    app( )
  File "/Users/Paul/OpenAPS/src/openaps/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/Users/Paul/OpenAPS/src/openaps/bin/openaps-use", line 57, in run
    output = app(args, self)
  File "/Users/Paul/OpenAPS/src/openaps/openaps/uses/__init__.py", line 92, in __call__
    return self.method.selected(args)(args, app)
  File "/Users/Paul/OpenAPS/src/openaps/openaps/uses/__init__.py", line 31, in __call__
    return self.method(args, app)
  File "/Users/Paul/OpenAPS/src/openaps/openaps/uses/use.py", line 45, in __call__
    output = self.main(args, app)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openapscontrib/timezones/__init__.py", line 272, in main
    curr = self.get_postlude(args)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openapscontrib/timezones/__init__.py", line 314, in get_postlude
    dt = parse_datetime(args.current).replace(tzinfo=tz)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openapscontrib/timezones/__init__.py", line 137, in parse_datetime
    return parse(candidate)
  File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 748, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 310, in parse
    res, skipped_tokens = self._parse(timestr, **kwargs)
TypeError: 'NoneType' object is not iterable
(Paul) [Pauls-Laptop: ~/OpenAPS/openaps] $
Ben West
@bewest
Jun 16 2016 02:20
I'd try cd ~/Documents; git clone https://gist.github.com/7727fe171333108e77fe39e4f6de34c1.git selecting-demo; cd selecting-demo
just so we're working on exact same demo data
openaps use tz select --date "dateString" raw-ns-glucose-zoned.json raw-cgm-glucose-zoned.json
if software is same as on pi, it should get same result
I'm off to dinner :-)
Paul Martin
@Spazholio
Jun 16 2016 02:21
Enjoy dinner!
(same error, btw) :)
Jim is CrushingT1D
@CrushingT1D
Jun 16 2016 02:24
oh, just realized that https://github.com/openaps/docs/wiki/Where-in-the-world-is-%23OpenAPS%3F is a wiki page @danamlewis. I could have easily done that from the beach!
Dana Lewis
@danamlewis
Jun 16 2016 02:25
;)
Paul Martin
@Spazholio
Jun 16 2016 03:19
So just idling (no looping) it looks like my Edison rig can go 32 hours. I know that’ll lessen once I start actually USING it, but that’s not too bad.
Matt Walker
@walker0
Jun 16 2016 03:20
@Spazholio I've found about 22 hours off the 2200 mah adafruit battery which I think is the one you have
Scott Leibrand
@scottleibrand
Jun 16 2016 03:22
yeah, we see 100mA draw pretty consistently as well
(in actual use)
Paul Martin
@Spazholio
Jun 16 2016 03:49
Yep, that’s the one I have. How are you measuring the draw as you’re using it?
Matt Walker
@walker0
Jun 16 2016 04:08
I have a script that logs battery voltage as part of my loop. I also checked the current both by connecting a multimeter between the battery and the Edison and also I use a usb charger monitor so once the battery is fully charged you can read off how much the Edison is using
Paul Martin
@Spazholio
Jun 16 2016 04:09
Oh, are you running Yocto?
Matt Walker
@walker0
Jun 16 2016 04:09
yep
Mike Stebbins
@mikestebbins
Jun 16 2016 05:24
@loudestnoise hopefully you got through the entire article....it's a bit lengthy, especially for those who already understand T1D!
Scott Leibrand
@scottleibrand
Jun 16 2016 05:52
@Spazholio I don't measure draw directly, I observe that an 800mAh battery lasts 8 hours, and a 2200mAh battery lasts 22h.
Nathan Morse
@morsen
Jun 16 2016 10:08
first looping with edison+ti! :-D cgm via bluetooth. wow. awesome job, everyone!
Chris Oattes
@cjo20
Jun 16 2016 10:18
congrats!
does anyone use the intel breakout board and the c1111 connected via USB? If so, how do you charge the battery?
Colin Lennon
@colinlennon
Jun 16 2016 11:33
Hi @cjo20 . You can charge the battery using an Adafruit MicroLipo charger -
...and connect the charger to J2 on the intel breakout board. There are two solder pads on the MicroLipo which control the charge rate. If you bridge the gap between them with some solder, it'll charge at 500mah
Chris Oattes
@cjo20
Jun 16 2016 12:07
so the charger on the intel actually does the work charging the battery and that board basically gives a nice USB->JST interface?
Colin Lennon
@colinlennon
Jun 16 2016 12:14
The connection is : battery > MicroLipo > J2 on breakout board. The MicroLipo outputs 3.7v to J2 and charges the battery when power is supplied to its' micro USB port
So you'd be bypassing the breakout board charger entirely. The main benefits of that are that the charging rate of the MicroLipo is faster and you bypass the 6 hour timeout. I suppose the downside is that it increases your rig size although the MicroLipo is pretty small
This is what I'm doing and a few others. Works well.
Chris Oattes
@cjo20
Jun 16 2016 12:16
so you have to solder wires to the 5v and gnd connectors on the board to connect to J2?
Colin Lennon
@colinlennon
Jun 16 2016 12:17
The wires should go from the GND and BAT connectors on the MicroLipo board
The BAT output is at 3.7v which is what the breakout board expects on the J2 input
Chris Oattes
@cjo20
Jun 16 2016 12:18
makes sense
Colin Lennon
@colinlennon
Jun 16 2016 12:20
Good :smile: I wasn't sure if my explanation was very clear! One obvious thing to bear in mind is that there's no timeout, so you need to either use a protected battery, or use an unprotected one very carefully
to avoid overcharging
I've been meaning to write a script to check battery-voltage (Yocto) periodically and initiate a graceful shutdown when it gets close to 3.5v but haven't had time yet
@Spazholio Yeah, the 1000C is great! I use that on a Pi-based rig.
Chris Oattes
@cjo20
Jun 16 2016 12:39
@colinlennon might get one of these then http://uk.rs-online.com/web/p/lithium-rechargeable-battery-packs/7916460/ when I order the edison
Colin Lennon
@colinlennon
Jun 16 2016 12:45
Looks good. It's wider than the breakout board, but that could work depending on where you're planning to position the TI stick in your rig
Should last all day :smile:
Matt Walker
@walker0
Jun 16 2016 12:51
@colinlennon this is the grand total of my battery testing script
v=$(battery-voltage | tr "\n" ",")
d=$(date)
echo $v$d >> battery.log
I haven't set it up to shutdown the edison yet because I've been monitoring the battery and running it fully flat to see how much I can get out of it
Colin Lennon
@colinlennon
Jun 16 2016 12:55
Nice! So then you could just have a cron job grep battery.log for whatever threshold voltage and shutdown if the grep finds it?
Matt Walker
@walker0
Jun 16 2016 12:57
thats roughly the plan, it's useful to see how it is doing anyway, I have gnu plot installed on my edison so I can view the graphs on my phone of the battery discharge curve
Colin Lennon
@colinlennon
Jun 16 2016 12:59
That sounds good. Just anecdotal, but I've observed that my rig drops from 100% to 80% very quickly, then down to around 15% quite steadily, then it seems to sit at 8-9% for ever... I've never had it die before I'm plugging it in to go to bed
3400mah battery
Matt Walker
@walker0
Jun 16 2016 12:59
yea the default power discharge curve on edison is wrong for bigger batteries
it's roughly right for the 400mah battery I have
Sarah Hodson Grady
@shgrady
Jun 16 2016 13:00
@mikestebbins I did skip parts of the article, but it was pretty good. I think it left us a little open to that FDA lady's assertion though.
Colin Lennon
@colinlennon
Jun 16 2016 13:00
Oh okay, didn't know it was related to battery size
Matt Walker
@walker0
Jun 16 2016 13:02
@colinlennon probably battery chemistry mores i'd guess, anecdotal evidence again I don't know nearly enough about batteries. This weekend I'm planning on looking into programming the onboard mcu to do a proper sleep mode for the edison between loops and possibly to sleep more and loop less as the battery is getting lower
Colin Lennon
@colinlennon
Jun 16 2016 13:05
@walker0 Good luck, that'd be great!
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 13:26
We have officially been closed looping for 3 nights in a row now. :D
Paul Martin
@Spazholio
Jun 16 2016 13:30
Congrats! How's it going?
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 13:36
Not terrible! Haha. The rig is working great. My BG's aren
aren't exactly where I want them yet - tweaking DIA settings and basals - but we'll get there
I've had a few highs and lows that required treatment outside of what APS could do, but in 72 hours of looping that's only happened a few times
Paul Martin
@Spazholio
Jun 16 2016 13:38
Yeah, I run into the same thing occasionally. I used Clarity to help me really notice patterns, and adjusted my targets based on that, and it appears to be helping.
Garrett Webb
@garetis
Jun 16 2016 13:39
What's Clarity?
Paul Martin
@Spazholio
Jun 16 2016 13:39
It's a Dexcom tool that lets you see your data compared over time, determine patterns, etc.
Garrett Webb
@garetis
Jun 16 2016 13:40
Good times. I'm switching from medtronic cgm to dexcom -- I hear my stuff is in transit =)
Does the "Healthcare Professional" data provide more sophisticated reports?
Paul Martin
@Spazholio
Jun 16 2016 13:42
You know, I'm not sure. I figued that was for me to set up access for my endo and other docs, but I've never actually clicked on it...
I'll try again when I get home. I'm on linux here at work.
Garrett Webb
@garetis
Jun 16 2016 13:44
With Medtronic, their analysis tools were better for the doctors, but they recently released those reports for everyone. That's the only reason I would think it might be different.
Sarah Hodson Grady
@shgrady
Jun 16 2016 13:45
speaking of, is there anything I should know about the CareLink drivers, it looks like I must create an account? Have no experience with drivers in linux.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 13:47
I've actually never clicked on it either, @Spazholio
Chris Oattes
@cjo20
Jun 16 2016 13:47
any suggestions why the pump pill in nightscout is displaying red with 140U, 1.27v, 4m clock, status normal and device openaps://scout
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 13:47
I will try now.
Paul Martin
@Spazholio
Jun 16 2016 13:48
@cjo20 If I had to guess, I'd say probably the battery level. I think it alerts mine at 1.38v.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 13:49
It's the same reports. Just a different link to access them.
Chris Oattes
@cjo20
Jun 16 2016 14:02
Spazholio: ah yes, that might be it. Think I'll have to adjust those down, as the pump is still reporting 50% left
Paul Martin
@Spazholio
Jun 16 2016 14:06
Are you using alkaline or lithium?
Chris Oattes
@cjo20
Jun 16 2016 14:09
can't remember. The energiser ones that medtronic send :P
alkaline
Paul Martin
@Spazholio
Jun 16 2016 14:10
Most people here recommend lithium once you start looping, as they'll last you a lot longer - ~6 days. The only gotcha is that the battery meter on the pump doesn't work properly. It'll show full, and then just sorta...die. I had it happen to me overnight. So whenever my battery hits 1.38v or thereabouts, I'll swap it out.
David Cintron
@loudestnoise
Jun 16 2016 14:17
I want to start using Lithium AAAs, but I need to get my Nightscout working better so I can get some kind of notifications for the drop in voltage.
Paul Martin
@Spazholio
Jun 16 2016 14:18
What's not working properly?
David Cintron
@loudestnoise
Jun 16 2016 14:19
well, I’m still trying to switch to my other Ubuntu VPS that won’t connect to my mlab monogo db
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 14:19
@Spazholio any specific brand of lithium? Thanks for this tip. Didn't know.
Paul Martin
@Spazholio
Jun 16 2016 14:19
Oh, right. Forgot about that. =)
David Cintron
@loudestnoise
Jun 16 2016 14:19
the one I have it on now seems to just go unresponsive after a day or two
I also want it to show me the battery in its own pill. Right now I have to mouse over the Pump pill, so gotta figure out what I’m not doing there
2016-06-16_09-18-25.jpg
Paul Martin
@Spazholio
Jun 16 2016 14:21
WRT mlab - do you have iptables or some firewall software set up somewhere? Some distros enable it by default. Although, I don't know that I've ever seen one that blocks outgoing ports, but I suppose it could happen...
What do you have in your ENABLE env var?
@PazolesBrooke_twitter https://smile.amazon.com/gp/product/B00JTGDSVE/ref=oh_aui_search_detailpage?ie=UTF8&psc=1 <-- that's what was recommended to me.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 14:23
Thx!
David Cintron
@loudestnoise
Jun 16 2016 14:23
Yeah, I looked to see if iptables or some other fw was enabled, but nothing is
Paul Martin
@Spazholio
Jun 16 2016 14:23
@loudestnoise What version of NS are you on? I'm trying to see what the differences between your setup and mine are.
David Cintron
@loudestnoise
Jun 16 2016 14:24
0.9.0-beta2
Paul Martin
@Spazholio
Jun 16 2016 14:24
blob
I ask because mine looks like this. Voltage clearly indicated.
David Cintron
@loudestnoise
Jun 16 2016 14:24
Yeah, so it’s not its own pill, but shows voltage next to it. That’s what I want!
Paul Martin
@Spazholio
Jun 16 2016 14:25
I'm on beta-3, but Im pretty sure that's not it.
Let me check my reports.
David Cintron
@loudestnoise
Jun 16 2016 14:25
and my enable has ENABLE=bridge%20iob%20careportal%20basal%20cob%20bwp%20cage%20openaps%20pump
Paul Martin
@Spazholio
Jun 16 2016 14:26
What does your upload/upload-status.json report look like in openaps.ini?
David Cintron
@loudestnoise
Jun 16 2016 14:29
eh, well of course my SSH tunnel isn’t working
Paul Martin
@Spazholio
Jun 16 2016 14:31
Well, I'm looking in mine, and looking for everywhere that battery.json is mentioned. When you get access to your rig, hit me up and we can compare. See what the differences are and work backwards from there.
David Cintron
@loudestnoise
Jun 16 2016 14:32
Thanks, I think my Pi isn’t actually able to reach the Interwebs. It’s on WiFi, and I use my iPad to SSH into it as it’s on the same network so I can start the tunnel, but tunnel isn’t working because it’s not on the Internet
Oh computers
Paul Martin
@Spazholio
Jun 16 2016 14:33
I want SSH over Bluetooth. Apparently, that's too much to ask. =)
David Cintron
@loudestnoise
Jun 16 2016 14:33
that would be cool
Paul Martin
@Spazholio
Jun 16 2016 14:33
Or some sort of remote video monitor via BT. I know it doesn't really have the bandwidth to properly do it, but it'd be nice.
Chris Oattes
@cjo20
Jun 16 2016 14:33
loudestnoise: what are your PUMP_FIELDS set to in azure config?
(if you're using AZURE). Try setting "PUMP_FIELDS" to r"reservoir battery"
without the extra r :P
David Cintron
@loudestnoise
Jun 16 2016 14:35
I’m actually using my own Linux box, but I don’t have PUMP_FIELDS in my env, so maybe that’s it
Paul Martin
@Spazholio
Jun 16 2016 14:35
export PUMP_FIELDS="reservoir battery"
That's mine, and I'm self-hosted as well. Betcha that'll take care of it.
Good call @cjo20.
Chris Oattes
@cjo20
Jun 16 2016 14:36
fields = isEmpty(fields) ? ['reservoir'] : fields;
that's what NS does if it isn't set I guess
Paul Martin
@Spazholio
Jun 16 2016 14:37
Looks like it.
C-Ville
@C-Ville
Jun 16 2016 14:38
@Spazholio self hosted does mean that you run your mongodb and NS on Edison or Pi ?
Paul Martin
@Spazholio
Jun 16 2016 14:38
Close. I have my own server that I run it on - not the rig itself.
David Cintron
@loudestnoise
Jun 16 2016 14:40
@C-Ville I find cheap Linux VPS hosts on lowendbox.com. The one I’m trying to set up cost me $36/yr and I get 2GB of RAM, 100GB of storage and 3TB of bandwidth
Paul Martin
@Spazholio
Jun 16 2016 14:40
Do you get root on that box?
David Cintron
@loudestnoise
Jun 16 2016 14:41
yeah buddy
I used to pay Linode and digital ocean prices
since I’m not really doing “production” things, and it’s all for myself
cheeaaaap
Paul Martin
@Spazholio
Jun 16 2016 14:41
Huh. Dammit, I may have to look into them. Do they have affiliate links? If I decide to switch, I'm happy to use yours.
What's their uptime like? I can't imagine it's bad, but...
David Cintron
@loudestnoise
Jun 16 2016 14:42
I rarely have downtime
but apparently I have weird connectivity on this one box
but the smaller 256MB mem box is on the same host and it connects to my mlab monogo db just fine
hence my confusion
and no affiliates, it’s basically the providers tell them about their new offerings and there’s a special link or coupon code
Paul Martin
@Spazholio
Jun 16 2016 14:44
Oh, ok. No way to "refer a friend and get a free month!" kind of things?
David Cintron
@loudestnoise
Jun 16 2016 14:44
nah, it’s all so cheap
and if you hate the provider just stop using it and find another one and you’re not out a lot of $$$
Paul Martin
@Spazholio
Jun 16 2016 14:44
If I were you, I'd hit up their support. I mean, if you've got 2 boxes with one company, and one box can hit the mlab server, and another can't, that might be something on their end.
David Cintron
@loudestnoise
Jun 16 2016 14:45
yeah, good idea
Paul Martin
@Spazholio
Jun 16 2016 14:46
I just realized my BASAL pill indicates my "Basal Timezone". While I get what it's saying, the thought that there's a difference between Eastern and Pacific insulins is amusing,
Sarah Hodson Grady
@shgrady
Jun 16 2016 14:47
Funny, I do have better blood sugars in California
because I am on vacation!
David Cintron
@loudestnoise
Jun 16 2016 14:53
woot woot, check me out!
2016-06-16_09-49-43.jpg
it barked at me at first because I copied from @cjo20 and it had the quotes and the spaces, but I knew from my ENABLE that I need to switch to no quotes and %20
PUMP_FIELDS=reservoir%20battery
Chris Oattes
@cjo20
Jun 16 2016 14:55
:D
C-Ville
@C-Ville
Jun 16 2016 15:00
@loudestnoise I am still aiming at an offline solution for my rig using a Wixel solution for Dexcom, an ERF for the pump and a nice NS like interface to monitor the pump. Cell Phone reception is horrible at work so offline would be king
so running NS on a pi or better edison would be great
David Cintron
@loudestnoise
Jun 16 2016 15:01
Yeah, that would be cool. I know people have got it running on a Pi for Nightscout, but idk how well
Chris Oattes
@cjo20
Jun 16 2016 15:08
anyone considered adding something like this to an edison: https://www.sparkfun.com/products/11315
Paul Martin
@Spazholio
Jun 16 2016 15:09
Integrate that into a case, and that'd be incredible. Just a quick, at-a-glance HUD for all the relevant info.
Chris Oattes
@cjo20
Jun 16 2016 15:10
that's what I was thinking. avg. 40mA draw as well.
could just have it display when you press a button, almost no impact on battery life?
Paul Martin
@Spazholio
Jun 16 2016 15:11
Bingo.
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:15
@cjo20 I purchased the pi version, currently using it to display the IP because pi@raspberrypi never worked for SSH, but thanks for the repurpose idea @Spazholio
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:15
I am curious about others who have been looping for a while - have daily insulin needs gone up, decreased, or stayed the same as before the loop? It's only been a few days for me but so far I'm using nearly the exact same amount of insulin as before (albeit distributed throughout the day quite differently), which I take as a good sign?
Paul Martin
@Spazholio
Jun 16 2016 15:15
@shgrady Was it easy to wire into the Pi? Do you have a case that accommodates it?
@PazolesBrooke_twitter Prior to looping, I was going through a reservoir every 3 days. Now they seem to last 5-6 days. I didn't think I was doing much better but those numbers really don't lie.
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:16
the one I bought just slides onto the GPIO pins @Spazholio , I have the official case that has removable panels
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:17
Interesting @Spazholio! Curious to see how mine plays out after I use it for longer.
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:17
They also sell a similarly sized touch screen, but I am struggling to figure out how to get what I want in the screen.
David Cintron
@loudestnoise
Jun 16 2016 15:18
@PazolesBrooke_twitter I would say the same. I find I’m using less because I’m not chasing highs as much with big boluses
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:18
That's great @loudestnoise
David Cintron
@loudestnoise
Jun 16 2016 15:18
It really is :smiley:
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:18
So far I've been really surprised at how much it stays suspended
Paul Martin
@Spazholio
Jun 16 2016 15:18
@shgrady Which pins? I use a Slice of Radio, so I'm wondering if I car even use this or if the required pins are already taken. Also - which case? The pink/white one?
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:18
although I did have to correct a big high this morning but that was due to issues outside of APS
Paul Martin
@Spazholio
Jun 16 2016 15:19
@shgrady I'd love to see a pic of your setup. =)
JaysonEwer
@JaysonEwer
Jun 16 2016 15:19
@PazolesBrooke_twitter yes, I also learned I was using way too much insulin at certain times during the day and especially at night. I don't have discrete numbers right now, but I've been using less insulin. My understanding is you have always had very tight control of yours so it makes sense that you are using about the same amount. Mine was less tight, but it's getting tighter thanks to OpenAPS!!
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:20
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:21
Woohoo @JaysonEwer! Even in testing the open loop I feel like I've gained a ton of knowledge about where I need to tweak my management. We've definitely been on a data high at my house
JaysonEwer
@JaysonEwer
Jun 16 2016 15:22
👍😀
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:22
And although my TDD is about the same it's a totally different distribution which is really interesting to me
JaysonEwer
@JaysonEwer
Jun 16 2016 15:22
Yeah, that's sweet.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:22
Good stuff.
JaysonEwer
@JaysonEwer
Jun 16 2016 15:23
Very good!
Chris Oattes
@cjo20
Jun 16 2016 15:23
wow, based on 3 days of running open-loop, it estimates my a1c will be 6.8%. Last one I got was 7.3%, and my control recently hasn't been as good as that
Paul Martin
@Spazholio
Jun 16 2016 15:23
@shgrady And that's integrated into your case? Wow.
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:24
@Spazholio at work, but will send, my Carelink USB arrived yesterday and my pump arriving Saturday, unfortunately it will be a month before the battery gets here
Mike Stebbins
@mikestebbins
Jun 16 2016 15:24
@shgrady What is the FDA assertion you're referencing?
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:25
That's awesome @cjo20! Remember too that a1c isn't that meaningful of a number. If you have huge swings every day but your average BG is still relatively normal, you can achieve a "good" a1c even if in reality one is all over the place. It's kinda like body weight. Not useless, but doesn't give you the whole picture.
Chris Oattes
@cjo20
Jun 16 2016 15:26
PazolesBrooke_twitter: the 7.3% was a result of reasonable control, it wasn't too swing-y
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:26
@cjo20 exactly - that's what is really important, lack of swings
Chris Oattes
@cjo20
Jun 16 2016 15:27
the 6.8% estimated by NS is from 0% low, 83% in 4.4-10 and 17% > 10
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:27
That's amazing!!
Chris Oattes
@cjo20
Jun 16 2016 15:27
(so 83% between 80 and 180)
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:28
Really good numbers
Chris Oattes
@cjo20
Jun 16 2016 15:28
yeah, really pleased with them
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:28
if the APS can help you get that top target down just a bit you'll be golden
Chris Oattes
@cjo20
Jun 16 2016 15:28
early days yet :) I'll get there
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:29
@mikestebbins she said "who is to say that the algorithm the community designed will work for everyone" and who says when it gets changed. My original thoughts was endos and pumps have been using these calcs for decades, and with github your system does not autoupdate, but when you said something along the lines of "I can control the code to fit my needs" I thought about those of us with only minimal programming
JaysonEwer
@JaysonEwer
Jun 16 2016 15:29
👍
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:29
Screenshot 2016-06-14 22.22.25.png
This is my data from day 1 of closed loop
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:30
@PazolesBrooke_twitter Holy cow, cool!
JaysonEwer
@JaysonEwer
Jun 16 2016 15:30
👍🎉
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:30
Yeah. It's been incredible.
Chris Oattes
@cjo20
Jun 16 2016 15:31
wow, well done
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 15:31
well done to the loop!
I was pretty tight before but nothing like that
Garrett Webb
@garetis
Jun 16 2016 15:32
@shgrady When you SSH and it didn't work, were you using "pi@raspberrypi.local" or just "pi@paspberrypi" ?
(typo, obvi)
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:32
Garrett Webb
@garetis
Jun 16 2016 15:33
Ok, just checking
kenstack
@kenstack
Jun 16 2016 15:33
does anyone have instructions / advice for opening the case on a 723 ? my unicorn 723 2.4a has died….. keeps giving me batt low limit error …. I want to see if I can debug the issue .. Ive tried multiple batteries but if anyone has ideas, Im wide open to help :)
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:34
someone on here told me I could do pi@IP, but that is challenging when my IP is changing all the time
David Cintron
@loudestnoise
Jun 16 2016 15:38
Depending on the size of the network, you could utilize something like the app called Fing to find devices and tell you their IP addresses.
Won’t work well on networks with lots of devices, but I use it at home sometimes
JaysonEwer
@JaysonEwer
Jun 16 2016 15:40
I always use my ip to ssh into my pi. When I'm using my mobile hotspot, I always get the same IP. Same when I'm at home. I'm usually getting the same IP at home. @shgrady did you enable ssh when you did the setup section early in the documentation?
Mike Stebbins
@mikestebbins
Jun 16 2016 15:41
@shgrady Which presentation was this at (I'm wondering if I missed a video of a presentation?) It's a great question. For OpenAPS, the source code should remain open and modifiable by anyone who wants to take to modify. The defaults, set by the preliminary Devs in the community, should fit as broad a group as possible with minimal risk to any. As with any other open-source software, the user should proceed after the perceived risk level is low enough for them. In other words, if you don't know how or don't want to "dig under the hood", but you are risk-adverse (as we all should be with insulin-delivery!), then you should only implement "master" repos after they've been used successfully by others for some time and all the bugs are out. If you have the ability to read through and understand the code, then you can decide if features in a Dev branch suit you better and proceed at a slightly higher level of risk. If the OpenAPS algorithm is implemented inside a commercial product, then that company takes on the onus of deciding what the code looks like, and the FDA would approve their decisions by reviewing their clinical trials results. Hopefully, they'd leave most/all parameters as options that can be changed (within a specified range, of course) by the endo, simple as changing a setting on your pump today via some menus, no code-writing required.
JaysonEwer
@JaysonEwer
Jun 16 2016 15:41
I also use Hurricane Electric Netwok tools to discover my Pi if I need to. Similar to what @loudestnoise just mentioned.
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:42
@JaysonEwer yes, and someone had me check it again, my IP at home varies between 10.0.0.31 -35
Mike Stebbins
@mikestebbins
Jun 16 2016 15:42
Does that make sense? Between the length of that response and my article, I think I need to take a "concise-writing" class ;)
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:42
I know you can "fix" it to a specific number, but was hesitant in case I want to connect at work
Actually, that response was awesome @mikestebbins
Mike Stebbins
@mikestebbins
Jun 16 2016 15:44
Great!
Garrett Webb
@garetis
Jun 16 2016 15:45
What's the article I've seen mentioned the past day? I saw someone post something about modeling glucose metabolization (as I recall) on ieee, but I don't have an account. Is that what's being referenced?
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:45
oh, @loudestnoise fing is awesome, I can see all 170 devices connected to the administrative wifi at work
David Cintron
@loudestnoise
Jun 16 2016 15:45
Nice
Mike Stebbins
@mikestebbins
Jun 16 2016 15:46
I used the following two links (http://www.howtogeek.com/167190/how-and-why-to-assign-the-.local-domain-to-your-raspberry-pi/ & http://www.howtogeek.com/167195/how-to-change-your-raspberry-pi-or-other-linux-devices-hostname/) to give my pi a name on whatever network it's on. So I just have to SSH "pipan.local" and it doesn't matter what IP address it's been assigned.
David Cintron
@loudestnoise
Jun 16 2016 15:47
I love your pipan name @mikestebbins. I should change my hostname to something fun.
Sarah Hodson Grady
@shgrady
Jun 16 2016 15:52
@mikestebbins yeah, I had assigned a new hostname (obviously stopped trying to connect with pi@raspberrypi.local at that point) but pi@artificialpancreas.local did not work either, now I see from the first link I missed a step, will try tonight, thanks.
Mike Stebbins
@mikestebbins
Jun 16 2016 15:57
@shgrady definitely see if you missed a step, but even if so, it may not always work. At my office, I could never access my raspi under it's *.local name...some setting controlled by my IT dept somewhere wouldn't allow it, so to simplify, I just use my personal cell as a hotspot.
Garrett Webb
@garetis
Jun 16 2016 15:57
Thanks!
Mike Stebbins
@mikestebbins
Jun 16 2016 16:00
@loudestnoise Just make sure to google/urbandictionary.com your proposed name before committing to it. My wife picked "PiPan" when I challenged her to pick a name for the rig so we could stop calling it "the raspberry pi fake pancreas thing you spend all your time on". Later, after agreeing to the new name, I searched urbandictionary.com for something very close to pipan and was (unsurprisingly) shocked by the definition returned. Definitely NSFW ;)
David Cintron
@loudestnoise
Jun 16 2016 16:01
LOL
Sarah Hodson Grady
@shgrady
Jun 16 2016 16:01
ha ha @mikestebbins even though I am a clinical informaticist, I work in the IT department, these guys already poked a hole in the firewall for me so I could use Nightscout at work, optimistic.
Mike Stebbins
@mikestebbins
Jun 16 2016 16:02
I wish my IT department was as friendly as yours!
Sarah Hodson Grady
@shgrady
Jun 16 2016 16:02
bake them cookies!
seriously, food the only thing they move for
kstdennis
@kstdennis
Jun 16 2016 16:16
@mikestebbins I really feel "the raspberry pi fake pancreas thing you spend all your time on" is an appropriate name for this thing.
:)
Mike Stebbins
@mikestebbins
Jun 16 2016 16:17
:)
Sarah Hodson Grady
@shgrady
Jun 16 2016 16:18
My husband keeps calling it the ApplePiThingy, I stopped trying to explain that its definitely not an Apple awhile ago
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 16:23
Both my dad and father in law cannot contain themselves when it comes to "pie" jokes/puns when the APS comes up
Chris Oattes
@cjo20
Jun 16 2016 17:07
something si definitely wrong with my afternoon ratios. Target BG of 6-7. Had 90 minutes @ 0 basal, 16g carbs, have only just elvelled out at 4.6
basal test tomorrow I think
Paul Martin
@Spazholio
Jun 16 2016 17:27
@bewest How simple/difficult would it be to add a --merge flag to the tz select function?
Brandon Faloona
@bfaloona
Jun 16 2016 17:41
Hi everyone. I'm looking for some advice.
I'm setting up openaps and everything seems pretty straightforward, but I keep getting ConfigParser errors (e.g. ConfigParser.NoSectionError: No section: u'device "pump"')
Chris Oattes
@cjo20
Jun 16 2016 17:43
you need to use the device name you set up for your pump, not just 'pump'
Brandon Faloona
@bfaloona
Jun 16 2016 17:43
Firstly, can I use # characters to comment out lines in my openaps.ini?
@cjo20 I'm pretty sure I that's not the problem. Seems like I'm introducing incorrect syntax somehow.
Chris Oattes
@cjo20
Jun 16 2016 17:44
what did you call the pump when you added it?
Brandon Faloona
@bfaloona
Jun 16 2016 17:46
The config is entirely text based, right? For example, if I switch git branches to one that has different devices configured, I don't need to run 'openaps device add ... ' right?
@cjo20 initially I called it paradigm, and this time my openaps.ini is using pump.
Ben West
@bewest
Jun 16 2016 17:46
correct, mostly
devices get their own device.ini file which is not tracked by git by default
you can use # to comment out ini lines, but they will disappear... the system doesn't preserve comments when re-writing the ini file
Brandon Faloona
@bfaloona
Jun 16 2016 17:48
@bewest thanks! I pulled down your example (https://github.com/bewest/openaps-example) and modified the important bits, but I'm still getting ConfigParser errors.
Ben West
@bewest
Jun 16 2016 17:48
@Spazholio what would --merge do?
the way it works is in openaps.ini, there's a [device "name"] with an extra = name.ini
that name in quotes has to match the name found in the extra's file
so in name.ini there's also same stanza, [device "name"]
the name of the file doesn't matter at all, in fact you can change it while adding using --extra common.ini
but the stanzas must have matching names
easiest way to play around with devices is using oref0 device-helper
like: oref0 device-helper say 'echo hello $*' | openaps import should create a say.ini with [device "say"] in both openaps.ini as well as say.ini.
you can probably use this trick to temporarily provide a fake device spec (which matches the erroring/missing one)
@Spazholio I'm considering an --append option for report, as well as some kind of --fail-with
Brandon Faloona
@bfaloona
Jun 16 2016 17:53
@bewest I think I got that. Great!
is oref0.ini special, or should I create that file as you suggested with device-helper ?
Ben West
@bewest
Jun 16 2016 17:54
for that
oref0 template mint device oref0 :-)
pipe it | json to see it prettified
use oref0 template mint device oref0 | openaps import to import it all
Brandon Faloona
@bfaloona
Jun 16 2016 17:57
Thanks @bewest! I'm not out of the woods, but I'm back on a trail now. :)
Ben West
@bewest
Jun 16 2016 17:58
there's more templates available too
check them out, they're easy to maintain, donate additional recipes and things
Brandon Faloona
@bfaloona
Jun 16 2016 18:11
@bewest Where are the additional templates?
Ben West
@bewest
Jun 16 2016 18:11
oref0 template mint -h there's a menu
there's a whole bunch, they are being discussed for docs here: openaps/docs#132
Paul Martin
@Spazholio
Jun 16 2016 18:15
@bewest Sorry for the delay. When I implemented tz select previously, it acted more like an append. I say that because when I had auto-sens outputting what it's evaluating, I would see it do one day, and then another day. Meaning, when I did the tz select it seemed to basically just appending one onto the other. There were timestamps that were indentical, down to the second. What I'd really like is a method by which it would compare the two (or more?) files for a field like dateString and if duplicates exist, then only choose one.
Basically making every entry in the JSON output unique.
Ben West
@bewest
Jun 16 2016 18:16
that's what lsgaps does
if you feed select --gaps the output of lsgaps, it will only include entries that were missing according to the lsgaps step
Paul Martin
@Spazholio
Jun 16 2016 18:19
That's not quite what it does. lsgaps give me gaps. I want EVERYTHING, gaps included. So if one of my reports runs every 10 minutes, and another runs every 5 for the entire day (144 and 288 entries, respectively), I want a report that would have 288 total entries, that comprise the entirety of those 24 hours, with no dupes.
benhamou
@benhamou
Jun 16 2016 18:23
@bewest I have the bottom error with my insulin pump have u got any idea to fix it?
Ben West
@bewest
Jun 16 2016 18:24
button error?
Paul Martin
@Spazholio
Jun 16 2016 18:24
I've been looking into writing a quick JSON de-duping script since apparently I'm not the only person that wants it, but it seems to be pretty well suited to the tz select functionality anyway. Maybe a tz merge? I'm still getting my head around the codebase and remembering how to program in Python. It's been a long time.
Ben West
@bewest
Jun 16 2016 18:24
could someone add this to the docs? http://imgur.com/a/iOXAP
benhamou
@benhamou
Jun 16 2016 18:24
button yes or E52
Ben West
@bewest
Jun 16 2016 18:25
@Spazholio so what you want is doable with lsgaps and select
Paul Martin
@Spazholio
Jun 16 2016 18:25
Huh. I had that same issue on a pump a few years ago. Wish I had known about that.
Ben West
@bewest
Jun 16 2016 18:25
but I think it might be easier with an --append option for report and a matching --fail-with on report
Paul Martin
@Spazholio
Jun 16 2016 18:26
How do you envision --append and --fail-with functioning?
Ben West
@bewest
Jun 16 2016 18:26
select does merge them, it just doesn't sort them
benhamou
@benhamou
Jun 16 2016 18:26
yes button sorry my english
Paul Martin
@Spazholio
Jun 16 2016 18:26
I can try again, but I was getting LOTS of dupes when I was using just select. I'll do it again when I get home just to make sure I'm not delusional.
Ben West
@bewest
Jun 16 2016 18:27
lsgaps should be run against the cache of everything, to figure out what is missing from the big cache (entire day)
Paul Martin
@Spazholio
Jun 16 2016 18:27
I grepped for specific dateString values, and was getting multiples in the resultant output.
Ben West
@bewest
Jun 16 2016 18:27
you don't have that part set up yet, and I'm still working on it myself, so...
but that would be first step
step two is to either -a append to the cache file, or to use the gaps spec with oref0_glucose --gap to get enough data to fill gaps up to now
step three through whatever would be repeating that kind of thing against other data sources
Paul Martin
@Spazholio
Jun 16 2016 18:28
What would be, running lsgaps? I had it set up, and still have the framework in place. It's great for missing little bits, but as I was implementing it, it wasn't working for when I needed an accurate full-day's picture for auto-sens.
Ben West
@bewest
Jun 16 2016 18:28
step four would be to prepare just the missing data by running select --gap with same spec against all the newly prepared data segments (not the cache!)
Paul Martin
@Spazholio
Jun 16 2016 18:29
Intereting. Well, you seem to have it mapped out in your head. I'll rescind that request since it seems to already be in the works. =)
Ben West
@bewest
Jun 16 2016 18:29
step five would be then running select (without any gap spec) to combine the newly culled diff into the cache and saving the cache
it would be easier with report -a to append results into an existing file
so it has to do with the order of events and which things you're running it on
might be good for select to sort it's output
Paul Martin
@Spazholio
Jun 16 2016 18:30
I would kinda sorta love that.
Ben West
@bewest
Jun 16 2016 18:30
--fail-with would cgm or ns to provide empty list [] instead of wiping out data
Paul Martin
@Spazholio
Jun 16 2016 18:31
Mind you, I don't need this now, or maybe even anymore. I was trying it when I was pulling both CGM data and NS data. I wanted to make sure I had a truly full data set.
Ben West
@bewest
Jun 16 2016 18:31
yeah, that's advanced
requires new features, which is fine
Paul Martin
@Spazholio
Jun 16 2016 18:31
People keep telling me that sort of thing...
Ben West
@bewest
Jun 16 2016 18:33
but do you see how if you re-arrange lsgaps you'll get only the difference to append to known set of deduped items?
jodeemartin
@jodeemartin
Jun 16 2016 18:33
Hi, I am new to this site. We are going to embark on building an APS system so hopefully my son can take it to college next year. What site are people going to to purchase the older medtronic pumps that are required?
Ben West
@bewest
Jun 16 2016 18:33
and that selecting across your known good cache and a prepared culled/diff would merge the two?
Dana Lewis
@danamlewis
Jun 16 2016 18:33
@jodeemartin medwow, Craigslist, ask around your community too
Paul Martin
@Spazholio
Jun 16 2016 18:33
Yes. But for that to work with something like auto-sens, we would also need a sort feature (if I'm understanding properly), no?
Ben West
@bewest
Jun 16 2016 18:33
it's an extra step, but it's doable
the sort is pretty trivial one-liner
line before the return just call results.sort(...)
if auto-sens produces bad output if data is not sorted, it should probably be considered a bug, right?
Paul Martin
@Spazholio
Jun 16 2016 18:36
Yep, I see how that would be simple. Maybe add a flag so we can specify ascending/descending?
Ben West
@bewest
Jun 16 2016 18:36
it should be made more robust against that kind of thing, either producing a warning... or sort the data...
seems more direct to patch auto-sens
Dana Lewis
@danamlewis
Jun 16 2016 18:37
Speaking of auto-sens, been pushing it hard and I don't know how I lived without it before
Paul Martin
@Spazholio
Jun 16 2016 18:37
I don't know if auto-sens produced bad data. I know that it works backwards from most recent to oldest, but I think it's just working down the file/output. Because it was doing late Monday, early Monday, late Sunday, early Sunday....then late Monday, early Monday, etc, etc.
Ben West
@bewest
Jun 16 2016 18:37
think most of openaps seems to prefer descending
@Spazholio right, sounds like an auto-sens bug to me
Paul Martin
@Spazholio
Jun 16 2016 18:38
It's that "most of" instead of "all of" that gives me pause. =)
Ben West
@bewest
Jun 16 2016 18:38
it should be fixed in both places, not just in tz is what I'm saying
Paul Martin
@Spazholio
Jun 16 2016 18:39
Yep, and I absolutely agree.
Ben West
@bewest
Jun 16 2016 18:39
think results.sort(key=get) would do it
Sarah Hodson Grady
@shgrady
Jun 16 2016 18:39
@jodeemartin I talked to one person on MedWow, she wanted more than I had ($700) ashleymiranda906@yahoo.com, nobody else responded to me on there.
Paul Martin
@Spazholio
Jun 16 2016 18:39
I'm big on extensibility and future-proofing each and every tool. But generally, I'm not the one coding it, so it's easy for me to make all these suggestions. =)
@shgrady Lucky you. I think (s)he wanted $1000 from me.
Sarah Hodson Grady
@shgrady
Jun 16 2016 18:40
@jodeemartin I ended up with a better deal on craigslist.
Paul Martin
@Spazholio
Jun 16 2016 18:42
@bewest I think I'm going to set up a dev environment on my home linux machine. It just runs my HTPC, so it's generally sitting there idle. Won't have to worry too much about fiddling with OSX issues then. I hope.
Ben West
@bewest
Jun 16 2016 18:42
yeah, sounds good
Paul Martin
@Spazholio
Jun 16 2016 18:42
Once I do that, I may just put in that sort feature and issue a PR.
Ben West
@bewest
Jun 16 2016 18:42
and autocomplete/tab will be fast
I live off the autocomplete, otherwise I wouldn't be able to do this
Paul Martin
@Spazholio
Jun 16 2016 18:43
Yeah, glad I'm not the only one that noticed that. And tab-complete works in vim. I must have set that up a long time ago and forgot.
Hristina Dimova
@xpucuto
Jun 16 2016 18:44
@shgrady @Spazholio the lady you are talking about is having a business with diabetes supplies , pumps and cgms as well. For her the most important thing is the profit . For me she is the latest option when I need something from the us . There are much better sellers who can help and send some free stuff too .
Paul Martin
@Spazholio
Jun 16 2016 18:45
@xpucuto Oh yeah. I swapped pumps with someone else here in the community. Worked out a lot better. I might still check out MedWOW and others occasionally, because I really want to have a backup on hand.
Hristina Dimova
@xpucuto
Jun 16 2016 18:46
I have two pumps who are ok for OpenAPS + 640g and I still want another backup pump . Don't full your self you will always want another one ;) . It's pure addiction
Sarah Hodson Grady
@shgrady
Jun 16 2016 18:50
@xpucuto can you share any of these sellers? I ended up with a 512 and I worry some of the additional steps will sink me, though this group very active and helpful.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 18:52
Is there a preferred pebble watch face for APS?
Ben West
@bewest
Jun 16 2016 18:52
urchin
Paul Martin
@Spazholio
Jun 16 2016 18:53
I wish I knew someone with a Pebble watch around here that I could borrow for a few days. As much as I like the concept of it, I'm just not a "watch person". Haven't worn one for 10+ years.
Dana Lewis
@danamlewis
Jun 16 2016 18:53
@PazolesBrooke_twitter whichever one you prefer ;) urchin is easy to customize and start with though as you explore options
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 18:53
Thanks @bewest. How do I access it?
Hi @danamlewis! Did you see our form submission? :D :D :D
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 18:54
TYVM!
Ben West
@bewest
Jun 16 2016 18:55

visit that on iphone and tap the pbw link,

To install, enable Developer Mode in the Pebble app on your phone, then open ...

Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 18:56
On it, doing my settings now.
Looks like it will be perfect for what I'm looking for. Thanks.
Sarah Hodson Grady
@shgrady
Jun 16 2016 18:57
I am guessing it is not for round?
Hristina Dimova
@xpucuto
Jun 16 2016 18:59
@shgrady I am sorry Sarah I have all purchased them myself every 4 years . I just meant that not
jodeemartin
@jodeemartin
Jun 16 2016 18:59
Question for building the APS... I see three 512 models on MedWow for $1000. Does that seems reasonable and is 512 as good as any of the other models for the purpose of building an APS?
Hristina Dimova
@xpucuto
Jun 16 2016 18:59
no matter how many pumps you have one more is always the better .
Sarah Hodson Grady
@shgrady
Jun 16 2016 18:59
@Spazholio did you see the new line up of pebbles?
I was not a watch person either
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 19:00
I want a round
Using an original now
Dana Lewis
@danamlewis
Jun 16 2016 19:00
@PazolesBrooke_twitter stay tuned ;)
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 19:01
:)
Dana Lewis
@danamlewis
Jun 16 2016 19:01
@jodeemartin that's on the pricey end of things. A 512 will work, but I think you might find a better deal if you keep looking on craiglist etc
Sarah Hodson Grady
@shgrady
Jun 16 2016 19:02
I wore the original for two years, got a round in rose gold for Christmas, its hard for me though because I really need a camping mode watchface, and I only have one sent to me as a favor where some of the pieces are on top of each other. @PazolesBrooke_twitter
jodeemartin
@jodeemartin
Jun 16 2016 19:03
ok, thank you. When looking on Craigs List do I post what I am looking for or just search the site to see if there are any for sale. Seems like Craigs List only allows you to search one State?
Hristina Dimova
@xpucuto
Jun 16 2016 19:03
@/all I have some interesting information about compatible OpenAPS pumps . The former medtronic representative company inBulgaria has confirmed that they have found brand new 712 insulin pumps with 4 year warranty . As we are in Europe I must double check If the warranty applies for the US too. The company sells them for 4500 BGN which app 2300 euro
Scott Leibrand
@scottleibrand
Jun 16 2016 19:03
512 isn't quite as convenient as a 522 or even a 515, as it doesn't allow you to pull all the pump settings, so you have to configure them manually on the Pi
jodeemartin
@jodeemartin
Jun 16 2016 19:03
ok, that is very helpful to know.
Dana Lewis
@danamlewis
Jun 16 2016 19:04
@jodeemartin you can search multiple cities at the same time
Scott Leibrand
@scottleibrand
Jun 16 2016 19:04
jodeemartin
@jodeemartin
Jun 16 2016 19:04
Ok Dana, I will see how I can configure that search.
Sarah Hodson Grady
@shgrady
Jun 16 2016 19:06
this person will not ship, not driving to NY http://syracuse.craigslist.org/hab/5618603253.html
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 19:07
@shgrady you might be able to find someone in NY in CGM in the Cloud who would be willing to pick it up and ship it for you?
jodeemartin
@jodeemartin
Jun 16 2016 19:08
What can one expect to spend for a pump?
Dana Lewis
@danamlewis
Jun 16 2016 19:10
200 is low end, 500-700 is average of what I see many people getting them for these days
Good reason to ask around other groups , they may not think to do such a big price tag.
Paul Martin
@Spazholio
Jun 16 2016 19:11
@shgrady I have seen the new models, but I want to have it in hand. See how large it looks on my wrist, see if I'll even USE it before I shell out even more money. =) This whole thing has been a money-pit. A fun money-pit, but a money-pit nonetheless.
Actuallty, I know someone in Syracuse.
Sarah Hodson Grady
@shgrady
Jun 16 2016 19:12
@Spazholio gotcha, I would have sent you my old one to wear but my 8 year old daughter already obsessed with wearing it
Paul Martin
@Spazholio
Jun 16 2016 19:12
Would you like me to reach out to see if they'd be willing to assist?
Sarah Hodson Grady
@shgrady
Jun 16 2016 19:12
That would be awesome!
Paul Martin
@Spazholio
Jun 16 2016 19:12
@shgrady Well, if/when she tires of it, I might still be interested. =)
Asking now.
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 19:14
After the DAD, a pebble round has the next slot on my diabetes wish list :)
Brandon Faloona
@bfaloona
Jun 16 2016 19:15
Now I'm getting an Attribute error while it tries to get self.device.get('fields'): AttributeError: 'NoneType' object has no attribute 'strip'
David Cintron
@loudestnoise
Jun 16 2016 19:15
@Spazholio I have an original Pebble in White I can send you if you want it. I got the Apple Watch last year, and don’t envision myself switching back :wink:
Brandon Faloona
@bfaloona
Jun 16 2016 19:15
This is from running openaps use pump -h
openaps device show works
Paul Martin
@Spazholio
Jun 16 2016 19:17
@loudestnoise If you're sure, I'd be interested. Did you find that the Pebble worked well for you, pre Apple Watch?
Is that this guy?
sigh Computer's acting up. Not letting me post a pic.
David Cintron
@loudestnoise
Jun 16 2016 19:18
Yeah, I love the Pebble actually. You can’t beat the battery life. My wife actually got the Pebble Time, but didn’t like how dim the color eink was, so returned it and got an Apple Watch. Now we send each other doodles and heartbeats
Yep, that’s the one
Brooke Pazoles
@PazolesBrooke_twitter
Jun 16 2016 19:18
That's what I'm currently using @Spazholio. I love it.
Paul Martin
@Spazholio
Jun 16 2016 19:19
Good to know. Well in that case, I'm in. Send me a DM and we'll hash out details?
Eric
@ecc1
Jun 16 2016 19:19
Just want to double-check that all the avenues of spoofing meters, remote controls, etc. as a means of controlling a 523/723 pump have been exhausted. I have a flexible radio environment now that I can experiment with, but none of those actual devices to capture data from ... Any pointers appreciated.
Scott Leibrand
@scottleibrand
Jun 16 2016 19:21
@ecc1 remotes can only bolus as far as we know.
Paul Martin
@Spazholio
Jun 16 2016 19:22
@shgrady Ok, my friend lives in Syracuse, but the seller lives in Camden. That's about an hour away. She says she doesn't generally go out that way, but I'm trying to convince her that a road trip would do her some good. =)
Sarah Hodson Grady
@shgrady
Jun 16 2016 19:24
@ecc1 there are a couple of people in the slack channel working on the Omnipod, if you have any experience, they might use the help
ah, that is a ways @Spazholio thanks anyway
jodeemartin
@jodeemartin
Jun 16 2016 19:34
Thanks for all of the suggestions on how to source a medtronic pump. If I am able to get one, do I need to buy all of the medtronic specific insets/cartridges etc. from medtronic?
Dana Lewis
@danamlewis
Jun 16 2016 19:35
No you can use a 3rd party distributor for sites and reservoirs
David Cintron
@loudestnoise
Jun 16 2016 19:35
No, you can buy them from a lot of places actually. You will need a Rx for the infusion sets/reservoirs
Dana Lewis
@danamlewis
Jun 16 2016 19:35
Most people find that easier
David Cintron
@loudestnoise
Jun 16 2016 19:35
I got mine from ADWdiabetes.com
jodeemartin
@jodeemartin
Jun 16 2016 19:37
ok thank you. David, does ADW require a prescription to buy the supplies as well?
David Cintron
@loudestnoise
Jun 16 2016 19:39
Yes, They called/faxed my Dr. to get the prescription. Luckily I told my Dr. I was going to experiment with a DIY AP. He kind of raised his eyebrow and said, “Ok, I’ll approve prescriptions for that, just don’t kill yourself"
Paul Martin
@Spazholio
Jun 16 2016 19:39
Oh, I like your doctor. My VA doc wouldn't even prescribe a CGM.
Had to go over her head (and 4 hours out of my way) to get it taken care of.
David Cintron
@loudestnoise
Jun 16 2016 19:40
Eventually if I can convince my wife that I’m not going back to OmniPod and get my insurance to pay for the MedT supplies.
or if anyone knows a podder (as Insulet calls them now) that wants pods in exchange for MedT infusion/reservoirs I’m all about some barter
Paul Martin
@Spazholio
Jun 16 2016 19:42
@shgrady Check your messages when you get a moment?
Brandon Faloona
@bfaloona
Jun 16 2016 19:42
So, I keep struggling with openaps.ini formatting while trying to set up my first implementation. Should I continue to debug the errors (currently AttributeError), or should I start from scratch?
If from scratch, should I use openaps commands, or try the oref0 template commands?
Paul Martin
@Spazholio
Jun 16 2016 19:43
@bfaloona Depends on the error. Are you editing the openaps.ini file directly? Or using the commands to create what you need in there?
Brandon Faloona
@bfaloona
Jun 16 2016 19:43
Editing directly (for better or worse)
Paul Martin
@Spazholio
Jun 16 2016 19:44
Well, it's not generally advised sometimes, but I'm guilty of it too. =) What command are you running, and what error are you seeing?
Brandon Faloona
@bfaloona
Jun 16 2016 19:45
First attempt used commands, and then direct editing. Second attempt started with bwest example repo and then direct editing.
openaps use pump -h currently fails with AttributeError
looks like a device is missing a fields entry
Paul Martin
@Spazholio
Jun 16 2016 19:46
And have you already added the pump device?
Brandon Faloona
@bfaloona
Jun 16 2016 19:46
yes
Paul Martin
@Spazholio
Jun 16 2016 19:46
What does the [device "pump"] section look like in your openaps.ini file?
Brandon Faloona
@bfaloona
Jun 16 2016 19:47
[device "pump"]
vendor = openaps.vendors.medtronic
extra = pump.ini
pump.ini exists and it includes [device "pump"] along with the serial number
Paul Martin
@Spazholio
Jun 16 2016 19:51
I don't know why the -h flag would throw errors. It's just giving you help info.
openaps use pump read_clock <-- does that give you the same errors?
Brandon Faloona
@bfaloona
Jun 16 2016 19:54
yes, same error.
Paul Martin
@Spazholio
Jun 16 2016 19:57
Paste the exact error you're getting?
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Jun 16 2016 19:59
@jodeemartin I just bought an MM722 on MedWow for 499. I contacted 6 ppl on the site and they all had them available. Prices are negotiable. I also found resivoires that are Lure compatible no presecription needed for resivoires (so they work with most other infustion sets like Animas) http://expressdiabetic.com/index.php/medtronic-minimed-paradigm-reservoir.html
Brandon Faloona
@bfaloona
Jun 16 2016 20:04
@Spazholio Here's my env, openaps.ini and the error: https://gist.github.com/bfaloona/79e56e532c122bf62d0df4dea044f576
Sarah Hodson Grady
@shgrady
Jun 16 2016 20:04
@jlucasvt geeze, wonder what I was doing wrong on medwow?
Paul Martin
@Spazholio
Jun 16 2016 20:05
@bfaloona Might not want to post your API_SECRET. =)
jodeemartin
@jodeemartin
Jun 16 2016 20:06
Thank you so much Jeremy Lucas @jlucasvt. That is so helpful. Great about the compatible lure inset as well. does your MedWow seller have any more? If not, I will go back on and contact some of the ones that were selling for $1000 and see if that is negotiable.
Brandon Faloona
@bfaloona
Jun 16 2016 20:06
Yes. I'll be changing that now. :)
Paul Martin
@Spazholio
Jun 16 2016 20:08
I have no idea why that error's happening, but I also don't use the Carelink stick. Maybe @bewest or @scottleibrand might have some idea?
Scott Leibrand
@scottleibrand
Jun 16 2016 20:09
if you get an error on openaps use pump -h I would remove the device, delete any residual config files, and re-add it
Brandon Faloona
@bfaloona
Jun 16 2016 20:15
Thanks @scottleibrand and @Spazholio ! Given that I'm just starting, do you suggest building up from scratch, using templates/examples, or fixing the errors i'm facing one at a time.
The big picture makes sense to me, but I'm pretty lost with respect to the dependencies and which to add first.
I was pulling cgm data from nightscout (curl) and talking to the pump yesterday, but everytime I start to add additional functionality (reports, etc) I seem to corrupt things.
Scott Leibrand
@scottleibrand
Jun 16 2016 20:21
I would try to use the templates if you can. if you want to follow through http://openaps.readthedocs.io/en/wip-understand-before-doing/ and then provide feedback on openaps/docs#134 that would also be helpful
Brandon Faloona
@bfaloona
Jun 16 2016 20:22
@scottleibrand Will do. Thanks.
Didie
@elodaille01_twitter
Jun 16 2016 20:23
hello
in nightscout setup
Where should i add "openaps" on the site Heroku ?
In config vars ?
Didie
@elodaille01_twitter
Jun 16 2016 20:30
quelqu'un peut m'aider ?
someone can help me ?
Scott Leibrand
@scottleibrand
Jun 16 2016 20:31
it should be in the same place as all the other ENABLE variables
I don't use Heroku myself, but I believe that part is documented somewhere in the Nightscout setup docs
cpressnall
@cpressnall
Jun 16 2016 20:32
Hello, all. Anyone know why the COB from OpenAPS would be significantly higher than the actual COB (including what Nightscout shows in treatments? We've been seeing that happen with our AMA version but not the older one.
Didie
@elodaille01_twitter
Jun 16 2016 20:32
ok
thank you
Scott Leibrand
@scottleibrand
Jun 16 2016 20:33
@cpressnall depends what exactly you're seeing
does it start out matching the carbs you entered and then decay more slowly?
cpressnall
@cpressnall
Jun 16 2016 20:33
@scottleibrand It starts out not matching
Scott Leibrand
@scottleibrand
Jun 16 2016 20:33
does it start out at 2x the entered carbs?
cpressnall
@cpressnall
Jun 16 2016 20:33
I'm not sure exactly, but I'd say at least that
Scott Leibrand
@scottleibrand
Jun 16 2016 20:34
there have been some issues with duplicate carb entries for various reasons
@jasoncalabrese had an issue with canceled bolus wizards being included in the carb calculation
cpressnall
@cpressnall
Jun 16 2016 20:34
even if we don't see that when looking at the treatments report?
Scott Leibrand
@scottleibrand
Jun 16 2016 20:34
openaps and the NS treatments are using totally different parsing code
another issue is what @sulkaharo just fixed in openaps/oref0#133
which addresses the problem of carb entries being counted twice, once from pumphistory and again if you download them from NS into carbhistory
cpressnall
@cpressnall
Jun 16 2016 20:35
Ah, that may be it - we have had two PI's going in the house
oh, got it
we can check on that
Scott Leibrand
@scottleibrand
Jun 16 2016 20:36
try checking out @sulkaharo's branch and see if that fixes your issue, and then comment on that PR
we're just waiting on someone else to test it before merging it into AMA
cpressnall
@cpressnall
Jun 16 2016 20:37
I'll pass that along to Matt - thanks! Also, does the carb absorption rate from the NS profile have any impact?
@scottleibrand Matt says he'll test that branch this weekend
Didie
@elodaille01_twitter
Jun 16 2016 20:44
I add "openaps" in config var but i don't see openaps on nightscout website ??
Scott Leibrand
@scottleibrand
Jun 16 2016 20:45
@cpressnall no, we don't use the manually-set carb absorption rate in AMA
@elodaille01_twitter are you uploading status information to nightscout from openaps
cpressnall
@cpressnall
Jun 16 2016 20:46
great, many thanks @scottleibrand
Didie
@elodaille01_twitter
Jun 16 2016 20:46
did it
David Cintron
@loudestnoise
Jun 16 2016 20:48
@elodaille01_twitter Also you need to check the box to enable its visibility in Nightscout in Settings
Didie
@elodaille01_twitter
Jun 16 2016 20:49
Exacky, i do not have the box openaps
Jarred Yaw
@jyaw
Jun 16 2016 20:50
@sulkaharo @scottleibrand I'll checkout Sulka's branch tonight. The dupe's are throwing my dosing off still since I haven't swapped to using an empty carbhistory.json yet.
Didie
@elodaille01_twitter
Jun 16 2016 20:51
In Nightscout in settings
Scott Leibrand
@scottleibrand
Jun 16 2016 20:52
did you restart / redeploy after adding the config variable?
Didie
@elodaille01_twitter
Jun 16 2016 20:53
I try it
did it
but i do not have the box openaps
Sarah Hodson Grady
@shgrady
Jun 16 2016 20:59
@elodaille01_twitter can you post a screenshot of the config variable as you have it entered?
Scott Leibrand
@scottleibrand
Jun 16 2016 21:02
@jyaw thx. please comment on the PR once you've tested it.
Didie
@elodaille01_twitter
Jun 16 2016 21:05
blob
Lynne Butts
@flutelynne_twitter
Jun 16 2016 21:05
@PazolesBrooke_twitter I use urchin, too (have fun designing the wf!...so many options); I keep my wf set at one that pulls from Share, just in case the openaps rig has lost connection. At least I can feel the vibrations of where my BGs are at the moment.
Didie
@elodaille01_twitter
Jun 16 2016 21:06
I followed the instructions adjustments Nightscout
blob
@shgrady
Sulka Haro
@sulkaharo
Jun 16 2016 21:11
@jyaw yay thanks, tell me if you hit any issues
Toby Canning
@TC2013
Jun 16 2016 21:14
This message was deleted
David Cintron
@loudestnoise
Jun 16 2016 21:15
@elodaille01_twitter ok, so you actually need just one row on the left that says enable and the on the right side your values
enable in the left box and things like opeanps pump careportal on the right side
Didie
@elodaille01_twitter
Jun 16 2016 21:22
blob
like that
But i do not have the box openaps too
David Cintron
@loudestnoise
Jun 16 2016 21:34
@elodaille01_twitter I tried to make you an example using your image. Take a look -
enable.jpg
so it’s just one single line for enable and on the right is all your “plugins"
Ben West
@bewest
Jun 16 2016 21:36
fwiw, I usually leave all the collection stuff out
Didie
@elodaille01_twitter
Jun 16 2016 21:36
Ok thank you
it works
thank you so much
David Cintron
@loudestnoise
Jun 16 2016 21:45
:clap:
Didie
@elodaille01_twitter
Jun 16 2016 22:13
In "Environment Variables for OpenAPS Access to Nightscout"
I did this in nano profiles "NIGHTSCOUT_HOST=https://<your Nightscout address>; export NIGHTSCOUT_HOST
API_SECRET=<your hashed password>; export API_SECRET"
But what's with "Now run source /etc/profile to enact the changes we’ve just made without restart the machine" ?
eszcloud
@eszcloud
Jun 16 2016 23:10
My G5 just arrived. I'd like to switch to that from G4 (without share). At the moment, I'm happy having it attached via cable to the rig. Are there any/what are the compatibility issues for pulling data directly from the G5 receiver?
Scott Leibrand
@scottleibrand
Jun 16 2016 23:13
there is a --G5 flag or similar you'll need to add
Chris Oattes
@cjo20
Jun 16 2016 23:13
Some people earlier were talking about powering an edison through the J2 connection (battery), but I'm seeing reports that the edison can't power USB devices when in host mode; doesn't that mean the C1111 wouldn't work if it was plugged in to the USB port
Scott Leibrand
@scottleibrand
Jun 16 2016 23:14
if you want to use the cc1111 via OTG, you'll need a sparkfun breakout board
Chris Oattes
@cjo20
Jun 16 2016 23:14
why the sparkfun one?
Scott Leibrand
@scottleibrand
Jun 16 2016 23:15
the Intel board can't power USB OTG off lipo voltages
Chris Oattes
@cjo20
Jun 16 2016 23:15
but it would be possible using something like the ada 5v booster?
Scott Leibrand
@scottleibrand
Jun 16 2016 23:15
I'm not sure
Jason Calabrese
@jasoncalabrese
Jun 16 2016 23:15
With the Intel board you need to wire the TI stick to the Edison, if you want to plug it in you need to use the sparkfun board
I'm too slow
Chris Oattes
@cjo20
Jun 16 2016 23:16
ah, no, because that requires 7-15v
Scott Leibrand
@scottleibrand
Jun 16 2016 23:16
might ask about the 5v booster in mmeowlink channel
Chris Oattes
@cjo20
Jun 16 2016 23:16
the edison requires 7-15v through the header it makes available, so a 5v booster won't do it
Matt Walker
@walker0
Jun 16 2016 23:16
you will need 7v if you want to use the other header, It will work but it will use significantly more battery
eszcloud
@eszcloud
Jun 16 2016 23:17
Thanks @scottleibrand
Do you know where I can find where that flag needs to go? -h doesn't say anything
Scott Leibrand
@scottleibrand
Jun 16 2016 23:52
openaps/docs#56
if http://openaps.readthedocs.io/en/wip-understand-before-doing/ works well for you, we could use feedback on openaps/docs#134
Paul Martin
@Spazholio
Jun 16 2016 23:57
@scottleibrand https://www.facebook.com/groups/dexcomcgm/permalink/1051982018211149/?comment_id=1052105538198797&notif_t=group_comment_reply&notif_id=1466111755303549 <— they had a question I didn’t know how to answer about openaps. Figured I’d throw it over to you and/or @danamlewis.
Scott Leibrand
@scottleibrand
Jun 16 2016 23:59
I'm not in that group. can you paste the question here?