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

10th
Jan 2017
Ryan Dalisky
@rdalisky
Jan 10 2017 00:23
I'm not familiar with the auto tune branch?
Brian Rabinovitz
@bdr1177
Jan 10 2017 00:47
So I finally got an edison and explorer board. Plugged it in and its showing as only being 767 MB in size. Is that correct? Assuming it's not correct, is there something I need to do. I already installed the windows edison drivers and tried to set the page file size, but it won't let me because edison doesn't have the disc space.
glenrob1940
@glenrob1940
Jan 10 2017 00:52
@cjo20 I'm willing to give it a try. How do find stick.py - do I need to build mmeowlink on the Edison?
glenrob1940
@glenrob1940
Jan 10 2017 00:57
Is that oref0/bin/mm-stick.sh? or is that what calls it?
glenrob1940
@glenrob1940
Jan 10 2017 01:12
@cjo20 wised up and did a find from /. So can you get me the tweaked stick.py to try. I presume all that I really need to do is to save the current one as stick.py-orig and put the modified/tweaked one in /home/.rootfs/usr/local/lib/python2.7/dist-packages/decocare
How do you want it tested - run open aps loop , or,.. and I presume I should probably reboot after putting the modified code in place.
Scott Leibrand
@scottleibrand
Jan 10 2017 01:28
@bdr1177 you don't want to use the Edison for swap space. it should be using your C: drive. you're the second person I've noticed trying to do that, so if you could PR the docs to make that clearer it'd be appreciated.
Brian Rabinovitz
@bdr1177
Jan 10 2017 01:39
@scottleibrand So I'm setting the page file size for C: and not for the edison?
Scott Leibrand
@scottleibrand
Jan 10 2017 01:41
you only have one page file for your entire computer, and it should be on C:
@/all just merged Autotune to dev, if anyone wants to test it.
@rdalisky there, you don't need to worry about the autotune branch. :)
jaylagorio
@jaylagorio
Jan 10 2017 01:42
@scottleibrand I don't know if it's because of the amount of physical RAM I have but I didn't need to modify the page file to do the flash. Are you sure this is a necessary step? Because it's kind of dangerous for novice users.
Paul Martin
@Spazholio
Jan 10 2017 01:42
Iā€™m out of the loop. Is there a doc on what autotune is?
Terri Lyman
@tatigger
Jan 10 2017 01:43
I second that, Autotune?
Scott Leibrand
@scottleibrand
Jan 10 2017 01:43
@jaylagorio yes, quite likely it's unnecessary if you have enough RAM and aren't running too many memory-hungry programs. care to PR an edit about how to tell if you have enough RAM to not need to adjust swap?
Terri Lyman
@tatigger
Jan 10 2017 01:43
Hi @Spazholio
jaylagorio
@jaylagorio
Jan 10 2017 01:44
@scottleibrand Sure! Can I add a warning as well?
Scott Leibrand
@scottleibrand
Jan 10 2017 01:44
yes please
Paul Martin
@Spazholio
Jan 10 2017 01:44
Hey @tatigger. How goes?
Terri Lyman
@tatigger
Jan 10 2017 01:44
Good - your system running ok? Thanks @scottleibrand
Scott Leibrand
@scottleibrand
Jan 10 2017 01:46
@jaylagorio yes
I wouldn't touch the Pi section: we know that always needs swap. but Windows swap docs could be improved.
jaylagorio
@jaylagorio
Jan 10 2017 01:46
Cool. I might not get to it tonight but I will get it done and submitted in the next day or so.
Scott Leibrand
@scottleibrand
Jan 10 2017 01:46
thx
jaylagorio
@jaylagorio
Jan 10 2017 01:46
Yeah, not going to touch the Pi section.
estunek
@estunek
Jan 10 2017 02:15
Hello ... Emily T1D RN CDE who is thinking of taking the leap to OpenAPS here to learn more/as much as i can
jaylagorio
@jaylagorio
Jan 10 2017 02:16
Welcome!
CDE?
estunek
@estunek
Jan 10 2017 02:16
Certified Diabetes Educator
jaylagorio
@jaylagorio
Jan 10 2017 02:16
Glad to have the expertise!
Dana Lewis
@danamlewis
Jan 10 2017 02:16
Welcome @estunek!
estunek
@estunek
Jan 10 2017 02:18
Thank you @danamlewis!
Dana Lewis
@danamlewis
Jan 10 2017 02:18
@tatigger @Spazholio re "what is autotune", we're (@scottleibrand) are on a roll of being super productive when spending holidays in Alabama :smile: (last year was AMA)
Hashtag I wonder what we'll all make next holiday season :smile:
Chris Oattes
@cjo20
Jan 10 2017 02:22
At the rate you're going, by this time next year you'll have got hold of some amylin and you'll be hooked up to a second pump delivering that
Dana Lewis
@danamlewis
Jan 10 2017 02:23
Heh. Who knows :smile:
Ps - roll tide for anyone watching football tonight ;)
Dana Lewis
@danamlewis
Jan 10 2017 02:29
@estunek if you've got your Nightscout getting CGM data, you may want to go ahead and configure for OpenAPS, or you can get started setting up the hardware and go back to enable once you get things looping. Either works!
estunek
@estunek
Jan 10 2017 02:30
I guess i am at a loss for where to start
I have the 522 pump and carelink USB and Dex G5 .
i know i will need to order a RPi board (will need to do more research into that)
Is OpenAPS the place to be now that i have Nightscout getting CGM data or is there more on the Nightscout website that I should invest time in?
Dana Lewis
@danamlewis
Jan 10 2017 02:32
Start at the top of the docs - phase 0 is getting hardware and when you get it, setting up. Phase 1 is configuring Nightscout, which you've done. Phase 2 is the magic, where you set up OpenAPS.
If you've got your NS set up, I'd spend time w the OpenAPS docs, and here with questions :smile:
Jarred Yaw
@jyaw
Jan 10 2017 02:33
Roll Tide!!
Dana Lewis
@danamlewis
Jan 10 2017 02:34
:elephant:
estunek
@estunek
Jan 10 2017 02:41
I see in the hardware the RPi 2 RPi 3 but can you use the RPi Zero?
Also how much WiFi data does the system use when linked to your phone as a hot spot?
Scott Leibrand
@scottleibrand
Jan 10 2017 02:49
We don't recommend the Pi zero, but it will mostly work.
For at-home use, the Pi 2/3 work better. For mobile use you'll want an Edison with Explorer board.
estunek
@estunek
Jan 10 2017 02:51

