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

13th
Jun 2016
GeoffWyche
@GeoffWyche
Jun 13 2016 00:00
sudo apt-get install --reinstall python-gi
oops, nevermind
Paul Martin
@Spazholio
Jun 13 2016 00:01
Well, I downloaded gi. And ran a python pip install or whatever it is.
opkg’s “search” is dismal.
GeoffWyche
@GeoffWyche
Jun 13 2016 00:01
However, we know that python-gi is gobject-introspection
I tried to use opkg for another project and was severly disappointed.
Jason Calabrese
@jasoncalabrese
Jun 13 2016 00:07
looks like there is a way to prevent openxshareble from disconnecting, but not sure how to set it https://github.com/bewest/openxshareble/blob/9023e52b97467cc57ed3bcc77d73f0dfdae060f5/openxshareble/app.py#L54-L56
I've notice that with xdrip the bluetooth icon on the dex never turns off, but from openxshareble it does, I think if we can prevent that it would be much more reliable
maybe I'll just comment that out till I hear of a better way
Garrett Webb
@garetis
Jun 13 2016 00:11
Is anyone here using Medtronic CGM with Android for NS?
Jason Calabrese
@jasoncalabrese
Jun 13 2016 00:14
if you're using the MM cgm, you'll probably want to do the whole thing from openaps
Garrett Webb
@garetis
Jun 13 2016 00:19
As oppose to..? I hadn't heard of NS before I got onto openaps, so I think I am. I'm in the beginning/middle of Phase 2 and have, at this point, skipped setting up NS. But, it seems that I'll need to at some point, so concurrently looking to set it up
Oh, as in not use NS? I wasn't planning on grabbing info from NS, but won't I need it to visualize the data? Or am I going to need to just use the logs to analyze it?
Jason Calabrese
@jasoncalabrese
Jun 13 2016 00:22
You'd upload to NS from your openaps rig
wouldn't need Android
Garrett Webb
@garetis
Jun 13 2016 00:23
Oh, ok. Is that discussed in the documentation? Nightscout.info I don't think has info about uploading data from openaps...
Dana Lewis
@danamlewis
Jun 13 2016 00:33
Nah it's what we've got in the openAPS docs
Garrett Webb
@garetis
Jun 13 2016 00:34
Alright. I'll have a look through again knowing that the rig is going to be uploading, and perhaps it will make more sense. If not, I'll ask again.
Jason Calabrese
@jasoncalabrese
Jun 13 2016 00:44
I commented out the disconnect line, and added a print where it was and have seen it once, hoping that helps
I created a new repo with some of the scripts I'm using to try getting the timing better, if it works out, maybe they should go into oref0
Garrett Webb
@garetis
Jun 13 2016 01:53
if I run openaps use pump read_settings and get an error, is it because I'm using a 712 and haven't built the standalone basal json file? This is the response I'm getting:
pi@raspberrypi:~/openaps1 $ openaps use pump read_settings
Traceback (most recent call last):
  File "/usr/local/bin/openaps-use", line 4, in <module>
    __import__('pkg_resources').run_script('openaps==0.1.5', 'openaps-use')
  File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 719, in run_script
  File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 1504, in run_script
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-use", line 63,                                                                                        in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/__init__.py", line 51, in _                                                                                       _call__
    self.run(self.args)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-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.1.5-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.1.5-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.1.5-py2.7.egg/openaps/uses/use.py", line 45, in __cal                                                                                       l__
    output = self.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/vendors/medtronic.py", line 333                                                                                       , in main
    return getattr(self.pump.model, name)(**self.get_params(args))
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-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.29-py2.7.egg/decocare/session.py", line 101, in qu                                                                                       ery
    self.execute(command)
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/session.py", line 98, in exe                                                                                       cute
    return super(type(self), self).execute(command)
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/session.py", line 39, in exe                                                                                       cute
    self.download( )
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/session.py", line 54, in dow                                                                                       nload
    self.command.respond(data)
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/commands.py", line 61, in re                                                                                       spond
    self.getData( )
  File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/commands.py", line 1268, in                                                                                        getData
    audio_bolus_enable = data[2] == 1
