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

30th
Oct 2016
diabeticgonewild
@diabeticgonewild
Oct 30 2016 00:01
Just FYI, I'm 100% certain that GrifGrips ( GrifGrips.com ) is using the Brother ScanNCut2 machine to cut the Kinesiology tape into those really nice designs. I'm also 100% certain that they are using RockTape as their kinesiology tape too, because of the way the RockTape is sealed before you open it (there's a specific design to the covering/wrapper that is unique...I bought RockTape H2O 4" x 16.9 tape roll a few days ago off of Amazon, and the wrapper is exactly the same...). I know that they are using the ScanNCut machine because the lady who demonstrated it to me this week cut a ♠️ shaped design, and it looks exactly identical to the design that was printed for me a couple of days ago from the "library" on this machine. Also, saw some rhinestone embellished products being sold off of GrifGrips.com, and the ScanNCut2 is also able to do that. So, all points towards that machine being used. I'm definitely going to get my own, eventually, for both my Dexcom and pump sites (like GrifGrips does and has), and I can make cuts that sit on/near the plastic from the sensors or infusion sets, and test things out. GrifGrips holes for sensors and infusion sets are bigger than I want. Plus, doing this will make sites last longer, and taping things to your body anyway is more of an art than science. I definitely can do a better job than them. I will also save money over time. And the machine cuts super fast. And I'm terrible with my hands anyway for cutting...and it will be cool to basically have a "tattoo" on your skin, without actually having one...hahaha!
David
@davidkeddydb
Oct 30 2016 00:06
@danamlewis So he is now running but it took, not exaggeration about 30 mins for the pump communication to happen. On my 722 rig with edison it take usually under 6 mins
Dana Lewis
@danamlewis
Oct 30 2016 00:07
Hm. Running regularly now though?
There weren't any dual or square wave boluses running were there?
David
@davidkeddydb
Oct 30 2016 00:08
no, he was off body with it and nothing running
Dana Lewis
@danamlewis
Oct 30 2016 00:09
Was your rig running same time? Wondering if it was talking to that one?
David
@davidkeddydb
Oct 30 2016 00:09
when i was helping with set up, I was having the same issue
My rig is also running right beside his. Doesnt that pump serial numbers keep us separate?
garykidd
@garykidd
Oct 30 2016 00:10
maybe one just interfering with the other..Iknow it listens for silence with the script---but I have seen significant delays withone reporting when you have two near each other
Dana Lewis
@danamlewis
Oct 30 2016 00:10
Interesting. But you said "I had this rig running before"
David
@davidkeddydb
Oct 30 2016 00:11
yes, but had the same comm delay. Shit maybe I am the problem :)
Dana Lewis
@danamlewis
Oct 30 2016 00:11
Did you do full new setup or just swap SN?
David
@davidkeddydb
Oct 30 2016 00:11
lol. funny. No, I did full new
Dana Lewis
@danamlewis
Oct 30 2016 00:11
But it's run several loops now and is working? Or still slower than expected?
diabeticgonewild
@diabeticgonewild
Oct 30 2016 00:12
I'm an electrical engineering student. I would doubt its interference.
garykidd
@garykidd
Oct 30 2016 00:12
the new script listens and waits for silence...
wondering how long folks have gone with dex sensors?
David
@davidkeddydb
Oct 30 2016 00:13
no, once we get rolling, we are fine. but it takes 30-35 to just get going which sucks. I didnt know if there was a way to hard set mmtune or something
garykidd
@garykidd
Oct 30 2016 00:13
there kind of is
David
@davidkeddydb
Oct 30 2016 00:14
If anyone knew, I knew you would
garykidd
@garykidd
Oct 30 2016 00:14
if you know the freq that your pump works best on you can change the default to that...
David
@davidkeddydb
Oct 30 2016 00:14
That is what I am talking about... easy to do?
Dana Lewis
@danamlewis
Oct 30 2016 00:14
That's not normal, so would be interesting to figure out if there's something going on or just coincidence that two of yours were slow starters
garykidd
@garykidd
Oct 30 2016 00:15
or I actually had that problem with prior pump and I limited the scan range to -.001 to +.001 from my default freq.
David
@davidkeddydb
Oct 30 2016 00:15
it is just his, mine is fine and always with 4-5 mins I am rolling
Dana Lewis
@danamlewis
Oct 30 2016 00:15
When you get a chance, would be curious to get a list of everything you put into the setup script to understand your setup
garykidd
@garykidd
Oct 30 2016 00:16
I think it should take like 5 mins or less to run mmtune and get rolling
David
@davidkeddydb
Oct 30 2016 00:16
I went and just followed set up, and put in the pump serial number, etc
garykidd
@garykidd
Oct 30 2016 00:17
Just for curiousity sake ...did you try a hard boot with your rig off?
David
@davidkeddydb
Oct 30 2016 00:17
using an edison with TI stick
hard boot of the rig?
garykidd
@garykidd
Oct 30 2016 00:17
yeah
David
@davidkeddydb
Oct 30 2016 00:18
here we go
Dana Lewis
@danamlewis
Oct 30 2016 00:18
Yes but which options did you put in for port etc? Pulling BGs from NS or what?
David
@davidkeddydb
Oct 30 2016 00:18
sorry, yes pulling from NS
using ama and autosens
port is dev/ttyACM0
I know the last time we connected up at 916.684 5 -40
I dont know how many mhz combs if runs through. I just turned my rig off and have his running after we rebooted his, so we will see.
garykidd
@garykidd
Oct 30 2016 00:21
did you run tail -F /var/log/openaps/pump-loop.log
@Spazholio I had to revert back to my etc/network/interfaces...not sure what the hell the issue is but my original set uo worked and reverting worked...but nothing along the way....very strange...will try step by step again tomorrow.
garykidd
@garykidd
Oct 30 2016 00:28
@danamlewis do youhave your rigs battery voltage reporting on NS?
Dana Lewis
@danamlewis
Oct 30 2016 00:31
Not yet
David
@davidkeddydb
Oct 30 2016 00:32
running the var logs and getting the same dev/ttyACM0 in use error or listening error
garykidd
@garykidd
Oct 30 2016 00:32
cool
@davidkeddydb you could try to comment on cron jobin crontab -e
and then mmtune and then uncomment cron and see if she takes off
David
@davidkeddydb
Oct 30 2016 00:34
so how do I do that? I know how to get into crontab but how do I set up mmtune there as it is already part of the regular cron jobs?
garykidd
@garykidd
Oct 30 2016 00:34
I think that actually normal at first..since cron is running
David
@davidkeddydb
Oct 30 2016 00:34
is there a way I can set up the crontab to hit that mhz first rather than running through all of them?
garykidd
@garykidd
Oct 30 2016 00:34
nah...at this point I was just suggesting to disable your cron
so you could manually openaps use pump mmtune
David
@davidkeddydb
Oct 30 2016 00:35
yeah, that I know how to do. what will that give me? Maybe get me there quicker?
garykidd
@garykidd
Oct 30 2016 00:35
yes
Dana Lewis
@danamlewis
Oct 30 2016 00:36
We've talked about doing that, but not sure anyone's actually done it yet
David
@davidkeddydb
Oct 30 2016 00:36
I will give it a go. we rebooted and have not waited 21 minutes for loop to re-reun
run sorry
so it gives a dev/ttyACM0 already in use error thrown
could I put the openaps use pump mmtune into the beginning of the cron or is that a bad idea?
I am getting nothing running it besides the dev/ttyACM0 already in use error
garykidd
@garykidd
Oct 30 2016 00:40
@danamlewis OH, I think ppl must have done it only with explorer boards then??? Maybe it doesn't matter all that much ..e.specially if you charge up at night and you know you have sufficient/surplus battery capacity...probably not necessary...but may be fun to look at.
@davidkeddydb just me...but I would sudo nano reboot with cron commented out. and then mmtune
@davidkeddydb but I'm just a novice here as you know...
David
@davidkeddydb
Oct 30 2016 00:41
@garykidd just to find out you mean so I know for sure
we may do that in the future. your novice but you are getting it done so more power to you
Dana Lewis
@danamlewis
Oct 30 2016 00:42
@garykidd I just haven't had time to do the voltage stuff with all my time on the road. I'd like it though, so it's on my long to do list
garykidd
@garykidd
Oct 30 2016 00:44
@davidkeddydb I'm getting it done with the help of @danamlewis and @scottleibrand @diabeticgonewild @elnjensen @eluhrs and so many others.... THANKS!
I also kinda feel like you take 2 steps forward and 1 back...but in reality the backward step is moving you forward...just feels like you're reversing
garykidd
@garykidd
Oct 30 2016 00:53
@danamlewis I feel like my pi with usb ti stick hanging out of the case get best range....How is explorer range....have you found a permanent case/enclosure for it?
Dana Lewis
@danamlewis
Oct 30 2016 00:54
I have a case that everyone loves to hate on, but it works and is easy to charge in etc. range will be similar to TI stick
There's folks working on 3D printed cases if that is your preference for it
garykidd
@garykidd
Oct 30 2016 00:57
hmmm...I cant stop looking around my house for better things to hold my rig...I;m liking my electrical tape case the best so far...funny though---I do keep thinking about it though
I kinda wish I could get ti stick leds to light up like on pi....I guess its the firmware
David
@davidkeddydb
Oct 30 2016 01:32
I left my friend with it running but it still takes 22-23 minutes until it runs loop until it get the right mmtune. I may take your suggestion Gary and see if it makes a difference.
once it gets it, we are good it seems
he also may be able to get another pump to see if that might be the issue
@garykidd ditto on the thanks. I would be flailing wildly it it wasn't for a lot of help from everyone
I just figure if he has a set mhz that the pump typically communicates on successfully, there should be a way to put that in the cron job so he get success communicating quicker
David
@davidkeddydb
Oct 30 2016 01:47
@danamlewis I just thought to also let you know while our rigs were close, he was off his iphone and I was off mine so not even on the same network
Dana Lewis
@danamlewis
Oct 30 2016 02:03
That shouldn't matter. @scottleibrand may have some ideas later about what might be causing the 20+ min tune on startup or what else to test.
David
@davidkeddydb
Oct 30 2016 02:11
@danamlewis Thanks. His loop is running and he is going to hook up tomorrow. Would be great if I could help him with this mmtune thing if it is something that can be resolved.
Paul Martin
@Spazholio
Oct 30 2016 02:19
@danamlewis What’s the case that everyone loves to hate on?
Dana Lewis
@danamlewis
Oct 30 2016 02:20
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:21
They probably don't like it cause it's like soft. Is it a Tallygear case?
Paul Martin
@Spazholio
Oct 30 2016 02:21
Just for completeness’ sake, do you have a link to that case? Like, where one might buy it? I’m going to need SOMETHING once the board arrives...
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:22
Yeah, but it's an assumption that she is using a Tallygear case...just a sec
Dana Lewis
@danamlewis
Oct 30 2016 02:22
It's a tallygear case. There's a few: one is a Dexcom receiver case that I asked her to make shorter; and then after I joked about that one still being too big she sent another smaller one that's a little wider but shorter so gets closer to the explorer board size.
Dana Lewis
@danamlewis
Oct 30 2016 02:23
If you want a soft case like that, order a Dexcom case in color of your choice and have her make it 1.5 or so inches shorter.
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:23
That's the link.
You don't need any of the extras on the page. I think that the Tallygear page needs to be "cleaner" looking...
Dana Lewis
@danamlewis
Oct 30 2016 02:24
Or put a note in that you'd like the small last one she sent me, if you prefer the wider one. I can take side by side pics later of the two I have if you're seriously interested in it @Spazholio
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:25
It also comes with a carabiner clip, which is useful. Prevents loss. And you can clip a Tile BLE tracker to it!!!
David
@davidkeddydb
Oct 30 2016 02:25
@danamlewis I am interested as well. I am sure my friend will be also. Likely we would want to go with black though
Paul Martin
@Spazholio
Oct 30 2016 02:25
Well, I intend to use it the day I get it, so I’m going to need something to keep it in while it’s in my pocket. I’d be interested in seeing how it fits in both.
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:25
Oh, I KNOW the perfect case for OpenAPS!
Let me retrieve it from my Amazon wish list! I just thought of this!!!
Dana Lewis
@danamlewis
Oct 30 2016 02:26
@Spazholio there's some folks working on 3D printed which may work better for inside pockets.
Paul Martin
@Spazholio
Oct 30 2016 02:26
@danamlewis Who a…yeah, that’s what I was about to ask. =)
Got any names?
Mitchell Slep
@moomoobloo
Oct 30 2016 02:27
is there a particular battery that is recommended?
Dana Lewis
@danamlewis
Oct 30 2016 02:27
I have names ;) but I haven't seen any designs solidified yet.
@moomoobloo for explorer board rigs? You'll probably want a 2000+ mah lipo. I think mine is 2200
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:28
Retain-it - The Safe, Clip-on, Retainer, Mouth Guard and Dental Appliance Storage Solution (Now Patented!) (Blue) https://www.amazon.com/dp/B010CGUT20/ref=cm_sw_r_cp_api_DQvfyb68F9B0C
This is soooo much better because it's a HARD case! And it can be bought directly off of Amazon!!!
Mitchell Slep
@moomoobloo
Oct 30 2016 02:28
but is there a particular brand? I'm guessing that if people are doing 3D printed cases they will only fit certain batteries.
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:29
This case is so much better...I promise!
I was going to order one for my mouth guard that I use when I play hockey...cause I don't want to lose or damage my teeth!!
Dana Lewis
@danamlewis
Oct 30 2016 02:29
A) I don't know that any case designs have been finished. Once they are, I am sure they'll describe which battery they used. B) as far as I know a lipo is a lipo, it's a question of size vs how many hours you want
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:30
A retainer/mouth guard case could house OpenAPS well!
And this one has a clip and it fits in a pocket well...and it's discreet! Plus it's HARD!!!!
So you could step on your OpenAPS unit...and not damage it!!!
I mean, a 3D printed case with a neoprene cover and a carabiner clip would be ideal in my opinion...but this comes close. I think it's better than a Tallygear case....cause it's hard.
Paul Martin
@Spazholio
Oct 30 2016 02:33
@moomoobloo Generally speaking the cylindrical LiPo batteries seem to be all the same general size. Same with the flat ones, really.
diabeticgonewild
@diabeticgonewild
Oct 30 2016 02:42
But yeah, I'm extremely relaxed tonight and I have no pain whatsoever tonight, which is good. I'm watching the Vancouver Canucks game. But most of all I'm relieved that I am no longer "having accidents" anymore due to damage to the nerves that control my bladder. It destroyed my self esteem. But bladder Botox injections turned things around from me, although it's far from perfect.
I'm just telling you that sometimes invasive stuff is worth it. I really feel like I got my life back, even though I have several things seriously wrong with me and I'm disabled.
Mitchell Slep
@moomoobloo
Oct 30 2016 02:54
@Spazholio I have not seen the cylindrical ones, do you have a link to an example?
That’s the one I use.
Mitchell Slep
@moomoobloo
Oct 30 2016 02:59
@danamlewis in addition to size vs hours, i'm also concerned with quality (due to risk of fire with lipo)
according to @ps2 the sparkfun batteries are pretty well tested for fire
@Spazholio thanks!
Dana Lewis
@danamlewis
Oct 30 2016 03:01
Yea. I'd buy batteries from sparkfun or adafruit or the like
Mitchell Slep
@moomoobloo
Oct 30 2016 03:02
so explorer board will also charge the battery or do we need a lipo battery charger?
Dana Lewis
@danamlewis
Oct 30 2016 03:03
You don't need a battery block, you can charge via the board
Paul Martin
@Spazholio
Oct 30 2016 03:04
And I think it does, but it’ll also be able to use a wired Dexcom, right?
Dana Lewis
@danamlewis
Oct 30 2016 03:05
Explorer board needs a usb battery plugged into other port when running the Dexcom directly plugged in. But yes that will work.
Paul Martin
@Spazholio
Oct 30 2016 03:06
Fair enough. I do that so infrequently, that shouldn’t be a big deal. Gonna need a smaller USB battery, but hey - new toys!
Mitchell Slep
@moomoobloo
Oct 30 2016 03:06
@danamlewis but with a special cable, right? I think it only had micro usb.
Dana Lewis
@danamlewis
Oct 30 2016 03:07
Special cable for which?
Mitchell Slep
@moomoobloo
Oct 30 2016 03:07
for plugging in dexcom receiver
normal dexcom cable is USB type A to micro USB
Dana Lewis
@danamlewis
Oct 30 2016 03:09
Yes, you need a special cable or an adapter to use.
Mitchell Slep
@moomoobloo
Oct 30 2016 03:09
I guess you would need a micro to micro cable?
tynbendad
@tynbendad
Oct 30 2016 03:15
how does OpenAPS upload to nightscout?
Dana Lewis
@danamlewis
Oct 30 2016 03:16
Are you trying to figure out how to do it, or understand the mechanics, or ? (Works when your rig is internet connected and you've given it the info to send data to NS)
diabeticgonewild
@diabeticgonewild
Oct 30 2016 03:17
WiFi/Bluetooth data tethering from connection between Edison or Raspberry Pi and Mobile phone. This is facilitated via Nightscout settings in OpenAPS and a cron job set up to do so at certain time intervals.
tynbendad
@tynbendad
Oct 30 2016 03:20
@danamlewis the mechanics - @diabeticgonewild reply seems to cover it, thanks
can OpenAPS maintain a bluetooth connection better than pebble? :)
Paul Martin
@Spazholio
Oct 30 2016 03:21
Connection to what?
Hotspot?
tynbendad
@tynbendad
Oct 30 2016 03:21
to phone for nightscout updates (of pump data i guess, assuming xdrip does the dexcom)
Dana Lewis
@danamlewis
Oct 30 2016 03:21
Phone hotspots do very well
tynbendad
@tynbendad
Oct 30 2016 03:22
if phone is in hotspot mode then it can't connect to wifi itself
Dana Lewis
@danamlewis
Oct 30 2016 03:22
Correct
Paul Martin
@Spazholio
Oct 30 2016 03:22
I can’t speak to BT, but WiFi works pretty well. And yeah, if you’re hotspotting, the WiFi can’t connect to other APs.
tynbendad
@tynbendad
Oct 30 2016 03:22
that wouldn't work for my kid who watches youtube constantly on the phone :)
Dana Lewis
@danamlewis
Oct 30 2016 03:22
So if you are somewhere with known wifi you should add that config to your rig
Darrell Wright
@beached
Oct 30 2016 03:23
I thought the iphone would connect to wifi and use it but the hotspot would be over cell still
Dana Lewis
@danamlewis
Oct 30 2016 03:23
And otherwise it will connect to any open wifi so you wouldn't need to hotspot it
Darrell Wright
@beached
Oct 30 2016 03:23
maybe I was tethered
tynbendad
@tynbendad
Oct 30 2016 03:24
if its not connected for a while, will it save the updates for later?
Dana Lewis
@danamlewis
Oct 30 2016 03:25
No but it'll pull history and upload the next time it's connected
So you don't lose anything
tynbendad
@tynbendad
Oct 30 2016 03:25
ok, that's awesome
Dana Lewis
@danamlewis
Oct 30 2016 03:26
Yep!
So if you run an errand and don't hotspot, nbd. The next time the rig connects to open wifi or home, you'll then see the data in NS
tynbendad
@tynbendad
Oct 30 2016 03:26
can you have it connected to both a local nightscout and an internet one? or do you need to switch if you plan to be away from internet for days...
Dana Lewis
@danamlewis
Oct 30 2016 03:28
You could have your loop upload to both, just have two NS-loops
tynbendad
@tynbendad
Oct 30 2016 03:32
great... i'm trying to decide what solution would be best for my kid, we'd like it to work locally if we go on vacations, and also work & update us remotely when he's at school (which requires Verizon cell only - no wifi/other carriers). sounds like xdrip+OpenAPS will work for us, i think Loop may require dexcom share/internet since we have G5, and maybe xdrip+AndroidAPS will work if/when the medtronic driver is available..
diabeticgonewild
@diabeticgonewild
Oct 30 2016 03:42
I think the TallyGear case would be a lot better if it opened up via a zipper...instead of via a slit in the case...
TinaBerger
@TinaBerger
Oct 30 2016 05:30
Just wanted to say we were most of the way finished with our old set up process and had been on the logging suggestion phase and we stopped and used the set up script instead. Its working great and we are looping! This mama could not be more grateful! Thanks you so much @danamlewis and @scottleibrand.
Dana Lewis
@danamlewis
Oct 30 2016 05:31
:smile: :confetti_ball:
Matthias
@ceben80
Oct 30 2016 05:58
@TinaBerger great :clap:
diabeticgonewild
@diabeticgonewild
Oct 30 2016 08:38
Owwww it hurts when insulin goes through my infusion site. Time to change my site.
C-Ville
@C-Ville
Oct 30 2016 08:49
@tynbendad I m not sure if Xdrip could send to one MongoDb using NS API and to the other mongoDB directly using the mongo credentials. I am currently using NS and Mongo locally and when hotspotting over my cell, I use the REST API in NS and if I am in my home wifi I use the direct mongo connection, so when I am swapping IP Adresses I still get all my data. May also work with two seperate databases
Colin Lennon
@colinlennon
Oct 30 2016 09:43
@tynbendad what @C-Ville suggested would work, that's exactly how my setup works. xdrip uploads to a local mongodb which I then pull data from so I can loop offline, and it also uploads to NS using the REST API for monitoring and reporting.
C-Ville
@C-Ville
Oct 30 2016 10:53
@colinlennon sorry I just only now realize that you finalized your offline looping. great news
@moomoobloo the cylindrical LiPo with decent mileage usually have the size 18650 If you search for that you will find plenty, mine has 2600 mAh and I have even seen some with 3600 mAh
Tim Street
@tim2000s
Oct 30 2016 11:38
@colinlennon Sounds great. Looks like OpenAPS on Edison with Explorer board is the way to go until oref0 mods are ported into Loopkit
Colin Lennon
@colinlennon
Oct 30 2016 13:12
Yip, it works great. I have been meaning to document it but no time yet, will do that as soon as I can and share for anyone else looking for a similar solution.
Jarred Yaw
@jyaw
Oct 30 2016 16:44
@danamlewis Donna at tallygear was confirming the size of the explorer case for me... is it 2.5 x 2.5 inches?
The shorter wider one anyway...
Katerina01
@Katerina01
Oct 30 2016 17:02

