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

26th
Jan 2016
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:32
I got the sparkfun edison base board, I was thinking that I could plug the carelink stick in without a hub, just using an otg cable
but doesn't seem to see the stick
Ali Mazaheri
@amazaheri
Jan 26 2016 00:39
@jasoncalabrese Edison/Carelink is a no go, ur only option is TI
Eric
@ecc1
Jan 26 2016 00:42
Doesn't see it as in, doesn't show up in "lsusb" at all?
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:43
yeah
$ sudo lsusb
unable to initialize libusb: -99
but does show the cc111
but that doesn't work for me either
@amazaheri is ii the a kernel issue with legacy usb?
Eric
@ecc1
Jan 26 2016 00:46
Did you use the same OTG cable as you did for the cc1111? If it's not wired right (and a lot of cheap cables aren't), the board won't detect that it should go into host mode.
Ali Mazaheri
@amazaheri
Jan 26 2016 00:46
thats my understanding
@oskarpearson went through that path and hence why he started with TI
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:48
pile of stuff on my desk on none of it works, I should stick to software
Ali Mazaheri
@amazaheri
Jan 26 2016 00:48
I had a rough day at school
even having everything working I got hit by crappy att causing loop to fail (courtesy of G5)
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:49
lots of points of failure
Ali Mazaheri
@amazaheri
Jan 26 2016 00:49
going to school now to connect edison to their WPA2 ent, if that works
may be we have a better day tomorrow
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:52
at least with the sparkfun I can get the edison to see an sd card reader
Ali Mazaheri
@amazaheri
Jan 26 2016 00:52
for anyone on g4 I recommend not upgrading till we get the ble to G5 available for openaps
yeah
I am using that currently
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:52
so I can make a backup of the edison
Ali Mazaheri
@amazaheri
Jan 26 2016 00:53
:)
the moment rig came home now its running solid lol
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:54
we lost wifi once today, and needed to reboot the pi at school
but other than that was a great day BG wise
Ali Mazaheri
@amazaheri
Jan 26 2016 00:55
:+1:
are they using WPA2 Ent?
at school?
Oskar Pearson
@oskarpearson
Jan 26 2016 00:56
Heya. The kernel that comes with the Edison doesn't support the Carelink - because the USB driver that's built in is too old
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:56
I got the VZN phone for him, trying to throw $ at the network issues
Oskar Pearson
@oskarpearson
Jan 26 2016 00:56
I went through a lot of work to try and get a later kernel on the Edison
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:56
Screen Shot 2016-01-25 at 4.55.25 PM.png
Oskar Pearson
@oskarpearson
Jan 26 2016 00:56
And eventually gave up and threw my energy at the TI stick
@jasoncalabrese What hardware do you have, and what's the current situation with it?
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:57
ok, thought that was 1 of the reasons for ubi
Dana Lewis
@danamlewis
Jan 26 2016 00:57
@jasoncalabrese is that openaps working, sans wifi, or it was NOT functioning in closed loop mode?
can't remember if we all agreed on offline meaning the same thing :)
Jason Calabrese
@jasoncalabrese
Jan 26 2016 00:57
he's only using 1 receiver at school, so needs network to pull from NS
need a better way to signal what devices we expect to not be reporting status
same issue for pumps in general, mm connect, etc
even just dex, if you want to be able to turn off stale data alarms
@oskarpearson, I'm using pi's for production now, but have a couple edison's, pi zeros, a cc111, and 2 RLs
Oskar Pearson
@oskarpearson
Jan 26 2016 01:05
The cc111 is a TI stick?
@jasoncalabrese I've just pushed a branch that could help with your issues chatting to a particular pump. It won't run openaps yet, but you could try the mmeowlink-send command. Check the mmeowlink chat room for details
Jason Calabrese
@jasoncalabrese
Jan 26 2016 01:13
cc1111, typo
I saw the info over in mmeowlink, maybe I'll give that a try tonight
Matthias Granberry
@mgranberry
Jan 26 2016 02:16
Scott Leibrand
@scottleibrand
Jan 26 2016 02:19
so I just got openaps up and looping on our Edison with RL (woot!), but for some reason it insists on zoning everything as GMT
I changed the timezone with dpkg-reconfigure tzdata and rebooted. date shows PST, but the openaps zone tool keeps picking up UTC instead
any ideas as to where it's getting that and what else I have to change?
That might be a question for @bewest, or it might be a more general linux thing
Ben West
@bewest
Jan 26 2016 02:32
your timezone might be saved from the prior setup in the INI?
yeah
when you add a report, the timezone is an explicit argument that gets saved at that time in the openaps.ini for that report
Scott Leibrand
@scottleibrand
Jan 26 2016 02:33
k
Ben West
@bewest
Jan 26 2016 02:33
it's a report parameter basically
Scott Leibrand
@scottleibrand
Jan 26 2016 02:34
re-ran report, and ini looks good
thx
Ben West
@bewest
Jan 26 2016 02:34
np
dougtakeuti
@dougtakeuti
Jan 26 2016 02:55
Hi, I'm trying to generate the monitor/upload-status.json report. I verified that I have all the required reports: monitor/clock-zoned.json monitor/iob.json enact/suggested.json enact/enacted.json monitor/current_battery_status.json monitor/reservoir.json monitor/current_pump_status.json. They are all make sense and are recent, with the exception of enacted.json, as no action has been taken recently because Julia is in range. However, I keep getting
openaps report invoke monitor/upload-status.json
ns-status://JSON/shell/monitor/upload-status.json
monitor/upload-status.json  raised  [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/local/bin/openaps-report", line 4, in <module>
    __import__('pkg_resources').run_script('openaps==0.0.9', 'openaps-report')
  File "/usr/local/lib/python2.7/dist-packages/setuptools-19.6-py2.7.egg/pkg_resources/__init__.py", line 727, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python2.7/dist-packages/setuptools-19.6-py2.7.egg/pkg_resources/__init__.py", line 1652, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/EGG-INFO/scripts/openaps-report", line 82, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/cli/__init__.py", line 44, in __call__
    self.run(self.args)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/EGG-INFO/scripts/openaps-report", line 75, in run
    output = app(args, self)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/cli/subcommand.py", line 50, in __call__
    return self.method.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/reports/invoke.py", line 40, in main
    output = task.method(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-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.0.9-py2.7.egg/openaps/vendors/process.py", line 81, in main
    proc = subprocess.Popen(command, stdout=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Any clues?
Jim Matheson
@jmatheson
Jan 26 2016 03:12
@jasoncalabrese @ktomy I am back on the openaps pill problem. I no longer have errors in my NS javascript console and I pushed over my pump profile from openaps per your suggestion. Still can’t seem to get the tickbox for OpenAPS to show up in Show plugins. I triple checked that I was on the current verson of NS 0.9-dev
Jim Matheson
@jmatheson
Jan 26 2016 03:19
i also cleared out my mongo db in case there was anything causing a problem in there.
Jim Matheson
@jmatheson
Jan 26 2016 04:13
After further digging i think i am somehow not on the most recent dev branch
Dragan Maksimovic
@dm61
Jan 26 2016 05:00
@juliatakeuti , how does ns-status look like in your openaps.ini? Here is what I have:
[device "ns-status"] 
fields = clock iob suggested enacted battery reservoir status
cmd = ns-status
vendor = openaps.vendors.process
args =
Aaron Michelson
@Aaybob
Jan 26 2016 05:23
@ecc1 I tried the same thing trying to preserve an old pump that may be hard to replace but it was too much hastle. I unplugged 522 reservoir, used same tubing on 7xx. Then went back to 522 and pushed in the reservoir that was supposed to be basal ing and that much insulin squirted out and there was a very small air bubble.
Jim Matheson
@jmatheson
Jan 26 2016 05:28
@PieterGit did you ever sort out your unknown warning for openaps in NS?
Aaron Michelson
@Aaybob
Jan 26 2016 05:40
How to restart after a gap in cgm graph?
JaysonEwer
@JaysonEwer
Jan 26 2016 05:40

@bewest Hello, I've successfully been able to update my NS OpenAPS plugin pill and the other pills but I haven't figured out how to automate the updating yet. I saw the discussion earlier, that I was talking to @jasoncalabrese and @scottleibrand, you chimed in and said using the ns-upload device was your preferred method to make this happen. I guess i'm wondering what I'm doing wrong and if there is anything particular in the ns-upload script that you created that might be causing my problem. For instance, when I issue the following command from my openaps folder, shortly after my loop runs, I successfully upload my status to the Nightscout OpenAPS plugin pill and also update my treatments all in one command.

pi@Ewer-Open-APS:~/Documents/openaps $ openaps status-upload ; (openaps latest-ns-treatment-time && openaps format-latest-nightscout-treatments) ; openaps upload-recent-treatments

But if I try to add that to my crontab file, I get messages complaining about entries.json not being created. I looked at your script and see that it's generating that entries.json real time dynamically and it looks like its doing a screen scrape to populate that entries.json. Am I understanding how that script works correctly?

Dana Lewis
@danamlewis
Jan 26 2016 05:40
@Aaybob restart what?
Aaron Michelson
@Aaybob
Jan 26 2016 05:41
I now have to restart RPi2
but is there some software I could restart.
JaysonEwer
@JaysonEwer
Jan 26 2016 05:42
@Aaybob are you using dexcom share?
Aaron Michelson
@Aaybob
Jan 26 2016 05:42
no
Dana Lewis
@danamlewis
Jan 26 2016 05:42
If you miss data, (walk out of range of CGM, or ??? or otherwise), you don't need to restart the loop - it'll pick back up when you get data again and it has enough to act on.
To restart your pi, you can sudo reboot
Aaron Michelson
@Aaybob
Jan 26 2016 05:43
good to know that's intended but its not doing that
Oh wait maybe it is
I need better logs
I'm going to setup the nightscout
Aaron Michelson
@Aaybob
Jan 26 2016 05:53
I have two carelink sticks actually have four but have one on 10 ft extension and one on 6 ft extension both within three feet of pump and getting intermitant errors on invoking monitor/clock.json
Aaron Michelson
@Aaybob
Jan 26 2016 06:11
how do i view the github commits to prjoect on not doing zero basal during pre-bolus type user pump control?
Thomas Emge
@ThomasEmge
Jan 26 2016 06:25
here is a new one me. RPI had been acting up all afternoon at work - kind of running for 15 minutes and then crashing. When I was finally able to check logs it kind of looked ok but nothing really passing my preflight checks. It took me while to see that my pump.ini had been erased and was essentially empty and backdated to dec 31, 2015. What could be causing that and how does one check for that situation?
Scott Leibrand
@scottleibrand
Jan 26 2016 06:29
we've seen issues with pump.ini getting truncated. probably need to do a file size check on it
@Aaybob are you talking about bolus snooze, where if you do a pre-bolus or "eating soon" style early prebolus, it won't low-temp to compensate?
not sure what you mean by "view the github commits to prjoect" though
Jim Matheson
@jmatheson
Jan 26 2016 06:33
it looks like my upload-status.json has the wrong timestame for some entries. The clock entry has the correct timestamp, but the entry for status has an incorrect timestamp. Not sure if this is the same issue @JaysonEwer is/was having.
Thomas Emge
@ThomasEmge
Jan 26 2016 06:35
@scottleibrand pump.ini as the only file as it is getting updated with the expires entry? what was the entry used for again?
Scott Leibrand
@scottleibrand
Jan 26 2016 06:36
yeah. pump.ini gets constantly updated. expires tells openaps how long until it has to init the pump again
@ps2 has a better way to check if the pump needs an init: send a "scout packet" that very quickly returns a response if the pump is on. so maybe @bewest will be able to replace the init/expires behavior with something like that...
Ben West
@bewest
Jan 26 2016 06:38
I did some tuning on decocare; I wonder if the --auto-init feature will work better for carelink stick now
but I'm all about the raw cc111[0-1] power now :-)
my AP is basaling me from the other room!!
I can't used to it!! we finally cut the cords!!
Dana Lewis
@danamlewis
Jan 26 2016 06:41
:) :) :)
Which stack are you using @bewest ?
Thomas Emge
@ThomasEmge
Jan 26 2016 06:42
@bewest nice, very nice. Hoping to get there. You have the share running via BLE on RPI and jessie, correct?
Scott Leibrand
@scottleibrand
Jan 26 2016 06:53
does anyone know of a good source in Europe for Medtronic pump supplies? @francescaneri is trying to get the equipment for OpenAPS, but can't get them from the Italian national health system.
Aaron Michelson
@Aaybob
Jan 26 2016 07:17
@scottleibrand yes bolus snooze....not familiar with algorythm but got zero basal when I wouldn't have because of bolus insulin on board...the git reference was as a way to see the state of development of that new feature. To look at the comments in the commits on the time line thing
still struggling to find my way around git
Scott Leibrand
@scottleibrand
Jan 26 2016 07:22
You're probably better off searching for bolus snooze in the reference design, docs, and in the openaps-dev Google group.
There are some plain English write-ups there.
Dana Lewis
@danamlewis
Jan 26 2016 07:23
Ben West
@bewest
Jan 26 2016 07:23
I'm dev, so I've been testing bit of everything
been having lot of outages due to lack of hardware clock, network/connectivity issues, battery dying
my main rig is still wheezy, but about to switch over; I posted working jessie debs for bluex on rpi/jessie
still mainly focusing on rpi because, partly because I just got the build toolchain up and working to create rpi debs
Scott Leibrand
@scottleibrand
Jan 26 2016 07:26
That'll be my next big thing: getting openxshareble working on Edison.
Hopefully by then you'll have Pi working. :-)
Ben West
@bewest
Jan 26 2016 07:26
pi is working
I posted working debs ;-)
edison uses a very different build toolchain
Scott Leibrand
@scottleibrand
Jan 26 2016 07:27
cool. Haven't had a chance to try those yet.
Thomas Emge
@ThomasEmge
Jan 26 2016 07:27
@bewest How do I apply these debs?
Ben West
@bewest
Jan 26 2016 07:27
are you using jessie on rpi?
these are only good for installing bluez on jessie on rpi
Thomas Emge
@ThomasEmge
Jan 26 2016 07:29
yes, I have downloaded them but then was unsure what to do with them. is it sudo dpkg -i *.deb
Ben West
@bewest
Jan 26 2016 07:29
yeah, that's perfect
I believe it even installs correct systemd unit files
Thomas Emge
@ThomasEmge
Jan 26 2016 07:33
the /etc/rc.local stays with /usr/local/bin/bluetoothd --experimental & ?
Ben West
@bewest
Jan 26 2016 07:45
I'd have to examine your syslog, I'm not sure your rc.local does anything at alll
rc.local is a relic of linux booting sequence behaviors
these days, jessie et al use something called systemd, which has INI files to describe "units" of service
I think my package installs a correct unit file
Thomas Emge
@ThomasEmge
Jan 26 2016 08:04
hmm, after installing do I need to re-build openxshareble?
Ben West
@bewest
Jan 26 2016 08:06
no
it's installed?
hciconfig
Thomas Emge
@ThomasEmge
Jan 26 2016 08:07
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 5C:F3:70:75:C6:FA  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING
        RX bytes:5160 acl:0 sco:0 events:317 errors:0
        TX bytes:36144 acl:0 sco:0 commands:284 errors:0
