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

17th
Jun 2016
eszcloud
@eszcloud
Jun 17 2016 00:09
Thanks! So far so good -- ReadDisplayTime works.
In 2 h warm up period, so will PR docs after confirming that loop runs
Matt Pazoles
@Pazoles
Jun 17 2016 00:15
@cjo20 thanks! We're working with a 522, so I think we're static at 0.05 for the smallest unit. Thanks for the code though!
Chris Oattes
@cjo20
Jun 17 2016 00:44
Pazoles: just saw the docs, looks like it's static at 0.05u/hr across the whole range :(
not sure how to handle that nicely
Chris Oattes
@cjo20
Jun 17 2016 00:51
Only way of doing it properly is to pass the model number through to determine-basal, which I don't think it has at the moment
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Jun 17 2016 00:53
@jodeemartin MedWow is a pretty badly designed site. There were about 24 722's on there last time i checked. I started a list of the URL to the pump listing, and each person's contact info. Then i sent them emails. I got responses within about 2 hours and bought my pump that same day. Most will negotiate.
Paul Martin
@Spazholio
Jun 17 2016 00:55
@bewest Installing openaps on my dev rig (not macbook) by cloning the repo, then running sudo python setup.py develop. This eventually results in this error. Any ideas?
Installed /tmp/easy_install-9JqY1b/mock-2.0.0/pbr-1.10.0-py2.7.egg
Marker evaluation failed, see the following error.  For more information see: http://docs.openstack.org/developer/pbr/compatibility.html#evaluate-marker
ERROR:root:Error parsing
Traceback (most recent call last):
  File "/tmp/easy_install-9JqY1b/mock-2.0.0/pbr-1.10.0-py2.7.egg/pbr/core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "/tmp/easy_install-9JqY1b/mock-2.0.0/pbr-1.10.0-py2.7.egg/pbr/util.py", line 248, in cfg_to_args
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
  File "/tmp/easy_install-9JqY1b/mock-2.0.0/pbr-1.10.0-py2.7.egg/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1271, in evaluate_marker
    return cls.interpret(parser.expr(text).totuple(1)[1])
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1306, in interpret
    return op(nodelist)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1223, in atom
    return cls.interpret(nodelist[2])
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1306, in interpret
    return op(nodelist)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1241, in comparison
    raise SyntaxError(repr(cop)+" operator not allowed in environment markers")
