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

5th
Jun 2017
Dana Lewis
@danamlewis
Jun 05 2017 00:00
There are some slight differences to oref0 on master today - but for the main part, yes
rsilvers129
@rsilvers129
Jun 05 2017 00:06
Do you have a sense yet when oref1 will become master?
Dana Lewis
@danamlewis
Jun 05 2017 00:07
No specific timeline
rsilvers129
@rsilvers129
Jun 05 2017 00:07
Yeah but it seems to be getting nice and stable.
Martin Haeberli
@mhaeberli
Jun 05 2017 00:44
@Kdisimone - thx - saw your post on facebook on this topic, and found it cryptic, but this is much clearer
kws1969
@kws1969
Jun 05 2017 02:10
I got a new iphone and re-did the whole bluetooth tether procedure. Has anyone ever had the problem with it not connecting automaticlly?? if i go to personal Hot-spot on my iphone it will connect, but it will not connect automatclly like it used to ?
DaisyHK
@laurathiessen
Jun 05 2017 02:21
i finally set up the script, but i dont think its communicating as no temp basals are showing at all.. can anyone look at this string and tell me what is wrong and how to find it
image.png
DaisyHK
@laurathiessen
Jun 05 2017 02:27
and nightscout is now suddenly this....
image.png
Scott Leibrand
@scottleibrand
Jun 05 2017 02:32
Your pump is in percent temp basal mode. It needs to be in U/hr (absolute) mode.
DaisyHK
@laurathiessen
Jun 05 2017 02:34
@scottleibrand oh ok... just canged it... do i need to restart anything?
Scott Leibrand
@scottleibrand
Jun 05 2017 02:35
No, just give it 30m to pick up the changes.
Actually it'll probably be quite a bit faster than that, as I think it will retry every loop.
DaisyHK
@laurathiessen
Jun 05 2017 02:36
ok... and this shold fix both the pump communicating and that 38??x on my site?
or should I come back in 30 and run the openaps use pump model or tail -F /var/log/openaps/pump-loop.log command to check on it?
Scott Leibrand
@scottleibrand
Jun 05 2017 02:40
Not sure what that 38??x would be, but that is probably a different thing. What does your CGM say?
DaisyHK
@laurathiessen
Jun 05 2017 02:42
sorry what do you mean? I use g5 with an android using xdrip+ app and nightscou
so i dont have a receiver
DaisyHK
@laurathiessen
Jun 05 2017 02:51
i am asking on facebook :)
David
@davidkeddydb
Jun 05 2017 02:57
So I don't know what happened yesterday but 3 rigs flaked out all at the same time, couldn't connect to pump, battery issues. So I have 2 of the 3 back up and running with the latest smb-bolus-snooze, but this third one I keep getting: File "/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?
Usage: grep [OPTION]... PATTERN [FILE]... (I am using an explorer board and indicated that during set up)
ericmtx
@ericmtx
Jun 05 2017 03:11
looks like my daughter's explorer board shows the one solid but two light red lights - seems to be an issue with the comms to connect to the pump. I've rebooted it, then pulled the power to see if I could correct. It ran once but has been listening for silence for about 5 minutes now again. Anyone seen this? It's connected to battery only right now - maybe getting low?
ericmtx
@ericmtx
Jun 05 2017 03:18
I see based on a search here that may be indicative of the radio being reset by mmtune. makes sense but seems to be getting stuck. Maybe need to reflash the radio piece(?)
JELCRAWFORD
@JELCRAWFORD
Jun 05 2017 03:49
@laurathiessen - we are running a G4 with xdrip+ on an android phone. Had this error yesterday. Have had it once before, and it seems it's a sensor error. After about 45 minutes yesterday it resolved itself and all was back to normal. Previous incident was before using Openaps when we used only xdrip/Nightscout setup. Also spontaneously resolved.
Hope that's true with yours :)
wharper11
@wharper11
Jun 05 2017 04:07
hi. we had to do a sensor restart and now we're getting the following error:
Temp refreshError, retrying
Starting pump-loop at Sun Jun 4 22:04:27 MDT 2017:
Radio ok, Listening: .No pump comms detected from other rigs
Old pumphistory:
Error, retrying
Listening: .
any ideas?
DaisyHK
@laurathiessen
Jun 05 2017 04:15
@JELCRAWFORD @scottleibrand figured out a faster way to resolve this... its more a calibration error so on xdrip+ you just need to hit stop sensor, then choose to recalibrate sensor, put in 2 readings and then it is up and running again
@scottleibrand think my OpenAPS is working.. bg is high and the pump indicates a a temp basal!!! :)
DaisyHK
@laurathiessen
Jun 05 2017 04:27
i finally got OpenAPS all set up and running :) but I wont be in wifi areas all day tomorrow as work doesnt have this.... do i just set up offline and it will automatically switch between using local xdrip+ on my android phone and wifi when in the area?
wait... i ran the openaps use pump model and got this... not sure if its working...
image.png
Dana Lewis
@danamlewis
Jun 05 2017 04:32
@wharper11 normal messages, but if you're in the 2 hour startup it won't loop until you get Bgs again
DaisyHK
@laurathiessen
Jun 05 2017 04:50
@danamlewis can you look at that pic and confirm my rig is or is not working, or how can I see this? Also for xdrip+ for offline montioring it says it is WIP.... but I inputted already xdrip into when i configured my rig so it is already set up for offline moitoring when i dont have wifi? or how do i ensure it does not use data when not on wifi and instead uses the bluetooth tether?
katie disimone
@Kdisimone
Jun 05 2017 04:51
@laurathiessen type l and watch your pump loop. That's the best way to see if your rig is looping.
Or look at NS and check the OpenAPS pill
DaisyHK
@laurathiessen
Jun 05 2017 04:54
@Kdisimone got this
image.png
katie disimone
@Kdisimone
Jun 05 2017 04:54
@laurathiessen simply using xdrip for the selection of cgm type does not automatically set you up for offline monitoring. You must go through the steps to (1) Run the script with the --btmac extension (2) then setup BT pairing for your BT tethering to hotspot, directions are in Phase 4, and then (3) configure your xdrip app to work offline, directions are in phase 1.
DaisyHK
@laurathiessen
Jun 05 2017 04:58
ok thanks will do that after i figure out how to fix this...its not connected and nightscout doesn't show anything... i have gone through the trouble shooting steps and double checked the tips: basal is absolute, SN is numbers only, no / in the URL, not suspended, carb ratio is set
oh i will run the commands mnaully to see what is wrong
katie disimone
@Kdisimone
Jun 05 2017 04:59

@laurathiessen it is "working" but when you see errors in refreshing any info from the pump (like yours is showing), the loop won't be able to set any temp basals until it gets those reads. Sometimes this is caused by the pump being too far away or low on batteries. If that's the case, you'll see the lines for mmtune in that screen say 916, 0, -99.

But yours had a nice solid mmtune results so the rig is tuned with pump just fine. Just need to be patient for the pump to give up its recent history.