Ben West
@bewest
Jan 26 2016 08:08
ah up
hmm
ok
already did openaps vendor add openxshareble?
openaps device add share openxshareble
openaps use configure --serial SM12345678
openaps use share iter_glucose 2
Thomas Emge
@ThomasEmge
Jan 26 2016 08:11
pi@socalAPS ~/red_1 $ openaps use share iter_glucose 2
Traceback (most recent call last):
  File "/usr/local/bin/openaps-use", line 4, in <module>
    __import__('pkg_resources').run_script('openaps==0.0.9', 'openaps-use')
  File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 745, in run_script
  File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 1670, in run_script
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/EGG-INFO/scripts/openaps-use", line 63, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/cli/__init__.py", line 44, in __call__
    self.run(self.args)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/EGG-INFO/scripts/openaps-use", line 57, in run
    output = app(args, self)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/uses/__init__.py", line 92, in __call__
    return self.method.selected(args)(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/uses/__init__.py", line 31, in __call__
    return self.method(args, app)
  File "/home/pi/openxshareble/openxshareble/__init__.py", line 89, in __call__
    res = self.ble.run_mainloop_with(run, quit_with_loop=False)
  File "/home/pi/Adafruit_Python_BluefruitLE/Adafruit_BluefruitLE/bluez_dbus/provider.py", line 121, in _user_thread_main
    self._return_code = target()
  File "/home/pi/openxshareble/openxshareble/__init__.py", line 84, in run
    self.before_main(args, app)
  File "/home/pi/openxshareble/openxshareble/__init__.py", line 67, in before_main
    self.prolog(mac=mac)
  File "/home/pi/openxshareble/openxshareble/app.py", line 85, in prolog
    raise RuntimeError('Failed to find UART device!')
RuntimeError: Failed to find UART device!
Ben West
@bewest
Jan 26 2016 08:27
curious
openaps use share list_dexcom
Thomas Emge
@ThomasEmge
Jan 26 2016 08:30
pi@socalAPS ~/red_1 $ openaps use share list_dexcom
Searching for UART devices...
Ben West
@bewest
Jan 26 2016 08:30
hmm
Thomas Emge
@ThomasEmge
Jan 26 2016 08:30
and that's it
Ben West
@bewest
Jan 26 2016 08:30
does your dexcom g4 + share have share enabled?
Thomas Emge
@ThomasEmge
Jan 26 2016 08:31
however I was just successful to pair it using bluetoothctl for the first time
for the list_dexcom I forgot the result ... [] ;)
Thomas Emge
@ThomasEmge
Jan 26 2016 08:39
yes, share is enabled. the share - xdrip connection is currently working fine.
Ben West
@bewest
Jan 26 2016 08:46
hmmm well list_dexcom should at least show it
not sure, feeling pretty tired, so my debugging-fu is waning
Thomas Emge
@ThomasEmge
Jan 26 2016 08:54
I hear you...I am getting mixed results, I had one list_dexcom working and then one failing...
Tomorrow is another day...
Scott Leibrand
@scottleibrand
Jan 26 2016 09:02
This share is working with the dexdrip app?
Does that mean it's paired with xDrip?
It can't pair with openxshareble while paired with something else...
Paul Andrel
@stavlor
Jan 26 2016 13:16
Heh
Daniel Bjørnbakk
@danibjor
Jan 26 2016 13:38
They should have integrated a switch in there too - so you had one gigabit connector out for easy wiring
Jim Matheson
@jmatheson
Jan 26 2016 16:27
Do anyone know how much bandwith running openaps full time might use on a hotspot?
Thomas Emge
@ThomasEmge
Jan 26 2016 16:34
@scottleibrand why wouldn't it be able to pair to both? I used bluetoothctl to pair successfully while being connected to xdrip on the phone.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 16:34
I'm using a ton of data, but I'm also pushing to github, and don't turn the hotspot off when the rig is at home since I wasn't able to get it to reliably turn on/off when leaving automatically
Oskar Pearson
@oskarpearson
Jan 26 2016 16:35
Next batch of erf sticks have been delivered. Hoping to have a much quicker turnaround sending them out to people
drop me a note if you want one: subject line ERF and oskar@deckle.co.uk
Scott Leibrand
@scottleibrand
Jan 26 2016 16:44
@ThomasEmge no you didn't. The Edison/Pi reporting a pairing is not sufficient. The Dex also has to believe it's paired or it won't stay connected or let you enumerate stuff. A receiver will only pair with one device at a time: you have to Forget the old one. We're doing to be using two receivers, one for Share app and one for OpenAPS. Could also have OpenAPS upload to NS to replace xDrip.
@jasoncalabrese is it just the dhcp that is failing to release/renew on the Edison when you roam? I made a script that releases and renews the IP if it can't connect to my server.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 16:47
it might be, the times it's happened I didn't have a chance to really find the root cause
I was going to use tasker to turn the hotspot on and off, but seems like I'd have to root the phone, and I'd rather not do that
so I'll probably just always leave the hotspot on
Jim Matheson
@jmatheson
Jan 26 2016 16:52
@jasoncalabrese how much is a ton?
i think i am going to have to buy a hotspot since ATT wants me to pay an extra $40 a month to get off their unlimited plan onto a plan with built in hotspot
Jason Calabrese
@jasoncalabrese
Jan 26 2016 17:01
really a ton, we have a 6GB plan that was just my wife, and almost never came close except during vacations when I use her hotspot in crappy t-mobile areas
but still have 2 weeks left and over 4GB, I have to analyze it more
Jim Matheson
@jmatheson
Jan 26 2016 17:02
i see. could throttle back the git commits when on that wifi connection.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 17:02
figured there were bigger issues now and that paying more for a month while getting a process/system in place wasn't a big deal
Jim Matheson
@jmatheson
Jan 26 2016 17:02
true.
having a separate hotspot device seems like the wrong direction in how many things i need to carry.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 17:04
yeah, I was thinking about a jetpack, wanted a reliable network/big battery/durable device
so gave in and got a droid turbo2, even though I really don't like vzn as a company
at school and around town we use xdrip and pull from NS, but when traveling I plug the dex into the pi
Jim Matheson
@jmatheson
Jan 26 2016 17:06
yeah, i am trying to avoid a contract.
i am also trying to avoid andriod devices :)
Jason Calabrese
@jasoncalabrese
Jan 26 2016 17:06
I did that for a while, using Ting
but when network goes down my stress level goes up
Jim Matheson
@jmatheson
Jan 26 2016 17:07
i am 12 hours into looping and now realize i can’t leave the house :D
i dont actually have a dexcom G5 receiver for this transmitter so i am 100% through share at this point.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 17:08
yeah, so no network breaks the loop
Jim Matheson
@jmatheson
Jan 26 2016 17:09
yeah. i was not expecting to be up and running so quickly after getting my new transmitter so did not have the network part sorted out
Scott Leibrand
@scottleibrand
Jan 26 2016 17:09
I thought it was illegal for Dexcom to sell a G5 without a receiver.
Jim Matheson
@jmatheson
Jan 26 2016 17:09
well they sold me one.
Scott Leibrand
@scottleibrand
Jan 26 2016 17:09
(As in Not FDA Approved)
Had they already sold you a receiver before?
Jim Matheson
@jmatheson
Jan 26 2016 17:10
i have a full G5 kit on order in the depths of insurance approvals. so maybe that is why they let me get one out of pocket.
Scott Leibrand
@scottleibrand
Jan 26 2016 17:10
Maybe they expect you to "upgrade" your G4 receiver?
Pete Schwamb
@ps2
Jan 26 2016 17:10
I received a g5 w/o receiver as well.
But I do have the g4 receiver.
Jim Matheson
@jmatheson
Jan 26 2016 17:10
i have a g4 receiver. sounded like it would not work, but i did not try it to verify.
i think they were also tired of me calling them every day, so they may have given it to me to get me off their back :)
Jim Matheson
@jmatheson
Jan 26 2016 17:18
my G4 receiver will only allow TransmitterID’s that start with 6 or 7 so i guess i can’t use my G5 transmitter since it starts with a 4.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 17:22
the g4 share receivers can be updated to work with the g5, but there's no going back
Jim Matheson
@jmatheson
Jan 26 2016 17:25
i just have the old school G4. not share.
This message was deleted
Dana Lewis
@danamlewis
Jan 26 2016 17:26
(@jmatheson just in case you're trying not to break the loop for number purposes…you don't have to have 100% uptime for 3 days to get counted in. so you can leave your house! :p )
Jim Matheson
@jmatheson
Jan 26 2016 17:27
haha.
Jim Matheson
@jmatheson
Jan 26 2016 18:33
Alright, i finally got my OpenAPS and Pump pills working in NS. First fix was i was not truely on the most recent dev of NS. That got the pills to show up, but they were empty (pump was empty, OpenAPS said Warning). I thought there were problems with my timestamps in upload-status.json but i guess it is normal for not everything in there to match. The problem ended up being with my ns-upload.ini. At some point I had a version with args that included not only my site/key but also treatments.json and monitor/upload-treatments.json. After removing that, then my ns-upload started to work properly for uploading the upload-status.json as well.
JaysonEwer
@JaysonEwer
Jan 26 2016 18:38
@jmatheson are you using the ns-upload as a device?
Jim Matheson
@jmatheson
Jan 26 2016 18:39
yes
Thomas Emge
@ThomasEmge
Jan 26 2016 19:05
@danamlewis NOOOO, you are telling me that now? I am striving for the 72hr mark ;) - honestly though, stuff keeps creeping up left and right, so much still to learn
Dana Lewis
@danamlewis
Jan 26 2016 19:07
Haha sorry. Also, I don't want people to obsess over the number. It's more about getting a successful loop up and running and understanding how it's working and fixig basic breaks . The 3 days is just a general time frame of showing you've likely gotten through the bulk of basic errors and fixed them at that point :)
and trust me, even a year in, we are still learning! So that part will be ongoing :)
Jim Matheson
@jmatheson
Jan 26 2016 19:10
I wonder who has had the longest continuous loop and how long it went for.
Scott Leibrand
@scottleibrand
Jan 26 2016 19:12
depends how you define continuous I bet
although now with the Edison+RL solution, it's gonna be a lot easier to take it everywhere
Jim Matheson
@jmatheson
Jan 26 2016 19:50
Does openaps calculate temporary basal off of the active basal pattern or simply the default basal pattern?
Ben West
@bewest
Jan 26 2016 19:55
what's the difference?
between active basal pattern vs default basal pattern
Jim Matheson
@jmatheson
Jan 26 2016 19:57
If you go into settings on the 722 you can have up to three different patterns. Standard, A and B.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 19:57
I was thinking about measuring loop up time
Scott Leibrand
@scottleibrand
Jan 26 2016 19:57
If you follow the oref0 directions you're asking for selected basal profile
Jason Calabrese
@jasoncalabrese
Jan 26 2016 19:57
would be a good stat to track
Scott Leibrand
@scottleibrand
Jan 26 2016 19:57
so if you refresh that regularly I'll use whichever pattern you have selected.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 19:58
just waiting the 2 hours for dexcom would really mess it up
Jim Matheson
@jmatheson
Jan 26 2016 19:59
ok, great. I will double check that in my setup. My loop is working pretty hard to keep my BS flat so I wanted to make sure it was using the right pattern.
Jason Calabrese
@jasoncalabrese
Jan 26 2016 19:59
bet we could have much higher uptime than a commercial system could since we can make each part redundant
Jim Matheson
@jmatheson
Jan 26 2016 20:00
although i admit seeing all the blue line movement makes me smile.
Scott Leibrand
@scottleibrand
Jan 26 2016 20:01
:-)
Dana Lewis
@danamlewis
Jan 26 2016 20:14
@jmatheson me, too :) means it's doing the best thing every time it gets new data!
Jason Calabrese
@jasoncalabrese
Jan 26 2016 20:26
watching it run remotely never gets old
Dana Lewis
@danamlewis
Jan 26 2016 20:28
:)
Jason Calabrese
@jasoncalabrese
Jan 26 2016 20:28
Screen Shot 2016-01-26 at 12.28.18 PM.png
field trip at the aquarium
Paul Andrel
@stavlor
Jan 26 2016 20:29
nice
Dana Lewis
@danamlewis
Jan 26 2016 20:29
were you able to get lines like that in the days before you started sending openaps to school?
Jason Calabrese
@jasoncalabrese
Jan 26 2016 20:30
the 18g/.05U was for meal-assist, since only 60% of bolus was done up front
only when we got lucky
but wasn't normal at all
there were some network issues for about 20m, but running perfect besides that
Dana Lewis
@danamlewis
Jan 26 2016 20:32
awesome :)
Ben West
@bewest
Jan 26 2016 21:24
ah, pro tip
npm -g ls oref0 shows what is installed for oref0
npm show oref0 version shows latest from npm I believe
Jason Calabrese
@jasoncalabrese
Jan 26 2016 21:41
nice, would be good to add version/commit to a report
Ben West
@bewest
Jan 26 2016 21:44
the package itself can expose it's own package.json
like in index.js, exports.project = require('../package.json');?