SyntaxError: '<' operator not allowed in environment markers
error: Setup script exited with error in setup command: Error parsing /tmp/easy_install-9JqY1b/mock-2.0.0/setup.cfg: SyntaxError: '<' operator not allowed in environment markers
Paul Martin
@Spazholio
Jun 17 2016 01:06
Eh, nevermind. I just installed setuptools and pbr via pip.
Ben West
@bewest
Jun 17 2016 01:28
nice
Paul Martin
@Spazholio
Jun 17 2016 01:28
Eh. Feels like a bit of a hack, but whatever. Hacks work. =)
Brandon Faloona
@bfaloona
Jun 17 2016 01:41
I'm using these groovy templates (openaps/docs#132) to set up my environment. They expect a 'units' device, but I don't have one. Can someone suggest the correct way to create the units device, or otherwise workaround this? Here's the error, and the report: https://gist.github.com/bfaloona/1762e9a6b96a3d36465b20e12934a3fd
Matt Walker
@walker0
Jun 17 2016 02:01
The openaps normal docs go through setting up the units device and other devices @bfaloona it is somewhere in phase 2
Paul Martin
@Spazholio
Jun 17 2016 02:01
(other than $40)
Ben West
@bewest
Jun 17 2016 02:02
openaps device add units units I think
Matt Walker
@walker0
Jun 17 2016 02:03
@Spazholio does the more expensive one come with the actual edison module maybe?
Paul Martin
@Spazholio
Jun 17 2016 02:04
That’s FAR too obvious.
So…yeah, I think so. Good call, thanks.
Paul Martin
@Spazholio
Jun 17 2016 02:33
@bewest or @scottleibrand: auto-sens uses the calculations done in oref0-meal.js, right? So that’s where I’d want to make sure the data is sorted prior to processing?
Oh wait…I just noticed on my main rig (where I’ve not touched anything) that it seems to be running auto-sense twice. Why would it do that? I mean, I don’t THINK I updated anything, but it’s certainly possible…..
Jason Calabrese
@jasoncalabrese
Jun 17 2016 02:37
the same code is used for meal.json and auto-sens, so the output looks similar
Paul Martin
@Spazholio
Jun 17 2016 02:40
Right, but it looks like it started running twice just a few hours ago. That’s really peculiar. Up until then, my loop has taken 2m, and only had one line of “symbols", but within the last few hours, my loop has started taking 3m and is showing two lines of “symbols”.
I wish I had thrown a date statement in my loop at the beginning so I could see when it’s running. Grr.
HAH! 2016-06-16T23:18:15.000Z. That’s when it started. And I was just about to eat dinner at that time. Odd.
Gera Yeremin
@gera3d
Jun 17 2016 02:55
Hello everyone I am new here. I recently saw a few blog post on this whole closed loop system and I am looking to build something like this for my son.
What this is a good place to ask questions?
would this be a good place to ask questions?
Paul Martin
@Spazholio
Jun 17 2016 02:57
Sure thing. Fire away. I’m somewhat new myself, but I’ll help where I can.
Dana Lewis
@danamlewis
Jun 17 2016 02:57
@gera3d yes this is the place for questions!
Gera Yeremin
@gera3d
Jun 17 2016 03:05
my son has the animas onetouch ping what does the roadmap look like for talking with this hardware?
I saw someone working on it via a github project but that did not seem to link back to openaps.
Paul Martin
@Spazholio
Jun 17 2016 03:15
I don’t know the answer to your question, @gera3d. Sorry about that. Someone else might, though.
Jarred Yaw
@jyaw
Jun 17 2016 03:15
@sulkaharo @scottleibrand fyi. I read over the changes in history.js. Code changes look good, I don't anticipate any problems. I went ahead and fetched openaps/oref0#133 to my local ~/src/oref0. I probably won't observe the fix until breakfast tomorrow though. I'll let yall know.
Jason Calabrese
@jasoncalabrese
Jun 17 2016 03:34
@gera3d there is library to communicate with the Ping, but because it can't set temp basals you need your need to create your own algorithm and setup a really reliable monitoring system, it will be much easier for you to find a compatable pump
Gera Yeremin
@gera3d
Jun 17 2016 03:52
@jasoncalabrese ya thats what it looks like. How do people get supplies for the pump even if they find old one? do they pay out of pocket?
Dana Lewis
@danamlewis
Jun 17 2016 04:04
Some ppl pay out of pocket, others use a third party supplier to get supplies with insurance coverage.
Greg Scull
@komby
Jun 17 2016 04:17
I managed to get a 3rd party to cover supplies with insurance
Jason Calabrese
@jasoncalabrese
Jun 17 2016 04:18
We did too, but it took months
Greg Scull
@komby
Jun 17 2016 04:18
we got the pump from a local friend who had it in a drawer
ryanchen26
@ryanchen26
Jun 17 2016 04:18
@gera3d we were previously animas ping users too. Once we got comfortable with looping we just told our healthcare provider (Kaiser) that we switched pumps. So now we just order medtronic stuff directly from medtronic through kaiser...you just cant get both animas and medtronic stuff. Have to pick one. In our case anyway...instantly.
Greg Scull
@komby
Jun 17 2016 04:20
@jasoncalabrese I was scared by your report initially but we tried edgepark and they processed and had them to us within days. Anthem Blue Cross PPO FWIW I am sure the insurance plays a big part in how hard that they make that for you and I certainly pay for it :)
Jason Calabrese
@jasoncalabrese
Jun 17 2016 04:21
We lost some time trying to get supplies directly from Medtronic
And we have uhc, so it might be worst case
We also got supplies from some local friends, so it wasn't a huge rush
Greg Scull
@komby
Jun 17 2016 04:23
im trying out the raspberry pi camping rig tonight ! I couldnt fit it inside a pelican box so i ended up hot glueing all the parts inside a harbor freight cardboard toolbox
I also checked out a MiFi for verizon from work so i have both ATT and Verizon chances that ill have azure access this weekend !
Gera Yeremin
@gera3d
Jun 17 2016 04:24
Do any of the pumps that work have remote bolas ability like the ping?
Greg Scull
@komby
Jun 17 2016 04:25
just incase ill have this ball of wires in a cardboard box should it work
@gera3d I dont think the medtronic does
Dana Lewis
@danamlewis
Jun 17 2016 04:26
Yes, the Medtronic pumps have a remote that works like the easy bolus button so you can do increment boluses
Greg Scull
@komby
Jun 17 2016 04:27
OOOHH i need one of those
ryanchen26
@ryanchen26
Jun 17 2016 04:27
regarding pi switching between home wifi and and iphone hotspot, does anyone actual configure the pi to switch, or do most just connect their pi to an iphone's hotspot and then just rely on the phone determining whether to connect to 4g or home wifi? Are there negatives to doing it this way?
Jason Calabrese
@jasoncalabrese
Jun 17 2016 04:28
The remote isn't very good, since you have to listen for beeps
Greg Scull
@komby
Jun 17 2016 04:32
@ryanchen26 when mine works it just hops between whatever network it can
changing networks is a pain point for us though. I am totally behind on debugging that. Sometimes our rig can connect but doesnt and I have to reboot the phone and or the pi to get it to jump on
need to make it family proof eventually
Gera Yeremin
@gera3d
Jun 17 2016 04:34
Can someone recommend a good pump for my 5 year old son? giving him a bolus remotely is really key.
Jason Calabrese
@jasoncalabrese
Jun 17 2016 04:34
Lots of trade offs, nothing perfect exists
Greg Scull
@komby
Jun 17 2016 04:35
@gera3d at 8 years old our daughter is trusted to respond to the "please bolus 30 carbs" command
but at 5 I totally understand your concern that is about the time we switched from the ping to the omnipod
Gera Yeremin
@gera3d
Jun 17 2016 04:37
Ya I am sure we can train often the issue is at night though. Like right now all of a sudden my son is at 230 =(. I am watching him and will give him more insulin remotely.
Greg Scull
@komby
Jun 17 2016 04:37
well at night I do ssh into her pancreas and bolus remotely
Gera Yeremin
@gera3d
Jun 17 2016 04:37
ok thats cool
Greg Scull
@komby
Jun 17 2016 04:38
but thats not for most
Gera Yeremin
@gera3d
Jun 17 2016 04:38
I saw a remote watch thing that can also do it in a talk.
not sure if thats on your radar
Greg Scull
@komby
Jun 17 2016 04:40
I saw what i think was @loudnate 's work on the app to bolus from your watch but we are ok for this for now
GeoffWyche
@GeoffWyche
Jun 17 2016 04:41
@komby ssh with what? to what?
Greg Scull
@komby
Jun 17 2016 04:44
@GeoffWyche i use my pc to ssh to her openaps rig and use a carefully crafted 'openaps use' command to issue the bolus command from time to time
normally ill just go roll her over (cause she is always laying right on top of her pump) and use the pump but sometimes she is in bed with her little sister who wakes up and comes in my bed if I go in there and its worth the trip downstairs
ryanchen26
@ryanchen26
Jun 17 2016 04:49
@komby So regarding the home wifi / iPhone hotspot issue....are you saying that you've added the network info for both in your wpa_supplicant.conf and you've had connection issues?
Greg Scull
@komby
Jun 17 2016 04:51
yes. the passwords are correct but sometimes i jump between networks and it works. When my wife takes her and tries it doesnt work. well thats not fair, it doesnt work for me sometimes too but I end up just hard (power) booting the rig and it comes back on the only network available.
ryanchen26
@ryanchen26
Jun 17 2016 04:52
Okay cool, ill tell my wife to try that then if it doesnt connect. Tomorrow is Zoo day.
Greg Scull
@komby
Jun 17 2016 04:53
just noticed this in my logs : Jun 16 21:26:13 openapspi openaps-loop: Could not parse carbratio_data. Feature Meal Assist enabled but cannot find required carb_ratios.
Jun 16 21:28:05 openapspi openaps-loop: [{"msg":"Optional feature Meal Assist enabled, but could not read required meal data.","file":"[]","error":{"errno":34,"code":"ENOENT","path":"[]","syscall":"open"}}]
is that normal if I havent enabled meal assist or a hint that I should???
@ryanchen26 I love openaps and want it to work everywhere but I am still falling short of getting it to work when I am not there ;(
Jason Calabrese
@jasoncalabrese
Jun 17 2016 04:55
Did you recently update? What branch address you running?
*are
Greg Scull
@komby
Jun 17 2016 04:56
I think I am running the "recommended" branch from the wiki : IE not dev cause i was rushing to get this setup for camping
Jason Calabrese
@jasoncalabrese
Jun 17 2016 04:57
I don't think that's master
but i did copy my openaps config from my daytime running rig that is running dev
Jason Calabrese
@jasoncalabrese
Jun 17 2016 04:58
OK, so that's dev
But it might be a newer version of Feb than what you have on the other rig
Typos...
Greg Scull
@komby
Jun 17 2016 04:59
its still uploading and setting Temp basals. Alicia has been asking me to get meal assist and autosensitivity running so maybe that is a hint :)
its definately newer than the dev branch running on my edison rig
Jason Calabrese
@jasoncalabrese
Jun 17 2016 05:00
I think it's just a warning, there was a change in parameter order, but I don't know for sure how much of that was on dev vs ama
If you go into the oref0 directory and run git log you'll see the list commit
If you want you can checkout a commit to make them the same, but if it's working that might not be a good idea
Scott Leibrand
@scottleibrand
Jun 17 2016 05:11
@Spazholio how many carb entries did you do for dinner?
@komby check for remainder = [ ]
in your ini
it shouldn't do that if the feature is not configured, but if you have the [ ] it will pass that as an argument and think it's enabled.
Greg Scull
@komby
Jun 17 2016 05:21
@scottleibrand should I just delete those lines from the conf? or should i just follow through and fully enable it :)
Scott Leibrand
@scottleibrand
Jun 17 2016 05:27
Delete the [ ] part from the end.
You can do that too, but it should be on your schedule, not forced. :-)
Greg Scull
@komby
Jun 17 2016 05:31
so for lines like bg_targets = settings/bg_targets.json
settings = settings/settings.json
basal_profile = settings/basal_profile.json
reporter = text
json_default = True
max_iob = max_iob.json
device = get-profile
remainderl = []
insulin_sensitivities = settings/insulin_sensitivities.json
change those to
remainder =
Scott Leibrand
@scottleibrand
Jun 17 2016 05:33
Ya, just the remainder one.
Greg Scull
@komby
Jun 17 2016 05:33
ok
also i get like 100 of these for each of my openaps outputs on my pi anyone know why? Jun 16 22:34:39 openapspi dhcpcd[403]: wlan0: Router Advertisement from fe80::ee08:6bff:feee:8c9
i tried deleting the remainder lines and am re-running the loop
Greg Scull
@komby
Jun 17 2016 05:39
nope : Traceback (most recent call last):
Jun 16 22:38:59 openapspi openaps-loop: File "/usr/local/bin/openaps-report", line 4, in <module>
Jun 16 22:38:59 openapspi openaps-loop: import('pkg_resources').run_script('openaps==0.1.5', 'openaps-report')
Jun 16 22:38:59 openapspi openaps-loop: File "build/bdist.linux-armv6l/egg/pkgresources/_init.py", line 719, in run_script
Jun 16 22:38:59 openapspi openaps-loop: File "build/bdist.linux-armv6l/egg/pkgresources/_init.py", line 1504, in run_script
Jun 16 22:38:59 openapspi openaps-loop: File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-report", line 82, in <module>
Jun 16 22:38:59 openapspi openaps-loop: app( )
Jun 16 22:38:59 openapspi openaps-loop: File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/init.py", line 51, in call
Jun 16 22:38:59 openapspi openaps-loop: self.run(self.args)
Jun 16 22:38:59 openapspi openaps-loop: File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-report", line 75, in run
Jun 16 22:38:59 openapspi openaps-loop: output = app(args, self)
Jun 16 22:38:59 openapspi openaps-loop: File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/subcommand.py", line 52, in call
Jun 16 22:38:59 openapspi openaps-loop: return self.method.main(args, app)
Jun 16 22:38:59 openapspi openaps-loop: File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/reports/invoke.py", line 24, in main
Jun 16 22:38:59 openapspi openaps-loop: task = app.actions.commands['add'].usages.commands[device.name].method.commands[report.fields['use']]
Jun 16 22:38:59 openapspi openaps-loop: KeyError: 'shell'
Brandon Faloona
@bfaloona
Jun 17 2016 06:00
Thanks for the help with 'units'! Oh my I'm getting close! Now I need to pull cgm data from nightscout, as well as upload pump status there.
Holger Sanft
@holgi13
Jun 17 2016 09:04
@/all - Thanks to all who work here. My current HbA1c is 5.5% (37 mmol/mol) and thus for 21 years with T1 the first time again in the target area. Before OpenAPS change my life, my HbA1c was over many years near 10% (86 mmol/mol). My rig is now a Intel Edison + ERF Modul (european medtronic) + Wixel + Samsung Smarthphone battery in a small 80mm 60mm 20mm case. The battery works fine for 16 hours before charging again. I'm sorry that I just had to post this – but everyone here, is a hero for me.
Hristina Dimova
@xpucuto
Jun 17 2016 09:28
@holgi13 great hba1c !!! I hope to get one as yours soon :) can you show a pic of your rig ? Is the wixel attached to the Edison or It is in a box/battery case?
Holger Sanft
@holgi13
Jun 17 2016 09:35
@xpucuto wixel is attached to edison with level shifter
20160427_153747.jpg
20160427_161337.jpg
Hristina Dimova
@xpucuto
Jun 17 2016 09:38
Do you have detailed instructions ??? I love it
Holger Sanft
@holgi13
Jun 17 2016 09:39
20160518_175017.jpg
@xpucuto not now - this rig is testing now. the next one has clear round windows to see the edison and the charger LED
Milos Kozak
@MilosKozak
Jun 17 2016 09:42
We have a fresh news too. 3 months on openaps hba1c went from 53 to 47 mmol (7.0 to 6.5). Running own implementation of openaps on android phone and DanaR pump. thx to @/all
Matthias
@ceben80
Jun 17 2016 09:51
:+1:
Holger Sanft
@holgi13
Jun 17 2016 09:59
@MilosKozak perfect :+1:
Colin Lennon
@colinlennon
Jun 17 2016 10:04
@holgi13 Congratulations! I'm interested in connecting a Wixel and Edison - are you using @oschumac 's repo - https://github.com/oschumac/python-uart-pi-xbridge ? Does this allow offline looping, or do you still have xDrip upload to NS then have OpenAPS pull from Nightscout?
Holger Sanft
@holgi13
Jun 17 2016 10:06
@colinlennon yes is all oschumac
System work stand alone with out wifi :+1: all data store in Edison and will send to NS if wifi is back
Little problem is visualition to my Smartwatch. I need out of home my Smartphone as Hotspot for Edison, so I need nightwatch App for my Smartwatch
Colin Lennon
@colinlennon
Jun 17 2016 10:26
That sounds perfect, @holgi13 . I wasn't sure if that approach allowed offline looping or not. Thanks!
Holger Sanft
@holgi13
Jun 17 2016 10:31
@colinlennon I think it works perfect, btw - the Dexcom receiver is allways the safety if I fly only Smartphone/Hotspot or wifi ;-)
timomer
@timomer
Jun 17 2016 10:49
Great work @MilosKozak !
Nathan Morse
@morsen
Jun 17 2016 11:08
Hi everyone. I’ve just got an Edison rig working, and it’s talking to the Dexcom receiver via Bluetooth, which breaks our old data path of uploading BG numbers via this path: transmitter -> receiver —(BT)—> iPod —(WiFi)—> Dexcom —> Nightscout. I think I’m probably overlooking some obvious documentation, but could anyone point out info on uploading BG numbers directly from the OpenAPS device to a Nightscout site? I don’t care about the numbers getting to Dexcom right now. THANK YOU!
Colin Lennon
@colinlennon
Jun 17 2016 11:11
Great @holgi13 , thank you for all the info.
Nathan Morse
@morsen
Jun 17 2016 11:14
Yeah, thanks for the info @holgi13, I’ll check it out too.
Hristina Dimova
@xpucuto
Jun 17 2016 12:18
@MilosKozak :clap: well done :)
Paul Martin
@Spazholio
Jun 17 2016 12:20
@scottleibrand Sorry for the delay. I entered 20g carbs, plus a 3 hours "eating soon" temp target.
Paul Martin
@Spazholio
Jun 17 2016 12:26
Aaaaand, of course now it's back to calculating only once. I imagine that's because I had entered a meal?
Dave Ewall
@daveewall
Jun 17 2016 12:49
@scottleibrand , I'm hoping you can help me with this issue. I'm setting up AMA like you recommended a while ago, and I'm seeing that COB is null in the meal.json "{"carbs":70,"boluses":7,"mealCOB":null}". I've looked into issues that refer to the carbhistory.json not being specified, but you mention that it's in the pumphistory.json, which I see in the _type:BolusWizard objects in there. I just had a meal where I only see one purple line, as if there is no meal, and the sugars just went high, which is the only reason it acted to raise the basals. I assume that the AMA didn't happen because the carbs are missing, which caused this. I'm using Medtronic, not Dexcom, so the glucose values are cleaned, if that makes any difference. Any ideas? Thanks in advance.
Chris Oattes
@cjo20
Jun 17 2016 12:51
lots of "Avg. Delta < Expected delta" messages is probably either too much basal or wrong ISF?
John Sjolund
@sjolundjohn
Jun 17 2016 12:56
@scottleibrand @danamlewis great to meet you both at ADA. Too quick and sorry we couldn't hang out more. Will need to keep it virtual until next time!
Jason Calabrese
@jasoncalabrese
Jun 17 2016 13:16
:smile: @MilosKozak
Hristina Dimova
@xpucuto
Jun 17 2016 13:18
@scottleibrand Thanks once again for the idea of having a spare receiver and to switch them while restarting the sensor . The new one came today and is already in use after 2h warmup :smirk:
Scott Leibrand
@scottleibrand
Jun 17 2016 15:54
@xpucuto :-)
@cjo20 could be, but if so you should see autosens detecting sensitivity as well
@sjolundjohn likewise!
@daveewall I would run oref0-meal manually and see what it says
Chris Oattes
@cjo20
Jun 17 2016 15:55
@scottleibrand I don't have autosens
Scott Leibrand
@scottleibrand
Jun 17 2016 15:56
I wouldn't try to make any conclusions about too much basal or wrong ISF without it, unless you're looking at average basal adjustments over a week or more (not sure if NS has a report like that yet)
@Spazholio the way AMA works, it has to calculate COB once with every additional carb entry in order to figure out whether to "stack" them (if the previous one was still absorbing when the more recent ones came in)
so you'll see that calculation show up once for autosens, and then once for each carb entry in the last few hours
Chris Oattes
@cjo20
Jun 17 2016 16:01
I'm doing a basal test at the moment (no food since ~9am)
Scott Leibrand
@scottleibrand
Jun 17 2016 16:10
:+1:
Dana Lewis
@danamlewis
Jun 17 2016 16:14
@holgi13 @MilosKozak that is so great to hear :) :)
stephanie chen
@stephaniechen82_twitter
Jun 17 2016 16:16
To download data for our Endo appointments, is it ok to use Carelink software? We were previously animas users, and have been using Diasend for pump and dexcom data.
Scott Leibrand
@scottleibrand
Jun 17 2016 16:17
yeah, if you don't mind dealing with the clunky 1990s UI :)
might want to pause your loop before trying to use carelink, but otherwise it shouldn't be a problem
just don't want them fighting to talk to the pump while you do the download
Dana Lewis
@danamlewis
Jun 17 2016 16:18
@stephaniechen82_twitter a lot of people also download NS reports, just depends on what you’re wanting to show your endo
Paul Martin
@Spazholio
Jun 17 2016 16:53
@scottleibrand Thanks for the clarification.
Dave Ewall
@daveewall
Jun 17 2016 17:13
@scottleibrand Oddly enough, the oref0-meal and the report give different responses:
0;pi@raspberrypi: ~/apspi@raspberrypi:~/aps $ oref0-meal monitor/pumphistory-zoned.json settings/profile.jso n monitor/clock.json monitor/glucoseclean.json settings/basal_profile.json {"carbs":0,"boluses":0,"mealCOB":0} 0;pi@raspberrypi: ~/apspi@raspberrypi:~/aps $ cat monitor/meal.json {"carbs":25,"boluses":2.7,"mealCOB":null}
Jarred Yaw
@jyaw
Jun 17 2016 17:46
@scottleibrand the change doesn't seem to be working. Was I supposed to do something after I checked out Sulka's oref0?
Jason Calabrese
@jasoncalabrese
Jun 17 2016 18:02
what inputs are you passing into the meal.json report?
I changed from using a fake/empty file for pumphistory to using both NS carbs and pump history and verified that the deduping was working
the Removed duplicate bolus/carb entries:1 was the change that @sulkaharo added
@jyaw ^
Gera Yeremin
@gera3d
Jun 17 2016 18:04
Hi everyone. I am just wanted to check with the group about a buy I am about to make. Is this pump going to work with open APS
https://dl.dropboxusercontent.com/u/340520947/00E0E_1Ma1N2u0JFK_600x450.jpg
Scott Leibrand
@scottleibrand
Jun 17 2016 18:06
@gera3d yes, you can loop with a 712. you'll have to do a few extra manual setup steps vs. a newer pump, but that's a one-time thing unless you change your pump settings.
Gera Yeremin
@gera3d
Jun 17 2016 18:07
Can you setup remote bolusing with it?
Scott Leibrand
@scottleibrand
Jun 17 2016 18:07
@daveewall check that your report is passing the same arguments as when you run it manually
Gera Yeremin
@gera3d
Jun 17 2016 18:08
Have something like pebble give insulin?
Scott Leibrand
@scottleibrand
Jun 17 2016 18:09
@gera3d we don't recommend bolusing with openaps, but it is technically possible if you do the work to figure out how to do so safely. the main concern is making sure you don't accidentally do a bolus twice.
Gera Yeremin
@gera3d
Jun 17 2016 18:09
Right. I watched a video that had an image of a watch doing a bolus
Scott Leibrand
@scottleibrand
Jun 17 2016 18:18
that was using iOS LoopKit - probably the Loop app. it tries (once) to send the bolus, and if it fails, reports "the bolus may have failed" and leaves it up to the user to go check the pump history and see if the bolus happened or not.
Gera Yeremin
@gera3d
Jun 17 2016 18:23
so all it does is fail every time?
and you go back and say yes.
Gera Yeremin
@gera3d
Jun 17 2016 18:29
also @scottleibrand did you tell your Diabetes team what you are doing? We have Kaiser.
Jason Calabrese
@jasoncalabrese
Jun 17 2016 18:30
@bewest can rezone work for nested fields? looking to zone the dates in the calibration subrecords
Ben West
@bewest
Jun 17 2016 18:30
hmmm
no, json tool can pull out subdocs into a reconstituted stream though
then you could rezone the result i guess
kind of hacky
Dana Lewis
@danamlewis
Jun 17 2016 18:31
@gera3d so @scottleibrand doesn’t have diabetes ;) so no care team for him
Jason Calabrese
@jasoncalabrese
Jun 17 2016 18:31
yeah, maybe better to assume the same zoning as the main record, but hacky too
Gera Yeremin
@gera3d
Jun 17 2016 18:32
@danamlewis I guess I am just trying to figure out how much I want to tell "the system"
Scott Leibrand
@scottleibrand
Jun 17 2016 18:32
@gera3d sometimes the bolus succeeds, but when it fails, it doesn't retry, because it can't tell the difference between "the bolus didn't happen" and "we didn't get a reply back from the pump"
Dana Lewis
@danamlewis
Jun 17 2016 18:32
yea. it’s a personal choice. some people do, some people don’t.
Gera Yeremin
@gera3d
Jun 17 2016 18:34
@danamlewis Do they have to power to do anything that will all around make my life harder? Because I think they are going to ask questions as to why we are changing pumps.
Dana Lewis
@danamlewis
Jun 17 2016 18:34
@gera3d you could say (rightly so) that you want to try a different pump for a while.
TBH, if a care team has issues with people changing pumps, it’s probably not a great care team and switching is probably a good idea. But I say that knowing that it’s not always an option (I used to have to drive 2 hours to seen an endo, for example)
Jason Calabrese
@jasoncalabrese
Jun 17 2016 18:36
you'll have time to think about it as you start working on the setup, you can't figure it all out up front
Jarred Yaw
@jyaw
Jun 17 2016 19:29
@jasoncalabrese somehow I forgot to update my ns carbs alias with the correct arg order... I guess my question was more of a oref0 install question. If I just modified the file in my ~src/oref0 path by fetching the git commit, would oref0 automatically use the change or do I have to run some install command?
Scott Leibrand
@scottleibrand
Jun 17 2016 19:38
depends on whether you installed the quick-src method originally. if so, you did npm link, and it will automatically pick up any updates to the linked files, so you don't have to do anything else for minor changes to existing stuff
a large upgrade (like to AMA) adds new commands, so you'll have to run the npm steps again for something like that. but not just to try out a little patch like this one
Garrett Webb
@garetis
Jun 17 2016 19:39
What's AMA?
Scott Leibrand
@scottleibrand
Jun 17 2016 19:39
advanced meal assist
Garrett Webb
@garetis
Jun 17 2016 19:39
Gotcha, thanks.
Andy P
@NowhereMan_81_twitter
Jun 17 2016 19:46
Hello! @bewest @danamlewis ... could you direct me on how to set up my loop on a schedule using an Edison rig?
I finally have it all working when I run it manually! Just can't seem to figure out how to schedule the oref0-reset-git and my openaps do-everything commands
Didie
@elodaille01_twitter
Jun 17 2016 19:47
Hello
@elodaille01_twitter
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" ?
Jason Calabrese
@jasoncalabrese
Jun 17 2016 19:47
@jyaw if you didn't do a pull from Sulka's fork you might not have got it either, after I tested it I merged it so if you pull from advanced-meal-assist you should get the update
Ben West
@bewest
Jun 17 2016 19:47
try oref0 cron-5-minute-helper
shouldn't need environment variables anymore for openaps
do nightscout autoconfigure-device-crud https://my.ns.site myplainsecretthatislong
this creates an ns device will all that info in the ns.ini file
no environment variables needed
Didie
@elodaille01_twitter
Jun 17 2016 19:50
blob
Dana Lewis
@danamlewis
Jun 17 2016 19:50
Didie
@elodaille01_twitter
Jun 17 2016 19:50
What must i do now ?
please, someone can help me ?
Andy P
@NowhereMan_81_twitter
Jun 17 2016 19:59
oref0 cron-5-minute-helper... doesn't seem to do anything...
that is - not on the Edison running Debian. That command works on my pi, though
Ben West
@bewest
Jun 17 2016 20:03
@elodaille01_twitter I think you need to exit the editor, I don't use that program, but I think pressing ctrl-x will exit
Didie
@elodaille01_twitter
Jun 17 2016 20:05
@bewest Thank you
Bill Stackpole
@billstackpole
Jun 17 2016 20:11
@morsen - @oskarpearson and I had a conversation recently (in mmeowlink mebbe?) where he outlined for me the path to upload data from OpenAPS to NightScout. Was basically a four-step process:
1 - pull data from pump (he was using last 28 hrs)
openaps report invoke pump-raw/recent_glucose.json
2 - clean glucose data
openaps report invoke clean_glucose.json
3 - format glucose data using oref0 built-in process
mm-format-ns-glucose --oref0 pump-raw/recent_glucose.json > recent_glucose_mm.json
4 - upload to NightScout with ns-upload command
ns-upload https://<yoursite.yourdomain.TLD> <yourverylongAPIsecret> entries.json recent_glucose_mm.json
Garrett Webb
@garetis
Jun 17 2016 20:13
For this list, is it going to be independent of whether someone is using Medtronic/Dexcom CGM?
Bill Stackpole
@billstackpole
Jun 17 2016 20:13
I've been running it manually for a while and added as a cron job a few days back. Seems to be backfilling the holes from when my Connect loses it's mind. I'm still not 100% coverage, and there are a few of what look like double-dots in the data, but it's much better than it was.
@garetis - not sure - I using Medtronic Enlight.
not sure if it works the same w/DexCom
expect it's close.
Garrett Webb
@garetis
Jun 17 2016 20:15
Ok. I do too, and I recall only having to use the glucose-clean for that, and that was an extra step for us
Bill Stackpole
@billstackpole
Jun 17 2016 20:15
the cleaning process may be different
right
Garrett Webb
@garetis
Jun 17 2016 20:17
The API secret in that #4 step, that's not the hash version, correct? It is just the pre-hash normal version?
@billstackpole And step #3, that looks completely foreign to me, does anyone know where that info is in the docs?
Bill Stackpole
@billstackpole
Jun 17 2016 20:27
Think mine is the hashed version
Also (& I may be confused here) I believe that the section that you've referenced above is referring to uploading "treatment". Treatments are items such as bolus info, fingersticks, alarms, and other such items. These are different from your glucose data. The four step process that I'm using noted above upload to my glucose data tonight.
Tonight --> to NightScout
Gera Yeremin
@gera3d
Jun 17 2016 20:46
Ok here is a question is the freestyle libre on a path to replace dexcom with something like this in play https://www.indiegogo.com/projects/dlog-wireless-reader-for-freestyle-libre--2#/
Andy P
@NowhereMan_81_twitter
Jun 17 2016 20:51
oref0 cron-5-minute-helper | crontab - seems to erase my crontab file completely...
C-Ville
@C-Ville
Jun 17 2016 20:51
@gera3d I guess at least for people getting libre but not dexcom from their health insurance these options are viable. As far as I know there are two corwdfunding projects and the limitter
Andy P
@NowhereMan_81_twitter
Jun 17 2016 20:51
Does anyone know how to schedule cron jobs on an Intel Edison? I'm trying to automate my loop... any help would be appreciated :)
Gera Yeremin
@gera3d
Jun 17 2016 20:51
is one more accurate then another?
Jason Calabrese
@jasoncalabrese
Jun 17 2016 20:51
I was looking at that too @gera3d, I don't think it's something to wait on, but more options would be great
C-Ville
@C-Ville
Jun 17 2016 20:52
@gera3d if you are not getting any funding for sensors at all libre seems to be fair in pricing too
Jim is CrushingT1D
@CrushingT1D
Jun 17 2016 20:52
@boryanvbu it should be the same as on the Pi, where are you stuck?
Gera Yeremin
@gera3d
Jun 17 2016 20:52
Do i still need to draw blood every time a bolus my son?
C-Ville
@C-Ville
Jun 17 2016 20:53
@gera3d I guess depends on where you live and how much off label use you want to pursue
Gera Yeremin
@gera3d
Jun 17 2016 20:53
I live in US I am open to whatever options.
The boy just hates it.
C-Ville
@C-Ville
Jun 17 2016 20:54
If I am not mistaken in Germany the libre is certified to base therapy decisions on the readings
Gera Yeremin
@gera3d
Jun 17 2016 20:55
We are on the dexcom g4 currently
does the libre give you a better reading?
C-Ville
@C-Ville
Jun 17 2016 20:55
on the other hand a well calibrated Dexcom serves me well for basing my decisions purely on the G4 reading and my and a lot AP systems seem to run on the dexcom
Jason Calabrese
@jasoncalabrese
Jun 17 2016 20:55
I'm mostly skipping finger sticks for meal boluses when in range
Gera Yeremin
@gera3d
Jun 17 2016 20:56
interesting
@jasoncalabrese and you are using the g4?
Jason Calabrese
@jasoncalabrese
Jun 17 2016 20:57
yes, I can get a feel for when the sensor is reliable
it's easier after OpenAPS smooths things out too
when there are lots of ups and downs the calibrations are pretty bad
Gera Yeremin
@gera3d
Jun 17 2016 20:58
Right
I am close to buying a pump. What should I build for my son?
I have the g4 share and a RIG phone that sends the data up to nightscout currently.
Jason Calabrese
@jasoncalabrese
Jun 17 2016 21:00
thats a good way to start
Gera Yeremin
@gera3d
Jun 17 2016 21:00
Do i build the Pie or this other intel thing I am seeing.
Jason Calabrese
@jasoncalabrese
Jun 17 2016 21:01
I'd get the first compatible pump you can find, try not paying too much for it, and then later expect to get another one for backup and testing
the pi is the easiest way to start
later it can become an nighttime rig
Gera Yeremin
@gera3d
Jun 17 2016 21:03
looks like I am going to buy this " MiniMed Paradigm 712" for 500
Jason Calabrese
@jasoncalabrese
Jun 17 2016 21:03
it's common to use both a pi and an edison
Gera Yeremin
@gera3d
Jun 17 2016 21:03
why both?
Jason Calabrese
@jasoncalabrese
Jun 17 2016 21:03
sounds a little high, but maybe prices are going up
is it in really good condition?
Gera Yeremin
@gera3d
Jun 17 2016 21:04
its new.
Garrett Webb
@garetis
Jun 17 2016 21:04
They demand for the pumps we're all looking for has gone up. I talked to people that were asking for a whole bunch and unwilling to negotiate -- given, they weren't 712s, but still
C-Ville
@C-Ville
Jun 17 2016 21:06
unfortunately it seems medtronic did a pretty good job in recollecting their old pumps
Andy P
@NowhereMan_81_twitter
Jun 17 2016 21:14
@bewest, when I use oref0 cron-5-minute-helper | crontab - it seems to do nothing. If I try crontab -l or crontab -e just a blank file
any ideas?
Ben West
@bewest
Jun 17 2016 21:16
does oref0 cron-5-minute-helper print anything?
Andy P
@NowhereMan_81_twitter
Jun 17 2016 21:16
no, it doesn't...
David Cintron
@loudestnoise
Jun 17 2016 21:24
Yeah, it’s basically a right of passage. You make your RPi rig first, and then comes Edison. I know now that I have my RPi done, I’m looking to get started on my Edison + TI stick rig. May have made an Amazon Wish List that I may or may not have emailed the wife. Birthday coming up and all :wink2:
I’ve heard you can save some $$$ by getting the CC debugger knock offs on eBay like this one - http://www.ebay.com/itm/301839468644
Gera Yeremin
@gera3d
Jun 17 2016 21:26
Can anyone send me a shopping cart with all the parts I need to the Pi?
David Cintron
@loudestnoise
Jun 17 2016 21:26
Ah, if you had asked me that a couple of days ago I had an Amazon wish list with everything I used in it
are you in the US? Would Amazon be helpful? I can pull it all from my order history
Garrett Webb
@garetis
Jun 17 2016 21:27
@gera3d This may be a stupid question, but if the 712 is new, is there any chance that it would have the update that prevents the newer pumps after 2.4 firmware to not work, or is it more likely that they just continue to manufacture those with old firmware versions?
Gera Yeremin
@gera3d
Jun 17 2016 21:28
I have no idea.
Garrett Webb
@garetis
Jun 17 2016 21:28
That was more directed to the group for your benefit
David Cintron
@loudestnoise
Jun 17 2016 21:29
Yeah, if you’re buying I would ask the seller to put a battery on and send you a picture verifying it has the correct firmware
Gera Yeremin
@gera3d
Jun 17 2016 21:29
O thanks. In the ad it says that it was never used. So I am thinking you would have to use it to update firmware.
Garrett Webb
@garetis
Jun 17 2016 21:30
Ok, I was thinking for some reason you were getting it from Medtronic and they still manufactured older models
Gera Yeremin
@gera3d
Jun 17 2016 21:30
Nope this is from craigslist.
Should I have her turn it on and check?
Garrett Webb
@garetis
Jun 17 2016 21:32
I think my question was a stupid one. I'd say I could almost guarantee it's not a concern, but making sure that the things we buy are working properly is always good policy, and if they can check the firmware at the same time, no harm no foul
Gera Yeremin
@gera3d
Jun 17 2016 21:33
Got it. Getting the wrong thing would suck for sure. Do you know of any wishlists on amazon with all the parts I will need to build the pi?
Garrett Webb
@garetis
Jun 17 2016 21:34
Tell me about it (or don't, because I did...)
David Cintron
@loudestnoise
Jun 17 2016 21:35
@gera3d I just made one for you. This is exactly what I bought for my RPi rig.
C-Ville
@C-Ville
Jun 17 2016 21:35
I drove 170 km to pick my pump up, but USA is a much larger country
David Cintron
@loudestnoise
Jun 17 2016 21:37
@gera3d and here’s photos of what my rig looks like - http://imgur.com/a/HUCHa
I shove all the parts inside the Dashpoint 20 camera bag
Jim is CrushingT1D
@CrushingT1D
Jun 17 2016 21:37
Are you planning to use a carelink or a ti?
I got a friend to pickup the pump i bought off craigslist out of town
You could also use somethig like a 3rd party taskrabbit to get it if you are worried about mailing
David Cintron
@loudestnoise
Jun 17 2016 21:39
LOL taskrabbit
is that an actual company name?
I’ve used https://favordelivery.com here in Houston, TX for food and other random things
I’m almost tempted to go ahead and get a TI stick even still with my RPi rig. The improved range would be nice for night time
Garrett Webb
@garetis
Jun 17 2016 21:41
I did that, even thought I'm still building my RPi
David Cintron
@loudestnoise
Jun 17 2016 21:42
I should ask @TC2013 if he has the CC debugger… :wink:
Brandon Faloona
@bfaloona
Jun 17 2016 21:42
I'm getting a crash generating nightscout recent-missing-entries.json. Can someone have a peek and let me know what I'm missing?
Lynne Butts
@flutelynne_twitter
Jun 17 2016 21:43
@loudestnoise That's where I am right now. I already have the debugger and TI stick, a second Pi2, backup cards, but, again, afraid to jump into the TI project. The nighttime part really stinks. I had those 3 consecutive nights, but last night the usual didn't work. I have carelink going on each pi right now, but only running one at a time.
David Cintron
@loudestnoise
Jun 17 2016 21:45
You should start working on the TI stick. Sounds like you’ve got all you need.
Lynne Butts
@flutelynne_twitter
Jun 17 2016 21:46
@loudestnoise ha ha. I am thinking about you leading the way
Jim is CrushingT1D
@CrushingT1D
Jun 17 2016 21:46
For awhile i placed a carelink with a usb extension cord under my mattress facing up and it worked great
Gera Yeremin
@gera3d
Jun 17 2016 21:47
You are awesome @loudestnoise thank you!
Brandon Faloona
@bfaloona
Jun 17 2016 21:47
I've updated the above gist to include my nightscout/glucose-raw.json report, which I'm suspicious of as well. I'm pulling all CGM data from nightscout.
Tom Boudreau
@TomBoudr_twitter
Jun 17 2016 21:51
Q for everyone... I'm doing a new setup from scratch (so as to get nightscout working this time) and the openaps report invoke enact/suggested.json is complaining that it could not get current basal rate. I have settings/basal_profile and monitor/temp_basal in place in their normal spots? Any advice?
David Cintron
@loudestnoise
Jun 17 2016 21:51
@CrushingT1D now that’s an idea. I need a longer USB extension cable and I could hang it somewhere or try under the mattress
Jim is CrushingT1D
@CrushingT1D
Jun 17 2016 21:52
Yea
David Cintron
@loudestnoise
Jun 17 2016 21:52
@gera3d Glad I could help. Those right angle cables are really helpful, especially when you shove all the things inside the bag
Tom Boudreau
@TomBoudr_twitter
Jun 17 2016 21:53
@loudestnoise I stuff it in my bedside table drawer and even with a short usb extension I close it on the cable so the carelink stick's bottom side is pointed towards me... has worked well
Jim is CrushingT1D
@CrushingT1D
Jun 17 2016 21:54
This is the one i bought, used to be on sale even cheaper Belkin USB Extension Cable (10-Feet) https://www.amazon.com/dp/B00001ZWXA/ref=cm_sw_r_cp_api_yfhzxbVB8D9F1
David Cintron
@loudestnoise
Jun 17 2016 21:55
Yeah, I just found this one for $5.51 Prime https://amzn.com/B003L14VJ6
gotta love Prime & Monoprice cables
Tom Boudreau
@TomBoudr_twitter
Jun 17 2016 21:56
Amazon basics
Jim is CrushingT1D
@CrushingT1D
Jun 17 2016 21:57
There is no amazon in australia. Thats the part about this impending move that saddens me the most
Garrett Webb
@garetis
Jun 17 2016 22:16
The pump isn't attached to me -- I'm just running all the use commands to see what works and what doesn't with my 712. That being said, I'm getting an error when I run openaps use pump bolus <JSON file>. How does that file need to be formatted?
I did a test of {2} and it didn't work =)
Dana Lewis
@danamlewis
Jun 17 2016 22:17
@garetis I highly recommend not testing playing with or otherwise using the bolus command
Brandon Faloona
@bfaloona
Jun 17 2016 22:17
For the 523, this worked for me: { "units": 0.7 }
@garetis ^^^
Garrett Webb
@garetis
Jun 17 2016 22:18
Just a learning question, I don't have any intention of using it. But thanks.
Dana Lewis
@danamlewis
Jun 17 2016 22:19
For learning purposes, try -h if needed to figure out how to format something
Brandon Faloona
@bfaloona
Jun 17 2016 22:19
@garetis Yes, I used it as a test
Paul Dickens
@thebookins
Jun 17 2016 22:20
Hi everyone, just setting up openaps. The instructions to backup to Bitbucket say to call git push to backup the openaps instance, but this only updates the openaps.ini file. I can call git add, git commit then git push to backup everything. Is there an easier, more automated way to backup?
Garrett Webb
@garetis
Jun 17 2016 22:21
Ah, ok, I didn't think about using the -h tag to go all the way down to last input. Ok, thanks.
Brandon Faloona
@bfaloona
Jun 17 2016 22:21
@thebookins Yes, add, commit are needed for git before push. git (in my case github) is a great way to backup.
Ben West
@bewest
Jun 17 2016 22:22
there are different kinds of backup
the git log has a backup of an audit trail, of all the things that have occurred and why
this helps with concept of traceability
in that case, if there aren't many differences, it's ok for git push to say that everything is up to date
as you add more reports, they'll get included as well
Garrett Webb
@garetis
Jun 17 2016 22:24
What typically is the cause of IndexError: bytearray index out of range?
Brandon Faloona
@bfaloona
Jun 17 2016 22:24
@bewest can you point me at the auto-comment code that is used for the audit trail? I'm wondering how hard it would be to omit the pump serial number from the message when doing a device add pump ...
Paul Martin
@Spazholio
Jun 17 2016 22:25
@garetis I generally see that when there’s a problem communicating with the pump - generally when pulling pumphistory.json or pumphistory-24h.json.
Meaning, just wait a few more iterations of the loop, see if it resolves itself.
Ben West
@bewest
Jun 17 2016 22:25
to export a backup that can be imported to recover all the config, use oref0 export-loop
the output of that tool can be given to openaps import
@bfaloona you can add the medtronic pump and change the serial after
so openaps device add pump medtronic now works without serial at all
Tom Boudreau
@TomBoudr_twitter
Jun 17 2016 22:26
@ryanchen26 did you ever figure things out?
Ben West
@bewest
Jun 17 2016 22:26
then you can do openaps use pump config --serial 123456 and it won't show up in git
simpler that way :-)
Brandon Faloona
@bfaloona
Jun 17 2016 22:27
@bewest Great. The serial number in my git history is the only thing preventing me from sharing my git repository.
Ben West
@bewest
Jun 17 2016 22:27
you can also export your
using oref0 export-loop
re-init a new instance with it, and it will be clean
Brandon Faloona
@bfaloona
Jun 17 2016 22:28
Right! Thanks.
Ben West
@bewest
Jun 17 2016 22:28
it'll just say "openaps-import"
Brandon Faloona
@bfaloona
Jun 17 2016 22:30
Anyone recognize the issue I posted above (14:42) about nightscout/recent-missing-entries.json?
I'm getting better at debugging things, but I'm still playing a bit of whack-a-mole. :(
Garrett Webb
@garetis
Jun 17 2016 22:33
When I run openaps use pump mytest I get an attribute error on the pump name I made before I changed it to the current name. What should I do?
@bfaloona I didn't see anything for that timestamp..?
Paul Dickens
@thebookins
Jun 17 2016 22:36
@bfaloona, @bewest forgive my confusion, but are git add and git commit needed? I don't see how reports would be automatically included if they are not staged and committed
leads to the possibility of an incomplete backup if staging is forgotten
Brandon Faloona
@bfaloona
Jun 17 2016 22:37
@thebookins openaps automatically adds and commits when you perform certain actions.
you can add and commit as well.
I don't think openaps ever pushes, so that's up to you.
Paul Dickens
@thebookins
Jun 17 2016 22:38
@bfaloona OK, got it, thanks
Brandon Faloona
@bfaloona
Jun 17 2016 22:39
It's a pretty great feature!
Paul Dickens
@thebookins
Jun 17 2016 22:39
@bfaloona so when I did git push the pump and cgms ini files didn't appear in the remote repo - is this the intended behaviour?
Brandon Faloona
@bfaloona
Jun 17 2016 22:40
@garetis Regarding the attribute error... I'd guess that if you correct the pump name everywhere you'd be fine. However, it might be better to remove the pump device and re-add it.
I'm not positive about intended behavior @thebookins , but I've been running git status to review what is NOT included, and adding anything I think is important.
Lynne Butts
@flutelynne_twitter
Jun 17 2016 22:41
@CrushingT1D Thanks. I hang it with the gray part facing toward me now, but from my bedpost. I may try plugging it in, and hang it somehow. Mattress is pretty thick. Don't think it would work there.
Jim is CrushingT1D
@CrushingT1D
Jun 17 2016 22:43
mattress does not stop the signal, so the question is if it is right under your pump when you are lying down is it close enough. I think mine was about 18” from the pump
which was at least 12” closer than on my bedside
Garrett Webb
@garetis
Jun 17 2016 22:46
Pump was my old name, and I just deleted and added the new name pump, but I'm still having issues. Would it have to do with any other reports or files that may have been created when I had Pump as the name?
\\
pi@raspberrypi:~/openaps1 $ openaps device add pump medtronic 009864
added medtronic://pump
pi@raspberrypi:~/openaps1 $ openaps use pump mytest
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/pkgresources/_init.py", line 719, in run_script
File "build/bdist.linux-armv7l/egg/pkgresources/_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 call
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 265, in main
return self.pump.model.my_read_settings( )
AttributeError: 'Pump' object has no attribute 'model'
\\
Brandon Faloona
@bfaloona
Jun 17 2016 22:49
@garetis Pump will need to be changed to pump so solve that.
run grep Pump openaps.ini
... to see the instances of Pump in that file.
Garrett Webb
@garetis
Jun 17 2016 22:49
I deleted "Pump" before I added pump on the code I pasted
There was no return
Jason Calabrese
@jasoncalabrese
Jun 17 2016 22:57
@bewest how do you adjust the log level for openxshareble?
Scott Leibrand
@scottleibrand
Jun 17 2016 22:57
did you rm Pump.ini?
Jarred Yaw
@jyaw
Jun 17 2016 23:00
@jasoncalabrese sorry, rewording.... once I have oref0 installed and the source in /src/oref0, if I update the code under there will it automatically be used when my loop executes or do I have to do the install or link commands on each consecutive pull?
I verified the code got updated with his change
Garrett Webb
@garetis
Jun 17 2016 23:05
@scottleibrand Yeah, and I searched all my .ini files and there was no mention.
Gera Yeremin
@gera3d
Jun 17 2016 23:07
Ok so it sounds like the range on the Carelink USB stick is really bad. Is there a way to make this better? It sounds like he will have to ware it or only really benefit from it while he sleeps. @jasoncalabrese
Scott Leibrand
@scottleibrand
Jun 17 2016 23:09
@garetis weird. You could just remove the loop directory entirely and start over (or start a new directory and leave the old one)
Dana Lewis
@danamlewis
Jun 17 2016 23:10
the other option is a TI stick, @gera3d, instead of the Carelink. just note that you’ll have to jump between sets of documentation and it’ll take a little longer to get setup.
Garrett Webb
@garetis
Jun 17 2016 23:10
I was thinking about that. Would I just delete the directory, or would I need to execute that with openaps
Tom Boudreau
@TomBoudr_twitter
Jun 17 2016 23:10
@garetis save it
just start a new directory
Gera Yeremin
@gera3d
Jun 17 2016 23:11
@danamlewis what is the range on that? Would I be able to put it in a pack as I go out with him? Would it be about the same range as the dexcom?
Paul Martin
@Spazholio
Jun 17 2016 23:12
@gera3d I can’t recommend the TI stick enough. With Carelink, I was lucky to get a few feet. With the TI stick, I pretty much covered my house. Or at least 2 floors on opposite ends of the house.
Jason Calabrese
@jasoncalabrese
Jun 17 2016 23:13
range varies a lot
Paul Martin
@Spazholio
Jun 17 2016 23:13
YMMV a bit, but it was a staggering improvement.
Tom Boudreau
@TomBoudr_twitter
Jun 17 2016 23:14
@gera3d everyone here loves the TI stick... but its a bunch more work/complexity/requires tools etc though... my carelink give me 10 feet... dont be so quick to abandon it
Gera Yeremin
@gera3d
Jun 17 2016 23:14
ok whats the upgrade path?
If I keep it in the living room then does it just update the pump basel each time he walks by?
Jason Calabrese
@jasoncalabrese
Jun 17 2016 23:16
you can also have multiple rigs, in different locations
to cover the house
there's no end to the options
live4sw
@live4sw
Jun 17 2016 23:35
Hi all - my Edison is just about out of free space after only about 3 weeks of use. apt-get clean bought me a little time but the fundamental problem seems to be that the logs do not reset on reboot (or at all). Is there a good way to periodically clear them out? What do you guys do?
Scott Leibrand
@scottleibrand
Jun 17 2016 23:36
logrotate
you can also move and symlink /var/log/ to /home/log/ if that partition has more space
Jason Calabrese
@jasoncalabrese
Jun 17 2016 23:45
yes, you may be able to find one in a local T1 group if you ask around
Jason Calabrese
@jasoncalabrese
Jun 17 2016 23:51
I don't think so, both of mine were used without boxes or anything
Paul Martin
@Spazholio
Jun 17 2016 23:57
@gera3d Wanna save a few bucks? =)
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Jun 17 2016 23:59
@gera3d They are the same. If you are buying new save some cash and spend it on batteries for your pump.