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

29th
Jun 2017
iananders
@iananders
Jun 29 2017 00:34
trying to setup a pi setup with a TI stick - do i need to install openaps with the setup script with dummy data first in order to add the TI stick and figure out the port?
Dana Lewis
@danamlewis
Jun 29 2017 00:38
No
iananders
@iananders
Jun 29 2017 00:43
there's an easier way to determine what port to use for the TI stick?
Dana Lewis
@danamlewis
Jun 29 2017 00:44
Check the oref0-setup "be prepared to enter" it links to the mmeowlink wiki and at the bottom it tells you how to figure out port
Prosulpump
@Prosulpump
Jun 29 2017 00:45
This message was deleted
iananders
@iananders
Jun 29 2017 00:45
got it - that's what i was trying to do, but those instructions call on openaps to add mmeowink as a vendor and adding a pump, should i just install openaps manually?
Dana Lewis
@danamlewis
Jun 29 2017 00:49
No.
You don't need to install mmeowlink separately, script will do that. Just follow the notes about finding the port
/dev/TTacmp or something is what you should be getting
iananders
@iananders
Jun 29 2017 00:55
@danamlewis sorry for being dense! didn't realize i just needed to run the port section, not installing mmeowlink separately in its entirety (which includes the mmtune troubleshooting/port selection process)
Dana Lewis
@danamlewis
Jun 29 2017 00:57
That's probably worth a pR if it was unclear to you :smile:
iananders
@iananders
Jun 29 2017 00:58
will do.
Dana Lewis
@danamlewis
Jun 29 2017 01:02
:+1:
PopcornPam
@PopcornPam_twitter
Jun 29 2017 01:14
Hi all, I seem to recall a discussion awhile back about code that can disable charging of a dexcom reciever when it is attached for offline looping, so it doesn't drain the power supply. But I can find it. Can anyone point me in the right direction?
also.. question about PR's... Is it helpful to PR questions.. as in, point out the parts that are not clear with two options? (not sure what the correct answer is) For example, the offline looping instructions for plugging in the dexcom say that order or plugging in matters, but does not say what the order is! I think it used to, so this seems to be a recent change.
@rsilvers129 , did you get the loop app working?
rsilvers129
@rsilvers129
Jun 29 2017 01:19
@PopcornPam_twitter No. I have posted a screen capture of the problem here twice, and even tagged the author, and no one responded.
PopcornPam
@PopcornPam_twitter
Jun 29 2017 01:20
Bummer
I am also curious how many loopers are using android vs iphone because of the offline looping. I am up for a new phone in a few months and trying to decide if an android is better at this point for looping
Dana Lewis
@danamlewis
Jun 29 2017 02:00
personal preference, I think. don’t know how many people are willing to switch off of their previous preference as a result of looping
re: the PR question - does it say the order of plugging in matters, or just that it matters WHERE you plug each thing into?
PopcornPam
@PopcornPam_twitter
Jun 29 2017 02:01
I thought it said the order mattered... unless I misinterpret
The order of the cables and ports is important.
It is really the "Creating an information web page that can be picked up using the rig’s URL." that is hard to follow.. so I can point out where and why it is hard to follow, but I am pretty sure I havent' managed to make it work, so can't really make corrections.. if that makes sense
Dana Lewis
@danamlewis
Jun 29 2017 02:03
oh, so not just getting the data, but something related to @tim2000s ’s instructions for offline web page. gotcha
in that case - I’d ask him for clarification, I’m not on android/haven’t done that so can’t answer definitively. but sounds like clarification would be good
PopcornPam
@PopcornPam_twitter
Jun 29 2017 02:04
Oh... it only works on android? Well that is probably why it didn't work.. I dont' think that was super clear
Dana Lewis
@danamlewis
Jun 29 2017 02:04
..I don’t know that for sure without a direct link to the section that you’re looking at
PopcornPam
@PopcornPam_twitter
Jun 29 2017 02:04
but "The order of the cables and ports is important." is in the section just about plugging a dexcom reciever in
And in general, I often know where I am confused in the docs, but don't know what to suggest for a fix because I haven't figure out how to fix it.. is making notes of where and why confusion occurs helpful, or not really?
@danamlewis , what are you using for offline looping?
Dana Lewis
@danamlewis
Jun 29 2017 02:06
I see what you’re saying now. Order intended to mean “where you plug things in matter” not which order you do it in (i.e. a then b versus b then a)
PopcornPam
@PopcornPam_twitter
Jun 29 2017 02:07
OK.. pr'ing now
Dana Lewis
@danamlewis
Jun 29 2017 02:07
that’s certainly worth a PR to delete or edit that sentence to reflect the intention
my suggestion is to ask here, and then when you get clarification, certainly do a PR
PopcornPam
@PopcornPam_twitter
Jun 29 2017 02:13
OK.. I'm rewriting the paragraph.. it is really confusing to read.
Dana Lewis
@danamlewis
Jun 29 2017 02:13
:+1:
PopcornPam
@PopcornPam_twitter
Jun 29 2017 02:14
Also, any idea about how to stop the dexcom from sucking all the power from the external battery pack? It didn't make it through a fancy dinner tonight because the reciever was charging itself the whole time
that would be a good thing to addd there as well
Scott Leibrand
@scottleibrand
Jun 29 2017 02:50
We generally just keep the Dexcom fully charged, and carry a big enough external battery to not have to worry about it. But if you want to, check out openaps use cgm -h to get help on how to use the power control commands.
Martin Haeberli
@mhaeberli
Jun 29 2017 03:16
for those of us thinking about the small RPi s https://hackaday.io/project/8688-raspberry-pi-zero-altoid-nas
DaisyHK
@laurathiessen
Jun 29 2017 03:59
for OpenAPS with an edison board that is already set up I am trying to add some features but getting confuse and hoping tI can just use some short cuts. I want to add another known wifi network and add some of the additional features.1. For the wifi do i follow all the prompts from the begining starting with" vi /etc/network/interfaces" or do i use "vi /etc/wpa_supplicant/wpa_supplicant.conf" and input my network and password? 2. Advanced features, i believe I am currently using the master branch do i need to reinstall the dev branch to enable to advanced features? or is AMA etc still in the master branch and I somehow have to add them? sorry just getting so confused
Cameron Chunn
@applehat
Jun 29 2017 04:20
If vi confuses you, you can use nano /etc/wpa_supplicant/wpa_supplicant.conf like I showed you
And yes. Advanced features require swapping to Dev.
Dana Lewis
@danamlewis
Jun 29 2017 04:21
…AMA is on master, if that’s the advanced feature you want
Cameron Chunn
@applehat
Jun 29 2017 04:21
Oops. Yeah sorry. Confused AMA and UAM.
Dana Lewis
@danamlewis
Jun 29 2017 04:22
:D
Cameron Chunn
@applehat
Jun 29 2017 04:22