Matthias
@ceben80
Jun 05 2017 05:01
Morning @Kdisimone :wink: btw I setup uptime robot as mentioned yesterday for Heroku, it's starting definitely faster, this fyi
DaisyHK
@laurathiessen
Jun 05 2017 05:03
oh darn i already used the kill command.... guessing just exit out of this wont hurt my rig?
image.png
@Kdisimone how do you "run the script with ==btmac extension, cant find it in the docs
Cameron Chunn
@applehat
Jun 05 2017 05:15
Is there a current recommend radio to use with Pi's? Reading the MMeowlink wiki just lead me to a bunch of discontinued products.
My Edison rig is working fine, but now I wanna extend coverage over my house, and don't really want to try and buy explorers and Edison's when I already have a stack of Pi's.
Dana Lewis
@danamlewis
Jun 05 2017 05:16
TI stick @applehat
Also needs a cc debugger for flashing
Cameron Chunn
@applehat
Jun 05 2017 05:18
So much for the $15 Slice of Radio eh...
Thanks @danamlewis
Scott Leibrand
@scottleibrand
Jun 05 2017 05:25
@ericmtx search the docs for ccprog - you'll probably need to use that to re-flash your cc1110 radio chip on the Explorer Board.
JELCRAWFORD
@JELCRAWFORD
Jun 05 2017 05:27
@laurathiessen - good tip - thx! We weren't in a panic to resolve yesterday, but could have a circumstance where we are! Yay on the successful loop in OpenAPS!. Re your error - I think you have to change to the openaps directory...
DaisyHK
@laurathiessen
Jun 05 2017 05:28
not sure how to exit out of here or if i need to do it again?
image.png
@JELCRAWFORD how do you change the openaps directory?
JELCRAWFORD
@JELCRAWFORD
Jun 05 2017 05:32
not my forte - but If I enter the command the way you did in your example, I get the same error. If I log in as root and cd to myopenaps (that's what we called our openaps directory - I don't know if that is the same for everyone) and then do the command - openaps use pump model - it gives me the model number just fine..... Lots of much more able people on here though....
Scott Leibrand
@scottleibrand
Jun 05 2017 05:34
If you're having trouble with something like vi, you can also just Google it: most of this is fairly common Linux stuff, which is well documented elsewhere on the Internet. In this case, you probably just need to hit the escape key, then type :wq and hit enter to quit out of that screen. you might then need to do it again to quit all the way out of vi
DaisyHK
@laurathiessen
Jun 05 2017 05:37
it says not an editor command on the putty
Scott Leibrand
@scottleibrand
Jun 05 2017 05:38
maybe :q! then to quit without saving
DaisyHK
@laurathiessen
Jun 05 2017 05:40
ok got this so i think it worked
image.png
but im confused now of where I shoudl restart from... how would I check this?
Scott Leibrand
@scottleibrand
Jun 05 2017 05:41
yep, you're out, so you can try the last command again
DaisyHK
@laurathiessen
Jun 05 2017 05:41
oh ok thanks
its doing it again?
image.png
Martin Haeberli
@mhaeberli
Jun 05 2017 05:49
@Kdisimone :+1:
Scott Leibrand
@scottleibrand
Jun 05 2017 05:50
@laurathiessen capitalization matters
DaisyHK
@laurathiessen
Jun 05 2017 05:54
i think i got it... got to the last step and can see this in my papertrail
image.png
isnt ESC the same as the esc button on the keyoard?
DaisyHK
@laurathiessen
Jun 05 2017 06:08
image.png
oh crap.... i went into the next steps for bluetooth tehtering and I inputted the command for he bluetooth adrress... but putty now is asking me what i want to call my loop directory???
Sacha M
@coolestkidsever
Jun 05 2017 06:09
Hi all. I'm trying to use openaps to feed the Medtronic cgm numbers into my nightscout site.. I've previously used MmCommander chip. Openaps is working, and visual on NS, except that the actual BG sensor value isn't showing up in NS.. I've changed the heorku/Mlab settings to be a diff collection as I had read that due to the different formats, it needed a new one for the new format of cgm data. But I still can't get a bg number to show on NS, just the three dashes. Is anyone able to help please?
DaisyHK
@laurathiessen
Jun 05 2017 06:11
image.png
it wont let me exit :(
Scott Leibrand
@scottleibrand
Jun 05 2017 06:24
Holding the Ctrl / Control key and hitting c is normally how you exit stuff in Linux (other than vi)
DaisyHK
@laurathiessen
Jun 05 2017 06:26
@scottleibrand ok i did that thanks it finally quit i hopefully i have not messed it up so i will go and test it
DaisyHK
@laurathiessen
Jun 05 2017 06:32
@scottleibrand thanks for all your help I am heading off to bed... i will try the bluetooth thething stuff again tomorrow night :)
Sacha M
@coolestkidsever
Jun 05 2017 06:37
It's seems that the bg cgm data isn't going from openaps to heroku... any ideas on where I can go to troubleshoot this please?
Dana Lewis
@danamlewis
Jun 05 2017 06:42
@coolestkidsever did you try openaps first-upload?
Sacha M
@coolestkidsever
Jun 05 2017 06:43
I have done a few times, on the other times I've attempted. But will give it another go.
Sacha M
@coolestkidsever
Jun 05 2017 07:02
Ha! Thanks @danamlewis - it seems to be working - but it took 6 minutes for the bg/sensor/pump value to show up on the NS site for some reason.. is this "normal"
Sgoldberg89
@Sgoldberg89
Jun 05 2017 07:54
Hey! Just wanted to check in and say the offline loop in China is working pretty well (the only issue is keeping the dang dexcom connected to the board!). Thank you Dana, Scott and every other contributor for making traveling abroad that much easier!
Diadon81
@Diadon81
Jun 05 2017 07:57
Dear Dana, it looks like change to Gramms solve the issue, I will continue to monitor this problem and inform if something changes.
Christian Driver
@DriverNightscout
Jun 05 2017 08:23
@Kdisimone Thanks for the pointers, especially on Papertrail and the Facebook group. I'm hoping to find some time today to work on the Edison setup, so I'm sure I'll have questions!
@Aaybob Thanks, good tip on multiple rigs.
fidoman
@efidoman
Jun 05 2017 10:55
@ceben80 :+1: - for the uptimerobot tip. I'm using it with with my heroku NS site now.
Aaron Michelson
@Aaybob
Jun 05 2017 11:01
@Sgoldberg89 yeah those connectors are fragile but great news. what about some permanent epoxy. Don't wait until it breaks. Mine works when I unplug and replug the cgm. Still home where i can see it by serial port. Taking it to work today for a try. I can ssh in on my phone but it has to be connected to phone hotspot and I"ve never seen it connect at work.
rsilvers129
@rsilvers129
Jun 05 2017 12:36
@scottleibrand @danamlewis What do you think of a hybrid SMB mode that combines the advantages of SMB (faster delivery of initial dose) and oref0 (ongoing dosage is not interrupted by pump communication failure due to radio issue, battery death, stuck loop, or bolus wizard use). So one initial SMB dose followed by temp basals. It could be implemented by starting with SMB on, and then simply shutting it off after an SMB count goes above a certain value, which should probably be 1.
katie disimone
@Kdisimone
Jun 05 2017 13:06

@ceben80 lol! I meant to answer back on that 👍🏻. Got distracted and then stared at Gitter when I came back thinking "who tagged me? What was it about?" Finally decided it was from @mhaeberli about the other post. Lol...nope.

Glad to hear about the uptime. I had it installed prelooping days for my heroku and it worked well. Hadn't tried it since.