So i would like to OpenAPS 24/7 ... is this realistic?

I have WiFi at home and could create a mobile hot spot with my phone but I work in the healthcare setting so WiFi at work is a "Guest Network" and frowned upon for employee use.

John Benjamin
@Bender1061
Jan 10 2017 02:54
@estunek I don't think anyone has done any tests to see how much data is being used by OpenAPS on your phones plan, but it's only going to be text data transfers, I'm sure a short video played from youtube uses more than what APS would use in a week.
but don't hold me too that, I've not done any testing
estunek
@estunek
Jan 10 2017 02:55
@Bender1061 good to know thank you.
Chris Oattes
@cjo20
Jan 10 2017 02:56
@scottleibrand Do you see the mmtune/ pumphistory-24h refresh Error?
Scott Leibrand
@scottleibrand
Jan 10 2017 02:57
Not often enough to matter. Helps that we have so many rigs.
Chris Oattes
@cjo20
Jan 10 2017 03:02
I wonder if it's because of some sort of timeout error. I don't know what happens if the pump reaches its "power control" timeout mid-communication, whether it finishes comms or just says "you've had enough data, seeya". If it's the latter then it could explain the problem. A log I saw looks like it could have been 3 minutes from mmtune starting to the command failing., which I think is the default
Chris Oattes
@cjo20
Jan 10 2017 03:07
If adding minutes = 4 to pump.ini changes the behaviour for people, it may be worth doing as much pump communication up front before calculation as possible, with just the enact at the end
Aaron Michelson
@Aaybob
Jan 10 2017 03:17
@scottleibrand don't want to do "@/all" but that change didn't work. I thought I PRed again but maybe not. It is neccesary is to slow the repeat from every minute to allow the reset to happen. Mine worked with */5 for all other lines and [2-5]/5 for a single line with openaps preflight. Because the call to openaps preflight doesn't get called when the system has failed in the documented location.
diabeticgonewild
@diabeticgonewild
Jan 10 2017 03:17
Anyone run OpenAPS on steroids? Just curious of how well it upholds things. I popped some steroids last night, and may try being on them for awhile.
Chris Oattes
@cjo20
Jan 10 2017 03:18
It'll probably cope fine, as long as the effect on hormones / IR are within the bounds that autosene can handle. Autotune will potentially help more too.
Aaron Michelson
@Aaybob
Jan 10 2017 03:19
@scottleibrand [2-59]/5 for the minutes rank in cron
diabeticgonewild
@diabeticgonewild
Jan 10 2017 03:19
That's good to here.
Hear
Chris Oattes
@cjo20
Jan 10 2017 03:20
@diabeticgonewild autosens seems to work for people that usually get really high BGs when sick anyway.
diabeticgonewild
@diabeticgonewild
Jan 10 2017 03:21
Nice. I don't know the 411 on those details.
Aaron Michelson
@Aaybob
Jan 10 2017 03:24
@estunek wifi for sick people would work, you could also turn phone into wifi or bluetooth hotspot. When I leave home wifi my ble hotspot starts. If I want to go back to wifi I turn off bluetooth on the phone for a second.
Geoff Aumaugher
@geoffro10
Jan 10 2017 04:14
Haven't seen anyone else say it.... Go Tigers!!! šŸ˜šŸ˜šŸ˜
Jarred Yaw
@jyaw
Jan 10 2017 04:17
@scottleibrand by Bluetooth stuff, do you mean comms with the Dexcom receiver or just Bluetooth hotspot?
Responding to something you said several hours ago
Scott Leibrand
@scottleibrand
Jan 10 2017 04:18
Either/both
Jarred Yaw
@jyaw
Jan 10 2017 04:18
Ah, gotcha
Scott Leibrand
@scottleibrand
Jan 10 2017 04:19
No one has gotten BT hotspot with iPhone reliable yet, or openxshareble, AFAIK
Dana Lewis
@danamlewis
Jan 10 2017 04:19
@geoffro10 ;)
Jarred Yaw
@jyaw
Jan 10 2017 04:20
Ok, I had assumed openxshareble was implemented in the setup now. I don't really use it since it was flaky last time I tried. Thanks for clarifying.
Aaron Michelson
@Aaybob
Jan 10 2017 04:29
Having trouble with Git. When I commit at the bottom of the page I have the option to open a new branch. When I do that I must choose one of three options, squach, reboble, and hoop or something. Which would one choose there to open a new PR. Or is it better to just put every update in one PR>?
Scott Leibrand
@scottleibrand
Jan 10 2017 05:03
@jyaw it's implemented, but not reliable yet.
Not sure exactly why you'd have to do that to create a new branch though.
Aaron Michelson
@Aaybob
Jan 10 2017 05:09
@scottleibrand for instance lets say i wanted to edit a file and lets say it was in one section and when i opened a pr edited that file committed it and then sent it on for review but it sent it not to be reviewed but filed it away in an old pr.
Scott Leibrand
@scottleibrand
Jan 10 2017 05:11
Where are you doing the edits? What is the URL of the page?
Aaron Michelson
@Aaybob
Jan 10 2017 05:11
then i learned that forking a new branch for the new pr would open a new pr but when i pressed the fork button it did what it allways did before and did not open a new branch so when I saw another option to open a new branch i pressed that button and again nothing happened
Aaybob/docs#1
Scott Leibrand
@scottleibrand
Jan 10 2017 05:12
There are probably some good tutorials on this kind of thing btw. It's not OpenAPS specific.
Aaron Michelson
@Aaybob
Jan 10 2017 05:12
which reminds me im not a software engineer
just trying to contribute to documentation
Scott Leibrand
@scottleibrand
Jan 10 2017 05:13
Looks like you are making edits on your own fork
Aaron Michelson
@Aaybob
Jan 10 2017 05:13
okay, great
Scott Leibrand
@scottleibrand
Jan 10 2017 05:13
there are a few options. For minor stuff, you can start from the openaps/docs version.
Aaron Michelson
@Aaybob
Jan 10 2017 05:14
don't try to help its hopeless
That will create a clean PR.
Luis Betancourt
@betluis
Jan 10 2017 05:19
Hi, I am seeking an advice about openaps pill showing "unknown".. it was working ok until I ran the Openaps setup after replacing a carelink with a TI stick... before attempting to redeploying nightscout to Heroku I wanted to ask to see if there is somethin simple I could be missing...
blob
Something else I did in the process though was to delete my Azure site. But I thought this had nothing to do as the mlab database was created independently and all data is still available in Heroku
Aaron Michelson
@Aaybob
Jan 10 2017 05:37
@scottleibrand I can try tutorials again now that I have some experience. Thanks for the suggestion.
Tim Street
@tim2000s
Jan 10 2017 06:28
@chrisharris751 Sorry, haven't had a chance to take a look. I'm fairly sure the issue is with mmeowlink and the subg_rfspy stuff the dev branchninatalls as I'm running a manually installed mmeowlink and bits happily on ed209. Using master.
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 06:42
Hi all - thought I'd send a shout out about the Endo appt today. Endo was very interested in OpenAPS, had read the basic design info, had circulated it amongst other clinic staff as well. We went with quite a bit of printed data from NS - both the Endo and the Dietician were very curious - we left the data with them (will go in our sons chart), as we had intended as they both indicated a desire to look at it some more. Endo outright stated this is going to be the way of the future, though she raised some concern that the technological knowledge required for Openaps would limit who would be able. We indicated how supportive the community is and and acknowledged that while it is not as simple as a commercial device is, it is possible and that indeed, once commercial devices are available, it is unlikely they will permit the type of inside understanding about what is happening, so in that regard, the deep understanding of the loop that becomes part of the build is a real benefit. And at least for us, is very satisfying to people who are data driven :) . So many thanks for everyone's participation and help within the community. It takes a village to make an artificial pancreas!
As an aside, it seems we have a stable setup with BT on the Edison/Explorer board. Have used it at home for several days and son took it to school today..... Will do a bit more testing, had one blip today which got resolved - will get back to you all (yes, we know, PR it - want to just see it in action a bit more first).
Last but not least - we are not getting data on COB with the new Edison/Explorer board (install last week) - we are still trying to problem solve it - anyone else having this problem? Carb detail shows up in NS treatment visualization, but doesn't make COB in either NS pill or Openaps. Thoughts?
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 06:52
@scottleibrand working on a 2nd rig w/Edison/Explorer - told our kid that given his track record with his first pancreas, we figured we needed two openaps rigs - just in case :) Will be open to sharing details about autotune testing on a 10yo's rig once up and running. Are curious what it will say about our wild deviations in necessary basal insulin throughout the day. Not quite set up yet.... bedtime though... perhaps tomorrow.
Scott Leibrand
@scottleibrand
Jan 10 2017 06:54
:+1: glad to hear the visit went so well!
What phone are you using the BT with?
Does COB show up in the pump-loop.log?
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 06:57
Iphone
re COB - no says undefined
Scott Leibrand
@scottleibrand
Jan 10 2017 06:59
How are carbs being entered? care portal? Bolus wizard?
Does the rig automatically reestablish BT tethering on its own when you leave wifi? Or do you have to do anything to trigger it?
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 07:00
food treatments that involve insulin entered via bolus wizard on pump. Show up in NS graphing, there is a breakdown somewhere as not populating into APS
Aaron Michelson
@Aaybob
Jan 10 2017 07:05
my setup automaticaly starts bluetooth, edison connects when wifi is unavailable. To end bluetooth one must turn it off momentarily to let it search to connect to wifi.
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 07:06
Ok - possible I have this wrong, as I didn't do it, husband did - my understanding - Mike has set it up to automatically search for connectivity when it looses a connection - so when we leave the house, if set up on wifi, it searches out BT from son's phone. If rig reboots, it is set to run the BT up automatically. However, it does not switch back to wifi when back in wifi zone unless there has been a drop in connectivity. However phone switches to wifi at school and home - so I assume the net effect is that it is piggybacking via bt on the phones wifi access (ie, not using cell data except when the phone is getting it's signal via cellular). @Aaybob - I believe you were quiet helpful in getting it all set up and ironing out some of the kinks - thx!
Scott Leibrand
@scottleibrand
Jan 10 2017 07:08
@JELCRAWFORD I wouldn't assume it uses wifi preferentially over BT when both are connected. Would be testable though: go to whatismyip.com or similar and see which ISP it's using: your cell carrier or the wifi ISP
But glad to hear you have it all working automatically: maybe we'll finally be able to get that working on ours. :smile:
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 07:09
ok - will check that.
chrisharris751
@chrisharris751
Jan 10 2017 07:10
Regarding running the setup script (on the explorer/edison) multiple times, if I delete the crib jobs and the directory does that clean everything out? Or am I slowly filling up the memory?
Dana Lewis
@danamlewis
Jan 10 2017 07:11
@JELCRAWFORD :+1: for a good endo appt & thanks for being a great advocate for the WeAreNotWaiting and OpenAPS communities :smile:
Aaron Michelson
@Aaybob
Jan 10 2017 07:14
The iphone is different than the Android. The edison must initiate iphone connections. Where as the Android must initaiate connection to edison. So with edison programmed to took for bluetooth whenwifi drops (ble tethering installed) it runs seemlessly. Then comming back to wifi when it's available as you say only happens when ble is disabled. The easiest way to disable ble is to turn bluetooth of, change the button from green to gray and then turn it back on for the next time the edison leaves wifi range.
Scott Leibrand
@scottleibrand
Jan 10 2017 07:15
:+1: thx @Aaybob
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 07:16
@scottleibrand Seemed to work pretty well today as we moved about on a regular school day plus a hospital visit for clinic - then the rig itself had some trouble we have not totally sorted the why of, plus a pump that was low on battery that didn't help matters - Mike managed to remote into the rig and get it running again, so that was a plus. So many spots for failure each day - I need to make a list of things to check before we walk out the door :) @danamlewis - Many thanks to all of you who devote so much time. From the beginning (which isn't long for us to be true) we had Openaps in our sights - we were definitely not waiting to do something that makes so much sense - thus the pump hook up we had to do ourselves on our used pump that now loops for our son- twice lucky there!. So in the end - guess we found the right group :) - BTW - Endo had also printed out your abstract from your poster presentation (we had also taken, but she had already printed) and circulated. As I suspected, academia gravitates towards that type of data.
Scott Leibrand
@scottleibrand
Jan 10 2017 07:16
@chrisharris751 cleaning out cron is the only important part. If you don't need the myopenaps directory you can delete that too. Only other things it does are install packages etc, but there aren't that many of those, so even installing every optional feature should be fine.
@JELCRAWFORD Yeah, we're seeing more and more how important it is to translate what we know into HCP and researchers' native language. I love watching how much @danamlewis is doing there (along with the Nightscout project) to work with so many different research groups. :smile:
Aaron Michelson
@Aaybob
Jan 10 2017 07:18
@JELCRAWFORD docs were written for android. So its better to separate the two phone procedures.
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 07:19
@Aaybob - yes, we had thought of this manual shift for bt, however for the 10yo it just starts to be too much to remember when he should be busy being 10 ontop of all the other D-stuff. So, as long as it doesn't make us totally broke due to data fees, and it shifts pretty seamlessly after we connect it back to wifi when he gets home (responsibility ours vs. his) then I'm happy with that. Of course an auto solution would be great, but we are pretty pleased with where we have gotten to. At school they have 3 outside times per day he'd have to shift back and forth - too much...
Scott Leibrand
@scottleibrand
Jan 10 2017 07:20
@JELCRAWFORD it should be possible to make the Edison prefer the wifi interface over the BT one if it doesn't do so automatically. So let us know what you find out.
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 07:22
@scottleibrand with so many people taking 1 step at a time, it is amazing how many steps are getting taken each day!
Scott Leibrand
@scottleibrand
Jan 10 2017 07:23
Yeah, I've really seen a lot of acceleration recently in the number of people contributing to doing new things with oref0-setup. Loving all the collaboration and sharing there!
chrisharris751
@chrisharris751
Jan 10 2017 07:23
Thanks @scottleibrand šŸ‘
Scott Leibrand
@scottleibrand
Jan 10 2017 07:24
It's nice having others pick up the baton and race so far ahead of me on things like BT. I really love being able to focus on algorithm stuff like autotune and be able to reap the benefits of the work everyone else is doing in the mean time. :smile:
Aaron Michelson
@Aaybob
Jan 10 2017 07:25
the people that arent technical can't wait an y easiser than we can so we're eager to clear up passages we stubled over that we can write more clearly
JELCRAWFORD
@JELCRAWFORD
Jan 10 2017 07:26
We'll do a PR after another day or so re BT- want to make sure the blip today was unrelated and to have at least 1 day of 'regular' out and about before we make a complete assumption it is good to go (yn)
Scott Leibrand
@scottleibrand
Jan 10 2017 07:26
Heh yep. Thanks for your persistence and continued contributions there @Aaybob I was reminded today just how much you PR: love it.
@JELCRAWFORD :+1:
Aaron Michelson
@Aaybob
Jan 10 2017 07:28
If i dojn't have to work right away, i want to get some tutoreials and know what I'm doing rather than trying and getting randum resuults. but I want to gt thert
Ryan Dalisky
@rdalisky
Jan 10 2017 12:31
@scottleibrand but I want to worry about auto tune and the Dev branch haha!!
Ryan Dalisky
@rdalisky
Jan 10 2017 12:39
Well here is a question. If I have a working rig on the master branch, can I use the dev branch scripts to update it to dev and have it work still?
Scott Leibrand
@scottleibrand
Jan 10 2017 13:39
Probably, but if that is your only rig, I would only do that if you have enough time set aside to re-flash if from scratch if you mess something up.
Annette Valle
@annettemvalle
Jan 10 2017 14:57
How often should my rig be sending updates to the pump?
Ryan Dalisky
@rdalisky
Jan 10 2017 14:57
I have a rileylink and Loop, so I can do it šŸ˜œ
Scott Leibrand
@scottleibrand
Jan 10 2017 15:11
@annettemvalle with oref0-setup it will query the pump every couple minutes, and potentially set a temp after every new BG reading (5m)
jburke41
@jburke41
Jan 10 2017 15:14
I am running the PLGM loop. In Nightscout, everything seems to be going right. My basal are being adjusted when I am predicted to go low. However, my pump does not go into a temp basal. I assume that Nightscout is receiving information from my pump, as the number of remaining units appears on Nightscout, but my pump is not getting info to enact a temp basal from the Rasberry Pi. Has anyone had this issue?
Scott Leibrand
@scottleibrand
Jan 10 2017 15:18
Does it say "not enacted" in NS? Is your pump set to percent temp basal mode?
It needs to be in absolute mode for openaps to set a temp.
There is also a troubleshooting section in the docs with that and other things to check.
jburke41
@jburke41
Jan 10 2017 15:20
That is super helpful! I was in persent temp basal mode! Thank you SO much!
Annette Valle
@annettemvalle
Jan 10 2017 15:26
@scottleibrand on my nightscout it frequently says openaps hasn't updated for 30 min plus. It currently says 2 min ago but before that was close to 38 minutes. Not sure what's causing the delay.
Scott Leibrand
@scottleibrand
Jan 10 2017 15:26
@annettemvalle check your pump-loop.log on the rig.
Annette Valle
@annettemvalle
Jan 10 2017 15:27
I will do that, thanks
Ryan Dalisky
@rdalisky
Jan 10 2017 16:12
@scottleibrand Is auto tune enabled in the dev branch by default now? If not, how do I go about enabling it?
Scott Leibrand
@scottleibrand
Jan 10 2017 16:14
It's an option in the advanced features section of oref0-setup.
Ryan Dalisky
@rdalisky
Jan 10 2017 16:24
Hmm ok I'll have to take a look at it then...
John Benjamin
@Bender1061
Jan 10 2017 16:46
@Aaybob @scottleibrand @JELCRAWFORD We could pretty easily check that if we have a ip address for bnep0 and wlan0, that we disable to bluetooth, my current pull request has a shell script that actually gets the bluetooth up and ready for bluetooth but does not initiate the personal network with bt-pan. so that way if it saw you were back on wifi, turn of the personal network, but it would automatically try to hook up to bluetooth if wifi was not available. thoughts?
Scott Leibrand
@scottleibrand
Jan 10 2017 16:47
Sounds promising.
Ryan Dalisky
@rdalisky
Jan 10 2017 16:56
Sorry for being annoying... should the setup script for dev branches, listed in the docs, pull the latest dev branch? I ask because I used the script and I didn't get an option for auto tune.
Scott Leibrand
@scottleibrand
Jan 10 2017 17:38
Not sure, but you can git checkout dev and then git pull
Luis Betancourt
@betluis
Jan 10 2017 17:45
Hello.. I am dealing with the openaps pill in "unknown" mode. I have seen several posts in the last few months about this in the discussions but I have not been able to see what the solution or cause was. Is there a general advice on this? redeploying NS would be the logical step? BG works ok... thanks for any support on this.
John Benjamin
@Bender1061
Jan 10 2017 17:51
@scottleibrand I just added that to the PR. Pretty simple :smile: So now it will shut down the bt network if we have wifi.
Scott Leibrand
@scottleibrand
Jan 10 2017 18:01
What happens if you're on a crappy captive portal wifi with no Internet? How do we keep the BT PAN up in that case?
John Benjamin
@Bender1061
Jan 10 2017 18:04
that's a good question.
I guess I don't have any roaming wifi, all of my points are taught in my wpa-supp, so you have a point on there. I'm not sure how to check the net so make sure we have a good connections and know what one works best.
Chris Oattes
@cjo20
Jan 10 2017 18:10
Probably starting to get a bit too involved, but once you've disabled the BT, try and get a page with known content. If you get it, then you know the connection is good. If you get back something different to what you expected, mark the AP as "bad" and don't try and use it again until after it's changed
John Benjamin
@Bender1061
Jan 10 2017 18:10
I had run into kind of a similar issue 4 or 5 months back, I had cycled power on my edison, but my home wifi while there was not connected to the net (cable was down) and my edison would not update time, this was before we fixed that issue. I ended up on my wpa supp list, placed my phone wifi stuff before the homenetwork. (i don't use priorities) so my phone would supersede my home wifi when its turned on
@cjo20 I agree but we need a good way to save something out of a shell script for that. Something I have not figured out how to do just yet.
Scott Leibrand
@scottleibrand
Jan 10 2017 18:12
Maybe we could solve this easier by managing our default route?
John Benjamin
@Bender1061
Jan 10 2017 18:13
I've tried modifying a json file from inside a shell script (even running as root) and nothing actually saves.
Scott Leibrand
@scottleibrand
Jan 10 2017 18:13
If we have a wifi IP, try adding a route over wifi to a test address and make sure we can ping it. If so, switch the default to wifi.
And then if pinging Google fails over wifi, switch default back to BT
Chris Oattes
@cjo20
Jan 10 2017 18:15
I don't think pinging will necessarily fail on a network that you don't have open internet access on
@Bender1061 echo "something" > file
John Benjamin
@Bender1061
Jan 10 2017 18:17
I did not try just to a normal file like that, I was hoping to stay with json files, so make it super simple to check, but I'll have to try that
and if you ping to google (the best default ping by the way) when you don't have access to the net that return is real simple to grep
Scott Leibrand
@scottleibrand
Jan 10 2017 18:18
@cjo20 I don't recall ever seeing a captive portal that spoofs ICMP echo responses. Or are you suggesting ICMP would be allowed but not http(s)?
I doubt many captive portals would do that, as its super easy to VPN tunnel through unfiltered ICMP.
The best check, of course, would be getting BG data from NS, but that is a bit heavy...
Chris Oattes
@cjo20
Jan 10 2017 18:21
It depends on what you mean by 'captive portal'. If it's "air gapped from the internet" then pings will probably fail. If it's "you have to go through our registration process", I could see pings succeeding
Scott Leibrand
@scottleibrand
Jan 10 2017 18:21
Could see, yes. Do see, no.
Chris Oattes
@cjo20
Jan 10 2017 18:21
depending on how they implement it ofc.
Scott Leibrand
@scottleibrand
Jan 10 2017 18:22
If you know of anyone who implements ICMP pass through but blocks http(s) we should reconsider, but until then ping seems good enough.
Reminds me of the cruise ship full of network engineers using DNS TXT records to implement a VPN tunnel to avoid paying their crazy rates. ;-)
That kind of thing is why most portals are better locked down nowadays.
John Benjamin
@Bender1061
Jan 10 2017 18:26
lol
Chris Oattes
@cjo20
Jan 10 2017 18:30
@scottleibrand Adding a page to nightscout which just returns "SUCCESS" would always (I think) give you a reliable indication of whether you can reach your nightscout site, without being heavy. Just curl https://nightscout_url/access_test.htm
Scott Leibrand
@scottleibrand
Jan 10 2017 18:31
Yeah, that would work. I bet there are plenty of endpoints that would work for that.
Chris Oattes
@cjo20
Jan 10 2017 18:31
Not quite as simple as pinging google, but actually checks we can reach what we need to
Also, curl has curl --interface eth0
John Benjamin
@Bender1061
Jan 10 2017 18:55
I like that --interface for curl, that makes it real simple, and just check for a known return
PieterGit
@PieterGit
Jan 10 2017 19:04
@Bender1061 @scottleibrand : i did a review of openaps/oref0#329 . I will test the improvements out when I got the newer kernel working on the explorerboard
John Benjamin
@Bender1061
Jan 10 2017 19:17
:+1:
Ryan Dalisky
@rdalisky
Jan 10 2017 19:56
Device B8:53:AC:44:0B:07 not available
Is this common when trying to set up bluetooth?
John Benjamin
@Bender1061
Jan 10 2017 19:57
is that your phones BT mac?
Ryan Dalisky
@rdalisky
Jan 10 2017 19:57
yes
jmcrawford
@jmcrawford
Jan 10 2017 19:58
I just checked with our Network guy. Our corporate 'guest' wifi access wouldn't allow ICMP traffic through until the T&C page is accepted. He thought that many wifi AP's (hotel, coffee shops) would be similar. So you'd need something other than ping for a valid test.
John Benjamin
@Bender1061
Jan 10 2017 19:58
is your phone set up as discover-able to other devices?
Ryan Dalisky
@rdalisky
Jan 10 2017 19:58
yes it is
John Benjamin
@Bender1061
Jan 10 2017 19:58
what steps have you done?
Ryan Dalisky
@rdalisky
Jan 10 2017 19:59
I have followed the DEV docs. I have autotune and all set up. I have even commented out my home wifi in my wpa supplicant file
John Benjamin
@Bender1061
Jan 10 2017 20:02
when you go into the bluetoothctl what happens when you type show
Tim Street
@tim2000s
Jan 10 2017 20:11
@chrisharris751 @cjo20 I get a similar issue with the 0.2.0-dev openaps build, but I'm seeing different mmeowlink errors:
root@ed210:~/taps# openaps use pump model
Traceback (most recent call last):
  File "/usr/local/bin/openaps-use", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/root/src/openaps/bin/openaps-use", line 63, in <module>
    app( )
  File "/root/src/openaps/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/root/src/openaps/bin/openaps-use", line 57, in run
    output = app(args, self)
  File "/root/src/openaps/openaps/uses/__init__.py", line 92, in __call__
    return self.method.selected(args)(args, app)
  File "/root/src/openaps/openaps/uses/__init__.py", line 31, in __call__
    return self.method(args, app)
  File "/root/src/openaps/openaps/uses/use.py", line 44, in __call__
    self.before_main(args, app)
  File "/root/src/openaps/openaps/vendors/medtronic.py", line 62, in before_main
    self.setup_medtronic( )
  File "/home/.rootfs/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/mmeowlink.py", line 115, in setup_medtronic
    setup_func(self)
  File "/home/.rootfs/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/mmeowlink.py", line 75, in setup_medtronic_link
    link = builder.build(radio_type, port)
  File "/home/.rootfs/usr/local/lib/python2.7/dist-packages/mmeowlink/link_builder.py", line 16, in build
    return SubgRfspyLink(port)
  File "/home/.rootfs/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 55, in __init__
    self.open()
  File "/home/.rootfs/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_interface.py", line 28, in open
    self.check_setup()
  File "/home/.rootfs/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 72, in check_setup
    self.serial_rf_spy.sync()
  File "/home/.rootfs/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_rf_spy.py", line 121, in sync
    raise CommsException("Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?")