SoManyThreeLetterThings

Apparently markdown works here and hashtags don't.... Heh
Dana Lewis
@danamlewis
Jun 29 2017 04:25
#havetodothemlikethis
#somuchwork
Cameron Chunn
@applehat
Jun 29 2017 04:27
Knowing that all markdown works here means I now realize you how post images from mobile. Haha
Still can't type a legible sentence from mobile tho... Apparently.
Martin Haeberli
@mhaeberli
Jun 29 2017 04:55
so - what is best practice for when t1 goes in the shower so openaps doesn’t think it is delivering insulin - suspend pump?
Dana Lewis
@danamlewis
Jun 29 2017 05:00
Temp and suspend
(Temp to zero)
Martin Haeberli
@mhaeberli
Jun 29 2017 05:00
so - temp basal to 0 for 1/2 hour, say, then suspend -
at end, resume, cancel temp
?
rsilvers129
@rsilvers129
Jun 29 2017 05:01
I usually forget to resume and come close to death, so I find it better to not suspend. I just eat before I shower and then it is on 0 anyway.
Dana Lewis
@danamlewis
Jun 29 2017 05:01
@mhaeberli correct, or after resume let OpenAPS cancel and set any new needed temp
Martin Haeberli
@mhaeberli
Jun 29 2017 05:02
k
Tim Street
@tim2000s
Jun 29 2017 05:38
Hi @PopcornPam, if you could point out what's hard to follow in the webpage instructions, I can adjust it.
francesc0-cgm
@francesc0-cgm
Jun 29 2017 05:47
@ejoe132 sorry for late. My expboard is from the batch of march
Carl Wehtje
@cjwehtje
Jun 29 2017 09:08
I updated my rig with Oref1 yesterday and have SMBs runnign fine so far. Nightscout worked as normal to start but after a few hours it no longer have any data for the openAPS pill (pill exists but it says loop is not running). The rig is however running fine and all treatments (boluses, SMB, temps and glucose data) is uploaded and visible. Any idea why?
stefanakerblom
@stefanakerblom
Jun 29 2017 09:55
Anyone has an idea how much data a continuously running openaps-loop sends and receives to the cloud in average per month? Not an exact number. Is it more like 10 MB, 100 MB or several GBs?
Tim Street
@tim2000s
Jun 29 2017 10:27
@stefanakerblom based on my experiments of the weekend I'd say 3-5Gb
fidoman
@efidoman
Jun 29 2017 10:44
@rsilvers129 - Nice work on the autosens csv history. I incorporated that into my plugins. just FYI - I used jq instead of sed to get the sens, if that makes sense. ;-> SENS=$(jq .ratio /root/myopenaps/settings/autosens.json)
peterfulvi
@peterfulvi
Jun 29 2017 10:56
I just got my G5 yesturday and am trying to work out the kinks with xdrip . It seems like the phone cant coonect to the rig. it keeps saying socket timed out in system status. After i configure my rig to connect to the phone it goes back to dec 31 1999, but when i look on my phone it says my rig is connected to it, i can tunnel into it, the values arent reaching it. Im on a spare rig and pump, I have one more enlite sensor left so im trying to get this problem worked out with the G5. Also when i run setup i notice a G5 option. Is that for the reciever being plugged in locally?
fidoman
@efidoman
Jun 29 2017 10:57
I'm currently working on a bash script that will allow doing a CGM blood glucose meter calibration via command line for medtronic pump and MDT. I agree with someone else here that it would be nice to do this without having to "wear out" our pump buttons and without having to access our pump. I have it working now, but need to test it for a few days to make sure it works right in all cases. I had to use the send keys CGM command to do it. I'm leaving the final "ACT" off for now to look at it manually on the pump to make sure it is putting the right BG level in for calibration each time.
stefanakerblom
@stefanakerblom
Jun 29 2017 11:13
@tim2000s Oh, that much. My mobile plan is 3 GB and I could increase it to 4. So I'll have to keep my home wlan active for the rig and only tether when I am on the go.
fidoman
@efidoman
Jun 29 2017 12:36
@rsilvers129 - I changed the time format and put a comma in between the date / value for autosens csv because that worked better for me using Microsoft excel. TIME=$(date +"%Y-%m-%d %H:%M") SENS=$(jq .ratio settings/autosens.json) echo "$TIME, $SENS" >> /var/log/openaps/autosens_history.csv
peterfulvi
@peterfulvi
Jun 29 2017 12:55
I got it to connect finally. Im still getting an internal server error in xdrip. But i notice i get errors in the wifi log on my rig. This causes a delay beacaus the rado listens and mmtunes, then it will connect to my phone again. Is this normal behavior. The funny thing is the rig and phone are in my pocket, so i dont think it is range
At Thu Jun 29 08:43:34 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:
Error, cycling networking
Stopping networking (via systemctl): networking.service.
Starting networking (via systemctl): networking.service
Starting oref0-online.
At Thu Jun 29 08:44:02 EDT 2017 my local IP is:
At Thu Jun 29 08:44:02 EDT 2017, my wifi network name is , and my public IP is:
At Thu Jun 29 08:44:03 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:

At Thu Jun 29 08:44:03 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:
Error, cycling networking
Stopping networking (via systemctl): networking.service failed!
and getting new wlan0 IP
.
Finished oref0-online.
Starting networking (via systemctl): networking.service.
and getting new wlan0 IP
Finished oref0-online.

Starting oref0-online.
At Thu Jun 29 08:45:02 EDT 2017 my local IP is: 192.168.43.185

At Thu Jun 29 08:45:02 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:
At Thu Jun 29 08:45:18 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:

At Thu Jun 29 08:45:34 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:
Error, cycling networking
Stopping networking (via systemctl): networking.service.
Starting networking (via systemctl): networking.service
Starting oref0-online.
At Thu Jun 29 08:46:01 EDT 2017 my local IP is:
At Thu Jun 29 08:46:02 EDT 2017, my wifi network name is , and my public IP is:
At Thu Jun 29 08:46:02 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:

At Thu Jun 29 08:46:02 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:
Error, cycling networking
Stopping networking (via systemctl): networking.service failed!
and getting new wlan0 IP
.
Finished oref0-online.
Starting networking (via systemctl): networking.service.
and getting new wlan0 IP
Finished oref0-online.

Starting oref0-online.
At Thu Jun 29 08:47:01 EDT 2017 my local IP is: 192.168.43.185

At Thu Jun 29 08:47:01 EDT 2017, my wifi network name is printer, and my public                                                                                                                                                              IP is:
At Thu Jun 29 08:47:17 EDT 2017, my wifi network name is printer, and my public IP is:

At Thu Jun 29 08:47:33 EDT 2017, my wifi network name is printer, and my public IP is:
John Sjolund
@sjolundjohn
Jun 29 2017 13:25

Hello friends, longtime - I am getting back in the saddle with OpenAPS to give oref1 a test.

I am looking for source, https://github.com/openaps/oref0/tree/dev - is oref1 in the dev branch of oref0?