IndexError: bytearray index out of range
Paul Martin
@Spazholio
Jun 13 2016 01:54
Have you run mmtune prior to running openaps use pump read_settings? I get that error sometimes when comms with the pump are just flaky. mmtune helps out with that.
Garrett Webb
@garetis
Jun 13 2016 01:55
I feel like I've seen mmtune, but not sure what it is. Could you clarify? Or throw me a link?
But, no, haven't run mmtune
Paul Martin
@Spazholio
Jun 13 2016 01:59
Do you have mmeowlink installed? What hardware do you have?
Garrett Webb
@garetis
Jun 13 2016 02:00
carelink
I can run openaps use pump model with no issues
Paul Martin
@Spazholio
Jun 13 2016 02:00
What happens when you run openaps use pump mmtune?
Oh wait - I can’t recall if you can use mmeowlink with the Carelink stick. Maybe someone else can weigh in on that before I can Google the answer. =)
Garrett Webb
@garetis
Jun 13 2016 02:02
pi@raspberrypi:~/openaps1 $ openaps use pump mmtune
usage: openaps-use pump [-h] USAGE ...
openaps-use pump: error: argument USAGE: invalid choice: 'mmtune' (choose from 'Session', 'bolus', 'config', 'filter_glucose_date', 'filter_isig_date', 'iter_glucose', 'iter_glucose_hours', 'iter_pump', 'iter_pump_hours', 'model', 'mytest', 'press_keys', 'read_basal_profile_A', 'read_basal_profile_B', 'read_basal_profile_std', 'read_battery_status', 'read_bg_targets', 'read_carb_ratios', 'read_clock', 'read_current_glucose_pages', 'read_current_history_pages', 'read_glucose_data', 'read_history_data', 'read_insulin_sensitivies', 'read_insulin_sensitivities', 'read_selected_basal_profile', 'read_settings', 'read_status', 'read_temp_basal', 'reservoir', 'resume_pump', 'scan', 'set_clock', 'set_temp_basal', 'settings', 'status', 'suspend_pump', 'test_oref0_compat_menu')
Paul Martin
@Spazholio
Jun 13 2016 02:03
Yeah, I don’t think you can use that with the Carelink stick. Do you get the same result every single time you run openaps use pump read_settings? Has it ever run properly?
Garrett Webb
@garetis
Jun 13 2016 02:03
No, I'm in the beginning/middle of Phase 2
When I was building all the reports and aliases, I was getting errors, so started doing them individually, and that was what I was getting
Paul Martin
@Spazholio
Jun 13 2016 02:04
How far away is the stick? You want it to be fairly close, and the bottom of the stick (without the word “Carelink”) should be facing your pump, IIRC.
Jarred Yaw
@jyaw
Jun 13 2016 02:05
I've just realized that my setup actually takes carbs in from nightscout and the pump and when fed into oref0-meal duplicate entries are all used in totaling up carbs... is there some tool built in somewhere to ensure that duplicates are ignored in oref0-meal. That way I can enter carbs in nightscout and not necessarily have to enter in my pump?
Garrett Webb
@garetis
Jun 13 2016 02:05
They're right next to each other. As mentioned, I can run openaps use pump model without any issues.
Paul Martin
@Spazholio
Jun 13 2016 02:06
@garetis You may have hit the limit of my knowledge when it comes to the Carelink stick. Sorry about that. =/
@jyaw So you’re saying that some sort of de-duping tool would benefit you?
Garrett Webb
@garetis
Jun 13 2016 02:07
I think it might have to do with an issue of using a 712 and having to manually enter a basal profile, but was seeing if that was causing this particular issue
Paul Martin
@Spazholio
Jun 13 2016 02:09
@garetis I seem to recall hearing something about that as well, but I don’t have a 712, so unfortunately, I’m just not sure.
Jarred Yaw
@jyaw
Jun 13 2016 02:09
I suppose so... unless there's some oref0-meal option I don't know about that would do this already. The way its setup you can feed 2 lists of carbs that could potentially have duplicate entries. Unless you're only supposed to use one path to enter carbs (if so, I've been approaching it the wrong way)
Garrett Webb
@garetis
Jun 13 2016 02:10
Ok, thanks.
Paul Martin
@Spazholio
Jun 13 2016 02:10
There are some examples of the files you need to create.
@jyaw Due to an issue I’ve been running into, I’ve been seriously considering trying my hand at creating a JSON de-duping tool that works within the OpenAPS framework.
This just gives me a little more incentive. =)
Lynne Butts
@flutelynne_twitter
Jun 13 2016 02:13
A couple of questions: My OpenAPS is on an 8G sd card. I bought a 16G, and have a 32G coming, along with another pi@. Should I try and copy the original sd card myself? Or have someone do it for me? I don't want to lose what I have going. I have a Mac and a Win7 notebook.
Also, if out of town on a gig, and my battery is almost out, how can I safely turn off the pi without corrupting the card? Should I just leave the rig home?
@garetis Did you add your Carelink as a device using $ openaps device add pump medtronic <serialnumber> ?
Garrett Webb
@garetis
Jun 13 2016 02:17
Yes @flutelynne_twitter
Lynne Butts
@flutelynne_twitter
Jun 13 2016 02:18
ok
Garrett Webb
@garetis
Jun 13 2016 02:18
I think it might be this basal json file issue. Since I have to do it eventually, I'm going to do it now, and go from there
Dana Lewis
@danamlewis
Jun 13 2016 02:23
@jasoncalabrese and NY area folks - my trip this week to NYC was cancelled so won't be organizing a Wednesday night meetup like I had suggested
Scott Leibrand
@scottleibrand
Jun 13 2016 02:23
@jyaw right now the only method I know about for selecting between pumphistory and carbhistory for pulling in carbs is to run it one way, see if there are any carbs in the meal.json output, and then run it the other way if not. a proper deduping tool like @Spazholio is talking about would be way better
Paul Martin
@Spazholio
Jun 13 2016 02:24
Now that I’ve got you here, @scottleibrand - someone asked me an interesting question the other day. Did anyone ever try using a DB for some of the values we collect? Nothing heavy - something like SQLite?
Scott Leibrand
@scottleibrand
Jun 13 2016 02:24
I think a few people have talked about it, but dunno if anyone ever tried it
that's one of the two hard problems in CS though
(cache invalidation)
(the others being "naming things" and "off-by-one errors") ;-)
Paul Martin
@Spazholio
Jun 13 2016 02:26
Just wondering if it was too intesive for realistic use. For example, I’m having some issues with dupes. A friend suggested storing the values in a DB, and making that a unique field - BAM! No more dupes. From a design standpoint, he’s right. But I wasn’t sure if it had been tried and discarded as an idea.
GeoffWyche
@GeoffWyche
Jun 13 2016 02:32
Jarred Yaw
@jyaw
Jun 13 2016 02:34
Ill revert to the 'touch carbhistory. json' method for my ns carbs alias and in the mean time I'll look into a little de-dupe script.
Thanks @scottleibrand
GeoffWyche
@GeoffWyche
Jun 13 2016 02:36
Although, parsing HTML with regex is up there too :)
Paul Martin
@Spazholio
Jun 13 2016 02:38
Ugh.
"Unless you have discipline and put very strict conditions on what you're doing, matching HTML with regular expressions rapidly devolves into madness, just how Cthulhu likes it."
Jason Calabrese
@jasoncalabrese
Jun 13 2016 02:39
@flutelynne_twitter not sure if you got an answer, you can and should copy your current SD card, you can make 2 copies, I like running with a copy after so I know for sure that it worked
there was a link in the docs before, I have a link for mac, but not sure what you have
Lynne Butts
@flutelynne_twitter
Jun 13 2016 02:40
I have a mac, and saw your link, but got a little scared of messing up. I also have a Win7 Lenovo notebook.
GeoffWyche
@GeoffWyche
Jun 13 2016 02:41
@Spazholio A client paid me $100 for a six-line linux script to parse some html. The one line of regex was what was worth $100.
Lynne Butts
@flutelynne_twitter
Jun 13 2016 02:41
@jasoncalabrese That's the one I saw you have posted when I searched gitter. A bit intimidating since i never did this before.
Jason Calabrese
@jasoncalabrese
Jun 13 2016 02:42
it looks harder than it is
Paul Martin
@Spazholio
Jun 13 2016 02:42
@GeoffWyche I have a one-line parsing script in production. It has 7 commented lines above it, 6 of those are old ways I tried that kinda sorta worked, but didn’t really, and 1 line that says, “Paul - yes you - do not touch this. It is stupidly fragile and you barely got it working last time."
There’s a reason that last line is in there. I do not learn lessons easily.
Jason Calabrese
@jasoncalabrese
Jun 13 2016 02:43
you can test it out with a new sd card, just to learn the process
GeoffWyche
@GeoffWyche
Jun 13 2016 02:43
That's an awesome comment :laughing:
Lynne Butts
@flutelynne_twitter
Jun 13 2016 02:43
I'll look at it again. Thanks.
Garrett Webb
@garetis
Jun 13 2016 02:56
Ok, if I'm going to use a 712, is this list (https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-0/hardware.md#medtronic-insulin-pump) of static json files exhaustive? The Read Settings, BG Targets, and Basal Profile files? I'm not sure what to name them precisely, and where to put them in the directory.
Paul Martin
@Spazholio
Jun 13 2016 02:57
Here’s mine:
Read Settings: settings/settings.json
BG Targets: settings/bg_targets.json
Basal Profile: settings/basal_profile.json
Garrett Webb
@garetis
Jun 13 2016 02:59
Perfect, thanks Paul
Paul Martin
@Spazholio
Jun 13 2016 03:00
No problem. Just be on the lookout for those filenames when continuing in setting up your loop so you don’t get tripped up. =)
kstdennis
@kstdennis
Jun 13 2016 03:01
Does anyone know if setting the date in ubuntu lives someplace in the docs? I'm going to push a pr and wanted to double check that it's not a dup.
err region
Garrett Webb
@garetis
Jun 13 2016 03:03
@Spazholio Will do. Definitely the settings/settings.json is familiar. In my pump I keep my BG Target at 100/100 all the time. I know the docs recommend higher when starting out. What would be suggested, and ultimately once everything is running, would 100/100 be a bad idea?
kstdennis
@kstdennis
Jun 13 2016 03:03
setting the region.
Paul Martin
@Spazholio
Jun 13 2016 03:04
@garetis I can’t say what would be right or correct, but 100/100 is what I set MINE to. I’m sorta insane about my control (anything over 100 makes me take notice), so…take that for what it’s worth.
Garrett Webb
@garetis
Jun 13 2016 03:05
Fair enough. Thank you.
Paul Martin
@Spazholio
Jun 13 2016 03:06
That being said, I’ve been noticing that around 3am and 6am, I was having lows, so I’ve set my limits a bit higher for that time period. It’s worked very well for me.
Dana Lewis
@danamlewis
Jun 13 2016 03:12
@garetis definitely set targets higher than you'd manually correct to when you first start looping. After you see how it works, you can lower them bit by bit and see if you want them the same as manual targets (some ppl do some don't)
Garrett Webb
@garetis
Jun 13 2016 03:16
Thanks, Dana. As long as it's pretty easy to go in a modify these files myself (which I'm sure it will be after I get the hang of all this), that's the approach I was planning to take. It's just good to know that they way it is structured now without looping is still encouraged once the system is stable
Dana Lewis
@danamlewis
Jun 13 2016 03:22
You don't have to modify files, you'll just change the targets on your pump when you want to change them.
Yup. And feel free to PR if you think that should be made more clear!
Paul Martin
@Spazholio
Jun 13 2016 03:27
Actually, he MIGHT have to change the files, since he has a 712, no?
Garrett Webb
@garetis
Jun 13 2016 03:32
For the Sample BG Target file (https://gist.github.com/amazaheri/033b85760156054dd858), I assume "x" is the iteration, but what is "i", and the "first" at the end?
ddaniels1
@ddaniels1
Jun 13 2016 04:26
@scottleibrand or others, On AMA branch when autosense runs it does so 3 times over 3 different time periods. Takes up 60-90 seconds to run. Is this normal?
6 0 '2016-06-12T20:54:04-07:00'
-+++++-++>>+++++++-++-->>>>>+>>>>>>>>>>>>++++-++-+-++-+++>>>>>>>>>>>>>>>++++>>>++-->>>>>>>>>>>+-+-+-+---++--++++++--++--+-+++++++->>>>>>>>>>>>>>>>++++->>>--+----+-++----+>>>>>>+++-->++---+++++-++++--+-+--++++-----+---++--++---->>!!!!!!!!!!!!!--+---+--++++-++-+>>>>+++++->->>++++-++->>> 38% of non-meal deviations negative (target 45%-50%)
Excess insulin resistance detected: ISF adjusted from 85 to 67
4.549941176470588
2 0 '2016-06-12T19:52:59-07:00'
-+++++-++>>+++++++-++-->>>>>+>>>>>>>>>>>>++++-++-+-++-+++>>>>>>>>>>>>>>>++++>>>++-->>>>>>>>>>>+-+-+-+---++--++++++--++--+-+++++++->>>>>>>>>>>>>>>>++++->>>--+----+-++----+>>>>>>+++-->++---+++++-++++--+-+--++++-----+---++--++---->>!!!!!!!!!!!!!--+---+--++++-++-+>>>>+++++->->>++++-++->>> 38% of non-meal deviations negative (target 45%-50%)
Excess insulin resistance detected: ISF adjusted from 85 to 67
4.549941176470588
5 0 '2016-06-12T17:32:35-07:00'
-+++++-++>>+++++++-++-->>>>>+>>>>>>>>>>>>++++-++-+-++-+++>>>>>>>>>>>>>>>++++>>>++-->>>>>>>>>>>+-+-+-+---++--++++++--++--+-+++++++->>>>>>>>>>>>>>>>++++->>>--+----+-++----+>>>>>>+++-->++---+++++-++++--+-+--++++-----+---++--++---->>!!!!!!!!!!!!!--+---+--++++-++-+>>>>+++++->->>++++-++->>> 38% of non-meal deviations negative (target 45%-50%)
Excess insulin resistance detected: ISF adjusted from 85 to 67
Scott Leibrand
@scottleibrand
Jun 13 2016 04:31
That is the number of meal carb entries it has to check.
To see if they resulted in stacked COB
ddaniels1
@ddaniels1
Jun 13 2016 04:33
Do you suggest actually adjusted changing the ISF?
the algorithm adjusts the basal is that right?
Garrett Webb
@garetis
Jun 13 2016 04:35
Is there a place to go to about setting up NS from scratch? The docs (https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-1/visualization.md#nightscout-setup) seem to only reference updating NS to the dev version, not setting it up... unless I am reading it wrong. I am using Android and am going to only use the rig to update NS.
Bog Dan
@bogdangorescu
Jun 13 2016 08:24
Hi, everyone.
Please excuse my noob question, I'm just starting to setup openAPS...
I followed all the initial steps to "connect" the openAPS with the Nightscout website, but I can't get it to work. It returns lots of "MODULE NOT FOUND" errors...
Sulka Haro
@sulkaharo
Jun 13 2016 09:13
Can you paste a sample stack trace here, so it's easier to see what's missing?
@ddaniels1 60-90 seconds sounds like a long time. what device are you on? On our Edison rig, that takes just a couple seconds to complete
Bog Dan
@bogdangorescu
Jun 13 2016 09:19
$ openaps device show
process://ns-status/ns-status/
timezones://tz
process://ns/nightscout/ns http://glicemii.duckdns.org:10000 439f729b109bbbb016b7bc132620e22d6385cf61
bogdan@raspberrypi:~/vlad $  openaps alias add status-upload '! bash -c "openaps report invoke monitor/upload-status.json && ns-upload $NIGHTSCOUT_HOST $API_SECRET devicestatus.json monitor/upload-status.json"'
added status-upload ! bash -c "openaps report invoke monitor/upload-status.json && ns-upload $NIGHTSCOUT_HOST $API_SECRET devicestatus.json monitor/upload-status.json"

bogdan@raspberrypi:~/vlad $ openaps status-upload
ns-status://JSON/shell/monitor/upload-status.json
Could not require: /home/bogdan/vlad/monitor/iob.json { [Error: Cannot find module '/home/bogdan/vlad/monitor/iob.json'] code: 'MODULE_NOT_FOUND' }
Could not require: /home/bogdan/vlad/enact/suggested.json { [Error: Cannot find module '/home/bogdan/vlad/enact/suggested.json'] code: 'MODULE_NOT_FOUND' }
Could not require: /home/bogdan/vlad/enact/enacted.json { [Error: Cannot find module '/home/bogdan/vlad/enact/enacted.json'] code: 'MODULE_NOT_FOUND' }
Could not require: /home/bogdan/vlad/monitor/clock-zoned.json { [Error: Cannot find module '/home/bogdan/vlad/monitor/clock-zoned.json'] code: 'MODULE_NOT_FOUND' }
Could not require: /home/bogdan/vlad/monitor/battery.json { [Error: Cannot find module '/home/bogdan/vlad/monitor/battery.json'] code: 'MODULE_NOT_FOUND' }
Could not require: /home/bogdan/vlad/monitor/reservoir.json { [Error: Cannot find module '/home/bogdan/vlad/monitor/reservoir.json'] code: 'MODULE_NOT_FOUND' }
Could not require: /home/bogdan/vlad/monitor/status.json { [Error: Cannot find module '/home/bogdan/vlad/monitor/status.json'] code: 'MODULE_NOT_FOUND' }
reporting monitor/upload-status.json
[{"device":"openaps://raspberrypi","pump":{},"openaps":{},"created_at":"2016-06-13T09:21:40.626Z","_id":"575e7b244782a1f767669311"}]
Bog Dan
@bogdangorescu
Jun 13 2016 09:30
I think I get it now...I have to add all the devices and then the errors won't show up, right|?
Sulka Haro
@sulkaharo
Jun 13 2016 11:40
Ah right - the error message is misleading
Bog Dan
@bogdangorescu
Jun 13 2016 11:41
In what way?
Sulka Haro
@sulkaharo
Jun 13 2016 11:41
What's happening is, status-upload creates a new json by compiling a bunch of other json files together before the upload, and those other report files are missing.
"module" == "file"
Bog Dan
@bogdangorescu
Jun 13 2016 11:41
Right...
Sulka Haro
@sulkaharo
Jun 13 2016 11:41
It's trying to read in monitor/iob.json + the other files that are listed
Bog Dan
@bogdangorescu
Jun 13 2016 11:42
I thought I can link just one "device" for the moment, that being the "Nightscout" device
Sulka Haro
@sulkaharo
Jun 13 2016 11:42
You'll need multiple devices - a bunch of the files listed above are based on data pulled from the pump, which is it's own device
Bog Dan
@bogdangorescu
Jun 13 2016 11:42
Isn't it supposed to extract that info from Nightscout? (IOB, ISF, ... all the things that are recorded in profile)
Aham, I get it: it won't work unless I have the complete setup: pump, nightscout, carelink stick...
Sulka Haro
@sulkaharo
Jun 13 2016 11:43
OpenAPS has it's own IOB algorithm and uses data from the pump. status-upload is for uploading data from OpenAPS into Nightscout
Bog Dan
@bogdangorescu
Jun 13 2016 11:44
Thank you!
Sulka Haro
@sulkaharo
Jun 13 2016 11:44
Yeah you want to have all the listed reports running :)
Bog Dan
@bogdangorescu
Jun 13 2016 11:45
Got it, thanks! :)
Sulka Haro
@sulkaharo
Jun 13 2016 11:45
:)
David Cintron
@loudestnoise
Jun 13 2016 12:18
@bogdangorescu
Be careful as you shared your API secret there
justinr1234
@justinr1234
Jun 13 2016 13:04
Anyone know a good price to pay for a minimed 712?
Jason Wittmer
@jbwittmer
Jun 13 2016 13:08
So I think I've reached the point where I'm ready to start running open loop trials. I've got everything working up through the end of phase 2 of the docs. I'm able to trigger my loop manually and enact the suggestions on the pump. The recommendations make sense to me thus far, although to this point I've been running the 722 with saline (not hooked to my son) and entering them manually on his 523. I think I'm ready to switch him over to the 722 and start open loop testing. How have others worked through this phase? Stay up all night and trigger every 5 minutes manually? I'm really not interested in deploying other than for overnight looping at this point. Also, can others suggest resources for how to work with the cron? I understand why the directions are intentionally sparse on this subject, but I don't have technical background and would appreciate the help. I'm a critical care physician so I absolutely understand what I'm doing with the insulin dosing and all the ways this can go wrong.
Oh, and I got the nightscout integration working also and worked through my timezone issues, so the data display works too
Dana Lewis
@danamlewis
Jun 13 2016 13:42
@jbwittmer congrats on the progress. You might want to search back through the channel on cron; there's been several good help sessions where people work through build theirs
Jason Wittmer
@jbwittmer
Jun 13 2016 13:45
@danamlewis Thanks, I'll do that. I think I understand how cron works. Trying to think of what elements need to be in it other than triggering my complete loop periodically and apparently a reset-git as well
Dana Lewis
@danamlewis
Jun 13 2016 13:47
:+1:
Sarah Hodson Grady
@shgrady
Jun 13 2016 13:55
Thanks @logichammer, attempting contact.
@jbwittmer good luck, I am going to test on weekends, fasting all day, I fast a lot during the day because of Celiac, but you are right, it looks like several up all nights for you with a kid.
Lynne Butts
@flutelynne_twitter
Jun 13 2016 14:33
Noob question: If copying my sd card, do I put raspbian jessie on it first? Is it safe to do it on a Win7 notebook? Thanks.
David Cintron
@loudestnoise
Jun 13 2016 14:40
@flutelynne_twitter No, when you’re copying the card, you’re making a literal copy of it, so you don’t need to do anything with the one you’re copying to first
Here’s a guide on how to make copies on either Windows, Mac or Linux - https://thepihut.com/blogs/raspberry-pi-tutorials/17789160-backing-up-and-restoring-your-raspberry-pis-sd-card
Lynne Butts
@flutelynne_twitter
Jun 13 2016 14:44
@loudestnoise thanks really nervous about doing it.
David Cintron
@loudestnoise
Jun 13 2016 14:46
I understand, but it’s pretty safe. Just make the backup using the guide. Take that card out, and then use the guide to copy the image to the new blank card
Lynne Butts
@flutelynne_twitter
Jun 13 2016 14:46
I formatted a 16G the other day, and installed raspbian on it. Would I just format it again and just do the copy? Just want to verify
Great. I'll have my 17 yr old grandson supervise.
David Cintron
@loudestnoise
Jun 13 2016 14:47
I think the fact that you’re copying the backup image to the new card it will erase all contents of whatever you put on that 16GB card, so nothing to worry about formatting
val-albany
@val-albany
Jun 13 2016 14:51
@danamlewis no worries on the meetup, maybe next time. (or come to albany, NYC is 2.5 hours away :smile: )
Lynne Butts
@flutelynne_twitter
Jun 13 2016 14:52
@loudestnoise Thank for helping!
David Cintron
@loudestnoise
Jun 13 2016 14:52
:clap:
Jason Calabrese
@jasoncalabrese
Jun 13 2016 14:56
@flutelynne_twitter yeah, the copy will be an exact image of your other SD card, it will even need only using 8gb, but after you get it working you can expand the filesystem to use the extra space
Since you have a 16g and 32g card you might want to restore to the 16g first, expand that and the copy that to the 32g
It's also a good idea to carry an extra SD card around so if per I'd pulled and the filesystem gets corrupted you have a backup ready to go
Lynne Butts
@flutelynne_twitter
Jun 13 2016 15:02
@jasoncalabrese Thank you.
Colin Lennon
@colinlennon
Jun 13 2016 15:15
Hi all. Has anyone tried running OpenAPS on Raspian Jessie Lite? Currently working on a Pi zero rig and wondering if that might help to reduce power consumption slightly
Jason Calabrese
@jasoncalabrese
Jun 13 2016 15:24
@flutelynne_twitter not sure if you saw the comment last night, but you can test making a backup with the new cards before touching the in use/working card
That way you can safely learn the process, without the worry of damaging something
Dana Lewis
@danamlewis
Jun 13 2016 15:26
:+1: and carrying spare SD cards with a backup is great for when you're traveling or on the go so you don't have to worry about how your Pi is shut down or if the battery dies
Scott Leibrand
@scottleibrand
Jun 13 2016 15:56
@ddaniels1 if autosens is detecting sensitivity or resistance, it's probably your basals that need adjusting rather than your ISF.
@sulkaharo the autosens in AMA does a lot more and is a lot slower than the one in master/dev.
Jarred Yaw
@jyaw
Jun 13 2016 16:15
@scottleibrand following your openxshareble instructions... does it matter where the bluetooth.conf stuff is added in sequence? Edison still won't pair.
aabramowicz
@aabramowicz
Jun 13 2016 16:17
Will the Bayer Contour Next USB meter work in place of the Carelink USB stick? Medtronic Canada tells me it will. I have one Carelink USB but looking for a backup.
Jarred Yaw
@jyaw
Jun 13 2016 16:18
@scottleibrand getting this error with any openaps share commands...
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
Jarred Yaw
@jyaw
Jun 13 2016 16:30
also... when I run 'hcitool scan' it finds my Roku which is nearby, but when the dexcom's in discoverable mode, it can't find it
Ben West
@bewest
Jun 13 2016 16:32
lescan
scan is for bluetooth
dexcom is not bluetooth
dexcom is bluetooth Low Energy
hence lescan for "low energy scan"
that message means dbus itself is not configured correctly
looks like bluez is not bound to dbus properly
Lynne Butts
@flutelynne_twitter
Jun 13 2016 17:05
@danamlewis So how would I properly change the card (like when in a car-not driving) when I notice the battery is low, but I cannot ssh through my phone? I'm guessing that I could not piggyback another charger to the main charger. I really loved using it on the job yesterday. No glugging carbs on the job because of a low.
Dana Lewis
@danamlewis
Jun 13 2016 17:06
You just pop it out and put the new one in. (I never bother to turn off my Pi properly)
If your main battery has pass through charging (that’s ideal), then yes you can piggyback another charger to your charger
Jarred Yaw
@jyaw
Jun 13 2016 17:13
@bewest doh! Thanks for the lescan tip! Ill test it in a bit
Lynne Butts
@flutelynne_twitter
Jun 13 2016 17:14
@danamlewis Thank you!
Jarred Yaw
@jyaw
Jun 13 2016 17:14
Hmm binding blue to dbus... I'll look into that. That's where my question about the order of policies in the .conf could come in I guess
Chris Oattes
@cjo20
Jun 13 2016 17:31
looking in to buying an edison, am I right in thinking you can attach a LiPo via J2, and then just plug in a 7-15v DC wall-wart overnight to charge the battery?
apabari
@apabari
Jun 13 2016 17:53
@danamlewis @bewest ... I just got my Edison flashed with OpenAPS installed! But running into a snag. Have you seen this before? I get this error everytime I run an openaps command.
edison@EdisonAPS:~/OpenAPS$ openaps use pump model Traceback (most recent call last): File "/usr/local/bin/openaps-use", line 4, in <module> __import__('pkg_resources').run_script('openaps==0.1.5', 'openaps-use') File "build/bdist.linux-i686/egg/pkg_resources/__init__.py", line 719, in run_script File "build/bdist.linux-i686/egg/pkg_resources/__init__.py", line 1504, in run_script File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-use", line 63, in <module> app( ) File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/__init__.py", line 51, in __call__ self.run(self.args) File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-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.1.5-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.1.5-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.1.5-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.1.5-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.1.5-py2.7.egg/openaps/vendors/medtronic.py", line 160, in setup_medtronic self.uart.open( ) File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/stick.py", line 874, in open log.info('%s' % self.product_info( )) File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/stick.py", line 515, in product_info return self.query(ProductInfo) File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/stick.py", line 509, in query return self.process( ) File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/stick.py", line 490, in process raw = self.send_force_read( ) File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/stick.py", line 606, in send_force_read self.link.write(reader.format( )) File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.29-py2.7.egg/decocare/link.py", line 47, in write r = self.serial.write( string ) File "/usr/local/lib/python2.7/dist-packages/pyserial-3.1.1-py2.7.egg/serial/serialposix.py", line 497, in write raise portNotOpenError serial.serialutil.SerialException: Attempting to use a port that is not open
Ben West
@bewest
Jun 13 2016 17:55
ah....
are you using carelink stick or TI cc1111?
the builtin medtronic support is for the carelink stick; I believe it requires at least kernel > 3.18, and looks like the edison ships a lower kernel?
so we've been using edison with the cc1111
apabari
@apabari
Jun 13 2016 17:57
I have the Carelink Stick right now... the T1 cc1111 is still on order. (I paid for expedited shipping last week... and it still hasn't left the warehouse yet :( )
Ahh... so is there a way for me to update the kernel? Or should I just wait for the TI stick?
I flashed the Edison last night, using ubilinux-edison-150309.tar.gz
apabari
@apabari
Jun 13 2016 18:07
openaps device add oref0 process oref0 gives me...
Traceback (most recent call last): File "/usr/local/bin/openaps-device", line 4, in <module> __import__('pkg_resources').run_script('openaps==0.1.5', 'openaps-device') File "build/bdist.linux-i686/egg/pkg_resources/__init__.py", line 719, in run_script File "build/bdist.linux-i686/egg/pkg_resources/__init__.py", line 1504, in run_script File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-device", line 35, in <module> app( ) File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/__init__.py", line 47, in __call__ self.configure_parser(self.parser) File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-device", line 21, in configure_parser self.commands = devices.configure_commands(parser, parent=self) File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/devices/__init__.py", line 36, in configure_commands parent.devices = get_device_map(parent.config) File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/devices/__init__.py", line 21, in get_device_map for device in Device.FromConfig(vendors, conf): File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/devices/device.py", line 79, in FromConfig device.read(config=config) File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/devices/device.py", line 36, in read self.extra.fields.update(dict(extra.items(self.section_name( )))) File "/usr/lib/python2.7/ConfigParser.py", line 642, in items raise NoSectionError(section) ConfigParser.NoSectionError: No section: u'device "oref0"'
Scott Leibrand
@scottleibrand
Jun 13 2016 18:13
@aabramowicz no, the contour next link is different than the carelink. You're better off moving on to a TI stick at some point: it has way better range.
Jarred Yaw
@jyaw
Jun 13 2016 18:27
@bewest thanks again for the tips! I've successfully ran openaps use share iter_glucose 1. If I look at the output (not the report itself, which is great/fine) it appears to not be paired, it goes through my Roku and dexcom and then connects to the dex with the serial number and gets the values. Is this the normal protocol? Dex thinks its paired, but I still get this same output from iter_glucose each time...
@Spazholio openxshareble is working for me on ubilinux given the instructions from scott (with the caveat comment above)
Paul Martin
@Spazholio
Jun 13 2016 18:35
What version of bluez did you use? I’ve followed Scott’s directions to the letter, and no love. Also, are you using Edison with the BO board, or Sparkfun?
Jarred Yaw
@jyaw
Jun 13 2016 18:40
5.37 per the wget... tar.. etc instructions
BO board
the only divergence so far from setup has been in my tinkering before given the instructions link I installed python-dbus... then re-installed once I got to that step in the instructions. I think that wouldn't matter though
Paul Martin
@Spazholio
Jun 13 2016 18:43
Did it matter where in the /etc/dbus-1/system.d/bluetooth.conf file you put the block of text?
And you’re running Jessie, right? You upgraded from Wheezy?
Jarred Yaw
@jyaw
Jun 13 2016 18:43
I don't have that file
Paul Martin
@Spazholio
Jun 13 2016 18:43
...
Ah, so you’re not running systemd.
Jarred Yaw
@jyaw
Jun 13 2016 18:43
I have the system.d directory, but no Bluetooth.conf file
did I miss a step?
Paul Martin
@Spazholio
Jun 13 2016 18:44
Well, if it’s working for you, I’d say ignore it if you did. =)
Did you upgrade the base OS from Wheezy to Jessie?
Jarred Yaw
@jyaw
Jun 13 2016 18:44
wouldn't that have been in the prep Edison instructions?
ah I did do the upgrade section
however, the 'sudo apt-get -y upgrade' command didn't result in those 4 sub-actions https://github.com/oskarpearson/mmeowlink/wiki/Prepare-the-Edison-for-OpenAPS
it did a bunch of stuff and never asked me questions
Paul Martin
@Spazholio
Jun 13 2016 18:49
I think I’m going to try my hand at soldering in a few, but then I’ll give the Edison a re-flash and see what happens. =)
Jarred Yaw
@jyaw
Jun 13 2016 18:50
good luck... last time I soldered was years ago, definitely gonna practice a bit before I touch the Edison/ERF
Garrett Webb
@garetis
Jun 13 2016 18:54
Hey guys, I'm currently in the process of building a Medtronic712/Medtronic CGM/Pi3/carelink rig, but just received the TI stick and very interested in updating to mmeowlink in the future after I get comfortable with this first one. I am currently using medtronic CGM, but am looking at switching to Dexcom. Any thoughts? Any reason I should get the G4 instead of the G5? Also, I am an Android user, and will be using the rig to upload to NS.
Dan Piessens
@dpiessens
Jun 13 2016 19:23
@danamlewis @scottleibrand @bewest @scottleibrand and everyone else who was on panels or spoke for the events over the past few weeks awesome job! So glad the message is getting out to people
Dana Lewis
@danamlewis
Jun 13 2016 19:24
:+1: :)
Thacher
@thacherT1D
Jun 13 2016 19:27
question about adding BG levels from Night Scout -- how do I add the device "curl" with the vendor and args specified? assuming it's openaps device add curl but then what?
David Cintron
@loudestnoise
Jun 13 2016 19:29
@thacherT1D Check out openaps/docs#129
you can pull BGs from Nightscout using the ns device
openaps use ns shell get entries.json 'count=10’
nightscout autoconfigure-device-crud https://my.nightscout.host averylongplainsecret is what you would use to setup the device
Thacher
@thacherT1D
Jun 13 2016 19:35
Thanks! jumping between I had already set that up! trying to conceptualize all this so I can catch that sort of stuff on my own :)
aabramowicz
@aabramowicz
Jun 13 2016 19:41
@scottleibrand ok thanks..I'll learn with the one CareLink USB I have then move on. Just waiting for my Pi to arrive then I'll jump in.
Ben West
@bewest
Jun 13 2016 19:44
some of that has made it into a version of docs still under development
http://openaps.readthedocs.io/en/wip-understand-before-doing/ this version is re-organized a bit and includes material from the issues I've been working on as well
feel free to contribute :-)
currently on flight back home from ADA/D-DATA, which was incredible
Lynne Butts
@flutelynne_twitter
Jun 13 2016 20:15
@bewest Congratulations to all of you on the presentations, etc. ! Have a safe trip. Little things like the battery info on the new docs is great, and I am wondering if a little side note that it is okay or not to change the pump battery while the pump is looping, or if it should be suspended. If one needs to shut off the pi before changing sets/reservoirs, etc. Things that may come up often for those of us who are not tech-minded. Thank you.
Dana Lewis
@danamlewis
Jun 13 2016 20:20
All good stuff, feel free to Pr into docs - might be a good fit for phase 6 Usability page to answer some of these Qs? (You can change pump battery any time regardless of looping. Ditto for normal pump maintenance like site changes and reservoirs etc)
Thacher
@thacherT1D
Jun 13 2016 20:30
Looked over the new docs and #129... when adding the report for the cgm (using values from the cloud) I am getting the following result
pi@raspberrypi:~/my_openaps $ openaps report invoke last_four_cgm_hours.json my_dexcom://JSON/iter_glucose_hours/last_four_cgm_hours.json last_four_cgm_hours.json raised 'NoneType' object has no attribute 'iter_records'
Chris Oattes
@cjo20
Jun 13 2016 20:34
Trying to use the new instructions for getting stuff to nightscout, and I'm getting an error to do with tz: openaps-use: error: argument device: invalid choice: 'tz' (choose from u'calculate-iob', u'determine-basal', u'get-profile', u'glucose', u'ns', u'oref0', u'units', u'veo')
Hristina Dimova
@xpucuto
Jun 13 2016 20:39
@bewest i was following the instructions for pulling data from nightscout and so far i can download the data to monitor/ns-glucose.json . Is it possible to have a setup which can work offline with the dex plugged in and when the dex is not plugged to download data from NS for the loop?
@cjo20 i had a similar problem i had to make an update. Let me look for the link in my notes
Jason Calabrese
@jasoncalabrese
Jun 13 2016 20:40
Openxshareble had stored working, get segfaults
[ 28.202541] wl_bss_connect_done succeeded with 84:10:0d:1f:a5:e5
[ 28.793768] ip (2076) used greatest stack depth: 4924 bytes left
[ 387.763987] openaps-report[3032]: segfault at c ip b7561790 sp b6372a80 error 4 in libc-2.19.so[b74ef000+16e000]
[ 481.708895] openaps-report[3337]: segfault at c ip b75ac790 sp b63bda80 error 4 in libc-2.19.so[b753a000+16e000]
[ 686.567050] openaps-report[3849]: segfault at a0cad80c ip b7577790 sp b6388a80 error 4 in libc-2.19.so[b7505000+16e000]
3000 miles away from home and system is fully down
Hristina Dimova
@xpucuto
Jun 13 2016 20:45
@cjo20 i used this one to make the full list of devices
sudo pip install -U recurrent openaps-contrib
Chris Oattes
@cjo20
Jun 13 2016 20:51
@xpucuto so I guess I needed the timezone device. The command still doesn't work though :/
Hristina Dimova
@xpucuto
Jun 13 2016 20:52
@cjo20 I am sorry i cant help more .
Thacher
@thacherT1D
Jun 13 2016 20:54
from the 129 docs... when I run the upload command I get an error that the file does not exist -- see screen shot -- is that a problem with my nightscout implementation?
Screen Shot 2016-06-13 at 1.53.32 PM.png
David Cintron
@loudestnoise
Jun 13 2016 21:00
@thacherT1D I think that’s because you don’t have the json file it’s looking for. recently/combined-treatments.json doesn’t exist
stephanie chen
@stephaniechen82_twitter
Jun 13 2016 21:00
Do people successfully prebolus with APS? I find that with my 3yo we spike with a meal but do come back into range. Ive tired prebolusing just 10min (with a previous low basal of 0-0.1u/hr) and this caused a crash.
Dana Lewis
@danamlewis
Jun 13 2016 21:01
@stephaniechen82_twitter eating soon mode as a temp target
Thacher
@thacherT1D
Jun 13 2016 21:05
@loudestnoise was it a file I was supposed to specifically create?
stephanie chen
@stephaniechen82_twitter
Jun 13 2016 21:14
@danamlewis are you referring to a meal assist feature?
Garrett Webb
@garetis
Jun 13 2016 21:22
When I try to execute ns-upload $NIGHTSCOUT_HOST $API_SECRET devicestatus.json monitor/upload-status.json, I get that Input file entries.json does not exist.. What, typically, would that mean that I missed?
David Cintron
@loudestnoise
Jun 13 2016 21:23
@thacherT1D No, but I ran into that too. It’s assuming you setup your OpenAPS a particular way.
so ns-upload is part of the instructions on the master version of the docs, but has sort of been depreciated by ns
@garetis You might also check out openaps/docs#129
Personally though, I’m going to be trying to go through the instructions on the WIP version (which I assume stands for Work in Progress)
it’s got some re-organization that @bewest and others have been putting together
Garrett Webb
@garetis
Jun 13 2016 21:31
Hey @loudestnoise . I did, but I wasn't able to digest it too well. Just to clarify, I'm using my rig to upload to NS, so openaps/docs#129 would still apply to what I'm going for?
David Cintron
@loudestnoise
Jun 13 2016 21:38
by rig do you mean your OpenAPS setup?
because you’re using Medtronic CGM, right?
Garrett Webb
@garetis
Jun 13 2016 21:39
Yes -- I am using Medtronic CGM right now, and Android, so I've been advised that having the rig upload the data to NS is the best option
Thacher
@thacherT1D
Jun 13 2016 21:40
@loudestnoise yeah, I've been going back and forth between phase 2/WIP phase 1 and the openaps/docs#129 but still translating between actual show stopping errors and "not working but it's okay" errors
David Cintron
@loudestnoise
Jun 13 2016 21:43
@garetis Gotcha, Yeah I don’t know a ton about how using Medtronic CGM works, other than it’s probably all part of your pump history you’re pulling from the pump. I think you have to “clean it up” to work with what Nightscout is expecting
Ben West
@bewest
Jun 13 2016 21:45
openaps device add tz timezones, maybe preceeded by openaps vendor add openapscontrib.timezones
Paul Martin
@Spazholio
Jun 13 2016 21:47
Anyone know why I would start getting mmeowlink.exceptions.CommsException: Could not get subg_rfspy state or version. Have you got the right port/device and radio_type? all of the sudden out of the blue? Running on my Pi3 with a Slice of Radio. The device appears to exist just fine.
Dana Lewis
@danamlewis
Jun 13 2016 21:49
@stephaniechen82_twitter right now yes for the loop it's a AMA related feature, but you could do it manually (correction bolus down to 80 about an hour before the meal)
Paul Martin
@Spazholio
Jun 13 2016 22:27
We’ve secretly replaced Paul’s regular insulin with super-effective, uber-insulin. Let’s see if he notices!
Ugh. Been riding low ALL day. And part of last night.
Garrett Webb
@garetis
Jun 13 2016 22:28
@loudestnoise Yeah, I went through the instructions and added the "glucose" device, which I believe does reorganize the data, but I still don't understand why I'm getting the Input file entries.json does not exist. message. Is everything I need to resolve this on openaps/docs#129?
Thacher
@thacherT1D
Jun 13 2016 22:38
@loudestnoise still getting this error when I try to invoke the dexcom report -- pi@raspberrypi:~/my_openaps $ openaps report invoke last_four_cgm_hours.json my_dexcom://JSON/iter_glucose_hours/last_four_cgm_hours.json last_four_cgm_hours.json raised 'NoneType' object has no attribute 'iter_records'
Chris Oattes
@cjo20
Jun 13 2016 22:42
I see lots of references to a 'status.json' around, but I can't find anywhere that references how it is generated
Is it read_status from the pump?
Dragan Maksimovic
@dm61
Jun 13 2016 22:46
@thacherT1D have you tried to get glucose data from attached Dexcom device manually, e.g. openaps use my_dexcom iter_glucose 1? (I am assuming your device is named my_dexcom)
Chris Oattes
@cjo20
Jun 13 2016 22:47
and what format does ns-status expect for enacted.json
Garrett Webb
@garetis
Jun 13 2016 22:52
I also get errors when I run openaps use pump read_status... I'm running out for a couple of hours, but will be back and will be trying to hammer this out through the end of the night.
Chris Oattes
@cjo20
Jun 13 2016 23:13
I...I think I've got it working
Chris Oattes
@cjo20
Jun 13 2016 23:29
"temp 1 >~ req 0.98U/hr" means "the current temp basal is close enough, leave it as it is"?
Dana Lewis
@danamlewis
Jun 13 2016 23:31
Or it's close enough to the amount it can execute as a half hour temp
Based on the allowable increments of the pump for infusing
Chris Oattes
@cjo20
Jun 13 2016 23:32
I've not set it up using the pump without "PC connect" yet, so I'm just manually executing openaps every 5 minutes or so, and then doing what it suggests
Dana Lewis
@danamlewis
Jun 13 2016 23:32
:)
You and @PazolesBrooke_twitter and a few of the other people doing open loop testing could probably whip up some tips to Pr into the docs about how you did the open loop testing phase
Chris Oattes
@cjo20
Jun 13 2016 23:34
I think it's just literally going to be "look at nightscout every 5 minutes while I'm awake" :P
Dana Lewis
@danamlewis
Jun 13 2016 23:38
If you don't pr, just know that puts you top of mind for who to tag anytime someone asks about how to do open loop testing ;) ;p
Chris Oattes
@cjo20
Jun 13 2016 23:39
fine by me :)
Dana Lewis
@danamlewis
Jun 13 2016 23:41
:p