Hi, theare,My daughter is 9 years old and with diabetes 1 from 5 years. We use openaps with rasberry 3, MiniMed pump, Enlite sensores and nighscout.

I would be very pleased if you could give me instructions how I can see more data from OPENAPPS of azurewebsite.
I do not see the graphics of temp basal designed by openapps (I see only the basal graphics set in the pump, but not those from OPENAPS).

Dana Lewis
@danamlewis
Oct 30 2016 17:06
Hi @Katerina01 - there is a "render basal" option in the settings of Care Portal. Do you see that option listed there?
Katerina01
@Katerina01
Oct 30 2016 17:09
care portal, what do you mean?
on azureweb?
Dana Lewis
@danamlewis
Oct 30 2016 17:10
In your Nightscout website. Do you have care portal enabled?
Katerina01
@Katerina01
Oct 30 2016 17:11
on the settings i have bazal - black end white
now ichek nightscout site, just a second :)
Dana Lewis
@danamlewis
Oct 30 2016 17:22
@jyaw hold on, measuring and taking pics for you all
John Kelleher
@jkelleher
Oct 30 2016 17:27
Hi all, running into dfu-util problems with my Edison. lsusb shows it at 1d6b:LPTH but the flashall.sh thinks it should be 8087:0a99. Changed to what my dfu-util sees but doesn't flash on the reboot -times out. Any ideas?
Katerina01
@Katerina01
Oct 30 2016 17:29
yes, we have checked default basal on azure website
I do not see the graphics of temp basal designed by openapps (I see only the basal graphics set in the pump, but not those from OPENAPS).
yo settingsu can see the settings, also i can give to you any username and password to check our
we use openaps only on the night
Tim Street
@tim2000s
Oct 30 2016 17:35
Do you have all the plugins setup in Azure? @Katerina01
Katerina01
@Katerina01
Oct 30 2016 17:36
i think that i haved :)
Eric
@ecc1
Oct 30 2016 17:36
@jkelleher Not sure this will help, but make sure you're using a high quality USB cable and have adequate power. Also, start ./flashall.sh with the Edison completely unplugged, and plug it in only when the script tells you to.
Katerina01
@Katerina01
Oct 30 2016 17:36
also i can't see "pump" on azure...
Eric
@ecc1
Oct 30 2016 17:37
(unplugged = USB unplugged; no need to remove the compute module!)
Dana Lewis
@danamlewis
Oct 30 2016 17:38
@jyaw @Spazholio and all interested in Explorer Board cases. Measured my "too big" but still small case at 2.5x3. I think ideal will be 2x3. https://twitter.com/danamlewis/status/792782116140388353
John Kelleher
@jkelleher
Oct 30 2016 17:42
@ecc1 Thanks just need some clarification on plugging. I'm using an Arduino breakout board, not compute module, powered via DC with micro-USB. Not sure of the sequence for flashall.sh and unplugging etc.
I now tried unplugging edison usb, then running flashall.sh, plugging in usb on edison, and it's timing out.
Just wondering if it's necessary to change the USB_VID=8087 USB_PID=0a99 lines to match what I get in dfu-util?
Katerina01
@Katerina01
Oct 30 2016 17:50
@tim2000s can you give me the link to see my plugins setup in Azure, please. I am no so practic. :)
I thik everythigs with setting i ok...
Tim Street
@tim2000s
Oct 30 2016 17:52
That's your Azure portal.
Scott Leibrand
@scottleibrand
Oct 30 2016 17:52
@jkelleher no you shouldn't have to change that.
Do you have two USB cables connected, one for console and one to OTG for flashing?
Katerina01
@Katerina01
Oct 30 2016 18:00
blob
@tim2000s
John Kelleher
@jkelleher
Oct 30 2016 18:02
@scottleibrand nope, have one USB and one DC (power)
Eric
@ecc1
Oct 30 2016 18:09
Sorry, never used the Arduino board, only mini-breakout and Sparkfun. (Compute module is just the small Edison daughter board.) But you shouldn't have to deal with dfu-util directly at all; the flashall script takes care of calling it with the correct parameters.
Scott Leibrand
@scottleibrand
Oct 30 2016 18:10
@jkelleher I highly recommend running console while rebooting so you can see what's going on.
Katerina01
@Katerina01
Oct 30 2016 18:11
blob
this is my interace :)
Eric
@ecc1
Oct 30 2016 18:11
Also in this case my advice about "unplugged" should include unplugging the DC power. You need to "catch it" during boot up when it has the right USB ID for flashing; after it boots, it changes.
Dana Lewis
@danamlewis
Oct 30 2016 18:12
@Katerina01 is your loop working successfully? Is it setting temp basals on a pump?
Katerina01
@Katerina01
Oct 30 2016 18:12
blob
iwant to have this example :)
John Kelleher
@jkelleher
Oct 30 2016 18:12
@scottleibrand @ecc1 Thanks for all your help. Seem to have things going now. Fingers crossed.
tynbendad
@tynbendad
Oct 30 2016 18:13
@colinlennon does xdrip do that automatically (upload to both local mongodb & REST API NS), or do you have to switch it back and forth manually?
Katerina01
@Katerina01
Oct 30 2016 18:13
we use minimed 722
we have option to setting temp basal on a pump
yes, loop working successfully
we seen this on pump
also when put the cursor on openaps on azurewebsite
we seen haw work openaps
Dana Lewis
@danamlewis
Oct 30 2016 18:18
Ok. Check your NS.ini file then - you may have entered your information wrong into the setup scripts. Make sure there is no / at the end of the URL and that API secret is correct
Katerina01
@Katerina01
Oct 30 2016 18:18
my problem is visualisation
Katerina01
@Katerina01
Oct 30 2016 18:25
ok,i'll check
Hristina Dimova
@xpucuto
Oct 30 2016 18:49
@danamlewis do the new setup scripts work when u r using enlites ? The friend who has helped @Katerina01 said their setup is the same but apparently the basals are not uploading from the RPI . I wish I could help but I am not that familiar with mm setup .
Dana Lewis
@danamlewis
Oct 30 2016 18:52
Someone else with Enlite was able to get everything but glucose uploading with the scripts
So if basals are not uploading sounds like a different problem.
Hristina Dimova
@xpucuto
Oct 30 2016 18:53
yeah but i suppose glucose showing in NS is better than basals :)
Dana Lewis
@danamlewis
Oct 30 2016 19:00
Yep
Jarred Yaw
@jyaw
Oct 30 2016 19:05
thanks @danamlewis The pic and measurements were really helpful!
Dana Lewis
@danamlewis
Oct 30 2016 19:07
Yay! :+1: (she sent the last small case to me as a surprise, so I didn't know the actual size and was good to know :smile: )
Colin Lennon
@colinlennon
Oct 30 2016 19:30
@tynbendad I have both options permanently selected in xdrip - REST API upload and MongoDB upload. So it uploads to my local mongodb instance all the time, and it also uploads to my Azure NS when the phone has an Internet connection. When I'm offline, there are errors in the xdrip logs about the REST API uploads failing, but you can just ignore them and it will start working again when you're back online. It doesn't fill in the gaps though, I haven't tried to address that yet but it's not a big issue for me.
Katerina01
@Katerina01
Oct 30 2016 19:50
@xpucuto ;)
diabeticgonewild
@diabeticgonewild
Oct 30 2016 20:11
I'm pretty sure that OpenAPS Edison setups, including ones with the Explorer board, will fit in a retainer/mouth guard case. There's one that has a neoprene cover for the retainer case, along with a carabiner clip. If you search on Amazon for it, it's called "Retain-IT". I'm going to get that...
This
Retain-it - The Safe, Clip-on, Retainer, Mouth Guard and Dental Appliance Storage Solution (Now Patented!) (Green) https://www.amazon.com/dp/B010C70CYY/ref=cm_sw_r_cp_api_fqLfybPH97DPZ
diabeticgonewild
@diabeticgonewild
Oct 30 2016 20:17
I think it's just the right size overall, and it's a nice hard case that is a standard size. And the shape of it makes it easy to fit in your pocket.
But yeah, I was in a lot of pain this afternoon (damn baked crunchy cheetos!) and I took like 10 mg of oxycodone (left over from my gastric pacemaker replacement surgery...) and I feel a lot better. I hate doing that, but at least I am comfortable now.
diabeticgonewild
@diabeticgonewild
Oct 30 2016 20:23
@tynbendad Loop will let you use a G4. You just have to have the receiver with you at all times, basically...
John Kelleher
@jkelleher
Oct 30 2016 21:09
Still at it here. Making progress - now running oref0-setup.sh and breathing again! Quick question - the Jubilinux I've just installed - does it get installed to the microSD card or Flash memory on the Edison. Also, should I have run the oref0-setup.sh script as Edison or Root user?
C-Ville
@C-Ville
Oct 30 2016 21:13
@jkelleher i am pretty sure it will be on the flash memory, you can install jubilinux without a sd card
Dana Lewis
@danamlewis
Oct 30 2016 21:18
Root will be needed for explorer board but shouldn't matter for other setups.
John Kelleher
@jkelleher
Oct 30 2016 21:28
"Attempting to use a port that is not open" - getting this when issuing: openaps use pump status. I did (accidentally) run install script on root user though?
Have Carelink stick in USB port (using an Arduino breakout board instead of Sparkfun base board, for now) to Edison
serial.serialutil.SerialException: Attempting to use a port that is not open.......... is the error after lots of other traceback errors...
mawhit
@mawhit
Oct 30 2016 21:37
I've been testing my OpenAPS for the last 2 days and I've received this error 3 or 4 times: "Error, retrying
monitor/temp_basal.json raised ACK is 0 bytes:" What causes the temp_basal.json to be empty? Does it have something to do with the communication between the carelink stick and the pump?
Saskia
@Missdazzle
Oct 30 2016 21:39
@scottleibrand Here´s the storyteller again.... (long beard...)
Any idea what this means?
Storyteller.PNG
Saskia
@Missdazzle
Oct 30 2016 21:59
@mawhit That´s what my first loop said (it was a bit more talkative):
AckError: ACK is 0 bytes: Power-cycling USB to fix dead Carelink stick
PieterGit
@PieterGit
Oct 30 2016 22:09
@jkelleher : have you tried to change the device / port to /dev/ttyACM0 directly, or are you using an udev rule. i needed to use the direct option with intel breakoutboard + edison + usb ti stick
Dana Lewis
@danamlewis
Oct 30 2016 22:14
@mawhit yes carelink error. Unplug replug or power cycle
rafaelmatuk
@rafaelmatuk
Oct 30 2016 22:34
hi everyone!. It has been a while since I chat on this channel , but by the number of people looping this is going great. Awesome!. I have an interesting question: I did not upgrade openaps after settling with my edison and TI Stick on version 0.1.0 a while ago. My rig included AMA and Meal assist, and was working very well. I upgraded openaps to the newest version a few days ago, and something weird is happening. My job used to run in less than 5 minutes, then I noticed it was taking longer. Upon closer inspection i found out that auto sensitivity takes longer, and runs itself 2-3 and up to four times. Does anybody know why this may happening?
Paul Martin
@Spazholio
Oct 30 2016 22:42
If it’s been a while, I would highly recommend running the new oref0-setup.sh script to re-set up the entire loop. I’ve found it to be a LOT more reliable than the old method, which I had poked and prodded at quite a bit. You can move your openaps dir somewhere else, and it should take roughly 5 mins.
I also don’t notice auto-sens running a couple times, which I used to notice in the past.
rafaelmatuk
@rafaelmatuk
Oct 30 2016 22:43
I may try that - I noticed running meal also runs auto sense
Paul Martin
@Spazholio
Oct 30 2016 22:43
I’ve found it to be a lot more fault-tolerant as well.
Eric
@ecc1
Oct 30 2016 23:19