Cameron Chunn
@applehat
Jun 29 2017 13:35
Oref1 code is all part of oref0 in Dev.
Cameron Chunn
@applehat
Jun 29 2017 13:42
@peterfulvi g5 is for receiver to rig. You probably want xDripAPS
Also, make sure your using xDrip+ and not base xDrip, as it's far more reliable and up-to-date
Also I believe it's all in the docs now, but you can set it to upload to NS and xDripAPS on the rig, and it will push to both if there's a BT connection to the rig - there's an option that is called "disable upload on local IPs if no local network detected" - I had to turn that off. Sometimes my rig is teathering and my phone decided it doesn't want to share internet (still an active BT-PAN tho) and having that disabled let's the rig still loop "offline" until my phone sorts itself out.
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 13:48
anyone know how I can reboot my edison without removing the power or using the reboot command
I am connected VIA serial and seem to be stuck in either VI or nano
but esc + q! wont get me out
cameronrenwick
@cameronrenwick
Jun 29 2017 13:49
black button on EB
peterfulvi
@peterfulvi
Jun 29 2017 13:51
@applehat were do i get that. I have xdrip plus on my phone
John Sjolund
@sjolundjohn
Jun 29 2017 13:51
thanks @applehat
peterfulvi
@peterfulvi
Jun 29 2017 13:52
@applehat xdrip has thr rest api setting
Cameron Chunn
@applehat
Jun 29 2017 13:52
@peterfulvi xDripAPS is an option for "CGM" in oref0-setup. May only be in Dev tho.
It basically adds a NS Rest API to your rig that xDrip+ can upload too.
peterfulvi
@peterfulvi
Jun 29 2017 13:54
i chose xdrip in setup
Cameron Chunn
@applehat
Jun 29 2017 13:54
Then you probably have it :)
peterfulvi
@peterfulvi
Jun 29 2017 13:54
great
Cameron Chunn
@applehat
Jun 29 2017 13:54
Let me see if I can find the doc that explains it
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 13:55
@cameronrenwick that black button has never worked for me in 6 months
I just pulled the power
@peterfulvi ^
@diabetic_dude_twitter @cameronrenwick same here. Worked for me once and then almost felt like it broke. I always just yank power if required - tho I've been up and looping on my rig for like 2 weeks with no reboots :)
dan lightner
@danimaniac
Jun 29 2017 13:58

@mhaeberli I never suspend my pump for showers (5-10 minutes, maybe). I simply disconnect at the infusion site, place the pump on the vanity, and jump in. I contend the length of time in the shower and insulin normally delivered over that period has negligible effect on OpenAPS calculations including autosense and autotune. Run the calculations using your max basal rate programmed into the pump...then decide for yourself. I feel the risk of NOT restarting the pump is greater than the mathematical inaccuracies created by not suspending.

