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

21st
May 2015
Scott Leibrand
@scottleibrand
May 21 2015 00:02 UTC
We have done some of my openaps implementation in JavaScript using nodejs, and that works fine.
You only really need Python if you want to edit Ben's tools.
There was a lot of code already in Nightscout in js, so it was easiest to just reuse that directly.
Ben West
@bewest
May 21 2015 00:03 UTC
js is fine with node, openaps can use it just fine, there's no benefit to python
Scott Leibrand
@scottleibrand
May 21 2015 00:04 UTC
Unfortunately I still haven't gotten a chance to do much more. In Peru now, so it'll have to wait till I get back.
Gabe Castellanos
@gcastellanos
May 21 2015 00:12 UTC
awesome! I've got a lot of reading to do i think.
Ben West
@bewest
May 21 2015 00:14 UTC
feel free to ask questions, filing issues on https://github.com/openaps/openaps/issues/new is good way
Gabe Castellanos
@gcastellanos
May 21 2015 00:25 UTC
will do! thanks.
Darrell Wright
@beached
May 21 2015 01:30 UTC
Interesting the range difference between mmcommander and the medtronic pump. Accross the house with mmcommander, even between floors, but the pump barely gets through me
Ben West
@bewest
May 21 2015 01:37 UTC
maybe good parts for your build? or good build technique?
Darrell Wright
@beached
May 21 2015 01:43 UTC
That is just the straight up CC1111 from TI and a phone. So just the CC1111
Ben West
@bewest
May 21 2015 01:43 UTC
did you have the TI debugger already?
Darrell Wright
@beached
May 21 2015 01:45 UTC
Several months ago I got that and the CC1111. I am about to restart looking at the CC1110 and a BB or BTLE module. I had to put the work on hold when my kid was born
Ben West
@bewest
May 21 2015 02:25 UTC
nice
Ben West
@bewest
May 21 2015 06:55 UTC
this bayer device is result of design by committee
it's been "designed" to be easy to use which means it ends up being incredibly frus. tra ting. proper english way
it's got this modal interface
Oliver Schumacher
@oschumac
May 21 2015 07:36 UTC
@beached do you have an cc1110 with propper firmware on it ?
Ben West
@bewest
May 21 2015 07:47 UTC
sounded like yes
diabeticgonewild
@diabeticgonewild
May 21 2015 08:44 UTC
Re: Open source pump, couldn't you just use like a digital insulin pen and an actuator enclosed in a case?
Also, working on an image of Ubuntu for the Raspberry Pi 2 for people with visual impairments, like I said I would. I was just overwhelmed the past couple of days, and I did start itching and getting sick from the infusion. They gave me like antihistamines like benadryl plus steroids and they told me I wouldn't feel well, but I am feeling better now.
Like I could seriously see it happening via, at a minimum, at the prototyping level with Lego Mindstorms. There are lots of custom actuators you can buy off of the Internet. Then, just throw a 3D case on top of it.
diabeticgonewild
@diabeticgonewild
May 21 2015 08:58 UTC
Like look up the pendiq insulin pen, which allows for 0.1 unit increments. Sold in the EU so all you would have to do is buy it from Europe and find a store that ships to the U.S. OR use a mail forwarding service with a European address that ships to the U.S.
An example of a custom made actuator for Lego Mindstorms EV3 (most recent version of Mindstorms). Made by Firgelli, which is high quality for this kind of stuff. http://m.imgur.com/Jy7VgVn
Firgelli is expensive though. They are based in Victoria, B.C., Canada
Actually the actuator I have and that I took a photo of by Firgelli will work for this pen in 0.1 unit increments as it is a linear actuator!!!! I have 2 of them!!!! Game on! This is totally going to be my next project and splurge (I only need to get the pen at this point of time as I have the actuators and the Lego Mindstorms EV3 set! http://www.pendiq.com/en/start#&panel1-2
diabeticgonewild
@diabeticgonewild
May 21 2015 09:03 UTC
But the actuator is noisy so that might be a problem...let me make a video of it soon...
But they make actuators for other prototyping kits.
diabeticgonewild
@diabeticgonewild
May 21 2015 09:12 UTC
Ben West
@bewest
May 21 2015 09:13 UTC
put it on a sparkfun edison block :-)
diabeticgonewild
@diabeticgonewild
May 21 2015 09:15 UTC
Spec sheet. Kind of noisy at 55 dB http://www.firgelli.com/Uploads/PQ12_datasheet.pdf
Ben West
@bewest
May 21 2015 09:16 UTC
the mm512 used maxon motors (german)
diabeticgonewild
@diabeticgonewild
May 21 2015 09:17 UTC