mmeowlink.exceptions.CommsException: Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?
Ryan Dalisky
@rdalisky
Jan 10 2017 20:12
Now i can get it to give me a PIN on the iphone, but it says pairing unsuccessful
Tim Street
@tim2000s
Jan 10 2017 20:12
and
root@ed210:~/taps# openaps use pump model
Traceback (most recent call last):
  File "/usr/local/bin/openaps-use", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/root/src/openaps/bin/openaps-use", line 63, in <module>
    app( )
  File "/root/src/openaps/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/root/src/openaps/bin/openaps-use", line 57, in run
    output = app(args, self)
  File "/root/src/openaps/openaps/uses/__init__.py", line 92, in __call__
    return self.method.selected(args)(args, app)
  File "/root/src/openaps/openaps/uses/__init__.py", line 31, in __call__
    return self.method(args, app)
  File "/root/src/openaps/openaps/uses/use.py", line 44, in __call__
    self.before_main(args, app)
  File "/root/src/openaps/openaps/vendors/medtronic.py", line 64, in before_main
    self.check_session(app)
  File "/root/src/openaps/openaps/vendors/medtronic.py", line 141, in check_session
    self.session = self.get_session_info( )
  File "/root/src/openaps/openaps/vendors/medtronic.py", line 104, in get_session_info
    fields = self.create_session( )
  File "/root/src/openaps/openaps/vendors/medtronic.py", line 129, in create_session
    self.pump.power_control(minutes=minutes)
  File "/home/.rootfs/usr/local/lib/python2.7/dist-packages/mmeowlink/handlers/stick.py", line 231, in power_control
    raise CommsException("No acknowledgement from pump on wakeup. Is it out of range or is the battery too low?")