so - what is best practice for when t1 goes in the shower so openaps doesn’t think it is delivering insulin - suspend pump?

Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 13:59
@applehat in rare cases it will leave a lock file that will mess up the loop
but then all you have to do is re set up
I have had it happen two times in a year (so not too often)
Cameron Chunn
@applehat
Jun 29 2017 14:00
Yeah, I've experienced the random weirdness. I tend to just ssh into the rig and rerun setup tho. Hardly ever have to "shut down".
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 14:01
it also says what is locked when you watch the logs, but I have never been able to actually remove the file causing the issues because it is never where it says it is.
cameronrenwick
@cameronrenwick
Jun 29 2017 14:02
@danimaniac I do the same thing. I dunno if I'm quicker than most showerers but I doubt I'm disconnected more than 5 minutes so I don't notice any significant problem
Jorge Aguilar
@jonahtaxt
Jun 29 2017 14:06
@peterfulvi you also need to chech your oref0-online script. You may be still using a version which used icanhazip to get your public ip and it has a lot of issues. The last version uses checkip from aws to get the public ip. That way it'll connect ok. I had the same issue and that fixed it
rsilvers129
@rsilvers129
Jun 29 2017 14:32
@ericfeibelman Maybe it should send a pushover if autosens reaches a threshold of more than 1.15?
Tim Street
@tim2000s
Jun 29 2017 14:38
@Diabetic_Dude You can also establish a new ssh or serial session and run the reboot command from that.
Dana Lewis
@danamlewis
Jun 29 2017 14:58
@danimaniac @mhaeberli @cameronrenwick just tested a preference option yesterday that will have OpenAPS un-suspend (resume) the pump if there's no zero temp running, for those who worry about forgetting to resume after showers. Should be in dev shortly.
Martin Haeberli
@mhaeberli
Jun 29 2017 15:06
:+1: @danamlewis
@danimaniac thx - our t1 takes longer showers :-) mostly
cameronrenwick
@cameronrenwick
Jun 29 2017 15:09
this T1 would too if it weren't for the other 4 Tzeros I live with banging on the bathroom door....
Dana Lewis
@danamlewis
Jun 29 2017 15:10
Me too ;)
Scott Leibrand
@scottleibrand
Jun 29 2017 15:10
@mhaeberli for >30m showers, you can just temp to zero for 60m before suspend. If you remember to unsuspend then OpenAPS will cancel the temp. If not it'll unsuspend when the zero temp expires and set an appropriate temp (or SMB, if enabled) to compensate for the missed insulin.
Martin Haeberli
@mhaeberli
Jun 29 2017 15:11
@scottleibrand thx
Scott Leibrand
@scottleibrand
Jun 29 2017 15:12
just merged it to dev: openaps/oref0#496
Dana Lewis
@danamlewis
Jun 29 2017 15:15
:+1: (its an optional preference you can toggle on if you so choose)
Scott Leibrand
@scottleibrand
Jun 29 2017 15:15
@rsilvers129 @danimaniac @cameronrenwick @mhaeberli if you're running dev, I would suggest you git pull the latest oref0 dev, add "unsuspend_if_no_temp": true to your preferences.json, and then start making a habit of temping to zero and suspending your pump before your shower, and unsuspending when you reconnect the pump. if you forget to unsuspend it will do so automatically after the zero temp expires.
if you don't suspend, and BG is rising, then oref1 may decide it needs to SMB, in which case you could miss quite a lot of insulin, and run high for a few hours afterward.
rsilvers129
@rsilvers129
Jun 29 2017 15:18
Thanks.
cameronrenwick
@cameronrenwick
Jun 29 2017 15:19
excellent point Scott...thx will do
rsilvers129
@rsilvers129
Jun 29 2017 15:27
@ericfeibelman @tim2000s @scottleibrand Here is my plugin to pushover on autosens 1.15 or greater (to give me a head's up to change my site).

!/bin/bash

SENS=$(jq .ratio /root/myopenaps/settings/autosens.json)

if (($(echo "$SENS >= 1.15" | bc)))
then
curl -s --form-string "token=TOKEN" --form-string "user=USER" --form-string "message=Warning: insulin or site resistance ${SENS}" https://api.pushover.ne
t/1/messages.json
fi

rsilvers129
@rsilvers129
Jun 29 2017 15:33
Man I hate when nano starts up instead of vi. I can’t figure out how to use it.
Cameron Chunn
@applehat
Jun 29 2017 15:33
Control + o to save, control + x to quit.
Tim Street
@tim2000s
Jun 29 2017 15:33
:+1:
Jorge Aguilar
@jonahtaxt
Jun 29 2017 15:34
I hate vi. I prefer nano hahaha
Dana Lewis
@danamlewis
Jun 29 2017 15:34
Tabs. Spaces. OH THE ARGUMENTS. </snark>
Cameron Chunn
@applehat
Jun 29 2017 15:35
Tabs. Always tabs.
Dana Lewis
@danamlewis
Jun 29 2017 15:41
@giupo still not looping? What does your OpenAPS pill say if so?
Scott Leibrand
@scottleibrand
Jun 29 2017 15:44
/me makes mental note to check for tabs hidden in any of @applehat's PRs. 😜
Cameron Chunn
@applehat
Jun 29 2017 15:54
@scottleibrand VS code tends to follow whatever format was already there and just use 4 spaces instead of tabs when I press tab. So no worries =P
Scott Leibrand
@scottleibrand
Jun 29 2017 15:57
:+1: good. my main thing is within-file consistency. :)
PopcornPam
@PopcornPam_twitter
Jun 29 2017 15:57
@tim2000s , here are some suggestions/questions to clarify.
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 16:49
@scottleibrand thank you for adding oref0#496 into dev, I will update and test. This helps me because I work out 4 days a week, after working out, I suspend my pump and go into a dry sauna for 20 minutes then directly to a shower. sometimes I forget to resume my pump, I hope this will help me out.
Scott Leibrand
@scottleibrand
Jun 29 2017 16:50
:+1:
Dana Lewis
@danamlewis
Jun 29 2017 17:00
@diabetic_dude_twitter you'll need to make sure you also zero temp before suspending
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 17:03
for how long and where? normally when I get out of my workout I am already 0 temped because of workout mode but after 30 mins w/ no insulin I tend to raise fast... so set a 0 temp for 30 may be good but where to set it ?
in nightscout I assume but I have never done a 0 temp
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 17:11
got it, In careportal set to temp basil start then the time (for me to 30 mins) then the basil value at 0
Dana Lewis
@danamlewis
Jun 29 2017 17:13
On the pump
Set it on the pump and suspend. That's the point of this feature - if you reattach pump and forget to unsuspend and the temp has ended, it will resume.
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 17:15
if I set a temp to 30 mins at 0 why would I also suspend? (sorry for the question just want to understand the process)
Dana Lewis
@danamlewis
Jun 29 2017 17:16
Because OpenAPS might decide you need a different temp and override that
And you won't have the pump connected, so it will be delivering insulin but not to your body, so net iob will be messed up
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 17:17
ok got it, temp basil to 0 on the pump for needed time suspend pump and see what happens
Dana Lewis
@danamlewis
Jun 29 2017 17:18
Suspend (until/unless you use this new feature) prevents OpenAPS from setting temps. With this feature, once any zero temp finishes, it can unsuspend. So this feature may not be preferred by many people, but for people likely to forget to unsuspend, it's a good option.
Even without using the feature, zero temp and suspend is the recommended behavior. So OpenAPS doesn't think you have gotten insulin delivered that hasn't gone into your body.
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 17:19
I will test this tonight, I forget more times than not and tend to go high. and If i do not suspend I also go high because of the wrong IOB
Dana Lewis
@danamlewis
Jun 29 2017 17:19
Any oref1 user in particular needs to be doing this behavior, because smbs going while pump is unattached and unsuspended will expedite how much iob can stack up that's not actually going into your body
Scott Leibrand
@scottleibrand
Jun 29 2017 17:19
and when you reconnect the pump, try to remember to resume it: that will allow OpenAPS to resume basal delivery (or set high temps) as needed. if you forget, it will wait until the pre-programmed zero temp expires before doing so (if this feature is enabled)
Jorge Aguilar
@jonahtaxt
Jun 29 2017 17:22
Could it be done using ifttt to send a 0 temp and then cancelling that temp?
Dana Lewis
@danamlewis
Jun 29 2017 17:24
Not sure you can cancel temp if it's still suspended without unsuspendig first
Jorge Aguilar
@jonahtaxt
Jun 29 2017 17:25
It definetly has to be suspended? I was wondering of it could be done with a 0 temp
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 17:25
I will test tonight, and see what I get... I am going to set the 0 temp to 30 mins and go into the sauna for 20 and the shower for 10 then unsuspend when I get out.
Dana Lewis
@danamlewis
Jun 29 2017 17:25
If you set a zero temp and don't suspend, OpenAPS may override with whatever temp it thinks you need
Suspending locks it into place
Jorge Aguilar
@jonahtaxt
Jun 29 2017 17:26
Oh ok. Got it
Dana Lewis
@danamlewis
Jun 29 2017 17:26
So that's the only way to ensure accurate job tracking right now (until someone gets annoyed enough to finish the mmhistorytool integration so just suspending will correctly track zero iob)
*accurate iob tracking
The other reason zero temp and suspend is a good habit is because it forces you to cancel any other temps that might be running
Jorge Aguilar
@jonahtaxt
Jun 29 2017 17:29
Thanks @danamlewis
Dana Lewis
@danamlewis
Jun 29 2017 17:30
:+1:
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 17:36
is there an easier way to change wireless networks on the fly? I cant update my rigs on certain networks so it would be nice to easily just connect to my phone and update then go back to my other restricted network. Rightnow I am editing my wpa_supplicant.conf and rebooting every time I update
dan lightner
@danimaniac
Jun 29 2017 18:01