For those of you using openxshareble, there's a small time bomb waiting if you upgrade your system to bluez 5.40 or later. (That just happened in Debian stretch -- it went from bluez 5.36 to 5.41). There was an API change that breaks the ReadValue and WriteValue functions used to communicate with the Dexcom receiver. It took me a couple of hours of non-looping to track down, but the fix is simple.

Here it is in Go: ecc1/ble@f18ff59

The Python code should be just as simple, but the new code breaks with old bluez and vice versa, so it might be tricky to roll out.

rafaelmatuk
@rafaelmatuk
Oct 30 2016 23:26
ok - I will give it a try on another folder and recreate the loop
garykidd
@garykidd
Oct 30 2016 23:31
couldnt get second rig off ground since this afternoon....so I decided to try to reinstall via setup.sh.... go t this error...
remote: Counting objects: 9, done.
remote: Total 9 (delta 6), reused 6 (delta 6), pack-reused 2
error: file write error (No space left on device)
fatal: unable to write sha1 file
fatal: unpack-objects failed
Couldn't pull latest oref0
Paul Martin
@Spazholio
Oct 30 2016 23:31
error: file write error (No space left on device)
Your Edison/whatever is full
garykidd
@garykidd
Oct 30 2016 23:32
right...how to I clean it up?
How often do you need to clean up log files...cause its only been about a week..\
Paul Martin
@Spazholio
Oct 30 2016 23:33
You’re gonna have to go through and delete the stuff that you don’t need anymore. I don’t know that I want to be more specific, since I don’t know what you ahve installed/etc.
If you run the oref0-setup.sh script, I belive it sets up the logrotate for you.
I mean, as a drastic step, you could delete everything in /var/log/openaps/ and possibly everything in your home directory, and start the setup script again. But you need to make sure there’s nothing in there you want.
garykidd
@garykidd
Oct 30 2016 23:35
was trying to look back to a prior conversation where @scottleibrand directed me how to list files by size acorss the board....
garykidd
@garykidd
Oct 30 2016 23:42
edison@bluebird:/var/log/openaps$ ls -s
total 6424
 476 autosens-loop.log     972 cgm-loop.log  1368 ns-loop.log  3608 pump-loop.log