mmeowlink.exceptions.CommsException: No acknowledgement from pump on wakeup. Is it out of range or is the battery too low?
John Benjamin
@Bender1061
Jan 10 2017 20:12
did you type in "yes" not just y first?
after the discoverable on part, you only have a limited amount of time to type in yes
Chris Oattes
@cjo20
Jan 10 2017 20:13
@tim2000s Hopefully some PRs I've done today will help fix those
Tim Street
@tim2000s
Jan 10 2017 20:15
I'm not sure why it's broken on 0.2.0-dev though.
It works on 0.1.5 master
Chris Oattes
@cjo20
Jan 10 2017 20:16
If you go back to 0.1.5 does it fix it? If so, how are you swapping back and forth?
Tim Street
@tim2000s
Jan 10 2017 20:17
I run one edison on 0.1.5 and one as a dev version.
The 0.1.5 version is working with no issues
the dev one obviously isn't
Chris Oattes
@cjo20
Jan 10 2017 20:17
When was the last time you updated the various components on the 0.1.5 version?
Ryan Dalisky
@rdalisky
Jan 10 2017 20:22
I did type yes. I have been able to get them to pair, now im having trouble getting them to stay connected...
[CHG] Controller 58:A8:39:00:67:6F Class: 0x400110
[CHG] Controller 58:A8:39:00:67:6F UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Controller 58:A8:39:00:67:6F UUIDs: 0000112d-0000-1000-8000-00805f9b34fb
[CHG] Controller 58:A8:39:00:67:6F UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Controller 58:A8:39:00:67:6F UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Controller 58:A8:39:00:67:6F UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Controller 58:A8:39:00:67:6F UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Controller 58:A8:39:00:67:6F Alias: BlueZ 5.37
[CHG] Device B8:53:AC:44:0B:07 Connected: yes
[CHG] Device B8:53:AC:44:0B:07 Connected: no
[bluetooth]#
Tim Street
@tim2000s
Jan 10 2017 20:24
I only built the edison on master / 0.1.5 ten days ago.
Chris Oattes
@cjo20
Jan 10 2017 20:25
@tim2000s specifically, it depends on what version of mmeowlink/handlers/stick.py you have. There was a change 28 days ago which removed a line that was causing it to not check a return value
Tim Street
@tim2000s
Jan 10 2017 20:26
I'm running 0.10.1 on both
The version that was last updated 20 days ago.
Chris Oattes
@cjo20
Jan 10 2017 20:29
Are both using the same openaps.ini and method of running it?
Tim Street
@tim2000s
Jan 10 2017 20:32
Yup, they both do the same
Interestingly, digging into pumphistory, before it stopped working it did pull some pumphistory
Chris Oattes
@cjo20
Jan 10 2017 20:34
What happens if you switch the edisons over?
Tim Street
@tim2000s
Jan 10 2017 20:35
You mean to the other explorer board? Hadn't thought about that - good idea. Have to go and pick the missus up so will let you know the outcome when I'm done.
Chris Oattes
@cjo20
Jan 10 2017 20:36
if you're running 2 explorer boards, one with 0.1.5 and one with dev, try swapping the edisons over, to see if that changes which one misbehaves
Tim Street
@tim2000s
Jan 10 2017 20:38
Okay - so I've reinstalled mmeowlink this evening, and now I'm getting pump model readings.
When I try and pull pump history I get the following error
John Benjamin
@Bender1061
Jan 10 2017 20:40
@rdalisky what happens when you quit that and run oref0-online AA:BB:CC
Tim Street
@tim2000s
Jan 10 2017 20:41
Actually - ignore that - I'm using the wrong parameters for pump history
John Benjamin
@Bender1061
Jan 10 2017 20:42
are you using iphone or android? Cause on my android, I have to go to mobile hotspot and tethering and run on bluetooth tether. on iphone I make sure the wifi is turned off and turn on personal hotspot, and when it asks that wifi is off, it lets me select bluetooth or tether only
Tim Street
@tim2000s
Jan 10 2017 20:46
@cjo20 I've just fixed it
Chris Oattes
@cjo20
Jan 10 2017 20:47
How?
Tim Street
@tim2000s
Jan 10 2017 20:50
Deleted mmeowlink and reinstalled manually, adjusted mmtune.pv to WW, then ran "sudo python setup.py install e ." To reset to worldwide and then it worked.
I wonder what the setup script isn't doing.
Chris Oattes
@cjo20
Jan 10 2017 20:52
what happens if you issue a model command now?
Tim Street
@tim2000s
Jan 10 2017 20:52
Get a model number back. Also ran monitor/pumphistory.json and got full data.
Chris Oattes
@cjo20
Jan 10 2017 20:53
You can do it consistently several minutes later without retuning?
Tim Street
@tim2000s
Jan 10 2017 20:57
Model, yes. I only ran pumphistory the once.
PieterGit
@PieterGit
Jan 10 2017 22:10
@ecc1 : i'm know where you warned me for yesterday... i got a 4.10.0rc3 compiled, but got stuck mounting the mmc. can you enlighten me how you got the initramfs image?
.config contains CONFIG_MMC=m