@scottleibrand Not trying to be contrary here. I have SMB disabled. I have never used it yet. Does that lessen your concern over missed insulin caused by not suspending the pump for showers or am I missing something else entirely? My max basal rate set in my pump is 3.5 u/hr. Even if my BG is high or rising and my rig has set a temp basal of 3.5u/hr, a 10 min shower (that's a long shower for me) without suspending the pump causes me to miss 0.58 u of insulin.

if you don't suspend, and BG is rising, then oref1 may decide it needs to SMB, in which case you could miss quite a lot of insulin, and run high for a few hours afterward.

Dana Lewis
@danamlewis
Jun 29 2017 18:02
..I’d still zero and suspend regardless so it can high temp properly when you put the pump back on and make up for the 0.58 missed
otherwise it’ll play catch up/be slightly off in calculations for the next hour or two
@Kdisimone would apprecate your eyeballs on openaps/docs#908 when you get a chance later.
dan lightner
@danimaniac
Jun 29 2017 18:16
Thanks, @danamlewis . I think sometimes we worry too much about exact treatments, tenths of units (even hundredths), exact carb counting, etc. I think you even count a portion of your carb intake and let the rig take care of the rest. I love OpenAPS (and you and Scott) for several reasons, but the top 2 are: 1) tighter control, obviously, and 2) freedom from the "treatment stranglehold". #YDMV, right?
Dana Lewis
@danamlewis
Jun 29 2017 18:17
Total YDMV :) :+1:
peterfulvi
@peterfulvi
Jun 29 2017 18:18
@jonahtaxt
shoudl i just update my oref 0 branch
peterfulvi
@peterfulvi
Jun 29 2017 18:36
I upadated oref0 setup and ran it and it was different. It looked loike the older setup there was no colored text and no questions for oref1 setup or max iob. Did i do something wrong
Dana Lewis
@danamlewis
Jun 29 2017 18:36
did you run master?
the changes to setup are on dev
peterfulvi
@peterfulvi
Jun 29 2017 18:39
i ran cd && ~/src/oref0/bin/oref0-setup.sh
Dana Lewis
@danamlewis
Jun 29 2017 18:42
git branch
John Sjolund
@sjolundjohn
Jun 29 2017 18:46
Where is the best place to read through options for oref1 that can be configured?
Cameron Chunn
@applehat
Jun 29 2017 18:47
@danimaniac I think Scott's main concern was with SMB - in 5 minutes it could in theory deliver a unt or two of correction bolus that it would assume as IOB and throw off all the math.
I've seen plenty of 1u SMBs.
Not a life / death concern, but still one.
Dana Lewis
@danamlewis
Jun 29 2017 18:50
@sjolundjohn would love PRs to the oref1 page to improve it
John Sjolund
@sjolundjohn
Jun 29 2017 18:50
OK - have been reading those - they do not have some of the step by step. I will get on it.
Dana Lewis
@danamlewis
Jun 29 2017 18:51
thx :+1: (keeping in mind we do NOT want to explain how to add the enable flag explicitly; but anything else would be great to add that’s missing)
John Sjolund
@sjolundjohn
Jun 29 2017 18:51
I was just writing, it seems like step by step is not what is wanted

