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

6th
May 2016
jaylagorio
@jaylagorio
May 06 2016 01:50
@danamlewis Sadly, no hits on the firmware downgrade project. You hearing of any interest?
Pete Schwamb
@ps2
May 06 2016 01:54
@jaylagorio would love to tackle that, but it’s a huge project.
jaylagorio
@jaylagorio
May 06 2016 01:56
Agreed - but we have to start somewhere. If nothing else I'd like to prove reading and/or writing any Medtronic firmware off boards is possible at all. Then if we can identify the processor maybe we can even get disassembly started (since that would give us the entry point address).
Pete Schwamb
@ps2
May 06 2016 01:57
even if you you happen to have all the skills required. it’s an odd cpu, with some customizations. guessing the firmware is locked down; you’d have to find some way to dump it.
jaylagorio
@jaylagorio
May 06 2016 01:57
I'm willing to pay shipping on a pump or two - good or bad - to give it a shot.
Dana Lewis
@danamlewis
May 06 2016 01:57
@jaylagorio no. may be one of those things that’s about timing. (the right tipping point of finding a dead pump to play with)
jaylagorio
@jaylagorio
May 06 2016 01:58
@PS2 have you found anything out about the PS2?
*about the CPU
@danamlewis Yeah, perhaps. I'll keep feelers out though.
Bill Stackpole
@billstackpole
May 06 2016 01:58
I will certainly ask about used and/or dead pumps next time I chat with my endo or NP.
jaylagorio
@jaylagorio
May 06 2016 01:59
That would be awesome. I have hardware to make hardware diagnosis and firmware dumping possible and on a good day I have the skillset to make it work. I just need donor devices.
Bill Stackpole
@billstackpole
May 06 2016 01:59
Probably get to speak to the endo on Saturday. He usually comes to ImagineRIT.
jaylagorio
@jaylagorio
May 06 2016 02:00
@ps2 That's a great start on the processor, but I've seen this before. It includes unfortunately sentences like: "It looks like there is also some static RAM as well as flash memory on this board to store user settings. " But then all of the chips on the boards aren't in focus.
Bill Stackpole
@billstackpole
May 06 2016 02:01
(Shameless plug: if you are in Rochester NY on Saturday you may want to stop in. 20-30k visitors on campus and all kinds of displays of research and student projects)
jaylagorio
@jaylagorio
May 06 2016 02:01
@billstackpole That would be really awesome if you can swing it!
Bill Stackpole
@billstackpole
May 06 2016 02:01
Eyes open. Will advise.
jaylagorio
@jaylagorio
May 06 2016 02:02
That teardown is the most detailed I've seen but doesn't go quite as far as a teardown like you might find on iFixIt. It doesn't contain nearly enough information.
Brian Bonner
@itsn0tm3
May 06 2016 03:25
@billstackpole will stop in at RIT on sat, which booth are you going to be in again?
JaysonEwer
@JaysonEwer
May 06 2016 04:02
@jaylagorio I still have that 515 to send you.
Dana Lewis
@danamlewis
May 06 2016 04:19
@itsn0tm3 pics or it didn't happen! #reallifeloopencounters ;) @billstackpole
Mike Stebbins
@mikestebbins
May 06 2016 04:53
This message was deleted
Is there any more instruction for flashing the TI stick using a windows laptop (SmartRF Flash Programmer) and a GoodFET than the steps 1-4 here (https://github.com/oskarpearson/mmeowlink/wiki/TI-USB-stick)?
Ben West
@bewest
May 06 2016 05:01
ooo windows and goodfet?
will you throw the laptop out the window if I suggest trying an ubuntu vm? I've used goodfet under linux, but never windows
Mike Stebbins
@mikestebbins
May 06 2016 05:02
Yep....is that "ooo" in an excited way, or a "what are you about to get yourself" kind of way?
Ben West
@bewest
May 06 2016 05:02
well either way
Mike Stebbins
@mikestebbins
May 06 2016 05:02
Ahhhh...okay. I'll go that route. Thanks @bewest !
I mean oooo goodfet oh goodie exciting!
as well as oooo windows, dunno...
as well as that might work?!
Mike Stebbins
@mikestebbins
May 06 2016 05:03
;) Love the xkcd
Ben West
@bewest
May 06 2016 05:04
if ubuntu vm is not completely off-putting, I'd try that
Mike Stebbins
@mikestebbins
May 06 2016 05:04
it's an appreciated attitude for you to take on this gitter channel, I'm sure.
Ben West
@bewest
May 06 2016 05:04
it's not hard to maintain
Mike Stebbins
@mikestebbins
May 06 2016 05:04
No, I'm down for that. I have ubuntu on an old laptop, but it's 14.10 and I don't want to downgrade, so I'm using my work laptop. VM should be doable.
JaysonEwer
@JaysonEwer
May 06 2016 05:05
Does it make sense to use a pi in this case?
Ben West
@bewest
May 06 2016 05:05
you could use a pi! :-D
JaysonEwer
@JaysonEwer
May 06 2016 05:06
That's what I ended up using, with my cc debugger.
A bit slow, but not to bad.
Mike Stebbins
@mikestebbins
May 06 2016 05:06
I can do that, might be faster than downloading a VM. Cool, thanks for the suggestion.
JaysonEwer
@JaysonEwer
May 06 2016 05:06
NP
Ben West
@bewest
May 06 2016 05:07
oh yeah, if you have a pi, you can use that
good catch!
JaysonEwer
@JaysonEwer
May 06 2016 05:07
Then once you get it flashed you can just use the pi natively.
Mike Stebbins
@mikestebbins
May 06 2016 05:08
"use the pi natively"? what do you mean by natively here?
as an openaps rig?
Ben West
@bewest
May 06 2016 05:09
it'll work anywhere via usb after
JaysonEwer
@JaysonEwer
May 06 2016 05:09
There is a command line utility to flash it without using the debugger.
Mike Stebbins
@mikestebbins
May 06 2016 05:11
Once it's been flashed the first time, I can flash from the pi's usb port? So I'll be able to update firmware without the goodfet/debugger next time around?
Ben West
@bewest
May 06 2016 05:11
ah, that's the cc-bootloader
in theory that can work
in practice, I'm not sure anyone is actually using that
JaysonEwer
@JaysonEwer
May 06 2016 05:12
Yes the cc-tool
Ben West
@bewest
May 06 2016 05:12
when I developed/tested that integration, the cc-bootloader by default loads and waits 5 seconds
oh ccctl? that's different, I haven't tried that one
JaysonEwer
@JaysonEwer
May 06 2016 05:12
I did it on my pi
Ben West
@bewest
May 06 2016 05:12
if any activity happens inside those 5-15 seconds (I forget) it stays in bootloader mode
if no activity, it boots subg_rfspy (our application)
so in my usage, that meant it always stayed in bootloader
so I wound up using without the bootloader, meaning I depending on goodfet for updates
is it ccctl or cc-bootloader?
the one that ships with rfcat boots faster into the main application, IIRC
JaysonEwer
@JaysonEwer
May 06 2016 05:14
I'm looking for notes, my understanding is you need the subg_rfspy firmware installed in order to use it, so you need to flash it once.
Yeah, notes are in the right hand sidebar of the url you posted above. Here is the direct link. https://github.com/oskarpearson/mmeowlink/wiki/Firmware-install-with-CC-Tool-(Linux)
I heading to bed, 'night.
Mike Stebbins
@mikestebbins
May 06 2016 05:18
Thank you, @JaysonEwer, I'll read up. Have a good night.
JaysonEwer
@JaysonEwer
May 06 2016 05:19
@bewest Awesome video. "6 years under 5 minutes" well done!!👏🏻👏🏻👏🏻
Thanks, you too, @mikestebbins
Andrew Warrington
@andrew-warrington
May 06 2016 07:07
@timomer I am available all day 25th and 26th - visiting London with my son with no set agenda other than to meet as many of our community as possible!
from some of the other responses it looks like we might be able to have a smaller get together on the 26th afternoon as well!
jaylagorio
@jaylagorio
May 06 2016 07:25
@JaysonEwer I wasn't aware you had that - that would be great!
Bill Stackpole
@billstackpole
May 06 2016 10:33
@itsn0tm3 I'll be in B70 (GOL/GCCIS) on 1st floor in front of dean's suite. Not sure of booth #.
JaysonEwer
@JaysonEwer
May 06 2016 11:40
@jaylagorio we had exchanged emails with @CrushingT1D a little over a month or so ago. The 515 has a bit of sentimental value to me, as it was the first pump I used to loop, but pictures are almost as good as dust collectors in my book. 😛. You live in the east coast right? I live near Tysons Corner, in Virginia. We can setup a time to meet. I won't be able to this weekend though. We could set something up next week.
mm22dl
@mm22dl
May 06 2016 13:44
has anyone ever had a broken carelink stick? i'm still trying to communicate with it with decocare, and it's only working like 1 out of 10 times
JaysonEwer
@JaysonEwer
May 06 2016 13:45
How frequently are you running your loop ?
mm22dl
@mm22dl
May 06 2016 13:49
i just started trying to work my way around openaps and decocare
JaysonEwer
@JaysonEwer
May 06 2016 13:57
I run my loop every three minutes others have figured out a way to run it more frequently but it can step on itself if you run it right color
mm22dl
@mm22dl
May 06 2016 14:02
i see
i don't think it has to do with the frequency I am running decocare (stick.py), rather i think my stick might just be broken... as I said, it seems to be randomly working, and then it'll stop
reboot doesn't help
sometimes it isn't even recognized by lsusb and the latter hangs until I unplug the carelink
Dana Lewis
@danamlewis
May 06 2016 14:45
@jaylagorio :+1:
William Fallon
@inform880
May 06 2016 14:50
Is there anybody working on getting it to loop with raw BG's? I think I saw something a while ago, but I can't remember
Scott Leibrand
@scottleibrand
May 06 2016 14:57
@jasoncalabrese made an oref0-raw for that.
I think it only works with NS right now, because we haven't ported over the code for pulling calibration records to dexcom_reader yet afaik.
Jason is using xDrip to upload raw data to NS I believe.
William Fallon
@inform880
May 06 2016 15:08
OK, thanks
Is there any plan for any sort of actual forum, not instead of gitter, but in addition to it?
Scott Leibrand
@scottleibrand
May 06 2016 15:23
There are github issues, but no one has figured out anything better that's likely to actually get any traction. NS tried a forum, but no one used it: they just went to the FB group.
William Fallon
@inform880
May 06 2016 15:26
I see what you mean. It's just kinda frustrating, not being able to find my previous questions. But I agree, a regular forum probably wouldn't get traction.
Scott Leibrand
@scottleibrand
May 06 2016 15:27
What does seem to work is putting FAQs into the docs...
for new unanswered stuff I think github issues are the right place. For answered stuff, the FAQ section.
So when the answer on gitter is "we don't have X yet" then an issue to track X would be good.
Dana Lewis
@danamlewis
May 06 2016 15:35
heh. that is a FAQ
usually we point to the troubleshooting section http://openaps.readthedocs.io/en/master/docs/Resources/troubleshooting.html
that page hasn’t been touched in a while though, so probably good to add more to it
the FAQ in the docs (and on the site) tend to be more big picture for those who haven’t yet decided to jump in, vs. for people working on systems
William Fallon
@inform880
May 06 2016 15:40
Ok, I just wasn't sure
Dana Lewis
@danamlewis
May 06 2016 15:40
:+1:
PRs welcome, either in terms of adding content to either section and/or suggesting a way to better organize that content into different pages, etc.
(tnx @danamlewis!)
Dana Lewis
@danamlewis
May 06 2016 17:17
:+1:
btw, put together a longer general FAQ, if anyone wants to look through it and suggest other Qs that might be missing. https://openaps.org/frequently-asked-questions/
(and also for anyone who’s speaking at an event and wants to feel comfortable pointing people to openaps.org as the place with all the answers, it helps if there are answer :D)
Bill Stackpole
@billstackpole
May 06 2016 17:26
@itsn0tm3 see post a few comments up from this one for ImagineRIT location...
JaysonEwer
@JaysonEwer
May 06 2016 18:58
@mm22dl do you think it's a power issue? What kernel modules do you have loaded? I know early on I had a few kernel modules loaded that were not needed and removed them.
jaylagorio
@jaylagorio
May 06 2016 19:55
@JaysonEwer Oh, I didn't realize that was you @CrushingT1D linked me up with. This weekend is out for me as well, but since your 515 works for looping I have huge reservations about the operation taking it out of the population, so to speak. I'm more interested in equipment that's either broken or has firmware that's too new to loop. That way when/if the donor device doesn't work after examination nothing of looping value is lost, you know?
Jim is CrushingT1D
@CrushingT1D
May 06 2016 19:56
i thought Jayson said the 515 had a motor error
jaylagorio
@jaylagorio
May 06 2016 19:58
Oh, is that the case?
JaysonEwer
@JaysonEwer
May 06 2016 20:03
@jaylagorio sorry, it was "my first". :-). But I accidentally dropped it and it stopped working. So you are welcome to pull it apart.
I was getting a motor error which has seemed to go away, but I wouldn't trust it to use it.
jaylagorio
@jaylagorio
May 06 2016 20:06
Oh OK, that changes things. Let me look at my schedule at work and get back to you so I can give you a few suggestions?
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:18
My lab results are in. Last lab a1c on Dec 1, 2015 was 8.5
today’s lab result….drumroll…….5.7
Dana Lewis
@danamlewis
May 06 2016 20:19
wow @CrushingT1D !
Hristina Dimova
@xpucuto
May 06 2016 20:19
awesome @CrushingT1D :clap:
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:20
I’ll attribute 1/3 to being on the Dexcom, 1/3 to my busting my ass and 1/3 to all of you who helped make OpenAPS happen :)
pretty pumped
Scott Leibrand
@scottleibrand
May 06 2016 20:20
you think you can maintain <6 without the butt-busting?
(I assume the required level of effort goes down as you learn what works for you)
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:23
i think alot of the hard work was just getting openaps going relaiby for me. Now that i have multiple soultions that are fairly stable i think that is and will continue to go down dramatically.
Scott Leibrand
@scottleibrand
May 06 2016 20:24
:+1:
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:24
at this point the work will just be me being OCD and striving to get better.
Scott Leibrand
@scottleibrand
May 06 2016 20:24
and, great job. :)
jaylagorio
@jaylagorio
May 06 2016 20:25
Nice work, man, that's amazing
Scott Leibrand
@scottleibrand
May 06 2016 20:25
keep an eye out for things where the algorithm could be better. I am pretty CDO about that, but could use more eyes and brains on the problem
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:25
i will admit 8.5 is higer than normal for me. i think that was maybe the highest i’ve ever had.
Scott Leibrand
@scottleibrand
May 06 2016 20:25
CDO is like OCD, but alphabetized like it should be. ;-)
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:26
I’ve been looking at some of the other work by Nate so feeling like i am approaching the dig into algo mode more and more
there are some things that are not quite working perfect for me but i am still trying to figure out where the tweaks need to happen in my carb ratios, ISF, insulin time, carb absorbtion etc
may be algo unrelated
Scott Leibrand
@scottleibrand
May 06 2016 20:28
are you on AMA yet?
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:28
yeah
part of the time
i have it on one rig but not the other two
and mostly using the one with it, but had to swap a few days
not swapping walking around the house or anything :)
Dana Lewis
@danamlewis
May 06 2016 20:30
It would be great for someone to use both algorithms and help us figure out what to improve :)
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:30
i think analysis tools is an area we collectively lack in. basically once it falls off the left of NS it does not get analyzed much except when i look at averages, etc
my videos have been helpful. i remember that i had something similar happen and i go back and watch the video. and it was different than what i remembered so good to keep myself in check
looks like the lowest i got my a1c when i have done my slow carb diet is 6.2
Dana Lewis
@danamlewis
May 06 2016 20:50
@CrushingT1D lack in, how? what other reports, etc. do you want (to build)? and is the not-getting-analyzed-much a symptom of how so much of the management of this stuff is real time, or because there’s not the right tools?
Jim is CrushingT1D
@CrushingT1D
May 06 2016 20:55
i’d say for me (no idea for anyone else) it is not having the right tools. I tend to use a few different tools which helps me get some of what i want. but in the end i’d like to run a db query that says “show me all the days that I ate > 50 carbs after 8pm at night in the last 60 days” and then say and where my set age was < 48 hours old. things like that.
simply going back to an old video which showed me what i did to eat a certain sandwich in a certain senario helped me to figure out what to do the next time i was planning to eat that same sandwich a month later.
KJSATSTORR
@KJSATSTORR
May 06 2016 20:56
@danamlewis Are there any alternative cables I can use for connecting Carelink stick and Dexcom receiver( other than Rerii)?
Jim is CrushingT1D
@CrushingT1D
May 06 2016 21:12
i guess i might be able to finally check out tidepool since i am on an x23 now instead of an x22 which they did not work with
JaysonEwer
@JaysonEwer
May 06 2016 21:17
@CrushingT1D
5.7, that's AWESOME!! Nice job, way to CRUSH it!!
Dana Lewis
@danamlewis
May 06 2016 21:27
@KJSATSTORR yea, you don’t have to get that one. you don’t have to have an extension for the carelink (you can just plug it in), but having an extension USB cable will allow you to place the stick closer to your pump and have less annoyance with range issues
you do need a cable for plugging Dexcom in, though.
@CrushingT1D ah. that doesn’t sound like an openaps-specific thing. thanks for clarifying!
Jim is CrushingT1D
@CrushingT1D
May 06 2016 21:30
no, not really. i do think analysis like this will help develop theories to test in improving the closed loop however.
Dana Lewis
@danamlewis
May 06 2016 21:30
for sure
speaking of theories for improvement, think we have a path/plan for doing some basal-tuning. it’ll be the same thing to auto-sensitivty that AMA was to regular old meal-assist (aka even more of an improvement, and double so over the basic algorithm, and infinitely better than not looping ;)) the thread is in openaps/oref0#99 if anyone wants to add to the discussion
I have learned Java. I have learned that I hate Java.
Dana Lewis
@danamlewis
May 06 2016 22:29
LOL
Andrew Warrington
@andrew-warrington
May 06 2016 22:30
will be posting this up on Github somewhere. eventually want to make it work on my Moto 360 watch.
Dana Lewis
@danamlewis
May 06 2016 22:30
:+1:
Andrew Warrington
@andrew-warrington
May 06 2016 22:30
it needs a json file as input
i don't have bluetooth working as I would like, so it uses http to get the data
overall very basic, but a starting point.
Lori
@LoriLori
May 06 2016 22:32
@andrew-warrington just in case you might find https://github.com/LorelaiL/BLEnodeAndroid useful
Andrew Warrington
@andrew-warrington
May 06 2016 22:33
ooohhh thanks!
Andrew Warrington
@andrew-warrington
May 06 2016 22:38
Hm. Github tells me too many files. This may take me some time to figure out - what i need to upload vs. what is supporting stuff.
Jim is CrushingT1D
@CrushingT1D
May 06 2016 22:54
if anyone is in the San Francisco Bay Area next week and does not already know... there is a meetup on Wed @7pm in Oakland. I can provide deets
Dana Lewis
@danamlewis
May 06 2016 22:58
:+1:
Scott Leibrand
@scottleibrand
May 06 2016 23:09
bummer, if I'd have known I could've stayed a few hours later. I'm flying back right about then
generally I find it's good practice to announce everything widely early on: you get more serendipity that way
Paul Martin
@Spazholio
May 06 2016 23:37
Silly question - if I have a 723 with a 2.4 firmware on it, that should work fine, right? The max compatible version is 2.4a?
Scott Leibrand
@scottleibrand
May 06 2016 23:38
Does it have a PC Connect menu under utilities?
If not you should be good.
Paul Martin
@Spazholio
May 06 2016 23:41
Mine has PC Connect, but I know that my current one is too high. I’m looking to purcahase a different one and just want to make sure I’m not wasting my money.
http://openaps.readthedocs.io/en/master/docs/walkthrough/phase-0/hardware.html <— this says it needs to have 2.4A or lower - just verifying that that’s still the case.
Scott Leibrand
@scottleibrand
May 06 2016 23:44
As far as we know. Maybe ask for a picture of the utilities screen if you want to be sure?
Paul Martin
@Spazholio
May 06 2016 23:46
@scottleibrand Excellent, thank you.