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

30th
Mar 2017
PopcornPam
@PopcornPam_twitter
Mar 30 2017 01:14 UTC
@scottleibrand from two nights ago...
0x00 probably means it can't see the Explorer chip.
What do the two LEDs off to the side of the microUSB ports show?
Do they stay on? Or light up briefly one after the other when you do openaps mmtune?
They alternate
Scott Leibrand
@scottleibrand
Mar 30 2017 01:24 UTC
Continuously, or just once per mmtune?
PopcornPam
@PopcornPam_twitter
Mar 30 2017 01:25 UTC
continuously since I entered the command about 15 minutes ago
the green and red are both on kinda faint, then bright green, then bright red, then back to both on a loop
Cameron Chunn
@applehat
Mar 30 2017 01:38 UTC
@danimaniac what software did you use to model that case? I don't have my printer yet, but wanna get a jump on learning how to model....But there are like 50 options.
katie disimone
@Kdisimone
Mar 30 2017 02:54 UTC
@jcorbett80 @scottleibrand great suggestion on that file link. I changed the pr to just have two files we needed. No extraction needed for dfu-util 👍🏻
dan lightner
@danimaniac
Mar 30 2017 03:10 UTC
@applehat I have been using tinkercad. Others also recommend fusion360.
Neal
@tnharvey
Mar 30 2017 03:49 UTC
Hi, has anyone scheduled eating soon to happen at the same time every day for certain meals? I'm thought I saw a tweet about @danamlewis doing that, but can't seem to find it, and can't figure out how to get it working
It's probably simple, but my brain is not getting it
Neal
@tnharvey
Mar 30 2017 04:39 UTC
Okay, I think I sorted it out. Not sure if anyone else found an easier way. I scheduled a careportal post using curl in crontab. Maybe there's a smarter way?
Alan McLean
@alancmclean
Mar 30 2017 05:19 UTC
hey folks. my edison loop seems to have suddenly stopped working. When I log and look at the logs it just says "error, retrying". Any thoughts as to why that might be?
Neal
@tnharvey
Mar 30 2017 05:58 UTC
Is your log showing that mmtune is showing a frequency? I get "error, retrying" sometimes, but eventually mmtune runs and things get connected
I did, at one point, notice that it wasn't getting new data into the pump history, and it turned out I ran out of storage. I cleaned up, compressed, and it ran fine after that.
PieterGit
@PieterGit
Mar 30 2017 06:25 UTC
@libxmike : any progress on your finding with openaps/oref0#357 . I still think the issue you found is unrelated to my pull request. Is there anybody else that is able to help testing openaps/oref0#357 (WW-pump or TI-USB is not required for the testing, because the testing is also about if there is no problem for non-WW-pump and non-TI-USB users). @scottleibrand : i think it's ready to be merged to dev
Tim Street
@tim2000s
Mar 30 2017 07:23 UTC
@tnharvey There's a script in the hotbuttons section of the docs that I use (my rig is configured offline) that I run from a cron job Monday to Friday to schedule eating soon.
elodaille01
@elodaille01
Mar 30 2017 07:56 UTC
@tim2000s do you stay offline even if you're at home ?
@scottleibrand @ceben80 or anyone else..Do you think that a low battery level (wireless bridge in my case) could disrupt Openaps even if the information on my NS is wrong ?
elodaille01
@elodaille01
Mar 30 2017 08:06 UTC
(always showing '5 percent' !!)
Tim Street
@tim2000s
Mar 30 2017 09:05 UTC
@elodaille01 Yes. My phone handles the switching between networks. Android 6 up allows bt teththering to wifi hotspots so it makes management much easier, and I use my phone as the control gui.
Mike
@libxmike
Mar 30 2017 10:22 UTC
@PieterGit unfortunately not, will be returning home probably this evening, my out of county stay took longer as I thought
Dana Lewis
@danamlewis
Mar 30 2017 10:27 UTC
@tnharvey if you're really doing it every day, you can a) Change your actual pump targets b) schedule it via NS care portal or via cron or c) tie it to a behavioral trigger. Since my schedule is not the same every day, that's what I do (c) and have it run based on the closing of my sleep tracking app from my phone
Mike
@libxmike
Mar 30 2017 10:35 UTC
@tim2000s how is your experience with Fiasp and openAPS?
Tim Street
@tim2000s
Mar 30 2017 10:36 UTC
I'll be writing a new blogpost at the weekend but it works very well.
94% in range.
Mike
@libxmike
Mar 30 2017 10:38 UTC
I'll get prescription maybe in May as I got 10x3ml novorapid two weeks ago
Tim Street
@tim2000s
Mar 30 2017 10:38 UTC
When range is 4-10
93% when range is 4-9
Mike
@libxmike
Mar 30 2017 10:39 UTC
also improvement compared to novorapid?
Tim Street
@tim2000s
Mar 30 2017 10:39 UTC
And if range is 3.8-9, 94% in range with only 6 sensor values below 3.8
If I compare that to February, I was 2% low, 10% high and 88% in range.
Mike
@libxmike
Mar 30 2017 10:44 UTC
I see, it is working faster and causing less high BG
Tim Street
@tim2000s
Mar 30 2017 10:49 UTC
Yes. I've just run the stats and based on the weeks worth of data, estimated Hba1C change is down 3mmol/mol. And I've eaten to utter rubbish this week.
What's most amazing is the reduction in overnight variance. The 25-75 band is now around 1mmol/l vs around 3 on Novorapid.
I'd caution all of that with 6 days is not enough data.
Mike
@libxmike
Mar 30 2017 10:53 UTC
sure, we need more data from users, I'll be one of them soon
I think openAPS will benefit from it as higher temp basal can lower BG faster, less manual correction if at all
Tim Street
@tim2000s
Mar 30 2017 10:59 UTC
I know of one on loop and another on OpenAPS.
I'm putting together a learning form on my website to capture people's experiences so that they can be shared with HCPs prescribing the stuff
Scott Leibrand
@scottleibrand
Mar 30 2017 11:05 UTC
@popcornpam definitely a problem with the cc1110 then. If you can't get ccprog to work, you might need to contact ERD for assistance.
Scott Leibrand
@scottleibrand
Mar 30 2017 12:04 UTC
@tim2000s Awesome!
Matthias
@ceben80
Mar 30 2017 12:10 UTC
@tim2000s :clap:
cameronrenwick
@cameronrenwick
Mar 30 2017 12:15 UTC
anybody got a canadian source for the adafruit 2000 mah lipo? I can get a similar battery "up here" but they're all pretty chunky and I like how the adafruit is somewhat rectangular (vs Canadian ones that are square). Seems all US suppliers won't mail them. Anyone interested/able to send me one? I'd gladly pay whatever ...
jcorbett80
@jcorbett80
Mar 30 2017 12:28 UTC
@cameronrenwick the US post office no longer ships them according to the post office in my city. And I believe either FedEx or UPS is the only one left that will. It's not the suppliers. If you can find someone close to the border (to keep shipping lower) that will buy one for you and look up if it is ups or FedEx that will do it. They can get 1 to you.
cameronrenwick
@cameronrenwick
Mar 30 2017 12:30 UTC
@jcorbett80 thanks for the insight... I guess that's why when I try to order them shipping immediately defaults to fedex or ups. As you can imagine, the cost of shipping is sometimes double/triple the cost of the battery - 1 supplier actually told me to by 20 and it'd be more economical.. ahem sure..
jcorbett80
@jcorbett80
Mar 30 2017 12:34 UTC
@cameronrenwick yeah. Unfortunately they are becoming deemed "to dangerous" to fool with by more and more people and companies. It probably won't be too long before one of those 2 drop out.
cameronrenwick
@cameronrenwick
Mar 30 2017 12:36 UTC
@jcorbett80 all this because one cellphone maker didn't do their homework and we all realize the clampdown... sheesh
jcorbett80
@jcorbett80
Mar 30 2017 12:37 UTC
Yeah I know.
@cameronrenwick according to the people I've spoken with. The main issue is they can not be bent, heated, or punctured without also going up in flames which is true. But companies ship them in cardboard boxes because the cost of truly protecting against all of that would bring the shipping cost even higher.
Mike
@libxmike
Mar 30 2017 13:23 UTC
@cameronrenwick if you can wait few weeks (it took 19 days to EU) you can order on aliexpress this one https://www.aliexpress.com/item/Free-shipping-3-7-V-lithium-polymer-battery-2600-mah-104255-mobile-power-supply-tablet-GPS/32617687725.html
length is same as explorer and bit wider
ejoe132
@ejoe132
Mar 30 2017 13:35 UTC
When I set up my edison I did the dev so I could have autotune, during setup believe it asked if I wanted it and I said yes, but how do I turn it on to automate it in loop? Would like to try implementing this feature
Mike
@libxmike
Mar 30 2017 13:45 UTC
@ejoe132 I think first step will be to see what autotune does, there is log files in /var/log/openaps/autotune.log
there is one log more with "recommend" in it but don't have my 2nd rig in here
ejoe132
@ejoe132
Mar 30 2017 13:55 UTC
@libxmike By running that string would give me the log it has kept? Ill give that a shot
Mike
@libxmike
Mar 30 2017 13:56 UTC
just do tail -n 100 /var/log/openaps/autotune.log
or cat /var/log/openaps/autotune.log
ejoe132
@ejoe132
Mar 30 2017 13:59 UTC
@libxmike Very cool, it worked. So is the autotune column based on the 24days (I think) of data it has or just the last day?
Mike
@libxmike
Mar 30 2017 14:00 UTC
w/o any change will do just last 24h
every day
you can then combine or run with diff time value, e.g few days or weeks
ejoe132
@ejoe132
Mar 30 2017 14:02 UTC
@libxmike Ok, so how would I run with different time value? To get a more long term look at its reccomendations
Mike
@libxmike
Mar 30 2017 14:05 UTC
I think it has to be changed in autotune.json, don't have acces to my rig with autotune right now, but you may have to read the docs for it
ejoe132
@ejoe132
Mar 30 2017 14:06 UTC
@libxmike Ok thank you for the help, much appreciated.
Mike
@libxmike
Mar 30 2017 14:09 UTC
@ejoe132 but I would not change to run every day recommendation with data from few weeks, just if you need it
ejoe132
@ejoe132
Mar 30 2017 14:12 UTC
@libxmike Ya I dont wanna make changes just off of one day of data, Id wanna run it against at least a week plus as I currently once a week go over all CGM data and make minor changes to try to get my settings "more better" just thinking if I could set how long autotune averages to show that data itd be a valuable tool to look at that data for making adjustments
katie disimone
@Kdisimone
Mar 30 2017 14:17 UTC