didnt seem all that bad...no?
Paul Martin
@Spazholio
Oct 30 2016 23:46
du -sh /var/log/openaps/* <— run that.
garykidd
@garykidd
Oct 30 2016 23:46
ohhh
dison@bluebird:~/src$ du -sh /var/log/openaps/*
476K    /var/log/openaps/autosens-loop.log
972K    /var/log/openaps/cgm-loop.log
1.4M    /var/log/openaps/ns-loop.log
3.6M    /var/log/openaps/pump-loop.log
whats the easiest way to clean these?
Paul Martin
@Spazholio
Oct 30 2016 23:47
Those are pretty negligible. What about du -sh ~/*?
garykidd
@garykidd
Oct 30 2016 23:48
edison@bluebird:~/src$ du -sh ~/*
472M    /home/edison/bluebird
620K    /home/edison/EdisonVoltage
52M    /home/edison/src
hmmm...
edison@bluebird:~$ du -sh bluebird/*
60K    bluebird/cgm
4.0K    bluebird/cgm.ini
4.0K    bluebird/detect-sensitivity.ini
4.0K    bluebird/determine-basal.ini
12K    bluebird/enact
4.0K    bluebird/get-profile.ini
4.0K    bluebird/iob.ini
4.0K    bluebird/meal.ini
132K    bluebird/monitor
4.0K    bluebird/ns-glucose.ini
4.0K    bluebird/ns.ini
16K    bluebird/openaps.ini
4.0K    bluebird/oref0.ini
4.0K    bluebird/pebble.ini
4.0K    bluebird/preferences.json
4.0K    bluebird/pump.ini
4.0K    bluebird/pump-session.json
4.0K    bluebird/raw-cgm
196K    bluebird/settings
4.0K    bluebird/tz.ini
4.0K    bluebird/units.ini
4.0K    bluebird/upload
edison@bluebird:~$