Would need to be enclosed in a case that dampens sound
Examples of Sound Levels
(in decibels)

10 a light whisper
20 quiet conversation
30 normal conversation
40 light traffic
50 typewriter, loud conversation
60 noisy office
70 normal traffic, quiet train
80 rock music, subway
90 heavy traffic, thunder
100 jet plane at takeoff

I like the idea of using an insulin pen and just building on top of it.
Ben West
@bewest
May 21 2015 09:18 UTC
that's quite loud
diabeticgonewild
@diabeticgonewild
May 21 2015 09:18 UTC
Yep
Ben West
@bewest
May 21 2015 09:18 UTC
that's what asante's design does
same "input" as insulin pen
diabeticgonewild
@diabeticgonewild
May 21 2015 09:19 UTC
yeah, but use the pen to drive the insulin, as motor failure can be a gigantic problem
Ben West
@bewest
May 21 2015 09:19 UTC
it can?
I'm not aware of any actual motor failures
lots of software failures
lots of system failures
almost no motor failures
esp with asante's design, where it's one way, one use
diabeticgonewild
@diabeticgonewild
May 21 2015 09:20 UTC
I'm just saying, finding one that fits to an insulin pump cartridge is a potential problem, and like fitting it in properly is a risk
Just use an insulin pen and build upon it.
And then make future designs more creative
Ben West
@bewest
May 21 2015 09:21 UTC
motor and fitting insulin cartridge are two independent puzzles for the system as a whole to solve
diabeticgonewild
@diabeticgonewild
May 21 2015 09:21 UTC
These motors look interesting http://www.migamotors.com/
Ben West
@bewest
May 21 2015 09:22 UTC
it's important to fit the fundamentals, which is the cartridge the insulin vendor sells
the pen is nothing
diabeticgonewild
@diabeticgonewild
May 21 2015 09:22 UTC
The pen can be used to drive the insulin in a "guaranteed" manner.
Ben West
@bewest
May 21 2015 09:22 UTC
pen is twice as long as pump precisely because it's amanual device
not it can't
pumps are much more precise than pen
much much much more
pens are terribly at precision
diabeticgonewild
@diabeticgonewild
May 21 2015 09:23 UTC
The one I linked goes to 0.1 unit
This message was deleted
Ben West
@bewest
May 21 2015 09:23 UTC
you can test this easily apparently by measuring the amount that comes out
try giving 0.5 with pen
compare with pump
pump is much much much better every time
try with 0.1 unit
try with 0.01, good luck ;-)
pen's can't even do that
diabeticgonewild
@diabeticgonewild
May 21 2015 09:24 UTC
well obviously, but there will be design compromises needed
pumps are much more precise than pens
pens are actually really terrible
it's bad enough that it's visible by sight by injecting into empty vials (spare caps)
diabeticgonewild
@diabeticgonewild
May 21 2015 09:27 UTC
It depends on the pen, honestly.
Ben West
@bewest
May 21 2015 09:27 UTC
not from what I've seen
think about basic physics of how these things work
if you're comparing any pen to eg a medtronic, asante, tandem pump....
any tubed pump
the pens physically can't do the resolution that pumps do all the time
diabeticgonewild
@diabeticgonewild
May 21 2015 09:30 UTC
I don't doubt that, but you are not factoring in positioning issues and other forms of feedback for a "safe" insulin pump. I am trying to go "simple" as I want something that "works" right away.
Ben West
@bewest
May 21 2015 09:30 UTC
there's no way you're muscles pus a mechanical contraption is reliable nor as precise as a machine
this is where pumps accel
asante is an ideal design
it takes the same physical input as a pen
so there's no difference in product lifecycle for insulin
one big difference is you can reliably dose 0.01 units with a pump like that
with a pen you get < 1.0 unit +/- .05
er
diabeticgonewild
@diabeticgonewild
May 21 2015 09:32 UTC
With a t:slim
Ben West
@bewest
May 21 2015 09:32 UTC
0.5
which is 50%, which is crazy
with medtronic I can dose 0.05 or something like that
with more recent ones I think it's 0.025
you can't do that with MDI or pens
precision isn't a problem with pumps
diabeticgonewild
@diabeticgonewild
May 21 2015 09:35 UTC
yeah, I am aware of this
Ben West
@bewest
May 21 2015 09:35 UTC
as with all treatments problem is accuracy
what amount "should we give?"
diabeticgonewild
@diabeticgonewild
May 21 2015 09:48 UTC
I don't know the actual size of the reservior for the interior diameter, but I think it is 1.3 mm...I tried to measure it briefly. It would be something like this for a AAA battery. http://www.maxonmotorusa.com/maxon/view/catalog RE 13 Ø13 mm, Graphite Brushes, 1.5 Watt Plus you would need a mold to fit the inside of the lead screw to connect the actuator to
Obviously somebody has reverse engineered the insulin pump because there are pumps on alibaba.com , LOL
Ben West
@bewest
May 21 2015 09:52 UTC
:-)
this is why we're attempting to court asante's bankruptcy
if we can buy their IP and quality systems
and then open source it as a "open source pump" hardware platform
that would be coo
diabeticgonewild
@diabeticgonewild
May 21 2015 09:53 UTC
indeed
diabeticgonewild
@diabeticgonewild
May 21 2015 10:08 UTC
wow so the Dana Diabecare R allows you to change basal rates over an Internet connection!? Awesome!
Matthias Granberry
@mgranberry
May 21 2015 11:49 UTC
Wow.. I want.
Holger Sanft
@holgi13
May 21 2015 12:12 UTC
@diabeticgonewild Wow - thats it - this is my new pump. Thanks for this fantastic Link :-D yesterday I send a email to the german Distribution Company. I want to get a test phase with this pump ;-) now I am waiting for the answer...
Android App (AnyDANA) is on Google Play Store in germany not available
diabeticgonewild
@diabeticgonewild
May 21 2015 14:01 UTC
What not in the Google Play store? :(
That looks awesome though
Have you tried to see if it's available in the UK Play store? Use a VPN on your computer/phone to access the UK one...
I mean that would be solo beneficial for parents of kids too in school. Correct for them and just update the info in NS Care Portal so the kid knows what you did...
diabeticgonewild
@diabeticgonewild
May 21 2015 14:06 UTC
I just took a medicine combination that will be very sedating so I might not answer for awhile...but I need to give my body a break today
Holger Sanft
@holgi13
May 21 2015 14:42 UTC
@diabeticgonewild know is clear, I had a phone call with the distribution company. The Android App is only in english language, so the german medical law need a german language on App ;-) I bekäm
I became the installation file of the App stand alone, if I sign them a assumption of risk :-P
Darrell Wright
@beached
May 21 2015 14:44 UTC
@oschumac I have a Ciseco XRF module which is a CC1110 broken out with their FW.
@bewest , I have found the 0.025 too significant when I am running. I would be going high on one value and low on the next increment up
@beached I've been playing with the Ciseco SRF-Stick, which is a CC1111. Cheap, and easy to pop out of its case and re-flash. Plus, USB and 3 LEDs :-)
Matthias Granberry
@mgranberry
May 21 2015 15:21 UTC
that looks very hacker-friendly
can you power it via the 8-pin interface?
Haven't tried, but one of those holes is for 3.3V, so should be possible. The others allow TX/RX for UART, and RESET/DD/DC for flashing via the CC-Debugger or other tool. I added pin headers to mine to make it easy.
diabeticgonewild
@diabeticgonewild
May 21 2015 16:20 UTC
@holgi13 I actually would get the Veo if I were working on an #OpenAPS . I would ask @bewest , about compatibility, but I think he can do it with his repo. I would not be giving you sound advice with regards to development, but I do think the Dana Diabecare R is super awesome.
Sorry blood sugar is low, but I would not be giving you sound advice otherwise with regards to development, if I didn't recommend the Veo...
Holger Sanft
@holgi13
May 21 2015 16:30 UTC
@diabeticgonewild :-) now my Paradigm 554 works, so for the #openAPS is a player on board. Oliver and I invest a lot of time in this project, so I think we need a pump that works in the future and a solution.
diabeticgonewild
@diabeticgonewild
May 21 2015 16:31 UTC
awesome! :D
@holgi13 When you say the Veo works, do you mean it accepts remote bolus / temp basal commands etc.?
Darrell Wright
@beached
May 21 2015 16:45 UTC
@ecc1 I am using the ti CC1111 already but don't want the USB, I am going to get a BT or BTLE connection to a
CC1110
Holger Sanft
@holgi13
May 21 2015 19:45 UTC
@ecc1 yes - the 554 with ver. 2.6A 1.1 0B 0B accepts temp basal commands.
Nathan Racklyeft
@loudnate
May 21 2015 19:46 UTC
(Non-US that is)
Sulka Haro
@sulkaharo
May 21 2015 19:47 UTC
Is this with latest openaps software?
Holger Sanft
@holgi13
May 21 2015 20:19 UTC
No - we work with a linux boot usb-stick, to start on every laptop or netbook. system is now only in test modus with CGM data from nightscout acount via wlan. no human testing at this time. if the edison is accept the carelink, we switch the system on edison.
Oliver Schumacher
@oschumac
May 21 2015 21:11 UTC
Hi, knows someboby which hardware they use ??