@ejoe132 autotune runs nightly just after midnight. If you enabled it during the setup script (answered yes to autotune), the script added a line in your crontab for it to run every night at midnight.

With autotune enabled, OpenAPS is using the autotuned profile as your profile for the day. So just keep that in mind. Changing basal rate in pump (if you have a sudden need for different basal rate or you disagree with the autotune profile) won't really do anything because it is going to use the autotune profile. You would need to turn off autotune if you want to manually overhaul your basals different than what autotune suggested.

When we had autotune enabled, we looked at the new profile every morning to educate ourselves on what it recommended from the day before. You may want to do that. If you install aliases, just typing cat-autotune will show you the new profile for the day. http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-1/add-alias.html
ejoe132
@ejoe132
Mar 30 2017 14:25 UTC
@Kdisimone So if I said yes during install it should already be looping with autotune? Tried cat-autotune and it gave me this: -bash: cat-autotune: command not found
So maybe it isnt installed?
katie disimone
@Kdisimone
Mar 30 2017 14:28 UTC
You have to install the aliases @ejoe132 read the link. It is instructions on installing the aliases.
The long manual version of the alias is cd ~/myopenaps/autotune && cat autotune_recommendations.log
Hence an alias is a helpful shortcut to typing that all out each time
ejoe132
@ejoe132
Mar 30 2017 14:31 UTC
@Kdisimone Each time meaning each new time the edison is flashed or set up?
dan lightner
@danimaniac
Mar 30 2017 14:33 UTC
katie disimone
@Kdisimone
Mar 30 2017 14:33 UTC
Where did I say "each time"? Not sure I understand the question since I don't see each time in there😜
Oh found it. You only have to setup aliases once
I mean it helpful to use the alias vs typing out the long command whenever you want to use them.
ejoe132
@ejoe132
Mar 30 2017 14:35 UTC
@Kdisimone Oh haha thought I made the mistake, trying to read posts and the link you sent at the same time. So with that alias code how many days does that set up autotune to look at when making the daily adjustment? My thinking would be to have it make changes based off 1 week of data but maybe most are just having it done day by day?
katie disimone
@Kdisimone
Mar 30 2017 14:37 UTC
@ejoe132 you're not understanding what an alias is. An alias is simply a short cut to typing out a longer command. It does nothing with your rig's function other than shortening out certain long phrases to save you typing time.
ejoe132
@ejoe132
Mar 30 2017 14:40 UTC
@Kdisimone Ok their like shortcut keys, to make getting to those files faster? So Ill do the alias then what do I need to do to implment autotune to loop?
ejoe132
@ejoe132
Mar 30 2017 14:47 UTC
@Kdisimone Well tried the alias but think I didnt do something right, cause I enter for ex: alias autosens-loop and it just returns: alias autosens-loop="tail -n 100 -F /var/log/openaps/autosens-loop.log"
@Kdisimone Thanks for your help, Im getting there step by step. I gotta head out but thank you for your time and help.
katie disimone
@Kdisimone
Mar 30 2017 15:02 UTC
Leave off the alias @ejoe132 you just would need to type the phrase just after the alias. So autosens-loop (if you've gone through the steps outlined in order to setup the alias in the first place)
cameronrenwick
@cameronrenwick
Mar 30 2017 15:18 UTC
ok.. massive score here and just need to confirm.. I received a bag full of MM stuff from my diabetic team, included within is a MM712 pump. The paradigm 712 "is" one of the suitable pumps correct?
Chuck Vann
@djtechman
Mar 30 2017 15:19 UTC
Depends on firmware version I think
2.4A (or lower) is the magic number IIRC
katie disimone
@Kdisimone
Mar 30 2017 15:22 UTC
@cameronrenwick yes, it's a compatible pump....but you will have to do extra steps during the setup in order for it to work.
cameronrenwick
@cameronrenwick
Mar 30 2017 15:31 UTC
thanks for this info @Kdisimone .. I'll have to look for these "extra steps!
Dana Lewis
@danamlewis
Mar 30 2017 15:32 UTC
They just require manually creating a few setting files and adjusting aliases. In the docs.
cameronrenwick
@cameronrenwick
Mar 30 2017 15:36 UTC
Thanks @danamlewis .. this pump has come at a surprise. I had arranged to get a used 522 this weekend so I'm now wondering if I should stick with this 712 and cancel the 522 or still get the 522. The manual creation of the files for the 712 means it'll run without any restrictions correct?
Chuck Vann
@djtechman
Mar 30 2017 15:36 UTC
It's always good to have a backup
Dana Lewis
@danamlewis
Mar 30 2017 15:36 UTC
Always worth having a backup so if it were me I'd get both :smile:
But yes 712 after file creation acts the same
cameronrenwick
@cameronrenwick
Mar 30 2017 15:37 UTC
perfect thx!
and that's the advice I was expecting... I'll grab the 522 just to be safe
elodaille01
@elodaille01
Mar 30 2017 16:16 UTC
@danamlewis @scottleibrand do you please confirm to me the necessity of having android 6.0 or more on my uploader phone please (in order to switch automatically between wifi and BT tethering ?)
garykidd
@garykidd
Mar 30 2017 16:23 UTC
@cameronrenwick I had problems with comms with older 512 and 712 alike ( I may be in the extreme minority, however)....723 I have now works great/as expected.
Android support for BT tethering also depends on your wireless provider -- some providers' phones have it disabled. If it has a "tethering and portable hotspot" item under settings, it should work. If it's just "wireless hotspot", it might not. (There's a much more technical way of finding out for sure, using the bluetoothctl command on the edison)
garykidd
@garykidd
Mar 30 2017 16:24 UTC
was thinking of printing a nice 3d printer case for rig....and just realizing...what for....
David
@davidkeddydb
Mar 30 2017 16:26 UTC
Anyone give me advice on pump readings of a carb entry and insulin given not showing up in NS? I gave a bolus at 6:53am for 5.5 units, 50 Grams of carbs and it doesn't show anywhere in NS
Do you have the care portal enabled in your NS browser?
elodaille01
@elodaille01
Mar 30 2017 16:28 UTC
@ecc1 I have got a 'connexion share' tab then 'via bluetooth' to enable
David
@davidkeddydb
Mar 30 2017 16:28 UTC
Yes, it is weirder than that. The bolus and carb is there but it shows at 2:53am rather than at 6:53am
@elodaille01 That's promising, it should work
David
@davidkeddydb
Mar 30 2017 16:29 UTC
I apparently have a time issue somewhere
I use a very simple script that tries wifi first, switches to BT tethering if that fails, and never switches back (I just turn off tethering manually when I get back to a known wifi network)
elodaille01
@elodaille01
Mar 30 2017 16:32 UTC
@ecc1 even if the version of android is under 6.0 ?
katie disimone
@Kdisimone
Mar 30 2017 16:33 UTC
Yes @elodaille01 tethering varies between cell carriers. Always check there (your cell provider) if you have problems
elodaille01
@elodaille01
Mar 30 2017 16:35 UTC
ok..what should I see by running the command 'bluetoothctl'? (sorry I can't open my putty screen right now and I don't remember what this command gave to me when I did the offline process)
Chuck Vann
@djtechman
Mar 30 2017 16:36 UTC
Is anyone running their loop on an edison+explorer rig as a user other than root?
Tim Street
@tim2000s
Mar 30 2017 16:37 UTC
@djtechman You need to run with root due to some limitations on the Edison as a user.
Chuck Vann
@djtechman
Mar 30 2017 16:37 UTC
It bugs me carrying around a highly connected linux box that is the least secure one I've ever built, and it happens to be in control of my metabolism... :)
Anyone working on getting the serial stuff handled in a more secure manner?
garykidd
@garykidd
Mar 30 2017 16:38 UTC
how does one circumvent can not find 'Could Not Find Bored Istance' ?
Agreed, there really should at least be a tight iptables setup in the default install
I don't see the serial port as much of an attack surface though
Or am I misunderstanding?
Chuck Vann
@djtechman
Mar 30 2017 16:39 UTC
I believe the serial control of the TI chip/GPIO is the justification for why we "must" use root
garykidd
@garykidd
Mar 30 2017 16:39 UTC
@davidkeddydb did you figure ou tyour timing issue.....I had that at one point
Chuck Vann
@djtechman
Mar 30 2017 16:39 UTC
(this is the command/process that will not work as a non-root user)
Yes, the MRAA lib if I recall
Chuck Vann
@djtechman
Mar 30 2017 16:40 UTC

ecc1 yep I was digging hard in the brain for that library name :)

but access over the air is the one I'm concerned about
Chuck Vann
@djtechman
Mar 30 2017 16:40 UTC
IMO that could be improved by porting xdrip to linux (so it runs on the edison instead of an android)
permanent "camping" mode... then maybe a cellular module for the NS comms
garykidd
@garykidd
Mar 30 2017 16:41 UTC
@davidkeddydb I think i just had the wrong tZ on NS site in settings actually at one point....
Chuck Vann
@djtechman
Mar 30 2017 16:42 UTC
its the combination of having this on a wireless/hotspot network using nothing more than WPA2, Plus the processes running as root... that makes it scary to me
I feel OK with good iptables rules and (non-root) ssh access only
Chuck Vann
@djtechman
Mar 30 2017 16:44 UTC
@ecc1 do you have an iptables example I could copy? :)
JTidler
@JTidler
Mar 30 2017 16:44 UTC
My girlfriend Type 1 and I really want to help, I am a developer and this sounds interesting and I would love to help her and other people. Can anyone message me so I can get started helping, I have no idea what openAPS is or how it works and would like to talk to people that are having good luck with it
Umm, I don't use it yet on my rig (but I only have the ssh port open). All it would do in that case would be to reject too-frequent attempts to login via ssh, still useful though. I'll pull up what I use elsewhere for that.
JTidler
@JTidler
Mar 30 2017 16:47 UTC
Thank you
Dana Lewis
@danamlewis
Mar 30 2017 16:48 UTC
@jtidler and OpenAPS.org for some higher level background reading. Once you dig in, happy to help if you have specific questions about where we need help the most :smile:
@djtechman Here's a rule that only accepts SSH attempts once per minute or less:
iptables -A INPUT -p tcp -m tcp --dport 22 -m limit --limit 1/min -j ACCEPT
Scott Leibrand
@scottleibrand
Mar 30 2017 16:50 UTC
@djtechman what is your threat model?
JTidler
@JTidler
Mar 30 2017 16:50 UTC
Are you guys trying to Secure SSH?
Scott Leibrand
@scottleibrand
Mar 30 2017 16:51 UTC
@djtechman You should be aware that all comms between your rig and pump are completely unencrypted with no security whatsoever. Anyone within pistol range can also control your insulin pump (issue boluses etc.)
Chuck Vann
@djtechman
Mar 30 2017 16:51 UTC
Scott - Well I know the biggest vulnerability for visiting defcon would probably be my medtronic pump.... but theoretically... if I'm around guys who just can't keep themselves from trying to root a box when it shows up on their network... I want to at least harden this against the novices
j4cbo
@j4cbo
Mar 30 2017 16:52 UTC
^ yeah, that's the scary thing, not the linux box :P
if nothing but sshd is listening, then it really doesn't matter that the openaps stuff is running as root
Chuck Vann
@djtechman
Mar 30 2017 16:54 UTC
I guess if I enforce full-time bt-pan to the phone that removes some of the wifi vulnerability
JTidler
@JTidler
Mar 30 2017 16:57 UTC
It says firmware 2.4 or lower, what if the firmware is newer?
j4cbo
@j4cbo
Mar 30 2017 16:58 UTC
@JTidler that means it's time to hit up craigslist :(
Dana Lewis
@danamlewis
Mar 30 2017 16:58 UTC
Then you can't remotely set temp basals.
Cameron Chunn
@applehat
Mar 30 2017 16:58 UTC
@JTidler or build a read-only rig (like I am currently doing)
Dana Lewis
@danamlewis
Mar 30 2017 16:58 UTC
It can read data, but you won't be able to close the loop
j4cbo
@j4cbo
Mar 30 2017 16:58 UTC
as i understand it, a few years ago, people noticed that pumps could be remotely controlled arbitrarily
and made defcon presentations, etc., so medtronic removed that ability
Cameron Chunn
@applehat
Mar 30 2017 16:59 UTC
^ yeah. Still a fun project for data collection for making better decisions about manual management with a pump... until you get an older pump.
JTidler
@JTidler
Mar 30 2017 16:59 UTC
I have no idea what the pump is on now, but it is having issues and is about to be replaced, therefor I am guessing it will be removed on the new one
@applehat Do you have any reading on the Read-Only system?
j4cbo
@j4cbo
Mar 30 2017 17:00 UTC
we all wish that instead of removing it entirely they had just made it more secure... since remotely controlling a pump is entirely the point :P
JTidler
@JTidler
Mar 30 2017 17:00 UTC
and functionality.
Chuck Vann
@djtechman
Mar 30 2017 17:00 UTC
@j4cbo agreed
Cameron Chunn
@applehat
Mar 30 2017 17:00 UTC
@JTidler its the same as the closed loop system - just stop as the parts that talk about controlling the pump =P
I personally am building a rig to pull data off the pump + my dexcom CGM and push it all to nightscout
(until I can afford to pick up an older pump in the next few months)
j4cbo
@j4cbo
Mar 30 2017 17:01 UTC
i lucked out and got a secondhand 523 for $350
Cameron Chunn
@applehat
Mar 30 2017 17:02 UTC
I've been trying to keep an eye out
j4cbo
@j4cbo
Mar 30 2017 17:03 UTC
meanwhile i've been trying to sell my old Enlite crap :/
Cameron Chunn
@applehat
Mar 30 2017 17:03 UTC
I get sketched out buying a pump sight unseen tho - since Medtronic does the whole "trade up" program (AKA take old pump, change case and flash firmware, resell) it seems weird for their to be used pumps (at least in the US)
I still have some enlight stuff too, but since I decided I didn't want to die I stopped using it :-)
j4cbo
@j4cbo
Mar 30 2017 17:03 UTC
exactly :P
Cameron Chunn
@applehat
Mar 30 2017 17:05 UTC
After getting woken up for the 4th time in a single night to be alarmed of a compression low (something I haven't gotten yet with my dexcom, knock on wood) I almost threw my pump across the room. Luckily I remember how much it cost before I did that =P
JTidler
@JTidler
Mar 30 2017 17:05 UTC
Has anyone tried downgrading their pump?
j4cbo
@j4cbo
Mar 30 2017 17:05 UTC
i just got constant signal loss
Cameron Chunn
@applehat
Mar 30 2017 17:05 UTC
I've had the same question @JTidler, but it turns out that there are 2 BIG things stopping people.
A) There are only so many compatible pumps left on the market - so breaking one is tragic.
B) Im a little uneasy about voiding the warranty on my $7k insulin pump.
Give it a few years for everyones warranties to run out on the 751's and people might start trying.
j4cbo
@j4cbo
Mar 30 2017 17:07 UTC
is it even possible to non-destructively open up a pump and get at the boards?
let me rephrase. after getting at the board inside, is it possible to put the thing back together again? :P
Chuck Vann
@djtechman
Mar 30 2017 17:09 UTC
If there is any intelligent info on this, I'd sacrifice my 530G as a guinea pig. Now that I'm looping I'll probably never put that thing back on
Cameron Chunn
@applehat
Mar 30 2017 17:09 UTC
Thats not something I ever considered.
JTidler
@JTidler
Mar 30 2017 17:09 UTC
True, but honestly, could they tell if you downgrade? I am guessing it would not need to be opened up. Let me do some research, I might be able to help with a downgrade.
Chuck Vann
@djtechman
Mar 30 2017 17:10 UTC
[+1]
Cameron Chunn
@applehat
Mar 30 2017 17:10 UTC
So i've looked into this a bit already. Something interesting is that my 751 shares the same FCC ID as a 712... so you'd assume most of the transmitty bits are the same at least.
j4cbo
@j4cbo
Mar 30 2017 17:11 UTC
yep. and it's a pretty generic PIC16 if I remember right
David
@davidkeddydb
Mar 30 2017 17:11 UTC
@garykidd I think it is one of my rigs though I don't know why. My old rig time from pump is right. My new explorer board rig must have a time issue somewhere in my set up
Cameron Chunn
@applehat
Mar 30 2017 17:11 UTC
almost makes you wonder if medtronic has just been taking the same exact hardware and slapping slightly changed cases on it with slightly new firmware and praising it as the next greatest thing.
(not that i'd blame them, with hard hard it is to get anything "new" through the FDA)
j4cbo
@j4cbo
Mar 30 2017 17:12 UTC
that's exactly what they've been doing :P
Chuck Vann
@djtechman
Mar 30 2017 17:13 UTC
@applehat from my experience working for a large wireless carrier, this is common with ALL electronic devices
Cameron Chunn
@applehat
Mar 30 2017 17:13 UTC
Interesting. @djtechman - if you're ready to void that warranty, the first step is figuring out if we can even destructively open one.
^ if not, an interesting idea may be 3d printed shells that hold something bigger then a AAA battery while we are at it =P
Chuck Vann
@djtechman
Mar 30 2017 17:14 UTC
I'm sure it can be done. Scary though because the "lid" that looks removable also seems attached to the motor mount
j4cbo
@j4cbo
Mar 30 2017 17:14 UTC
someone in here recently said they had one already taken apart
like, within the past day or two
Chuck Vann
@djtechman
Mar 30 2017 17:14 UTC
@applehat now you're talking :)
Cameron Chunn
@applehat
Mar 30 2017 17:14 UTC
I remember that.
JTidler
@JTidler
Mar 30 2017 17:14 UTC
If anyone is willing to void a warranty, or to sacrifice a pump, email me jidler@my.gcu.edu
Cameron Chunn
@applehat
Mar 30 2017 17:15 UTC
We should spin up a repo and create a gitter channel for it
Keep from overloading this channel with non-APS discussion.
Dana Lewis
@danamlewis
Mar 30 2017 17:16 UTC
Please do and let me know so I can point people there in future. Would be nice to have a status in the readme and or wiki so people can check in on where the effort is. Current general status is: no one has achieved downgrading the firmware on any pumps so far. We don't know for sure that it would be possible to do so.
Also will make it easier for others to collaborate w ya'll and save time from not having to re-do same tests
Cameron Chunn
@applehat
Mar 30 2017 17:17 UTC
@jaylagorio already has a repo setup with some teardown stuff
Chuck Vann
@djtechman
Mar 30 2017 17:18 UTC
assuming we can get access to do a reflash, where on earth would we obtain the FW
JTidler
@JTidler
Mar 30 2017 17:19 UTC
Someone with the FW, Should be able to pull it.
Cameron Chunn
@applehat
Mar 30 2017 17:19 UTC
Someone would have to take apart a 722
(or something else running 2.4 or older)
JTidler
@JTidler
Mar 30 2017 17:20 UTC
I think flashing might be simpler then you guys think, When my girlfriend went in because hers was not working right then ran tests on the pump via wireless. Is it possible their is a secured Admin mode?
there*
Chuck Vann
@djtechman
Mar 30 2017 17:21 UTC
where is "there"?
JTidler
@JTidler
Mar 30 2017 17:21 UTC
It would be obtaining the old firmware that is hard
Chuck Vann
@djtechman
Mar 30 2017 17:21 UTC
doctor's office? Medtronic service center?
j4cbo
@j4cbo
Mar 30 2017 17:21 UTC
remote diagnostics definitely does not imply remote flashing
Cameron Chunn
@applehat
Mar 30 2017 17:22 UTC
What if we found a way to do that, tho. Man... that'd be awesome. =P
Chuck Vann
@djtechman
Mar 30 2017 17:22 UTC
IMO very worthy of the time and equipment sacrifice
Cameron Chunn
@applehat
Mar 30 2017 17:22 UTC
I agree (assuming someone has extra stuff. no ones diabetes health is worth risking breaking your only pump ;))
JTidler
@JTidler
Mar 30 2017 17:23 UTC
She just informed me they told her they wanted to try a firmware upgrade before they replaced it.
Chuck Vann
@djtechman
Mar 30 2017 17:24 UTC
@JTidler where did this conversation happen? Who was testing her pump and making these recommendations?
Cameron Chunn
@applehat
Mar 30 2017 17:24 UTC
^ yeah this
JTidler
@JTidler
Mar 30 2017 17:26 UTC
Saint Joseph's
j4cbo
@j4cbo
Mar 30 2017 17:26 UTC
do note that there are at least two microcontrollers in the pump
JTidler
@JTidler
Mar 30 2017 17:27 UTC
I got to go, Switching classes but I will do more research and see what I can find out. I have a few connections, I can see what I can get my hands on and what information I can get. I do not know a lot about the pumps right now but I will try and provide a solution, for my sake and all of yours
Chuck Vann
@djtechman
Mar 30 2017 17:28 UTC
Thanks @JTidler ! I'm on a lunch break from my boring work training session, so I better go track down a reason for bolus
I'll be back on the medtronic-flash room afterward... may stop home and grab my donor pump too
While it's possible that you could take a 723 image and flash it to a 722, there are lots of ways it could fail to work. I think a better approach would be to disassemble the post-2.4 723 firmware and find the (probably few) places where they disable remote execution, and just patch those. That's assuming that those functions are still in the code, and just disabled by some test, as opposed to being removed entirely. But it's a fair bet I think.
garykidd
@garykidd
Mar 30 2017 17:51 UTC
Has anyone explored displaying G4/5 sensor data on MM pump......that'd be very cool.
Cameron Chunn
@applehat
Mar 30 2017 17:52 UTC
@ecc1 as a programmer, I could 100% see myself just disabling stuff and leaving it in code because "ugh... they are just gonna ask me to put it back later"
@garykidd im sure it would be possible, tho there might be a slight hangup in just "pushing" the readings over (like it was using enlite sensors), since it probably doesn't go into a mode ready to receive that data unless an enlite transmitter is found.
Cameron Chunn
@applehat
Mar 30 2017 17:58 UTC
I imagine simulating enlite with dexcom data is pretty low on the list of things people are doing, since most people with an OpenAPS rig are leaving their pumps mostly alone aside from when bolusing
garykidd
@garykidd
Mar 30 2017 17:59 UTC
hmmm...maybe use an enlite transmitter (if needed) or otherwise trick it....I guess the goal is less things to carry not more though.....G5 is grreat accuracy but connctivity via BT to iphone less than stellar for sure.
Cameron Chunn
@applehat
Mar 30 2017 18:02 UTC
^ thats why I'm building a rig now, even tho I don't have a compatible pump yet.
Gonna plug my g5 reciever into the edison and have it handle all my uploads to nightscout
and just view the data on my phone that way
(and worse case, I can pull the g5 out of my pocket and look at it)
garykidd
@garykidd
Mar 30 2017 18:04 UTC
gotchya...but again...trying to get less things to carry----but understand the tradeoff as well...I used to do the same but 99% of time I sued that receiver for bedside rig
JTidler
@JTidler
Mar 30 2017 18:06 UTC
enlite transmitter does not directly make the pump do anything right? It instead gives numbers to the pump.
Cameron Chunn
@applehat
Mar 30 2017 18:22 UTC
@garykidd getting the data in there without a rig is going to be impossible anyway ;)
garykidd
@garykidd
Mar 30 2017 18:23 UTC
who said it was going to be done without a rig?
Cameron Chunn
@applehat
Mar 30 2017 18:23 UTC
@JTidler it sends CGM numbers to the pump. The pump (if configured - and this is a medtronic feature and not an OpenAPS one) can then suspend insulin delivery if it detects a low.
Ahh, you want to eliminate the G5 receiver, not the rig. Sorry. Brain is dead today.
There isn't really a reason that all the work put into xDrip couldn't be ported over to run on the Edison itsself - but I personally like the fallback capabilities of just having the receiver to monitor stuff if it goes down =)
JTidler
@JTidler
Mar 30 2017 18:28 UTC
I have a feeling, They disabled or removed the features of sending commands to the pump.
I understand you can't make the transmission, but I was hoping there might be a way to bypass that, and flash the same firmware but I do not think it would be possible.
Chuck Vann
@djtechman
Mar 30 2017 18:36 UTC
There was someone working on hard-hacking a contour Link meter for micro boluses... but still I don't think it gives you full control
That's another area I'd love to contribute. Minimed can keep their proprietary wireless protocol if we can ride their meters/remotes instead
thom1394
@thom1394
Mar 30 2017 18:40 UTC
Hmmm, I am trying to install the 'ShareBLE' option on my rig. It goes through and states "Successfully installed openxsharable" but during 'checking bluez installation' states "cannot stat /root/src/openxshareble/bluetoothd.conf" (there is no /root/src/openxshareble directory). Help!
Dana Lewis
@danamlewis
Mar 30 2017 18:50 UTC
Openxshareble is not being used by anyone right now - not stable so FYI
thom1394
@thom1394
Mar 30 2017 18:58 UTC
@danamlewis OH! thanks...
garykidd
@garykidd
Mar 30 2017 19:29 UTC
@danamlewis been having great results with BT auto connects and appropriate disconnects when returning home---- Great to finally see.
Dana Lewis
@danamlewis
Mar 30 2017 19:30 UTC
:+1:
garykidd
@garykidd
Mar 30 2017 19:41 UTC
waiting on mcdonalds gf option---if it works in Helsinki....sorry off-topic a bit.
Brdjeep
@Brdjeep
Mar 30 2017 19:50 UTC
edison wifi connection wpa2 psk
Chuck Vann
@djtechman
Mar 30 2017 19:54 UTC
so I've forced bt-pan, the phone & edison are connected, I can ssh from the android to the edison successfully. My phone's bt-hotspot settings say "sharing internet with 1 device" ... but I can't seem to ping out beyond the local net when I ssh into the edison
Also none of the OpenAPS data is populating in NS anymore, any thoughts?
Cameron Chunn
@applehat
Mar 30 2017 19:56 UTC
Can you ping an IP vs a domain? Like 8.8.8.8?
Chuck Vann
@djtechman
Mar 30 2017 19:57 UTC
nope
You might not t have a default route for bnep0 on your Edison -- try "route -n" or "ip route show"
katie disimone
@Kdisimone
Mar 30 2017 19:57 UTC
@djtechman do you know that your cell provider allows for tethered hotspot? Do you know if you have it enabled in your cell account? Have you double checked? Who's your provider?
Do you have something like this in your /etc/network/interfaces ?
allow-hotplug bnep0
iface bnep0 inet dhcp
Chuck Vann
@djtechman
Mar 30 2017 19:58 UTC
@Kdisimone my device is rooted. Wifi Hotspot works fine, is authorized
That will let your bnep0 interface pick up both IP address and default route when it comes up.
Chuck Vann
@djtechman
Mar 30 2017 19:58 UTC
@ecc1 checking that now
ip route show: default via 192.168.44.1 dev bnep0
192.168.44.0/24 dev bnep0
proto kernel scope link src 192.168.44.99
huh, magically I can ping 8.8.8.8 now
must have just taken some patience :)
yes, bnep0 comes up a few seconds before the dhcp transaction finishes
Brdjeep
@Brdjeep
Mar 30 2017 20:05 UTC
@ecc1 Thanks, I didn't. I was having troubles getting connected to wifi. I hadn't realized I had posted a message. HA!
Something like this might be helpful during setup, to verify whether users' phones can do BT tethering:
bt-device --info $PHONES_BT_MAC_ADDRESS | grep -q NAP
garykidd
@garykidd
Mar 30 2017 20:09 UTC
are folks still using pebble watches to view BGs and NS data? what else?
Chuck Vann
@djtechman
Mar 30 2017 20:10 UTC
I'm using a pebble
garykidd
@garykidd
Mar 30 2017 20:10 UTC
regular pebble? time? curious?
Chuck Vann
@djtechman
Mar 30 2017 20:11 UTC
Pebble 2
with Urchin watch face, reading from NS
I also use the xdrip face if I ever go out of cell range
garykidd
@garykidd
Mar 30 2017 20:14 UTC
wondering if anyone is using MS band?
elodaille01
@elodaille01
Mar 30 2017 20:15 UTC
Good evening everybody (22h15 here), @scottleibrand @Kdisimone @danamlewis if I'm heroku user, do I have to enable my MongoDB URI in order to monitor my BG data offline please ?
David
@davidkeddydb
Mar 30 2017 20:15 UTC
So I think my system time is set incorrectly on one of my rigs. Where can I check that for that particular rig? All my other rigs are right, but one is setting the time of bolus and carb intake from the pump off by 4 hours prior to when they actually occurred.
Just run "date" on it? Or do "debconf-show tzdata" to see what's configured
(and "dpkg-reconfigure tzdata" if it's wrong)
the latter as root
Ooh, shiny systemd goodness: timedatectl
Anyone used the systemd timesyncd service instead of a standalone NTP server?
Chuck Vann
@djtechman
Mar 30 2017 20:35 UTC
I'm interested... ntpd always seems to give a failure message in the APS logs
...but when I run it myself it always works hehe
Neal
@tnharvey
Mar 30 2017 20:51 UTC
@danamlewis hahah, wow, yeah, scheduling the temp targets on my pump is much easier than chrontab and curl. But hey, I learned how use curl, so all that work wasn't completely wasted. =]
Stephen Haddley
@StephenHaddley_twitter
Mar 30 2017 21:11 UTC
Hi guys I am new here. I have been a member of the Nightscout FB group for some time. My son was diagnosed 2 years ago and we were originally going to use Nightscout with G4 but then G5 was suddenly made available to ourselves. He struggled to come to terms with being diabetic and struggled to take control hence why we so needed that remote view option. It has been a long 2 years but he has now come to terms and taken full control but he is a teenager going through puberty and his levels and calculations are all over the place, we can see he is doing everything that he can correctly. I stumbled upon OpenAPS via an article on my news feed about CGM devices and have to say i was blown away. We are hoping for him to get a pump soon and are absolutely praying that he will get a model compatible with OpenAPS. Sorry for the long post, I just wanted to give a huge thankyou to the community for the efforts that you have gone through. I am looking forward to getting OpenAPS set up for my son.
Cameron Chunn
@applehat
Mar 30 2017 21:13 UTC
@StephenHaddley_twitter Sadly, unless you buy used, any new pump he gets will be 100% not compatible =(
There are a few of us in another group actively discussion solutions for that (since most people have access to newer pumps)
john36m
@john36m
Mar 30 2017 21:18 UTC
@applehat What is that group? I'd like to read about it.
Stephen Haddley
@StephenHaddley_twitter
Mar 30 2017 21:18 UTC
I was thinking that would be the case. Hopefully, after a hunt i will be able to find a comptible model. If by some miracle i do manage to find one for him, OpenAPS will be the way forward.
OTOH the Medtronic closed-loop pump might be on the market by the time you're approved, and it might make sense to consider
So it was trivial to switch from NTP to systemd's built-in time service: just "apt-get purge ntp" and reboot. I'll report back if I have any issues.
Chuck Vann
@djtechman
Mar 30 2017 21:27 UTC
@StephenHaddley_twitter I've found a few on facebook. $300-400 seems to be the pricepoint currently
Still very early in discussions - no real progress made anywhere - just a lot of brainstorming for now
Stephen Haddley
@StephenHaddley_twitter
Mar 30 2017 21:32 UTC
thanks @djtechman I may go for that option. We are UK and the medtronic closed loop pump probably wont be available via NHS for some time, just an assumption but i think they tend to do their own clinical trials which will not be done until after market release.
NOTE: For European/WorldWide users who have access to a DANAR insulin pump, you may be able to use AndroidAPS, which leverages OpenAPS’s oref0 algorithm but allows you to interface using an Android phone and Bluetooth to communicate directly with the DANAR pump. See here for instructions and details related to AndroidAPS.
Since your in the UK, you have access to that pump - potentially.
Stephen Haddley
@StephenHaddley_twitter
Mar 30 2017 21:37 UTC
Thanks @applehat
elodaille01
@elodaille01
Mar 30 2017 21:38 UTC
@elodaille01
just one question, how many time does it take to see BG data on NS back when you arrive at home ?
wifi to bt was fast
but BT to wifi..still waiting after 10 minutes !
@scottleibrand
(openaps is looping but I can't see any recents data on my NS)
elodaille01
@elodaille01
Mar 30 2017 21:48 UTC
the same after 20 minutes @scottleibrand
elodaille01
@elodaille01
Mar 30 2017 21:59 UTC
And when I switch off again the wifi -> the same ! The first time I did it, it worked, but now, it is looping but I can't monitor via NE
NS Sorry
elodaille01
@elodaille01
Mar 30 2017 22:05 UTC
so I can't monitor anymore..even if I'm at home..what could I do @danamlewis ?
elodaille01
@elodaille01
Mar 30 2017 22:32 UTC
so ..now the rig does not enacte the pump anymore..
katie disimone
@Kdisimone
Mar 30 2017 22:46 UTC
@elodaille01 check your logs. I can't emphasize that enough. Check your logs. Read what you pump is doing. When NS says "looping" it might be that it is still having a hard time getting comms with pump, but the loop is still "looping". Or maybe the loop is still "looping" and trying to find a new internet connection. You must read the logs before anyone can help you answer the "what's going on?" questions. When you find your rig is stalling out somewhere, go into the logs and try to see what information it is getting hung up at.
Cameron Chunn
@applehat
Mar 30 2017 22:52 UTC
^ a small screen on these rigs thats just tailing the logs would be so nice. lol
Scott Leibrand
@scottleibrand
Mar 30 2017 23:17 UTC
There's an app (and a one-letter shortcut) for that...
Cameron Chunn
@applehat
Mar 30 2017 23:17 UTC
things I will eventually realize when my explorer gets here in a day or two
^ I may even stop making ignorant comments =)
katie disimone
@Kdisimone
Mar 30 2017 23:26 UTC
I have bookmarks on my iPhone that give me my pump log, network log, pump tuning results, or autosense adjustments. One click of the button for whichever rig I am interested in, for which ever data set I want. No matter where my kid is with her rig.
IMG_1470.PNG
Kim St. Dennis
@kimstdennis_twitter
Mar 30 2017 23:39 UTC
@danamlewis Thanks for the help the other day. I was missing the tty option in my setup, but reran the setup script and took the interactive more to see what I did wrong. I've got 3 rig iterations now. :)
Dana Lewis
@danamlewis
Mar 30 2017 23:40 UTC
:+1:
Ryan Dalisky
@rdalisky
Mar 30 2017 23:53 UTC
Has anyone set an openaps rig up to communicate to loop directly? It would be nice not to have to carry around the rileylink as well.