rsilvers129
@rsilvers129
Jun 05 2017 13:07
Actually forget the counter. SMB if insulin on board is less than 0.5 or maybe 1.0. Turn off SMB if over that.
Joe
@t1djoe
Jun 05 2017 13:10
For anyone looking for a loopable pump, I'm selling a working 522 that I used for initial setup/offline testing. https://onslow.craigslist.org/hab/6157513270.html
rsilvers129
@rsilvers129
Jun 05 2017 13:12
All it would require is a new variable called something like disableSMBoverUnits 1.0
rsilvers129
@rsilvers129
Jun 05 2017 13:27
So yesterday I did a number of failed high carb tests. I had over 400 grams! I failed to account for the fat and protein and did a poor job. Even so, OpenAps gave me an estimated 6.4 A1C for that day. Amazing for trying to eat as crazy an amount of carb as possible. Really amazing.
ejoe132
@ejoe132
Jun 05 2017 13:42
Looking for some help with reliability. Main problem Im having is when switch or jumping from one source of wifi to another, as in home network to phone hotspot or hotspot to work wifi. It often seems its working fine, then leave a network and it should connect or does as I can see it on my phone that its connected but then it doesnt loop. I have to sometimes do multiple restarts of the edison before it will connect. I tried follow it today and it comes up saying "Temp refreshError, retrying." Or sometimes I get "Old pump history" Any way to make it restart itself when it locks up like this? I let it try to connect, let it sit for 30 minutes before restarting to see if it will take but it normally does not.
David
@davidkeddydb
Jun 05 2017 13:51
@applehat If you need a debugger, let me know and I can ship you mine if you don't have one.
David
@davidkeddydb
Jun 05 2017 13:58
@ejoe132 I would check your network interfaces file to make sure everything is good there. When I have fought with wifi switching, either that or the wpa_supplicant has been the problem. Wacky formatting has caused major headaches for me at points with the network/interfaces file
@ejoe132 Are you using BT tethering?
ejoe132
@ejoe132
Jun 05 2017 14:02
@davidkeddydb No bluetooth tethering, just wifi tethering. Ill check those out, just odd cause either it will eventually connect 1+ hours or I have to do a few restarts to get it going right away
David
@davidkeddydb
Jun 05 2017 14:03
@ejoe132 Do you have preferences given to the different networks in wpa_supplicant?
@ejoe132 I have almost thrown rigs out the window due to wifi so I feel your pain.
ejoe132
@ejoe132
Jun 05 2017 14:13
@davidkeddydb I dont believe I do, Ill have to look up how to get into the wpa_supplicant again, been a bit since I entered one in
fidoman
@efidoman
Jun 05 2017 14:18
The newest SMB branch is working great for me. Look at this morning where I suspended the pump after breakfast for a shower and SMB picked it up after I resumed the pump and still did the basal temping and kept my ceiling for BG's still in the safe zone. Nice!
image.png
Below is what the new SMB did for a 60grams of carbs meal last night with zero bolus. Impressive:
image.png
David
@davidkeddydb
Jun 05 2017 14:20
@ejoe132 Just nano or vi into /etc/wpa_supplicant/wpa_supplicant.conf
same with network/interfaces
@ericfeibelman The zero temp not lasting as long is huge!!!! Great change.
Screenshot 2017-06-05 10.21.39.png
ejoe132
@ejoe132
Jun 05 2017 14:28
@ericfeibelman So is that looping and doing a square bolus or are you doing the bolus?
Matthias
@ceben80
Jun 05 2017 14:28
@ericfeibelman what SMB branch you're talking about?
ejoe132
@ejoe132
Jun 05 2017 14:32
@davidkeddydb I have a connection in that, I believe, was supposed to automatically connect to open networks, "key_mgmt=NONE, priotiry=-999" could this be causing a problem? thinkin I may remove that as Ive never had it connect to an open network and most networks Im around arent open anyway
David
@davidkeddydb
Jun 05 2017 14:54
@ejoe132 I ditched that as well. I don't know how but for me I have had a few rigs where I would log into either the network/interfaces file or the wpa_supplicant file and the format was off and that was throwing everything off.
@ejoe132 if you can do the BT tethering vs the hot spot it is very slick
ejoe132
@ejoe132
Jun 05 2017 15:06
@davidkeddydb The blue tooth tethering would only be used while out and about? Or do you channel it through that all the time? My worry would be a data limit of 1gb a month which for out and about I normally make it but to go all the time I could see going over that
David
@davidkeddydb
Jun 05 2017 15:18
@ejoe132 Yes, only out an about. I have wifi at home and work, so it only tethers on the ride or if I am out at meeting or on the weekend. I have unlimited data and I don't know what the average is for tethering but I bet someone in here knows what it uses typically.
fidoman
@efidoman
Jun 05 2017 15:18
@ceben80 - smb-bolus-snooze I think Scott may merge this one into the dev branch fairly soon.
Matthias
@ceben80
Jun 05 2017 15:32
ah okay, thanks Eric :wink:
fidoman
@efidoman
Jun 05 2017 15:40
@ejoe132 - Sometimes I do a manual bolus (if higher carbs, morning time, higher starting BG). Other times with lower starting BG or lower carbs or lots of fat/protein I will just announce the carbs and do no manual bolus. In this case meal assist and SMB take over and do a good job.
live4sw
@live4sw
Jun 05 2017 15:41
I'm a huge fan of BT tethering. It took some extra time to set up but was hugely worth it - my cellphone battery life and data plan costs are significantly improved. Plus it will make travel slightly easier.
Matthias
@ceben80
Jun 05 2017 15:42
@live4sw totally agree, I am using 100% tethering, working great :wink:
Cameron Chunn
@applehat
Jun 05 2017 15:58

I have been having good luck with BT Tethering as well. Seamless.

I do use Wifi still at home, but it swaps to BT flawlessly

