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

1st
Jun 2015
diabeticgonewild
@diabeticgonewild
Jun 01 2015 00:57 UTC
I'm watching South Park and I feel better
And I am watching tv for like the first time in months
diabeticgonewild
@diabeticgonewild
Jun 01 2015 01:22 UTC
WTF South Park has an episode on gluten free...I'm watching it right now and they mentioned diabetes too hahaha
diabeticgonewild
@diabeticgonewild
Jun 01 2015 09:09 UTC
So I'm pretty sure I got #OpenAPS running for somebody with a VI (Visual Impairment) and it's all him and he did it pretty much all on his own and he's completely blind. He should be very happy as he can access his devices now.
He is a computer scientist and so he can do a lot with the data. He's most comfortable with JavaScript so he wants to get Angular.js going. But he can pretty much see his devices now.
But he may want people to tell him more about the JSON files that #OpenAPS created
Also @bewest if you could create a way so he can access the Bayer Contour Link meter it would be appreciated. They really need to have a place where they can access the data all in one place.
Ben West
@bewest
Jun 01 2015 16:54 UTC
I'm blocked on getting more transcripts
diabeticgonewild
@diabeticgonewild
Jun 01 2015 16:57 UTC
Got it. Thank you so much. I will take a look :)
Ben West
@bewest
Jun 01 2015 16:57 UTC
basically, there's a byte there
diabeticgonewild
@diabeticgonewild
Jun 01 2015 16:57 UTC
yeah
Ben West
@bewest
Jun 01 2015 16:57 UTC
the a7 byte in the outbound messages mean "this is a pump command"
I know most of the details, but not the byte before the a7
diabeticgonewild
@diabeticgonewild
Jun 01 2015 16:58 UTC
yeah I will look at it
Ben West
@bewest
Jun 01 2015 16:58 UTC
so I need someone to a.) tell me what it means and how to create it or b.) give me a complete usb transcript, similar to complete-pump-nextlink.csv by using either a software or hardware usb sniffer to catch everything
for these transcripts, I used a hardware device sold by TotalPhase
diabeticgonewild
@diabeticgonewild
Jun 01 2015 16:59 UTC
yeah. What types of sniffers would you specifically need?
oh
Ben West
@bewest
Jun 01 2015 16:59 UTC
but I've also used software programs like usblyzer
usbprobe for mac
usb sniffer
anything that can record everything that happens on usb
usually they dump to a txt or csv file
diabeticgonewild
@diabeticgonewild
Jun 01 2015 17:00 UTC
that's nice
like this?
Ben West
@bewest
Jun 01 2015 17:02 UTC
yeah, I think that's what I used
but I can't stress this enough: you don't need hardware to do it
there are software programs that do it
usblyzer for windows works
the mac sdk has a tool called usbprobe that works
diabeticgonewild
@diabeticgonewild
Jun 01 2015 17:03 UTC
Yeah
Ben West
@bewest
Jun 01 2015 17:03 UTC
you can also start a windows VM inside of linux
and use linux built in stuff to sniff
diabeticgonewild
@diabeticgonewild
Jun 01 2015 17:03 UTC
I think I have a contour USB Link meter
yeah
Ben West
@bewest
Jun 01 2015 17:03 UTC
in fact, if you do it that way, wireshark will even give you a nice gui to do the sniffing
I usually use usblyzer
diabeticgonewild
@diabeticgonewild
Jun 01 2015 17:04 UTC
got it
jwedding
@jwedding
Jun 01 2015 18:23 UTC
I'll throw it out there. If you need some of these tools to make progress happen, message @bewest, @jasoncalabrese or me directly. We have budget to help push projects forward, and you guys are doing these things....
Ben West
@bewest
Jun 01 2015 18:23 UTC
it's not the tools, it's the data
well, hmm
lemme think about that
if I go shopping it could get expensive ;-)
Dana Lewis
@danamlewis
Jun 01 2015 18:24 UTC
:)
jwedding
@jwedding
Jun 01 2015 18:26 UTC
You guys saw the spend to date. We have budget to help push things if it's a question of tools or services. I can't buy time unfortunately...
Ben West
@bewest
Jun 01 2015 18:28 UTC
hehe, good points
Sulka Haro
@sulkaharo
Jun 01 2015 18:55 UTC
For some tools and services, it might be worth contacting the provider and talk about a donation, which might be a deductible and a great pr case.
jwedding
@jwedding
Jun 01 2015 18:57 UTC
We're working on that currently. Gitter for example has helped out here, but we're in discussions with Microsoft and Mongolab to provide some lower cost access to their commercial grade infrastructure, instead of just the sandboxes.
Ben West
@bewest
Jun 01 2015 20:09 UTC
@jwedding actually, @TC2013 pointed out the obvious: we need PCB/3d print designs for openaps
take rileylink to next level
jwedding
@jwedding
Jun 01 2015 20:12 UTC
OK, let's pretend I'm dumb (easy game with this crowd,) what does that mean? we need to buy cad designs? Or pay for the baords to be printed?
Ben West
@bewest
Jun 01 2015 20:13 UTC
actually I have to admit, I'm dumb when it comes to this stuff
Toby Canning
@TC2013
Jun 01 2015 20:13 UTC
I was thinking the designs themselves
Ben West
@bewest
Jun 01 2015 20:13 UTC
I know I want a rileylink, preferably something that's workable as usb or something at it's simplest
I mean there are variety of fancier ideas bouncing around
ideal for me would be enclosure for intel edison, with some designed daughter boards to host rileylink/xdrip on it
Toby Canning
@TC2013
Jun 01 2015 20:16 UTC
Add battery with charging circuitry and we would be set!
Pete Schwamb
@ps2
Jun 01 2015 20:18 UTC
I’ve been wondering how large & cpu intensive the openaps code is. There are two microcontrollers on the Rileylink. I think the biggest job would be porting the code to embedded c, which (imo), is nasty work.
Ben West
@bewest
Jun 01 2015 20:18 UTC
yeah, there's already a daughterboard with usb recharcheable batteries
yeah, idea is to leverage linux for prototyping
as we get things figured out, port more and more to better targets
so yeah, my prototype is rather expensive/wasteful
but super easy to debug, hack on
Pete Schwamb
@ps2
Jun 01 2015 20:19 UTC
yes, that’s important, I agree.
Toby Canning
@TC2013
Jun 01 2015 20:19 UTC
The processing is not intensive, AFAIK
Ben West
@bewest
Jun 01 2015 20:20 UTC
so the intel edison is full linux computer in super small package
much smaller than rpi
and it's got this template daughterboard thing
very wasteful, but very easy in short term I guess
Toby Canning
@TC2013
Jun 01 2015 20:20 UTC
Edison is fairly power hungry though
Sulka Haro
@sulkaharo
Jun 01 2015 20:20 UTC
Afaik @jberian has a production ready board with a RF to BLE bridge. Maybe even with Dex frequency support
Ben West
@bewest
Jun 01 2015 20:20 UTC
but ideally migrate everything to embedded, away from linux
oh wow
Sulka Haro
@sulkaharo
Jun 01 2015 20:21 UTC
Which would be amazing if it actually happens
Ben West
@bewest
Jun 01 2015 20:22 UTC
have you overseas people seen SOOIL/ "R Dana pump""
it has full bluetooth support
Nope what's that?
Sulka Haro
@sulkaharo
Jun 01 2015 20:26 UTC
Interesting. Where do they sell? How much? Is the ble spec open?
Ben West
@bewest
Jun 01 2015 20:26 UTC
they sell in a lot of places
but not US
SOOIL is a south korean company I think
so they have asia/pacific, lot of eastern and western europe covered
I have no idea about the ble... but given the use cases they are advertising, I would be surprised if it was hard to get into
seems most people are relying on bluetooth's pairing mechanism as the only "locking" mechanism out of simplicity
the new medtronic does have some kind of TPM in place, but not sure what it is
Scott Leibrand
@scottleibrand
Jun 01 2015 20:31 UTC
yeah, the SOOIL ANYDANA thing looks really promising. also worth noting that an earlier generation without the read/write BLE capabilities (that uses the same pump supplies) is sold in the US, so you can legally get supplies here if you can go overseas to acquire the pump itself.
Toby Canning
@TC2013
Jun 01 2015 20:34 UTC
Ben, would you help me craft language to reach out to SOOIL and see if they will give us the protocols for the BLE communication if we buy a few pumps?
Ben West
@bewest
Jun 01 2015 20:34 UTC
yeah
yeah, good idea
Toby Canning
@TC2013
Jun 01 2015 20:35 UTC
Maybe my PhD title will lend us a little face validity here
Scott hired me afterall
Dana confirmed the position ;)
With Ben's recent doctorate, we are all set!
diabeticgonewild
@diabeticgonewild
Jun 01 2015 20:43 UTC
diashop.de sells them
Importation of Class II medical devices is both legal and illegal at the same time.
They aren't devices that can be seized either
they will just "detain" them
at a site and you have an "opportunity" or "opportunities" to dispute it even in person
i've read up on the laws
Toby Canning
@TC2013
Jun 01 2015 20:46 UTC
Monica, will you use your google-fu to see if there is a better way to contact SOOIL than this: http://www.sooil.com/new/eng/m4_04.html
diabeticgonewild
@diabeticgonewild
Jun 01 2015 20:46 UTC
I will but blood sugar is super low
was talking to insurance forever and couldn't take a break on the phone
have stuff going on with them...multiple things with different companies...one really bad
I will in a sec
Toby Canning
@TC2013
Jun 01 2015 20:47 UTC
No worries, take care of yourself!
There is no rush.
diabeticgonewild
@diabeticgonewild
Jun 01 2015 20:50 UTC
Got an international phone number that can be used via Skype or whatever
put this into Google
"sooil" AND "diabetes" site:fda.gov -"soil"
from 2007 though
Another US contact with San Diego address (other one was in Massachusetts) : https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfPMN/pmn.cfm?ID=K063126
diabeticgonewild
@diabeticgonewild
Jun 01 2015 20:56 UTC
again, this is an 858 area code on this document, so it may be worth a try http://www.sooil.com/new/eng/file/FDA%28DANA%20IIS%29.pdf
This is pretty much all of the English stuff on the Dana Diabecare site https://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.sooil.com%2Fnew%2Feng%2F&ie=utf-8&oe=utf-8
diabeticgonewild
@diabeticgonewild
Jun 01 2015 21:02 UTC
Here's the pump "everyone wants" on diashop.de ... all you really need is a "mail forwarding service" (that is legit) with a German address and send it to the US and deal with customs
I have sent some questionable stuff through customs before...medical stuff only
but remember not to do anything dumb like "test the waters"...it's not like ICE doesn't log everything that goes through our borders due to "security" issues
Also
if you don't get a device in mg/dL they can withhold it due to "misslabling"
so
in terms of "Europe", the German speaking countries and the French are the only ones that measure in mg/dL
and Israel
and South America in general...but remember that
they can keep an expensive device from you due to only having "mislablelling" as in mmol/L instead of mg/dL
if it's in mg/dL it's still in their discretion but there is nothing really legally logistically holding you back
I spent about 50-60 hours reading medical device import laws. Was interested awhile in obtaining a Freestyle Navigator II
diabeticgonewild
@diabeticgonewild
Jun 01 2015 21:09 UTC
I think all you need is a EU prescription to get an insulin pump from Germany or whatever, cause prescriptions, regardless of which EU country they are written in, are authorized to be used anywhere in the EU
Knock yourself out for finding a German distributor (sometimes if you look hard enough you can find legit places that sell without RX, crazy): https://www.google.de/?gws_rd=ssl#q=%22dana+diabecare+r%22+AND+%22insulinpumpe%22
Like you can select "privatrezept" or whatever here which means "private pay" (without insurance) http://www.medpex.de/dana-diabecare-iis-insulinpumpe-p1199104#ai1400
diabeticgonewild
@diabeticgonewild
Jun 01 2015 21:14 UTC
But yeah you get the point...I will save the rest for private convos
diabeticgonewild
@diabeticgonewild
Jun 01 2015 21:26 UTC
but judgement is bad right now. Probably let too much info out but my brain is fried from low BG....yay diabetes hangover.
diabeticgonewild
@diabeticgonewild
Jun 01 2015 22:23 UTC
But feel better now, finally