kernel modules got compiled
./drivers/mmc/core/mmc_block.ko
./drivers/mmc/core/mmc_core.ko
ejoe132
@ejoe132
Jan 10 2017 22:21
ok finally got my new pump, (unfortunatley have to contact seller as where the resourvior goes in is all chewed up, wont seal water out, but gonna try running the loop, not connected but watching) but I entered the serial number in and then tried to follow the log file but it keeps coming up and saying "attempting to use a port that is not open, error retrying" any tips?
PieterGit
@PieterGit
Jan 10 2017 22:23
@ejoe132 first disable all crontab entries and reboot to make sure no openaps processes are running
ejoe132
@ejoe132
Jan 10 2017 22:24
ok, could you give me the things to type to make that happen? dont really know what to type to do that, just following the walkthrough
PieterGit
@PieterGit
Jan 10 2017 22:26
use crontab -e and add a # in front of the crontab entries. then sudo reboot
ejoe132
@ejoe132
Jan 10 2017 22:26
so "# crontab -e"?
PieterGit
@PieterGit
Jan 10 2017 22:28
no, sorry, will be more clear. First crontab -e. That will bring up an editor (e.g. tiny). Change all the lines with * * * ... to #* * * (put a # in front). Save crontab. and then sudo reboot
ejoe132
@ejoe132
Jan 10 2017 22:30
maybe i need to reboot, then try that then reboot again, as its not doing anything when I enter crontab -e
Aaron Michelson
@Aaybob
Jan 10 2017 22:31
@ejoe132 did you during the interactive oref0-setup.sh input /dev/spidev5.1
?
PieterGit
@PieterGit
Jan 10 2017 22:31
this will disable the crontab entries, so that nothing will lock the connection to the pump
Eric
@ecc1
Jan 10 2017 22:32