fidoman
@efidoman
Jun 05 2017 16:05
@applehat - BT with an iPhone anyone?
katie disimone
@Kdisimone
Jun 05 2017 16:17
I use iPhone BT. Works great
francesc0-cgm
@francesc0-cgm
Jun 05 2017 16:40
@scottleibrand which are the changes on smb with the new branch?
Cameron Chunn
@applehat
Jun 05 2017 16:41
I use an Android phone @ericfeibelman
fidoman
@efidoman
Jun 05 2017 16:41
Just did tethering with iphone and tested with a quick walk around the block during lunch. It worked flawlessly.
skubesch
@skubesch
Jun 05 2017 17:00
With the explorer boards backordered, I'd like to try to get the TI stick working with the Edison for now. Some dumb questions before I start: is there a recommended cable to get to connect the TI to another boards and will I need the debugger?
Is flashing the TI stick a complicated endeavor?
ejoe132
@ejoe132
Jun 05 2017 17:02
@ericfeibelman Guess my question is what is SMB? and what does it do?
Matthias
@ceben80
Jun 05 2017 17:02
@danamlewis @scottleibrand just FYI, due to my upcoming vacation I have attached my 754, working fine with SMB since @Kdisimone implemented openaps/oref0#473 (thanks Katie :clap: )
Christian Driver
@DriverNightscout
Jun 05 2017 17:17
I've managed to get my Edison/Explorer setup with oref0 and am seeing communication between the rig and the pump. I'm seeing some communication to Nightscout (a few note entries have been written in by openaps), so I'm pretty sure the URL and API Secret is correct. However, when I add a bolus on the pump, I see the IOB figure increase, but I don't see the usual blue/white circle with carbs and insulin. Is this typical?
If that's relevant, I'm currently testing using my original Azure Nightscout setup, which is currently receiving my xdrip data. As a follow on question, if I wanted to move over to a Heroku instance, what's the best way of repointing openaps to the new Nightscout? Should I re-run the setup or is that overkill?
Diabetic_Dude
@diabetic_dude_twitter
Jun 05 2017 17:20
is remainingcarbsfraction a new addition to the dev of oref0?
just updated and I do not see that option in my backup preferences.json
ejoe132
@ejoe132
Jun 05 2017 17:23
@ericfeibelman Thank you for posting those, I was just reading Danas post. Very exciting, gonna have to update my rig soon and try this out.
ijustlovemath
@ijustlovemath
Jun 05 2017 17:29
Anyone here a dev for xDrip? I'm looking to hook up the G5 to our AP setup and trying to find out how they did the command grammar
Cameron Chunn
@applehat
Jun 05 2017 17:42
its open source @ijustlovemath
Its all on github.
Dana Lewis
@danamlewis
Jun 05 2017 17:44
@diabetic_dude_twitter yes. Check out the preferences page in docs, updated w an explanation of any oref1 related features that are added
@ijustlovemath what do you need to do differently? For OpenAPS, most just tell the setup script they're using xdrip and it's taken care of.
Diabetic_Dude
@diabetic_dude_twitter
Jun 05 2017 17:46
@danamlewis wow awesome update did not know this was there yet
thanks
Dana Lewis
@danamlewis
Jun 05 2017 17:46
@DriverNightscout occasionally, it's a known issue if the circles don't show up on the graph, but they'll be documented in the pump; read by the rig; and that will be reflected in OpenAPS pill and logs
Cameron Chunn
@applehat
Jun 05 2017 17:47
@danamlewis I think he was implying he wants to attempt to read the G5's directly from the Edison, not using xDdrip.
Dana Lewis
@danamlewis
Jun 05 2017 17:47
@francesc0-cgm you can check out the open PR to review any code differences that are proposed.
garykidd
@garykidd
Jun 05 2017 17:48
I have a strange question....why is bolus snooze called bolus snooze and not low temp snooze---isnt that more what it is?
Dana Lewis
@danamlewis
Jun 05 2017 17:48
Cause it snoozes after a bolus is issued? :smile:
@applehat ah. If that's the case then he (@ijustlovemath) should chat with @thebookins who is working on similar efforts :smile:
garykidd
@garykidd
Jun 05 2017 17:50
And clearly I should know this but bolus snooze when expressed as units of insulin represents the amount o insulin that needs to be delivered before bolus snooze completes?
Christian Driver
@DriverNightscout
Jun 05 2017 17:50
@danamlewis Thanks, that's reassuring. The other odd thing is that I'm not getting any data in the OpenAPS or Pump pills on my Azure instance. I'm running Nightscout 0.9.2, on both Azure and Heroku (hence my question around how best to swap between both during a test phase). Any tips on troubleshooting why this might be?
Dana Lewis
@danamlewis
Jun 05 2017 17:52
Ah, time to start troubleshooting then. I would check for future treatments next.
Diabetic_Dude
@diabetic_dude_twitter
Jun 05 2017 18:11
could anyone please give me an example of a remaingcarbscap?? I am thinking of situations like eating high fat foods, would something like 80 be ok ?
actually thinking of more like 120 but do not want to over do it
PieterGit
@PieterGit
Jun 05 2017 18:14
A52 error on 754WW pump with SMB. device completely reset and rewinds. what's the current best practice to prevent this?
Marco
@CaptainBalou
Jun 05 2017 18:16
@Kdisimone @ericfeibelman BT iPhone: But I think the iPhone just goes on data plan (so 3G, 4G) as soon as I am BT-tethered, isn't it? I don't think this is cool for me because I am forced to have wifi connection in the office because no 3G, 4G coverage... :-( iPhone sucks sometimes... :-( @ceben80 is lol now I think. ;-)
Matthias
@ceben80
Jun 05 2017 18:19
@PieterGit see the answers from today of Dana/Scott above :wink:
ijustlovemath
@ijustlovemath
Jun 05 2017 18:19
Yeah I'm trying to integrate this with our AP system for an upcoming clinical trial. Dexcom switched up how the packets are laid out and I was trying to figure out what they did @danamlewis @applehat @thebookins
Matthias
@ceben80
Jun 05 2017 18:19
Occured today to my 522, the A52
Scott Leibrand
@scottleibrand
Jun 05 2017 18:32
just merged smb-bolus-snooze to dev
garykidd
@garykidd
Jun 05 2017 18:34
@scottleibrand was my assumption re: bolus snooze units (above) correct?
Scott Leibrand
@scottleibrand
Jun 05 2017 18:34
@rsilvers129 the design of oref1 with SMB relies on being able to set a zero temp, and then use SMBs to cover the missed basal insulin plus whatever extra is needed for carb absorption, so that if you lose connectivity and carb absorption stops, it will have already set a zero temp for hypo safety. if you disable SMB and switch over to high-temps, that is less safe in the lost-connectivity scenario.
francesc0-cgm
@francesc0-cgm
Jun 05 2017 18:34
What will happen with this @scott?
Matthias
@ceben80
Jun 05 2017 18:34
Cool Scott :+1:
Scott Leibrand
@scottleibrand
Jun 05 2017 18:35
@francesc0-cgm please read the PR
francesc0-cgm
@francesc0-cgm
Jun 05 2017 18:35
I will
Scott Leibrand
@scottleibrand
Jun 05 2017 18:36
anyone running oref0 dev should probably be watching the repo as well: you can click the Watch button at the top of https://github.com/openaps/oref0 to get email notifications for all PRs (and the discussion on them)
francesc0-cgm
@francesc0-cgm
Jun 05 2017 18:36
It should keep basal on now?
Also with low basal rate?
Scott Leibrand
@scottleibrand
Jun 05 2017 18:37
per https://github.com/openaps/oref0/pull/490/files: if insulinReq is negative, snoozeBG > target_bg, and lastCOBpredBG > target_bg, set a neutral temp
francesc0-cgm
@francesc0-cgm
Jun 05 2017 18:37
@scottleibrand i was asking only to have a tech comment :-D
Ok i will try it if i can see any difference
Maybe i can solve my problems early after meal
Scott Leibrand
@scottleibrand
Jun 05 2017 18:38
I'm not quite following your questions so far: they're a bit to general. if you can be more specific, I'm happy to talk details.
francesc0-cgm
@francesc0-cgm
Jun 05 2017 18:39
As i said after meal with low basal rate using smb, even with "kid mode on" aka 0.05 smbing i have immediately zero temping with often early peaking
Scott Leibrand
@scottleibrand
Jun 05 2017 18:39
@garykidd when bolus snooze is expressed as units of insulin, that is the amount that is currently being multiplied by ISF and added to eventualBG to get snoozeBG. the bolus snooze IOB decays twice as fast as regular IOB, so it disappears by DIA/2
francesc0-cgm
@francesc0-cgm
Jun 05 2017 18:40
Hope this could solve this issue
Scott Leibrand
@scottleibrand
Jun 05 2017 18:40
@francesc0-cgm if the COBpredBG line is projected to end up above target, this will cause it to set a neutral temp instead of a zero temp
but if COBpredBG is predicting an eventual low that doesn't recover on its own, it'll still zero temp
francesc0-cgm
@francesc0-cgm
Jun 05 2017 18:40
Ok maybe i can solve my issue
Scott Leibrand
@scottleibrand
Jun 05 2017 18:41
you can also experiment with remainingCarbsFraction. If you set that higher (as high as 1.0 if needed) that will cause more of the COB to get included in the COBpredBGs, even if it's not yet showing up as being absorbed in the deviations
garykidd
@garykidd
Jun 05 2017 18:42
so EventualBG should never be lower than SNoozeBG...correct?
Scott Leibrand
@scottleibrand
Jun 05 2017 18:42
eventualBG should always be less than or equal to snoozeBG
francesc0-cgm
@francesc0-cgm
Jun 05 2017 18:43
@scottleibrand i had to put 1.5xdia for cob to cover late peak from pasta that in my experience has a longer absorption time than dia...don't know if what you adviced is so correct in my case...
It should be the opposite...
garykidd
@garykidd
Jun 05 2017 18:45
and is Bolus Snooze in units also equal to the # of units of basal insulin that was still delivered (and not reduced to zero as if bolus snooze wasn't in effect...)?
Scott Leibrand
@scottleibrand
Jun 05 2017 18:48
no, it's a totally different calculation than that
it starts high and drops to zero. that would start and zero and rise
katie disimone
@Kdisimone
Jun 05 2017 18:50
@CaptainBalou yes...when rig is connected to iPhone hotspot...no wifi for either device. All cell data. That part sucks.
Marco
@CaptainBalou
Jun 05 2017 18:52
@Kdisimone Absolutely. Would mean "as soon as I BT thether I get no connection anymore". :-( And oref0-online would freak-out. :-)
katie disimone
@Kdisimone
Jun 05 2017 18:52
@PieterGit we've setup easy bolus button on pump. If smbs are actively being given when anna wants to bolus a meal, she uses easy bolus button to approximate what she would bolus and then enters carbs using careportal or ifttt buttons. Avoiding the bolus wizard (or being Fast with bolus wizard) will help avoid that restart issue
Marco
@CaptainBalou
Jun 05 2017 18:52
@Kdisimone I like my iPhone but such limitations suck a lot.
Scott Leibrand
@scottleibrand
Jun 05 2017 18:55
@Kdisimone @PieterGit you can also do a tiny easy bolus to give yourself a 3-minute window without SMBs in which to run the bolus wizard
katie disimone
@Kdisimone
Jun 05 2017 18:55

Well android does have that advantage in OpenAPS world. (1) android can still use wifi while rig is BT tethered and (2) in absence of cell data, rig can still loop using xdrip app and hotspot tether.

iPhones BT tethering is completely disabled when cell data isn't present...so there won't be the analogous option for iPhone users even if an xdrip for iPhone app was around.

garykidd
@garykidd
Jun 05 2017 18:55
hmmm...I guess irrelevant but # of units of basal insulin in excess of what would have been ordinarily delivered absent bolus snooze in effectg...would seem to me to initially increase from zero cap out and then decline after bolus snooze completes through passage of time..... I'm sure I've got something wrong and sorry to keep talking about this but it's helpful for me to better/really understand...thx
Scott Leibrand
@scottleibrand
Jun 05 2017 18:56
@Kdisimone @PieterGit we also disabled SMBs with temp targets to prevent it from starting to SMB until the initial meal bolus is given (or carbs are entered)
@garykidd that sounds like an interesting way of looking at it: it just isn't something we needed as an internal variable to make it work, so I never calculated that.
Marco
@CaptainBalou
Jun 05 2017 18:57
@Kdisimone Oh I was not aware of the second issue. Silly limitations. None of them makes sense...
Scott Leibrand
@scottleibrand
Jun 05 2017 18:57
@garykidd but it's also complicated by the fact that your earlier decision to zero temp vs. bolus snooze affects your eventualBG, which affects your later decision about when to stop bolus snoozing. so it's very difficult to figure out the counterfactual you'd be comparing against
Marco
@CaptainBalou
Jun 05 2017 18:58
@Kdisimone So getting the loop into the "TrustedDevices" group of my company's wifi is the only option. ;-)
Scott Leibrand
@scottleibrand
Jun 05 2017 18:59
or you could loop offline with a Dexcom receiver
or, if you have wired Ethernet at your desk (and IT security wouldn't freak out about it), plug in a little router of your own that sets up a hidden secured wifi network just for your rig to use
Marco
@CaptainBalou
Jun 05 2017 19:01
@scottleibrand MDT pump with sensors of MDT (hopefully soon).
Matthias
@ceben80
Jun 05 2017 19:01
Or xdrip attached :stuck_out_tongue_winking_eye: (sorry don't like the Dexcom receiver)
Scott Leibrand
@scottleibrand
Jun 05 2017 19:01
@ceben80 how?
garykidd
@garykidd
Jun 05 2017 19:01
thanks scott...and I'm not trying to change anything...just trying to understand [a bit better]. I think what I'm not understanding is how bolus snooze (units) is actually calc'd. Understanding it's the number of units that when multiplied by ISF and then added to Evenutal BG results in SnoozeBG (I think).
Scott Leibrand
@scottleibrand
Jun 05 2017 19:02
it starts out at 1.5x the bolus amount (I think that's the multiplier), and then gets decayed to zero using a 2x-sped-up IOB decay curve, so it's gone by DIA/2
Matthias
@ceben80
Jun 05 2017 19:02
Okay via phone and xdrip cgm uploading BGs on the same network
Scott Leibrand
@scottleibrand
Jun 05 2017 19:02
@garykidd (assuming your bolus snooze dia divisor is 2)
Marco
@CaptainBalou
Jun 05 2017 19:03
@scottleibrand wired isn't an option...moving around quite often sometimes. But wired would end up in the same ruleset. So "TrustedDevices" is the only option there.
Scott Leibrand
@scottleibrand
Jun 05 2017 19:03
@ceben80 IIUIC, that's the point: he can't easily get them both on the same network
@CaptainBalou if they'll let you do "TrustedDevices", that's great. but if not you definitely have other options
Matthias
@ceben80
Jun 05 2017 19:04
Dexcom has replaced 4 devices on guarantee in 1 year, too fragile this receiver :worried:
Scott Leibrand
@scottleibrand
Jun 05 2017 19:05
@CaptainBalou Dexcom receiver over USB OTG is one; another is to carry a little battery-powered travel router that just gets your phone and rig onto the same non-Internet-connected wifi hotspot for purposes of sharing BG data.
Marco
@CaptainBalou
Jun 05 2017 19:05
@scottleibrand really? I would not know any right now. wifi, wired , BT...more?
garykidd
@garykidd
Jun 05 2017 19:06
and the main idea behind it all is that it'll snooze the system from zero/low temping in the face of a meal bolus....(which is what would typically happen when you've just bolused for a meal...the system sees all the insulin there but hasn't seen (yet) uptick from carb absorption.) ?
Scott Leibrand
@scottleibrand
Jun 05 2017 19:06
@garykidd right
@CaptainBalou by far the simplest option for fully offline looping is plug a Dexcom receiver into the rig via USB OTG. have you tried that?
Marco
@CaptainBalou
Jun 05 2017 19:07
@scottleibrand Ah yes, having those two on the same wifi which is not company nor internet...good idea.
@scottleibrand Dexcom receiver...can I use that with MDT-devices?
Scott Leibrand
@scottleibrand
Jun 05 2017 19:08
if you're using Enlite, none of this matters: it loops offline by default
@ceben80 if you just leave the Dexcom receiver plugged into USB OTG with an external USB battery that can do pass-through charging, you never have to touch the receiver except to calibrate it and restart sensors, so it shouldn't matter if it's fragile.
(and in our experience, Dexcom receivers are pretty hardy little devices)
Marco
@CaptainBalou
Jun 05 2017 19:09
@scottleibrand BTW I have not tried anything until now. :-( I am struggeling with my insurance company which does not answer my request about CGM coverage. ;-)
Scott Leibrand
@scottleibrand
Jun 05 2017 19:10
@CaptainBalou ok. if you end up with Enlite CGM, the rig won't care if it has Internet: it will just loop off the BG data from the pump, and upload when it can. if you end up using a Dexcom CGM, then you have to set up your rig specifically for offline looping like we've been discussing.
Marco
@CaptainBalou
Jun 05 2017 19:11
@scottleibrand MDT does loop offline itself? Really? I know it works with CGM and sending values to the pump but it does no corrections right? So it does not loop - even if the Eddie+EB is on the same wifi, isn't it?
Scott Leibrand
@scottleibrand
Jun 05 2017 19:11
the MDT pump doesn't do any of the looping. I'm saying OpenAPS configured for MDT CGM works offline without any special configuration
katie disimone
@Kdisimone
Jun 05 2017 19:12
Anyone else getting 500 response when trying to go to https://github.com/openaps/oref0
Marco
@CaptainBalou
Jun 05 2017 19:12
Ah ok. Misunderstood that. Sorry.
Scott Leibrand
@scottleibrand
Jun 05 2017 19:12
the Edison talks to the MDT pump over the EB's 900MHz radio, both to get CGM data and to issue dosing commands. wifi doesn't matter in that configuration except for purposes of uploading data to Nightscout
Dana Lewis
@danamlewis
Jun 05 2017 19:13
@Kdisimone looks like Github is taking a nap
katie disimone
@Kdisimone
Jun 05 2017 19:13
You mean all the money I pay for that service ?! 🤣🤣🤣
Scott Leibrand
@scottleibrand
Jun 05 2017 19:14
heh. we do pay them money at $dayjob, and are getting the same thing there
Marco
@CaptainBalou
Jun 05 2017 19:14
Yes, got it. So confused because of being so curious of having a loop in some weeks hopefully. ;-)
Scott Leibrand
@scottleibrand
Jun 05 2017 19:14
that tweet made it into our work slack within 1 minute of it being posted. :)
@CaptainBalou no need to figure out all the possible permutations just yet. wait and see what your CGM options are and revisit then
katie disimone
@Kdisimone
Jun 05 2017 19:17
@scottleibrand and @CaptainBalou yes^^^. That
Marco
@CaptainBalou
Jun 05 2017 19:19
@scottleibrand You are right but I want to be prepared. My rig is ready to go. Everything set up. :-) Just seeing "MDT cgm data retrieveError, retrying" - so cross fingers for the sensors and transmitter. ;-)
Geoff Aumaugher
@geoffro10
Jun 05 2017 19:21
Is there any value to keeping the data for devicestatus? We had that instance a while back where no info was being sent to NS. Renamed it and created a new devicestatus. That worked for a few months and just had the same thing happen again. I deleted all data since this morning and it's working again. I was just wondering what value the old data had. If not much, I'll blow that one out to make sure I don't fill up my space.
Scott Leibrand
@scottleibrand
Jun 05 2017 19:23
@geoffro10 the devicestatus collection contains all the OpenAPS pill contents. it'll be very useful for research if you're willing to upload it to the OpenAPS Data Commons rather than deleting it.
David
@davidkeddydb
Jun 05 2017 19:23
If I am getting this error in the logs, is it an Edison issue, Explorer board issue or a software issue likely? Just trying to figure how to best resolve it: y", 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?
mmtune: monitor/mmtune.json raised Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?
pump://JSON/mmtune/monitor/mmtune.json
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/init.py", line 51, in call
self.run(self.args)
File "/usr/local/bin/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in call
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 40, in main
output = task.method(args, app)
Dana Lewis
@danamlewis
Jun 05 2017 19:24
@geoffro10 don't blow it up!
Scott Leibrand
@scottleibrand
Jun 05 2017 19:24
@davidkeddydb you'll have to do some more troubleshooting to know for sure
Geoff Aumaugher
@geoffro10
Jun 05 2017 19:24
@scottleibrand I'm absolutely willing to donate it. I'd much rather find a way to figure out why this keeps happening too!
Dana Lewis
@danamlewis
Jun 05 2017 19:24
It's usually worth going back the last few and deleting the one bad record that's snarfing things
And if you figure out which one, you can help is figure out maybe how to prevent it
Scott Leibrand
@scottleibrand
Jun 05 2017 19:25
@davidkeddydb what are the two LEDs next to your USB ports doing?
David
@davidkeddydb
Jun 05 2017 19:25
@scottleibrand one in middle of the ports is on
Scott Leibrand
@scottleibrand
Jun 05 2017 19:25
that's power. I mean the two next to them
normally they just flash briefly when mmtuning
@geoffro10 the reason we haven't been able to figure out the problem is that everyone keeps deleting things to fix it, without ever keeping a copy of the problematic data for later inspection
garykidd
@garykidd
Jun 05 2017 19:26
and I know it works but also wondering how you et. al. got to 1.5x and 2x amortization?
David
@davidkeddydb
Jun 05 2017 19:26
@scottleibrand let me watch when it tries
Scott Leibrand
@scottleibrand
Jun 05 2017 19:26
@davidkeddydb if they're not on solid, then you're fine
Geoff Aumaugher
@geoffro10
Jun 05 2017 19:27
@danamlewis That's the problem. I've looked at the data and I can't find anything. Next time, I'll have to look into it more closely. @scottleibrand Well, the old stuff I have won't work so it's still got the error somewhere.
garykidd
@garykidd
Jun 05 2017 19:27
@scottleibrand I got my third rig up and shortly thereafter go that darned rfspy state or version error and had to re-flash---no episodes since FWIW...
Scott Leibrand
@scottleibrand
Jun 05 2017 19:28
@geoffro10 ok, what I would do with the old data is load up a copy of it, confirm you can't loop with it present, and then start removing data until you fix it, and then go back and narrow down the search until you figure out the single record that is borking it
David
@davidkeddydb
Jun 05 2017 19:28
@scottleibrand No, as of now they are not on at all. Yesterday it kept spinning on the have you got the right port/device
@garykidd Good to know. I think I have too many rigs now
Scott Leibrand
@scottleibrand
Jun 05 2017 19:29
@davidkeddydb usually a hard power cycle of the rig will fix any subg_rfspy problems that aren't causing the red lights to stay on
PieterGit
@PieterGit
Jun 05 2017 19:29
thanx. is using an easy bolus and a 3-minute window a 100% solution for avoiding those pump reset errors?
Dana Lewis
@danamlewis
Jun 05 2017 19:30
Pump reset only happens if you're in bolus wizard menu while it smbs. I never use bolus wizard and have never gotten a reset - so I'd say yes
Matthias
@ceben80
Jun 05 2017 19:31
@scottleibrand but tbh I don't want an external battery too much devices
Dana Lewis
@danamlewis
Jun 05 2017 19:31
Only things that happens with SMB under an easy bolus is that you can't enter/confirm the easy bolus, so it just times out
Scott Leibrand
@scottleibrand
Jun 05 2017 19:31
depending on the size of your easy bolus, you might need to wait a few seconds between the easy bolus completion and starting the bolus wizard in case the loop has already pulled pumphistory and the reservoir check doesn't show more than a 0.1U decrease since the pre-pumphistory-pull one
@ceben80 do you have a better solution?
Matthias
@ceben80
Jun 05 2017 19:32
As said, xdrip, rig, phone for offline :wink:
Scott Leibrand
@scottleibrand
Jun 05 2017 19:33
@PieterGit if you do an easy bolus of at least 0.2U, then it is guaranteed to fail the reservoir check, so you don't have to wait as long after the easy bolus before starting bolus wizard
@ceben80 so your solution is android-only I guess
garykidd
@garykidd
Jun 05 2017 19:33
@davidkeddydb seems like you wont need to do this--but if hard reset doesnt fix things.... can check this...very easy....
Scott Leibrand
@scottleibrand
Jun 05 2017 19:34
for those of us who use iPhone, adding an Android phone gives us the same "too many devices" problem, with the added "too many SIM cards" problem
Matthias
@ceben80
Jun 05 2017 19:34
Did this for several months, often working in a datacenter w/o any internet, works great offline
That right as iphone user
Scott Leibrand
@scottleibrand
Jun 05 2017 19:35
@ceben80 the iPhone won't allow you to start tethering without Internet, which means you can't reliably use any BT tethering based offline solutions there
I think the best solution there will be an iPhone app that speaks BLE to the OpenAPS rig, but that requires some development work
Matthias
@ceben80
Jun 05 2017 19:35
Understood
garykidd
@garykidd
Jun 05 2017 19:36
Ahhhh apple...
Matthias
@ceben80
Jun 05 2017 19:36
:smile:
David
@davidkeddydb
Jun 05 2017 19:36
@garykidd Thanks. I had gotten that far, I was looking at it too late the other night
garykidd
@garykidd
Jun 05 2017 19:37
sure. I had trouble at first but thanks to some PR it's perfectly clear (to me) now.
Geoff Aumaugher
@geoffro10
Jun 05 2017 19:38
@scottleibrand Ok, it just stopped again so going back to this morning didn't do it. Ran for about 10 minutes. How far back might the corruption be?
Scott Leibrand
@scottleibrand
Jun 05 2017 19:39
hmm, that's odd. I would think that it would've stopped looping immediately after the corrupt data was uploaded. time for a binary search?
Geoff Aumaugher
@geoffro10
Jun 05 2017 19:39
Ok, I'm game but will need some help doing so.
PieterGit
@PieterGit
Jun 05 2017 19:40
@scottleibrand thanks
garykidd
@garykidd
Jun 05 2017 19:43
@scottleibrand any interest in working on another explorer board that would also incorporate wixel functionality...got to imagine that's not too hard...but is it worth the effort to integrate given product lifecycle position of G4?
Scott Leibrand
@scottleibrand
Jun 05 2017 19:47
would probably be easier to work with @fjungman to release the RiledUp board (not sure what state it's currently in though)...
rsilvers129
@rsilvers129
Jun 05 2017 19:51
A new board should have a way to plug in an LCD display. And a jumper for a remote reset button.
Christian Driver
@DriverNightscout
Jun 05 2017 19:52
Ah, I found why my OpenAPS and Pump pills weren't working - my daughter's xdrip had run out of charge. As the documentation says, if there isn't current CGM data, the pills don't render. Now there is data, I've got some the first set of loops running.
Scott Leibrand
@scottleibrand
Jun 05 2017 19:53
@rsilvers129 before we go designing new hardware to make it easier to power-cycle the Edison, I'd like to understand what situation yours gets into that requires power-cycling.
Cameron Chunn
@applehat
Jun 05 2017 19:54
@garykidd @rsilvers129 really just a SPI header could easily allow for many additional things to be developed
rsilvers129
@rsilvers129
Jun 05 2017 19:54
Oh. I don't really have a problem with power cycling. It is just that my enclosure designs block the reset button as it is on the inside side of the board.
Scott Leibrand
@scottleibrand
Jun 05 2017 19:55
sounds like what y'all want is an expansion board that goes in between the edison and the explorer board
Cameron Chunn
@applehat
Jun 05 2017 19:55
Also @rsilvers129 if you want a remote reset button, you can already wire one up. Just cut the ground on your lipo wire and put a normally closed switch in place.
rsilvers129
@rsilvers129
Jun 05 2017 19:55
Someone may want remote reset.
Christian Driver
@DriverNightscout
Jun 05 2017 19:55
I've entered some carbs on via the Careportal and via the Bolus Wizard on the 722. Interestingly, the carbs and the insulin don't appear in Nightscout as blue/white dots if I enter the data with the Bolus Wizard, but the half dot does show the insulin if I do a simple bolus. Has anyone else experienced that?
rsilvers129
@rsilvers129
Jun 05 2017 19:55
Then you can't change batteries.
Scott Leibrand
@scottleibrand
Jun 05 2017 19:55
there are lots of things someone may want: when designing tiny electronics, we need to design for actual needs, not maybe-wants
Cameron Chunn
@applehat
Jun 05 2017 19:56
Ok. Then get a JST extension and do it on those. Its not a giant issue if you have the space and really need it.
@scottleibrand I'm inclined to agree - I plan to just buy a sparkfun block when ever I get around to potentially messing with a screen
David
@davidkeddydb
Jun 05 2017 19:57
:smile: Can we just leave the nice boards alone. I still have my rig with the TI stick and sparkfun board. I still love that rig though
Cameron Chunn
@applehat
Jun 05 2017 19:57
The only real reason I see for a different explorer board would be if something became the new-standard and could be made better and smaller by going all-in-one
rsilvers129
@rsilvers129
Jun 05 2017 19:57
Today and tomorrow are pizza testing. I want to enter the carbs up front and bolus for it, and I want to enter half the fat as carbs three hours later, and not bolus. If I entered both up front, would oref0 degrade the fat "carbs" by the time three hours is up? I am just trying to know if it matters when I enter the fat as carbs.
garykidd
@garykidd
Jun 05 2017 19:57
I was just thinking that integrating a wixel would eliminate the need to carry separate receiver---and thinking the integrated package could be a more user friendly form factor
Cameron Chunn
@applehat
Jun 05 2017 19:59
@garykidd we already have full access to the bluetooth radio onboard. Im pretty sure that if someone wants to put in the work, the onboard bluetooth could already do wixel-like things
Considering my android phone's BT radio can do it without any special hardware, Im sure the edison can too. Its a matter of someone actually doing it.
Scott Leibrand
@scottleibrand
Jun 05 2017 20:00
yeah, lots of things are "just a small matter of typing" ;-)
garykidd
@garykidd
Jun 05 2017 20:00
@applehat it's not the BT side it's the (somewhat) proprietary frequency employed by G4 that needs to be addressed
Tim Street
@tim2000s
Jun 05 2017 20:00
It doesn't matter too much whether wixel is there or not. You still need xDrip code written to Linux either way.
Cameron Chunn
@applehat
Jun 05 2017 20:00
I have a big list of "stuff I want to try and implement" but currently only sitting with my 1 rig, its a little uncomfortable doing it all live.
@garykidd can you not just get g5 transmitters?
David
@davidkeddydb
Jun 05 2017 20:01
@garykidd True. I just worry about something not working so I like the receiver
garykidd
@garykidd
Jun 05 2017 20:01
G5 is good...but IMO...not as good as G4 connectivity
Cameron Chunn
@applehat
Jun 05 2017 20:01
Adding additional hardware to the rig vs fixing the data source issue, it seems way smarter to just fix the data source issue (especially since the sensors are the same)
I get a blood glucose reading every 5 minutes. What could be improved there with a g4? lol
David
@davidkeddydb
Jun 05 2017 20:02
@applehat Distance difference is pretty big
garykidd
@garykidd
Jun 05 2017 20:02
less connectivity drops for one
distance for another
Cameron Chunn
@applehat
Jun 05 2017 20:03
Connectivity drops and distance probably go hand in hand
Scott Leibrand
@scottleibrand
Jun 05 2017 20:03
also, raw data during the 2-hour startup or ???'s
garykidd
@garykidd
Jun 05 2017 20:03
and raw data is big
exactly
Cameron Chunn
@applehat
Jun 05 2017 20:04
Is the raw data an issue of g5 transmitters, or an issue of xDrip just not providing it currently?
garykidd
@garykidd
Jun 05 2017 20:04
and my expereince is that proximity does not always inprove connectivity on G5
David
@davidkeddydb
Jun 05 2017 20:05
I just put raw under enable a few days ago..waiting to see how it works when I get some ?? and have it plugged into explorer board
katie disimone
@Kdisimone
Jun 05 2017 20:18
@davidkeddydb it should be rawbg on enable line
But maybe you meant that
David
@davidkeddydb
Jun 05 2017 20:20
@Kdisimone Lol. I have to go into heroku now and check!
@Kdisimone Whew. Yeah, I have rawbg in there.
Geoff Aumaugher
@geoffro10
Jun 05 2017 20:34
So who knows of an easy way to sort through and view the data in mLab? It's very hard and time consuming to look through their web interface. Would be much easier to see if I could see the complete entry and scroll through it.
garykidd
@garykidd
Jun 05 2017 20:53
Does rawbg work for g5's?
PopcornPam
@PopcornPam_twitter
Jun 05 2017 20:58
HI all, looking for an alternative to inet to get my rigs ip address to get terminus set up on iphone, inet keeps crashing
katie disimone
@Kdisimone
Jun 05 2017 21:07
@garykidd Yes, I think so if you use Android and Xdrip
katie disimone
@Kdisimone
Jun 05 2017 21:17
@PopcornPam_twitter Net Analyzer Lite works for me too.
@geoffro10 I hate looking through it too. What are you trying to suss out of there?
Dana Lewis
@danamlewis
Jun 05 2017 21:21
@jenm999 on topic of maxIOB, if you’re interested, you could check out the dev branch (and run it without any advanced features, which would actually help us in getting closer to release). The reason I suggest that is we added some tweaks to oref0-setup.sh that includes a prompt for maxIOB, so that should provide a reminder so you don’t forget to re-set it back up from 0 if you need to re-run again.
Geoff Aumaugher
@geoffro10
Jun 05 2017 21:25
@Kdisimone I have a situation where my devicestatus data is somehow getting corrupted and causing the info not to show on NS. I have to rename the DB and create an empty devicestatus in order for it to start working again. I've tried looking through the data to find what is causing it but I'm not having any luck. For instance, it started again this morning. Just to see if I could get it working, I deleted all the entries back past where it stopped. That allowed it to work for about 20 minutes before it stopped again. It's just too hard to view that data in the mLab page.
Tim Street
@tim2000s
Jun 05 2017 21:29
I'm not sure G5 does raw @Kdisimone @garykidd I seem to recall it only outputs filtered, even with xDrip
Marco
@CaptainBalou
Jun 05 2017 21:46
Is anyone aware of a segfault during voltage checking on Eddie with ExplorerBoard?
Calling "cd /root/src/EdisonVoltage && ./voltage" results in "Jun 5 23:46:15 localhost kernel: [10639.173744] voltage[27960]: segfault at 2 ip b766b594 sp bfc3e4bc error 4 in libc-2.19.so[b75f2000+16e000]"
Have not found anything about that issue in the web.
PieterGit
@PieterGit
Jun 05 2017 21:58
@CaptainBalou : yes, i had the same. probably a jubilinux 0.1.1 thing. unzip kernel.zip from http://www.jubilinux.org/dist/ in the /
and reboot
Marco
@CaptainBalou
Jun 05 2017 22:01
@PieterGit Thanks! What is kernel.zip? A bunch of bugfixes of the kernel? I would expect to see a 0.1.2 then?
PieterGit
@PieterGit
Jun 05 2017 22:03
it's a new kernel and kernel modules i believe. perhaps @esialb can explain that better?
Marco
@CaptainBalou
Jun 05 2017 22:05
The files inside the file looks like it is the original poky-edison kernel in the same version jubilinux uses.
Has someone discussed the volateg issue and @esialb suggested to use the zip file?
PopcornPam
@PopcornPam_twitter
Jun 05 2017 22:10
as per previous thread: For future boards, way to remote trigger a sound to help find when you misplace it around the house (or am I really the only one that has this issue all the time?)
Marco
@CaptainBalou
Jun 05 2017 22:12
@PieterGit Ah ok, the zip file has the original poky kernel and the corresponding lib files. I'll give that a try.
PieterGit
@PieterGit
Jun 05 2017 22:17
it works, i had the same issue. btw i think a crashing voltage should not be able to stop the ns-loop, but i hadn't time to fix that
Marco
@CaptainBalou
Jun 05 2017 22:19
@PieterGit No I also cannot say that it stops the loop. Unfortunately I am not looping until now. I am just looking up some messages of the system and that's why I saw those voltage-lines.
@PieterGit Yes it worked for me too. "uname -r" shows the newly extracted poky-kernel and I see no segfaults anymore. Manually running "voltage" returns proper values. Thanks for helping! Seems to be a jubilinux issue.
katie disimone
@Kdisimone
Jun 05 2017 22:22
@tim2000s I was going off of people on CGM in the Cloud saying they could still get raw data using that setup. Nothing based on personal experience
Tim Street
@tim2000s
Jun 05 2017 22:25
Yeah, I seem to recall that G5?doesnt public ah it, but best to double check I guess.
PieterGit
@PieterGit
Jun 05 2017 22:25
@CaptainBalou if you have some spare time can you post the voltage segfault issue at https://github.com/jubilinux/jubilinux/issues ? It didn't break the loop (=the pump&cgm loop), the ns-loop for stuff like status uploading and temptargets .
Marco
@CaptainBalou
Jun 05 2017 22:26
@PieterGit I could give that a try. But could be a EdisonVoltage-Package issue as well. Hope I don't make @esialb
much work and jubilinux has no problems at the end. :-)
Tim Street
@tim2000s
Jun 05 2017 22:32
I've seen the same issue on the 0.2.0 version of jubilinux @PieterGit
Jesse Szypulski
@Kryptonit3
Jun 05 2017 22:33