Question - I mix mg/dl and mmol/dl in my setup. I was not feeling 100% confident with autotune because of this.

Any known concerns or should it in theory all work?

Dana Lewis
@danamlewis
Jun 29 2017 18:52
I do think there needs to be some nod to more clearly articulate which preferences can be toggled - but without completely duplicating the content on preferences.json that explains in detail each thing
in theory should work given the plumbing, but I would want to look at data, setup, etc. to be able to have a stronger opinion about where there’s likely to be errors or not
roniziv
@roniziv
Jun 29 2017 19:32
Hi everyone. My kid uses Medtronic veo 754 with firmware 3.1E 1.1. Is it possible to configure this pump to work with OpenAPS?
Thanks, Roni
roniziv
@roniziv
Jun 29 2017 19:35
@danamlewis yes it does
Dana Lewis
@danamlewis
Jun 29 2017 19:35
then no, it doesn’t have the ability to set remote temp basals so not loopable
roniziv
@roniziv
Jun 29 2017 19:36
)-: is there a way to downgrade the firmware?
Dana Lewis
@danamlewis
Jun 29 2017 19:36
no
Cameron Chunn
@applehat
Jun 29 2017 19:37
@roniziv I was in the same boat. Had to find a used 722 because my 754 was not compatible.
Quite a lot of work has gone into trying to find work arounds for ways to talk to the 754, but there just isn't a good way to loop the PC Connect firmware pumps.
roniziv
@roniziv
Jun 29 2017 19:39
thanks, I guess we'll have to wait for the 670 to come out and my HMO to allow me to replace the pump ahead of shcedule as we're "tied" to this pump for the next 4 years ...
Cameron Chunn
@applehat
Jun 29 2017 19:40
I was able to find my 722 for $300. If your willing to pay a little out of pocket, its possible.
roniziv
@roniziv
Jun 29 2017 19:42
we're in Israel, I'm not sure supplies will fit and I'm not really comfortable with buying critical medical device for my son on CraigsList...
Cameron Chunn
@applehat
Jun 29 2017 19:44
All supplies from a 754 will work in any 7 series pump. And while I understand that concern, the same safety measures that are in place on a 754 pump exist on the 722/723 pumps.
The only real difference in the 723 and 754 are cosmetic + the lockdown in the firmware.
(maybe other minor changes, but none based around device safety)
roniziv
@roniziv
Jun 29 2017 19:45
what about medtronic insurance?
Cameron Chunn
@applehat
Jun 29 2017 19:45
I don't understand the question. Do you mean warranty?
roniziv
@roniziv
Jun 29 2017 19:46
yes (-:
Cameron Chunn
@applehat
Jun 29 2017 19:46
Used devices are of corse out of warranty - and theres a good chance that any pump sent in for warranty work will have its firmware upgraded as well.
Tho that part is not really a huge concern
Keep your 754 pump.
If the used pump develops problems, worse case, you're back to standard, non-looping 754 therapy.
roniziv
@roniziv
Jun 29 2017 19:47
you're probably right
Cameron Chunn
@applehat
Jun 29 2017 19:47
I use a 6+ year old 722 every day and have no issues, but I still have my 754 at home just in case =)
roniziv
@roniziv
Jun 29 2017 19:48
will 722 from US work with Enlite sensor bought in Israel (probably european)
I bought minimed connect in US (not sold in Israel) and found out that it doesn't work with non-US sensors ...
Cameron Chunn
@applehat
Jun 29 2017 19:51
I don't believe so. US ISM band is in the 915MHz range, while the rest of the pumps run in the EU's 868MHz allocation.
Scott Leibrand
@scottleibrand
Jun 29 2017 19:51
I think the WW pumps use the 868MHz band instead of the 916MHz one used in the US. So you might want to get a WW pump from somewhere like Europe instead of a NA pump from the US.
Cameron Chunn
@applehat
Jun 29 2017 19:51
If you were to also get a transmitter from a US pump, the sensors themselves are all the same.
roniziv
@roniziv
Jun 29 2017 19:56
aargh )-: and I've always believed that upgrading my software to the latest version would allow me to enjoy the latest features...
Tim Street
@tim2000s
Jun 29 2017 20:06
US 722 will work with sensors bought from anywhere. The key is where you got the transmitter from. I've used US sensors with a WW pump, but my transmitter is WW.
Shane Mitchell
@Stavrosnco
Jun 29 2017 20:20
Has anyone had issues with Lithium Ion battery life with the explorer setup? I have both: http://www.robotshop.com/en/37v-2000mah-5c-lipo-battery.html and https://www.sparkfun.com/products/8483 and I only get about 6-8 hours from full charge to dead. I know there are higher capacity batteries but is this a typical experience?
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:21
I normally get about 8 hours checking the links but I think I have the same batteries
I have both of those but the one on the second link only gives me about 4 hours
give me one sec
Shane Mitchell
@Stavrosnco
Jun 29 2017 20:22
Ok thanks, just wanted to see if I was in the ballpark because I somehow got in my head that it would last around 16
I've also found the second one to burn down a bit faster
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:24
this is my current favorite battery https://www.adafruit.com/product/1781
Tim Street
@tim2000s
Jun 29 2017 20:25
@Stavrosnco most find that a 2000mAh battery lasts about 12-14 hours with EXB.
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:25
that one will last me about 10 depending on the load the Edison takes (how much it is working)
Tim Street
@tim2000s
Jun 29 2017 20:25
Doesn't really matter whether lipo or Li-iob
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:27
@Stavrosnco are you tethering to your phone to get to the internet most of the time? Or do you connect directly to a wireless network?
Shane Mitchell
@Stavrosnco
Jun 29 2017 20:34
I might have to check that one out, I like the cylindrical style
I do use WiFi most of the time, probably only tethered for an hour total with each battery
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:35
this is the case I use for that battery https://www.tinkercad.com/things/4a6VffpcuNt
Shane Mitchell
@Stavrosnco
Jun 29 2017 20:35
thank you!
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:36
I an trying to find out why mine drain like they do, I think it may be the bad reception (thick concrete walls)
Shane Mitchell
@Stavrosnco
Jun 29 2017 20:36
@tim2000s , what is EXB?
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:36
explorer board I think
Shane Mitchell
@Stavrosnco
Jun 29 2017 20:36
ah ok
Yeah I'm only getting about half that usage with either of those so maybe I should try the adafruit cylindrical one
does the board screw into that case or just clip in place?
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:38
yeah I think that is what @danimaniac also uses
it kind of slides in, it is a very tight fit. VERY tight.
put the battery in before anything else if you use that case.
What I do because of battery drain issues is carry 2 rigs during the day, one I charge at my desk while I work
and the other I carry with me
and switch them out as needed.
I also carry a rileylink
Shane Mitchell
@Stavrosnco
Jun 29 2017 20:40
smart, I have an Rpi3 as my original rig and recently got the Edison so I'll have to play around with which one to use where
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:42
yeah, I have a Rpi2 that I am working on for the house that I want to use with a TI stick for great range while at home
Shane Mitchell
@Stavrosnco
Jun 29 2017 20:42
The TI sticks are awesome, that's what I use at home and it covers me pretty much everywhere through multiple walls
Diabetic_Dude
@diabetic_dude_twitter
Jun 29 2017 20:43
I just got my first one last week. still working to figure it all out. I think I am going to need to get a debugger next.
mkericson
@mkericson
Jun 29 2017 20:56
Regarding Battery life. Edison Board - Has anyone considered - disconnecting the constant on LED and connecting a momentary switch -n-line to verify it is on - rather than having the LED burn constantly?
Scott Leibrand
@scottleibrand
Jun 29 2017 21:05
the LED battery drain is minimal: probably less than 5 minutes per charge. but because the bright LEDs are annoying when sleeping, newer Explorer boards should have a higher-ohm resistor and run dimmer.
If anyone wants to work on battery saving, you could contact Morgan and ERD and ask him about testing his cc1110 firmware that allows the 900MHz radio to sleep when not in use.
mkericson
@mkericson
Jun 29 2017 21:21
Thanks. I should have a new Explorer Board & flashed Edison board arriving from them today :)
Carl Wehtje
@cjwehtje
Jun 29 2017 21:22
Anyone able to advice why Nightscout openAPS and pump pills are not showing any information (unkown) although rig is uploading CGM values, basal and other treatments fine? Thanks
dan lightner
@danimaniac
Jun 29 2017 21:25
@diabetic_dude_twitter I am using the OpenAPS reference design rig including the 2000mAh battery in this case: https://github.com/danimaniac/OpenAPS-Explorer-Board-Edison-vented-case/tree/w/2000mAh-battery I am thinking of switching to the 18650 battery and case, but have not yet.
Pete Schwamb
@ps2
Jun 29 2017 21:25
the cc1110 in non-rx mode draws a very tiny portion of current (2ma) compared to the edison (100ma) The most you’ll get even if you sleep the cc1110 100% of the time, is a 2% savings.
Pete Schwamb
@ps2
Jun 29 2017 21:32
However, that same change on a RileyLink could be fairly large, as the baseline draw is much smaller, so you’d be looking at a much larger % gain in battery life.
Scott Leibrand
@scottleibrand
Jun 29 2017 21:35
@ps2 good to know. thanks for the perspective.
fiberfan
@fiberfan
Jun 29 2017 23:55
A couple of days ago my rig stapped updating the pump and openaps pills on nightscout while still updating temp basals. It would be helpful to know which of the commands in cron do that update as that will give me a place to start troubleshooting.
I also lost the bg forecast purple lines.
Ops, stapped should be stopped.