@PieterGit I used mkinitramfs with these modules listed in /etc/initramfs-tools/modules:

i2c-designware-platform
sdhci-pci
mmc_block

Not sure if they are all necessary, but that worked for me

ejoe132
@ejoe132
Jan 10 2017 22:33
@PieterGit No I dont believe I did, I didnt becasue I am using a pi and it talked about it for an explorer board,
@Aaybob No I dont believe I did, I didnt becasue I am using a pi and it talked about it for an explorer board,(replied to wrong person, sorry)
Aaron Michelson
@Aaybob
Jan 10 2017 22:34
@ejoe132 what is plugged into the RPi3 ?
ejoe132
@ejoe132
Jan 10 2017 22:34
just the ti stick, and a micro usb to a battery pack
Aaron Michelson
@Aaybob
Jan 10 2017 22:35
@ejoe132 what about the CGM?
PieterGit
@PieterGit
Jan 10 2017 22:35

@ecc1: shouldn't I also add

mmc_core
spidev
spi_pxa2xx_platform
spi_pxa2xx_pci

to the modules list?

ejoe132
@ejoe132
Jan 10 2017 22:35
@Aaybob cgm is currently not plugged in, should it be?
Aaron Michelson
@Aaybob
Jan 10 2017 22:36
@ejoe132 the TI stick is beyond me. Yes cgm plugged in is the only way RPi works.
glenrob1940
@glenrob1940
Jan 10 2017 22:37
Is this an offline rig otherwise you get cgm through NS.
Aaron Michelson
@Aaybob
Jan 10 2017 22:37
@ejoe132 you programmed the TI stick?
ejoe132
@ejoe132
Jan 10 2017 22:37
@Aaybob ok, Ill try the oref0 setup again, this time starting with cgm plugged in. I beleive the ti stick is required to talk with the pump
@Aaybob yes I programed it
Aaron Michelson
@Aaybob
Jan 10 2017 22:38
@ejoe132 I better not try to help, I think that's really difficult. Could you try a CareLink stick just for trying?
@ejoe132 and you are watching the pump-loop.log seeing that error. So its the pump not communicating. But you are inputting mmewolink port address?
glenrob1940
@glenrob1940
Jan 10 2017 22:40
Did you enter /dev/mmeowlink for the pump port (assuming you followed the directions on getting a symbolic name
ejoe132
@ejoe132
Jan 10 2017 22:40
@Aaybob I dont have a carelink stick unfortunately
glenrob1940
@glenrob1940
Jan 10 2017 22:41
Pardon me not for the pump port for the Ti Stick
ejoe132
@ejoe132
Jan 10 2017 22:41
No i didnt put anything in for the mmeowlink, just hit enter, looked like it was for the explorer board
Aaron Michelson
@Aaybob
Jan 10 2017 22:41
@ejoe132 don't wory about cgm, its pump not working.
ejoe132
@ejoe132
Jan 10 2017 22:41
@glenrob1940 no i didnt, dont know what the mmeowlink is
@Aaybob ok
Aaron Michelson
@Aaybob
Jan 10 2017 22:42
@ejoe132 I made the same assumption, incorrectly.
@ejoe132 you must enter data at the mmeowlink prompt.
Tim Street
@tim2000s
Jan 10 2017 22:42
@cjo20 two hours later and still works.
ejoe132
@ejoe132
Jan 10 2017 22:42
@Aaybob what do I enter there? Dont really know what mmeowlink is?
chrisharris751
@chrisharris751
Jan 10 2017 22:43
@tim2000s excellent, thanks for the info. I gave up and ran the setup script again. Everything is working as it should at the moment. I'm wondering if it had anything to do with BLE tethering. My first master setup didn't have any issues with only Wi-Fi connection, then dev with BLE had the issue. Now I'm back to dev with only Wi-Fi and everything seems good..
Aaron Michelson
@Aaybob
Jan 10 2017 22:43
@ejoe132 looks like @glenrob1940 was instructing that. I think its documented.
glenrob1940
@glenrob1940
Jan 10 2017 22:44
Go to Oskarpearson/mmeowlink Wiki he has a section on 'Using udev rules to make meaningful device names' basically you do a symlink for the TI Dongle
ATTRS(idVendor)=="1d50",ATTRS{idProduct...... (get this line from the WIKI)
The above is in the installing mmeowlink section which you should have access to since you flashed the TI stick
ejoe132
@ejoe132
Jan 10 2017 22:48
ok ill give that a try tonight, leaving for dinner now tho, thanks as always for the help
Aaron Michelson
@Aaybob
Jan 10 2017 22:49
2000mAh battery giving five hours use time on bluetooth hotspot of iPhone.
John Benjamin
@Bender1061
Jan 10 2017 22:51
@Aaybob have you tried a different battery? cause that's real short, even when I plug in a 2000 I can more than 12hrs
oh wait, you are using an Edison right?
Eric
@ecc1
Jan 10 2017 23:02
@PieterGit spidev isn't required to boot, all you need is the modules necessary to mount the rootfs. Once that's available, the usual location in /lib/modules can be used to load modules as needed.
Geoff Aumaugher
@geoffro10
Jan 10 2017 23:15
Is there a step through to install the DEV branch? I'm thinking I gotta be missing something. I've used git checkout dev and installed. It shows 0.2.0-dev. But I just cannot connect to the pump and/or NS.
PieterGit
@PieterGit
Jan 10 2017 23:26
@ecc1 : did you also try x86_64 kernels, or stick to 32bits/i386?
Do you need to add a /etc/fstab on the initrd image to mount the filesystems? How is that integrated in mkinitramfs ? I'm about to give up for tonight. I hope somebody else has more luck getting a newer kernel running
jmcrawford
@jmcrawford
Jan 10 2017 23:30
I've got a stuck process:
/usr/local/bin/mmeowlink-any-pump-comms.py
Eric
@ecc1
Jan 10 2017 23:30
I've only tried 32-bit kernels. No need for /etc/fstab, everything except rootfs gets mounted by systemd after the "pivot" to the real root filesystem. Everything is set up by the scripts and init program included by mkinitramfs
jmcrawford
@jmcrawford
Jan 10 2017 23:31
can't kill it, although the process is new since reboot, the effect remains, /dev/spidev5.1 is busy. Any ideas?
PieterGit
@PieterGit
Jan 10 2017 23:33
@ecc1 but how to specify the mmc root, something like /usr/sbin/mkinitramfs -r /dev/mmcblk0p8?
Aaron Michelson
@Aaybob
Jan 10 2017 23:33
@Bender1061 charging a second battery now, same make and model.
Scott Leibrand
@scottleibrand
Jan 10 2017 23:36
@jmcrawford that is the wait-for-silence process. do you have a pump-loop cron running?
glenrob1940
@glenrob1940
Jan 10 2017 23:36
@jmcrawford Try shutdown, remove and re-apply power, and then boot. Just doing a reboot leaves power on the TI chip so to make sure it gets reset you need to cycle power.
jmcrawford
@jmcrawford
Jan 10 2017 23:38
I commented out pump-loop a while back. That process started over an hour ago.
@glenrob1940 I don't have physical access to the edison at the moment - and the case that it's in isn't conducive to opening. I suspect this is the same problem I saw yesterday, but it seemed to resolve either with enough time or a reboot. No way to disable the TI chip programatically?
glenrob1940
@glenrob1940
Jan 10 2017 23:44
@jmcrawford try reset_spi_serial.py
jmcrawford
@jmcrawford
Jan 10 2017 23:45
Tried that, it's hung too.
Scott Leibrand
@scottleibrand
Jan 10 2017 23:50
you can't killall -g mmeowlink-any-pump-comms.py ?
glenrob1940
@glenrob1940
Jan 10 2017 23:51
@jmcrawford Are all of your cron jobs commented out. Making sure that none can be started and then rebooting should not have anything start up, in particular nothing should call that python script. If ps doesn't show any mmeowlink things running then try again reset_spi_serial.py. If something is running, need to troubleshoot what kicked it off
jmcrawford
@jmcrawford
Jan 10 2017 23:51
There are a couple of reset_spi_serial.py processes now, the same as what I noticed yesterday.
Scott Leibrand
@scottleibrand
Jan 10 2017 23:51
a reboot will kill that process off for sure. if it's getting restarted, you may need to comment it out of cron. yeah, what @glenrob1940 said. :)
jmcrawford
@jmcrawford
Jan 10 2017 23:54
Nope, can't killall any of them. A reboot will kill the process, but if as @glenrob1940 says, the TI chip is where it's locked up, that may not fix the root of the problem. Will let you know in a bit...
Eric
@ecc1
Jan 10 2017 23:59
@PieterGit No need to specify any root, the default is fine. All I used was the -o option.