Someone please explain this to me. I have been having issues with lows recently and using OpenAPS. When my blood sugar is below my 100-120 range, OpenAPS will still allow a temp basal above 0. If my blood sugar is below my range for more than 30 minutes, I would like a basal of 0. What gives?

Here are two lines from my logs:

Jun 05 18:25:45 krypto_diabetus pump-loop.log: {"temp":"absolute","bg":63,"tick":"+2","eventualBG":107,"snoozeBG":107,"predBGs":{"IOB":[63,64,65,66,68,69,70,71,73,74,75,77,78,80,81,83,84,86,88,89,91,92,93,95,96,97,98,99,100,101,102,103,104,104,105,105,106,106,107,107,107,107,107,108]},"IOB":-1.006,"reason":"COB: undefined, Dev: 4, BGI: 0.46, ISF: 40, Target: 110; BG 63<75, delta 2>0, temp 1.5 ~ req 1.5U/hr"}
Jun 05 18:25:45 krypto_diabetus pump-loop.log: {"bg":61,"temp":"absolute","snoozeBG":103,"recieved":true,"predBGs":{"IOB":[61,62,62,63,64,65,66,67,68,69,71,72,74,76,78,80,82,84,86,89,91,93,95,98,100,102,104,105,107,109,110,112,113,115,116,117,118,119,120,120,121,121,122,122,123]},"rate":1.5,"reason":"COB: undefined, Dev: 1, BGI: 0.36, ISF: 40, Target: 110; BG 61<75, delta 4>0; setting current basal of 1.5 as temp. Setting neutral temp basal of 1.5U/hr","eventualBG":103,"timestamp":"2017-06-05T18:20:07.831419","duration":30,"tick":"+4","IOB":-1.019}
Tim Street
@tim2000s
Jun 05 2017 22:33
Doesn't break the loop but doesn't work.
katie disimone
@Kdisimone
Jun 05 2017 22:35
@tim2000s you’re in that XdripG5 group…what does that group say about raw data for g5? Looks like it is possible? (I just joined to try to learn more)
Tim Street
@tim2000s
Jun 05 2017 22:36
@Kryptonit3 the prediction data shows you going higher than target and you show positive deviation and BGI. That's why.
katie disimone
@Kdisimone
Jun 05 2017 22:40
@Kryptonit3 if you want a temp basal to be a lighter touch when you are below target, then you need to work at tuning your basal profiles to not have so much negativeIOB while you are low. The lower your negIOB, the greater the rebound that a loop will expect you to have
Tim Street
@tim2000s
Jun 05 2017 22:42
@Kdisimone not very much and there are no settings for it to my knowledge!
katie disimone
@Kdisimone
Jun 05 2017 22:43
Just talked to Kate and apparently raw and G5 is definitely a thing. And working. @tim2000s
Jesse Szypulski
@Kryptonit3
Jun 05 2017 22:43
I am on a keto diet so I practically give no insulin during the day. @Kdisimone
What are ideal settings for someone who eats less than 30 carbs a day and almost no insulin?
PieterGit
@PieterGit
Jun 05 2017 22:45
@ceben80 @betluis and others willing to testdrive a secured Nightscout: I updated openaps/oref0#470 to also to include @scottleibrand openaps/oref0#490 (SMB Snooze). The rig worked fine this weekend, and I could not find any regressions in my code. Please help testing so that it can be merged to dev.
katie disimone
@Kdisimone
Jun 05 2017 22:45
that question can’t be answered as phrased. It will depend too much on the individual. I would reiterate that eliminating the negIOB will help you not be high temped while low. So, if you have basals set, try decreasing them during periods of the day/night when you are typically running low. If you are instead running low as a result of food boluses, then look to ISF or carb ratios perhaps.
Jesse Szypulski
@Kryptonit3
Jun 05 2017 22:47
image.png
image.png
crap, sorry for twice posting.
I hate how long it waits to make my basal 0.00. By the time I am 0.00 temp, I am already low.
So I should adjust my pump basal lower so OpenAPS can "work" less?
Scott Leibrand
@scottleibrand
Jun 05 2017 22:49
@Kryptonit3 have you tried autotune yet? it will help you know where your basals are too high and need lowered
Jesse Szypulski
@Kryptonit3
Jun 05 2017 22:49
@scottleibrand I have autotune turned on. I was under the impression it needs to run for a while first.
I think it has been on for maybe a week?
Scott Leibrand
@scottleibrand
Jun 05 2017 22:50
if OpenAPS has to try to hard to run low temp basals, it will end up registering a really low (highly negative) net IOB, which reflects its expectation that with all that low temping you should start rebounding soon. if you never do, that probably means your basals are too high
take a look at the autotune results: it probably has made some basal adjustments there already
Jesse Szypulski
@Kryptonit3
Jun 05 2017 22:50
Honestly @scottleibrand my basals are running from when I was on a regular food intake with carbs. I just assumed OpenAPS would automatically see my normal blood sugars and adjust with temps accordingly.
Scott Leibrand
@scottleibrand
Jun 05 2017 22:51
autotune may already be running up against the safety limits on how much it will adjust from where your pump settings are
so you may need to adjust your pump's basals closer to what autotune recommends, to give it leeway to adjust further
Jesse Szypulski
@Kryptonit3
Jun 05 2017 22:51
I will see if it has produced some results. Need to consult the docs.
Scott Leibrand
@scottleibrand
Jun 05 2017 22:51
:+1:
Jesse Szypulski
@Kryptonit3
Jun 05 2017 22:56
image.png
Paul Dickens
@thebookins
Jun 05 2017 23:00
@ijustlovemath I've looked pretty closely at the messages passing to and from the G5 transmitter - my attempt at a port to JavaScript is at https://github.com/thebookins/xdrip-js. Happy to chat if you run into any issues.
(still a WIP)
Jesse Szypulski
@Kryptonit3
Jun 05 2017 23:02
running autotune script for 5 days looks like it might take a while :)
Running for 5 min so far and only to 3AM on first day
I guess since it has to use edison CPU it is slower
PieterGit
@PieterGit
Jun 05 2017 23:04
if it 's not your main rig, you can also temporary stop the loops with /etc/init.d/cron stop. that save some cycles as well. better to autotune on proper hardware instead of edison
Jesse Szypulski
@Kryptonit3
Jun 05 2017 23:05
so you don't have to run autotune from your working rig?
PieterGit
@PieterGit
Jun 05 2017 23:05
no, because i got multiple isf's and because i want to manually check the autotune results, so i'm not using autotune in the cron, but I do manually check the autotune from time to time
Paul Dickens
@thebookins
Jun 05 2017 23:08
@PieterGit any progress of getting a 4.x kernel working with OpenAPS. I have tried to upgrade the kernel using andy-shev's instructions but must admit I'm a bit out of my depth. Local looping using edison direct to G5 will require a 4.x version kernel.
PieterGit
@PieterGit
Jun 05 2017 23:12
It's on my (ever growing) list, I believe it's possible but it would take some time. I'm hoping we can create a debian 9 and linux image 4.12 image, that might solve some of the vague usb problems / bt problems / kernel traces. But getting there will also create new problems. I first focus on openaps/oref0#470 and then on warnings for a hypo on a pancreable.
Jesse Szypulski
@Kryptonit3
Jun 05 2017 23:12
I ran the build script with autotune enabled but there isn't an autotune folder in myopenaps folder. I am currently running it manually with oref0-autotune. where do you check for results @PieterGit - this is the build line I used
oref0-setup --dir=/root/myopenaps --serial=xxxxxx --cgm=G5 --ns-host=https://myopenaps.herokuapp.com --api-secret=mysecret --tty=/dev/spidev5.1 --enable=' autosens  autotune ' --radio_locale='US' --btmac='D0:FC:CC:XX:XX:XX'
@thebookins: why does local looping with a G5 require a 4.x version kernel. because of bluetooth issues? (don't have a G5)
Paul Dickens
@thebookins
Jun 05 2017 23:23
Yep, bluetooth issues. G5 needs LE security, which is only supported by bluez versions > 5.43 and 4.x linux kernel.