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

7th
May 2017
susieanneh
@susieanneh
May 07 2017 00:01
When I open putty on the com port it just sits there.... won't open to login
Eric
@ecc1
May 07 2017 00:03
@ThomasEmge if your apt-get upgrade installed bluez also, you may have conflicts. Does apt-cache bluez show an installed version? If so, I'd do an apt-get purge bluez to get rid of the Debian one, so only the one in /usr/local gets used.
Thomas Emge
@ThomasEmge
May 07 2017 00:13
@ecc1 the upgrade did not bring bluez in. bluetoothd --version still shows 5.37. I was wondering if the upgrade brought in update libraries which would impact the compiled results in bluez if redone.
susieanneh
@susieanneh
May 07 2017 00:13
i got it !!! thanks again
Robin Kirkman
@esialb
May 07 2017 00:13
@susieanneh hit the enter key?
susieanneh
@susieanneh
May 07 2017 00:18
im in now but following the instructions its not asking me for passwords
Robin Kirkman
@esialb
May 07 2017 00:18
it won't ask for passwords if you run as root
susieanneh
@susieanneh
May 07 2017 00:18
where is says my edisonhost name should i put in my host name i created
Mark Brighton
@seattlebrighton
May 07 2017 00:20
Hi! Can someone help me tell my Edison rig to trust the cert from GitHub? I'm trying the wget for GitHub/papertrail and it's telling me the GitHub cert isn't trusted. Did I miss a step?
Thomas Emge
@ThomasEmge
May 07 2017 00:25
@ecc1 at bt-pan client I am still getting an dbus.exceptions.DBusException: org.bluez.Error.Failed: Input/output error message (after the apt-get upgrade) however hciconfig is now showing me information.
Eric
@ecc1
May 07 2017 00:26
OK, is the patchram command running now with a --bd_addr ... argument? (in the ps awx output)
It should match the MAC address printed by hciconfig.
Robin Kirkman
@esialb
May 07 2017 00:27
@seattlebrighton your internet may be being intercepted. the github cert should be trusted by default
Eric
@ecc1
May 07 2017 00:30
Can anyone who has configured the power button (on Sparkfun or Intel mini breakout boards) to do a clean shutdown, please share the setup?
Robin Kirkman
@esialb
May 07 2017 00:31
@ecc1 would that be a good feature for jublinux 0.2.0?
Eric
@ecc1
May 07 2017 00:32
I think so, but it might be irrelevant for Explorer board users (does it have a power button?). And I'm running stretch :-)
Thomas Emge
@ThomasEmge
May 07 2017 00:39
@ecc1 so it is an either or situation. With the line uncommented in /etc/rc.local I get multiple brcm_patchram_plus processes and 1 has the --bd_addr argument but nothing as an output with hciconfig. With the line commented out, I only get brcm_patchram_plus process without the --bd_addr argument but I do information with hciconfig. The MAC addresses are different though. It kind of puzzles me that I have two listed under /var/lib/bluetooth/.
susieanneh
@susieanneh
May 07 2017 00:40
blob
after reboot.. is this normal
susieanneh
@susieanneh
May 07 2017 01:00
ok i accidentaly closed my window, now when reopening through putty it just sits there again
blank screen even when hitting enter
Eric
@ecc1
May 07 2017 01:06
@ThomasEmge the other brcm_patchram_plus seems to be started from the bluetooth_rfkill_event program in /etc/rc.local. Try commenting that out. (I don't use it on my system; not sure why it's there in addition to the "uncomment to enable bluetooth" line, which should be sufficient.)
(And then reboot.)
Thomas Emge
@ThomasEmge
May 07 2017 01:08
@ecc1 and the difference in MAC addresses?
Eric
@ecc1
May 07 2017 01:13
The /usr/local/sbin/bluetooth_patchram.sh script does the right thing, extracting the MAC address from a special partition and calling patchram with the --bd_addr argument. So you should have consistent MAC addresses then.
susieanneh
@susieanneh
May 07 2017 01:26
blob
help with the failed section??
Thomas Emge
@ThomasEmge
May 07 2017 01:30
Thanks @ecc1 this looks so much better now. :smile:
Eric
@ecc1
May 07 2017 01:35
Does bt-pan give you a bnep0 interface now?
Thomas Emge
@ThomasEmge
May 07 2017 01:38
@ecc1 yes I do, testing in the wild coming up next...
Eric
@ecc1
May 07 2017 01:43
Glad to hear it. I'm using the BT Auto Tether app that was recommended on here to turn on the phone's BT tethering automatically when I'm out. It doesn't always turn off automatically, so I still usually do that manually when I get back to a known wifi network (= known to my Edison)
And with my Dana hat on, I'll urge you to write a PR for the openaps docs to clarify how to set this all up.
susieanneh
@susieanneh
May 07 2017 01:48
having trouble connecting to wifi? when i enter iwget -r it does nothing.. how do i know if im connected
katie disimone
@Kdisimone
May 07 2017 01:59
@susieanneh try logging into your router. Use your browser and go to URL 192.168.1.1
susieanneh
@susieanneh
May 07 2017 02:06
ok thanks @Kdisimone
@Kdisimone it wont load
katie disimone
@Kdisimone
May 07 2017 02:13
Google your router's brand name and how to login to it. That should help
susieanneh
@susieanneh
May 07 2017 02:16
i dont think im connected.. is this how i find out
Shawn
@dyjaks
May 07 2017 02:33
Hi all, I'm trying a new setup and I want to see if I have it all set up correctly (and should update the docs if I do). I moved to an xDrip offline setup with BT tethering so my NS instance is on the eidson rig which then uploads to my "main" ns instance. Any carbs/treatment I enter in xDrip+ do not appear on my main NS. Any treatments from the pump do. Is that normal or is xDrip losing data when sending it to the edison?
susieanneh
@susieanneh
May 07 2017 02:58
IT WONT CONNECT TO MY WIFI!!! HELP ME PLEASE! this is super frustrating :(
tepidjuice
@tepidjuice
May 07 2017 03:16
@susieanneh do you have an ssh session to your rig?
or are you connected over serial?
andyhandy
@andyhandy
May 07 2017 03:17
I'm not getting any treatment info (from pump) or render basal info showing on NS. I checked my NS repo was up to date and reinstalled oref0. Openaps loop is working fine though. Any suggestions for troubleshooting would be very welcome.
tepidjuice
@tepidjuice
May 07 2017 03:18
@andyhandy this happened to me when I had future entries in NS. Once I deleted those under settings -> admin tools render basal and treatments came back.
@dyjaks have you disabled mongodb uploads on xdrip?
Shawn
@dyjaks
May 07 2017 03:21
Yes, trying to keep it full offline so only using the API Uplaod
tepidjuice
@tepidjuice
May 07 2017 03:22
If you enable mongodb uploads then xdrip will upload its data to NS as well. Otherwise I think xdrip specific stuff, e.g. carbs entered in xdrip, is not picked up my openaps so it won't get sent to NS.
susieanneh
@susieanneh
May 07 2017 03:22
@tepidjuice i dont know how to answer that.
I followed the directions to the t on the site
many times lol
Shawn
@dyjaks
May 07 2017 03:23
Is your Edison board connected to your computer by usb?
susieanneh
@susieanneh
May 07 2017 03:23
oh yes sorry
Shawn
@dyjaks
May 07 2017 03:24
@tepidjuice: Figures, it's not a huge issue, was just hoping to have a fully sync
tepidjuice
@tepidjuice
May 07 2017 03:25
@susieanneh did you run sudo screen /dev/ttyUSB0 115200? or something likessh edison@192.1.1.111?
susieanneh
@susieanneh
May 07 2017 03:25
if i am connecting my dexcom reciever manually via cord to the edison would i need it to connect to the wifi
no i did not
Shawn
@dyjaks
May 07 2017 03:25
@susieanneh: You would need wifi for it to upload any of that data. Unless you have a solution in place to monitor what is going on offline.
susieanneh
@susieanneh
May 07 2017 03:26
oh no i dont. should i run the code you just sent?
tepidjuice
@tepidjuice
May 07 2017 03:26
so you ran sudo screen /dev/ttyUSB0 115200?
susieanneh
@susieanneh
May 07 2017 03:26
no
i only ran what was outlined on openaps directions
Shawn
@dyjaks
May 07 2017 03:26
What files have you modified? Have you modified a wpa_supplicant.conf?
susieanneh
@susieanneh
May 07 2017 03:26
yes
Shawn
@dyjaks
May 07 2017 03:27
and a /etc/network/interfaces?
susieanneh
@susieanneh
May 07 2017 03:27
yes
Shawn
@dyjaks
May 07 2017 03:27
Can you paste what you put making sure to sensor out any passphrases in the wpa_supplicant.conf?
susieanneh
@susieanneh
May 07 2017 03:27
yep thanks hold on
blob
blob
Shawn
@dyjaks
May 07 2017 03:34
and if you run the command 'ifconfig' as root, what do you get? Is there an entry for a wlan0?
susieanneh
@susieanneh
May 07 2017 03:34
ive done it probably 10 times each and cannot figure out what is going on!
Shawn
@dyjaks
May 07 2017 03:34
You can run 'ifconfig wlan0' as well
which should return something
susieanneh
@susieanneh
May 07 2017 03:34
ok ill try that
blob
blob
Shawn
@dyjaks
May 07 2017 03:38
So the good news is at least the device is there (no idea how it couldn't be) but obviously isn't connected.
What I want you to run now is a tool that will scan wireless networks, I want you to run it and tell me if you find your network in the list
as root: 'iw wlan0 scan'
susieanneh
@susieanneh
May 07 2017 03:38
ok thank you so much!
blob
Shawn
@dyjaks
May 07 2017 03:41
It doesn't look like it's even turned on. What is the output of 'ip link show wlan0'?
Lynne Butts
@flutelynne_twitter
May 07 2017 03:41
This is a first. What is the proper way to remedy this? Rebooting to fix radio errors! The system is going down for reboot at Sat 2017-05-06 22:45:01 CDT!
susieanneh
@susieanneh
May 07 2017 03:42
blob
its my home wifi.. my computer is running off of this.. so it is working for my computer
Shawn
@dyjaks
May 07 2017 03:42
Ok.... so I'm not sure how or why but the wireless device on the explorer board didn't get started.
Which is where all your problems are stemming from.
I can get it turned on the "normal" linux way but the second you turn it off it'll undo it. I'm not sure where in the boot process for aps that it's supposed to turn on wlan0
susieanneh
@susieanneh
May 07 2017 03:44
ok thanks. do i need to return this board?
thank you again
Shawn
@dyjaks
May 07 2017 03:44
Nono, it's not a hardware thing
susieanneh
@susieanneh
May 07 2017 03:44
gotcha
Shawn
@dyjaks
May 07 2017 03:45
If you were to run something like:
ip link set wlan0 up
It's turn wifi on
Then if you ran wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
It should connect to whatever you specified in wpa_supplicant.conf
but those are one off commands if that makes sense. Once the machine is off it "forgets" about them.
susieanneh
@susieanneh
May 07 2017 03:46
the first one it didnt do anything,, just went to another line and the second one showed this
blob
so just keep my stuff charged always!! right?
Shawn
@dyjaks
May 07 2017 03:47
Well, the first one should've done nothing anyways as far as output goes, the second shouldn't have either but it did tell us useful things, so there's that
susieanneh
@susieanneh
May 07 2017 03:48
good! your helping me tremendously!!
ok so i havent put the screws/nuts on because they wont be here until next week.. would that have anything to do with anything...im suer green when it comes to building stuff.
Shawn
@dyjaks
May 07 2017 03:49
I don't think it's case sensitive, but I can't think of any other reason for the above output.
No, this is software
susieanneh
@susieanneh
May 07 2017 03:49
k thanks
Shawn
@dyjaks
May 07 2017 03:49
So I want you to updated your wpa_supplicant to this

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

network={
ssid=<YOUR SSID>
psk=<YOUR PSK>
}

case sensitive and the ssid and psk go in quotes
susieanneh
@susieanneh
May 07 2017 03:51
ok im doing it now
Shawn
@dyjaks
May 07 2017 03:52
Once it's done go ahead and save/reboot
susieanneh
@susieanneh
May 07 2017 03:56
rebooting
Scott Leibrand
@scottleibrand
May 07 2017 03:57
@kdisimone your error above was: May 06 15:01:41 edisonSMB pump-loop.log: Checking pump clock: "2017-05-06T15:00:06-07:00" is within 1m of current time: Sat May 6 15:01:41 PDT 2017
susieanneh
@susieanneh
May 07 2017 03:58
blob
@dyjaks
Shawn
@dyjaks
May 07 2017 03:58
Should be good
susieanneh
@susieanneh
May 07 2017 03:59
i think you fixed it!!!!! You Are A MAGICIAN!!!!!
Scott Leibrand
@scottleibrand
May 07 2017 03:59
The oref0-pump-loop script doesn't try to set the pump time if the time check fails: perhaps a PR is needed to do that.
susieanneh
@susieanneh
May 07 2017 03:59
Thank you so much!! I really appreciate it. side note: will it reset if it looses power?
Shawn
@dyjaks
May 07 2017 04:00
No, it'll work every time assuming you are in range of wifi and the password/ssid do not change
susieanneh
@susieanneh
May 07 2017 04:00
AWESOME!! Thanks Again!
Shawn
@dyjaks
May 07 2017 04:01
No problem.
99% sure it was you had 'Network' and not 'network' which sounds stupid and I didn't think it was case sensitive but here we are
Dana Lewis
@danamlewis
May 07 2017 04:10
Big :clap: and :raised_hands: and :+1: to everyone's who's been stepping up to help troubleshoot and build today. We've been out of signal and will be so tomorrow too so awesome to see everyone paying it forward :smile:
susieanneh
@susieanneh
May 07 2017 04:12
πŸŽ‰πŸŽ‰πŸŽ‰πŸ™πŸ»πŸ™πŸ»πŸ™πŸ»
andyhandy
@andyhandy
May 07 2017 05:12
@tepidjuice my NS afmin
@tepidjuice my NS admin tools page is showing 0 future entries
tynbendad
@tynbendad
May 07 2017 05:48
stupid question, but... i'd like my rig to email me the daily autotune log - i don't suppose we can email from it?
jmcrawford
@jmcrawford
May 07 2017 05:54
Your rig can send email, but you'll need to do some legwork to figure out how your ISP is set up to allow it. I'm using Pushbullet to send autotune logs, alerts, a few other things.
tynbendad
@tynbendad
May 07 2017 05:59
how do you use pushbullet, i don't see a linux mention on their site
thx
jmcrawford
@jmcrawford
May 07 2017 06:07
Wait - I said pushbullet, but I should have said pushover. I had it set up for alerting out of NS, so it was trivial to add it to the rig.
I think pushover is being used in some of the new features in dev too...
tynbendad
@tynbendad
May 07 2017 06:10
ah, that makes sense - i already have pushover also
do you have an example script/command?
jmcrawford
@jmcrawford
May 07 2017 06:22
curl -s --form-string "token=<your_api_token>" --form-string "user=<your_user_key" --form-string "title=<subject>" --form-string "message=<body_content" https://api.pushover.net/1/messages.json
You can put almost anything into the <body_content> - anything you can put between ``
There is a limit of 1024 characters, so for the Autotune report I run it twice, once with head -c 1024, once with tail -c 1024.
tynbendad
@tynbendad
May 07 2017 06:45
awesome! thx
dhermanns
@dhermanns
May 07 2017 06:45
@danamlewis I'm using enlight sensors. They are working fine with mmcommander and Nightscout. But now I would like to test openaps, too.
PieterGit
@PieterGit
May 07 2017 06:56
the new smb pump log uses colors which is very nice in tail -f mode, but horrible for less. Is there a unix pager that support ansi colors?
tynbendad
@tynbendad
May 07 2017 07:39
doesn't less support ansi colors?
PieterGit
@PieterGit
May 07 2017 09:40
found it... less -R
that's much better than 37m,ESC[0m171ESC[0mESC[37m,ESC[0m171ESC[0mESC[37m,ESC[0m170ESC[0mESC[37m, ESC[0m167ESC[0mESC[37m,ESC[0m164ESC[0mESC[37m,ESC[0m161ESC[0mESC[37m,ESC[0m157 ESC[0mESC[37m,ESC[0m152ESC[0mESC[37m,ESC[0m148ESC[0mESC[37m,ESC[0m142ESC[0mESC[37m,ESC[0m136ESC[0mESC[37m,ESC[0m131ESC[0mESC[37m,ESC[0m126ESC[0mESC[37m,ESC[0m122ESC[0mESC[37m,ESC[0m118ESC[0mESC[37m,ESC[0m114ESC[0mESC[37m,ESC[0m111ESC[0mESC[37m,ESC[0m108ESC[0mESC[37m,ESC[0m106ESC[0mESC[37m,ESC[0m104ESC[0mESC[37m,ESC[0m102ESC[0mESC[37m,ESC
PieterGit
@PieterGit
May 07 2017 10:14
Did somebody already create a case with USB protectors, to make sure the USB connectors and cables are more protected? I 'm thinking of adding it to @danimaniac case https://github.com/danimaniac/OpenAPS-Explorer-Board-Edison-vented-case (2500 mah version)
andyhandy
@andyhandy
May 07 2017 10:45
anyone have any suggestions on how to troubleshoot missing NS temp basals and treatments? i've tried everything i can think of over the last 48 hours and nothing has worked. thanks
PieterGit
@PieterGit
May 07 2017 11:11
@andyhandy : where are they missing? On the Rig or in Nightscout?
did you check ~/myopenaps/monitor/temp_basal.json
@scottleibrand @danamlewis if you're back from hiking... Can you explain why a temp basal of 0.5 is suggested in this case? I would expect a EventualBG 2.6 and UAMpredBG 2.2 (both severe hypo's) would postpone temp basals and set the rate to 0.
image.png
andyhandy
@andyhandy
May 07 2017 11:21
@PieterGit they are not showing in nightscout. Loop is working perfectly otherwise.
monitor/temp_basal.json looks normal
PieterGit
@PieterGit
May 07 2017 11:24
@andyhandy : check your API_SECRET and NIGHTSCOUT_HOST, you could try a openaps upload or openaps ns-loop to debug the issue
PieterGit
@PieterGit
May 07 2017 11:33
@andyhandy : are you on dev? better to try each of the openaps upload-ns-status; openaps upload-pumphistory-entries; openaps upload-recent-treatments (the upload alias will hide the output)
andyhandy
@andyhandy
May 07 2017 11:34
@PieterGit hmmm openaps ns-loop is showing this message after refreshed temptargets: "Warning: Argument order has changed: please update your oref0-meal device and meal.json report to place carbhistory.json after basalprofile.json and meal-carbs". Any ideas?
i'm on master
PieterGit
@PieterGit
May 07 2017 11:37
I got the same warning on dev yesterday. I changed the order. If you have a spare test rig, I would install that with latest dev and debug the issue there. a lot of nice new features are coming to dev soon.
Scott Leibrand
@scottleibrand
May 07 2017 12:07
@PieterGit that looks like a bug: notice the factually incorrect statement about eventual BG. I think I just fixed that on my latest feature branch: might be worth a cherry pick.
andyhandy
@andyhandy
May 07 2017 12:16
@PieterGit this could be the issue:
root@myedison2:~/myopenaps# openaps upload-recent-treatments
{"status":500,"message":"Mongo Error","description":{"name":"MongoError","message":"quota exceeded","driver":true,"index":0,"code":12501,"errmsg":"quota exceeded"}}\
Scott Leibrand
@scottleibrand
May 07 2017 12:33
@PieterGit just opened openaps/oref0#458 for that if you want to try it.
also merged uam-cob branch PR to dev, if anyone wants to update, you'll get better blending of the UAM prediction with the COB one for more sensible SMB'ing on late post-meal rises
andyhandy
@andyhandy
May 07 2017 12:44
@PieterGit yes that was the issue - i repaired the database on mlab and it is working again :smile: thanks for your help!
cameronrenwick
@cameronrenwick
May 07 2017 14:34
@scottleibrand - just pm'd
Shawn
@dyjaks
May 07 2017 14:50
What would cause the basal in settings/profile.json to differ from the one in settings/basal_profile.json? I changed a setting last night and it is correctly reflected in basal_profile, but profile still has the old value
susieanneh
@susieanneh
May 07 2017 15:31
hi everone! I'm trying to run the dependencies and then i run
any suggestions
PieterGit
@PieterGit
May 07 2017 15:40
@scottleibrand you referred to openaps/oref0#458 . Are you sure that is right? I can't find a commit that fixes problems with setting a temp basal when I expected it to 0-temp basel there. I'll try to merge stuff from dev to my branch again, but am a bit short of dev rigs. Because I found possible problems that are TI USB related, I would like try to revive one of my kernel 4.x edisons (xfstk recovery) first. I don't want to touch my production edison at the monent. The token stuff is progressing, but it's more complex than I thought and I want to remove several of the curl calls in one go.
@susieanneh try sudo apt-get install curl first
susieanneh
@susieanneh
May 07 2017 15:45
ok thank ill trynow
still says command not found
blob
PieterGit
@PieterGit
May 07 2017 15:48
@susieanneh it says 'sudo' command not found, so it's missing apt-get install sudo. But if your following the docs, I would expect that this error should not occur.
susieanneh
@susieanneh
May 07 2017 15:49
i am but im a super beginner. im just thankful for you guys on here :)
(assuming you have an explorer board)
susieanneh
@susieanneh
May 07 2017 15:53
ok i will thanks again!
Shawn
@dyjaks
May 07 2017 15:55
I just started a new job, so it might take a bit, but we might need a linux for beginners part of the tutorial.
@susieanneh - for context the commands mean (and why they wouldn't work)
sudo - super user do. If running as a normal user, it gives that user temporary elevated rights. If you run at as root (like you did) it is meaningless.
apt-get - Aptitude get. Aptitude is a package manager, any time some command is not found it is not installed (or you mistyped it). The first place to look is to install it with apt-get install <package name>. Must be run with elevated rights.
susieanneh
@susieanneh
May 07 2017 16:09
thanks that helps alot! its working now. i think i did some steps without being connected last night and it didnt work... i think :)
PieterGit
@PieterGit
May 07 2017 16:12
@susieanneh : please try to indicate and look back in our docs where it went wrong. It would be good to make the docs clearer if possible.
@dyjaks : there are already quite some unix commands explained on http://openaps.readthedocs.io/en/latest/docs/Resources/troubleshooting.html?highlight=sudo (but apt-get and sudo are missing). Can you create a PR for that?
susieanneh
@susieanneh
May 07 2017 16:16
ok i will do:) I have another question. I have not been using the 522 pump at all. i just recieved it yesterday... should i wear it for a couple days before i run the oref0- setups
script
Shawn
@dyjaks
May 07 2017 17:00
You should wait, make sure your basals are reasonable
susieanneh
@susieanneh
May 07 2017 17:01
Ok πŸ‘πŸΌthanks a million!
PieterGit
@PieterGit
May 07 2017 17:30
@scottleibrand @danamlewis : is it safe to use oref0 rigs and oref1 rigs together? I just switched rigs from oref1 to oref0 and I noticed my oref0 rigs sets a 30 minute temp basal of 0.53 where the oref1 rigs just set a 120min 0-temp a few minutes ago.
PieterGit
@PieterGit
May 07 2017 17:55
Some of my 24 hour SMB findings:
  • very nice feature
  • 754 single rig works, but needs more testing with multiple rigs
  • apple pie is extremely good for testing SMB (I would suggest to test all SMB settings with apple pie :cake: :smile: )
  • preferences need to be renamed to make them consistent
  • my nightscout instance seems slower than before. The new UAM purple line seems quite accurate so far. Shouldn't we add a seperate "Show OpenAPS microbolus forecast"
  • feature seems to need quite some more field testing to check if it works in all conditions
Matthias
@ceben80
May 07 2017 17:57
@PieterGit :+1: ....apple pie :smile:
Scott Leibrand
@scottleibrand
May 07 2017 18:09
Probably best to have all rigs running the same code and settings. If they're fighting over what temp to set, you'll just need to manually set a zero temp if they lose pump comms.
Shawn: do you have autotune enabled on your rig? If so, it controls the basals in profile.
@pietergit no, not sure about #458. I'm still in the Grand Canyon. :smile:
PieterGit
@PieterGit
May 07 2017 18:19
@scottleibrand : enjoy the view and the hike with @danamlewis instead of your mobile phone :smile: . there are more than enough things I can do this week
Matthias
@ceben80
May 07 2017 18:27
@scottleibrand enjoy your time in the Grand Canyon!
Shawn
@dyjaks
May 07 2017 18:38
@Scott, I do. I'm messing with xdrip and forgot that autotune would be pulling from the main NS instance and thus had enough data to go off of. Thanks
fidoman
@efidoman
May 07 2017 18:54
I'm using the Dev version now with UMA SMB turned on for bolus and carbs. Been trying to test it all day but with exercise my blood glucose levels have been too good to trigger any SMB. I even had 72grams carbs for lunch with only 1/2 the manual bolus and still no SMB necessary yet. Might try apple pie next. LOL
tynbendad
@tynbendad
May 07 2017 19:01
@PieterGit :+1:
@jmcrawford openaps->pushover worked great for me, thx much!
PieterGit
@PieterGit
May 07 2017 19:04
Warning: please don't switch from a oref1 to a oref0 rig if your glucose level is going down. That can cause a hypo if you don't set a manual zero temp.
live4sw
@live4sw
May 07 2017 20:14
I assume the answer to this is yes, but it's fine to have a max_iob with a decimal in it, right?
Have lowered my basals a bunch (recent weight loss) and want to reduce it to 1.5
basals are in the 0.55-0.6 range other than in late morning when it's higher (0.85). i figure 1.5 is maybe slightly conservative but want to start there and maybe go back up if it's limiting things too much
PieterGit
@PieterGit
May 07 2017 20:27
@live4sw : use 1.5 is fine to start with (don't use regional settings, such as a ,)
you will check in the pill if it's using the max or not. it's better to be conservative, than to change a lot of settings in one go. see if it works first.
Shawn
@dyjaks
May 07 2017 20:34

Another Bluetooth question. I use the "BT AutoTether" app as recommended in the wiki but still 2-3 times a day tethering gets turned off on it's own and the only fixes have been to either reboot the phone or serial into the Explorer and re-pair the two devices.

From how it reads in the wiki it seems that is just normal for some phones, is there a way around it or just expected behavior?

Dana Lewis
@danamlewis
May 07 2017 21:14
Wow: talk about putting UAM and new rigs to the stress test. 7 hours of sometimes online sometimes not, plus 12.2 miles of hiking. Raised my target to 130 for this time period and didn't enter any of the carbs I ate (20g, 8g, 28g, 20g, then a bunch of 8s, etc.) bg max spiked at 170; touched down to 80 once; but otherwise hung out for all that time around 120-130.
Also figured out for those of us who use adjust_targets_when_high - probably likely to want to turn that off in preferences before going offline; (at one point when I had hit 170, it adjusted my ideal 130 target down to 116).
diabeticgonewild
@diabeticgonewild
May 07 2017 21:32

For anyone who uses a Dexcom receiver with their OpenAPS:

There is a much better alternative to TallyGear Dexcom Receiver cases and 3D printing custom Dexcom Cases. Check this out! This is much more cheaper and available then the most common cases! It's absolutely brilliant and is a "disruptive innovation"!

http://imgur.com/a/TyHHY

I hope this helps!
fjungman
@fjungman
May 07 2017 21:34
@danamlewis Totally confused. You and Scott put in superhuman time into oref0 & oref1, plus walking everyone through their problems, AND you have time to do a 12 mile hike??? When are you two going to put up the source code for your time machine???
Kate Farnsworth
@ELUTE
May 07 2017 21:34
@danamlewis I am getting this with our updated rig Starting supermicrobolus pump-loop at Sun May 7 17:30:09 EDT 2017 with 11 second wait_for_silence:
Waiting up to 4 minutes for new BG: ls: cannot access monitor/pump_loop_completed: No such file or directory
Radio ok. Listening: .No pump comms detected from other rigs
Error, retrying
Waiting for 30s silence before mmtuning
Radio ok. Listening: .No pump comms detected from other rigs
Listening for 30s silence before mmtuning: .No pump comms detected from other rigs
mmtune: "916.636", 5, -68 waiting for 16 second silence before continuing
Radio ok. Listening: .No pump comms detected from other rigs
Sleeping 9;
Any ideas?
diabeticgonewild
@diabeticgonewild
May 07 2017 21:34
LOLzzz
Kate Farnsworth
@ELUTE
May 07 2017 21:35
maybe it just isn't getting bg's from NS
Dana Lewis
@danamlewis
May 07 2017 21:37
@fjungman that's on my Christmas wish list, actually ;)
diabeticgonewild
@diabeticgonewild
May 07 2017 21:37
There is some type of time machine on http://hackaday.io, just FYI
Dana Lewis
@danamlewis
May 07 2017 21:38
@ELUTE it may not fill that til it loops - how long has it been since you turned that one on?
Kate Farnsworth
@ELUTE
May 07 2017 21:42
55
mins
diabeticgonewild
@diabeticgonewild
May 07 2017 21:42
Does anyone take OpenAPS breaks? I am thinking about taking one this summer, due to water activities. Does it throw anyone off really bad, when coming on or off the loop? Like spontaneously going off the loop, perhaps unplanned?
Scott Leibrand
@scottleibrand
May 07 2017 21:48
@diabeticgonewild make sure your basals and ratios are updated on your pump. Probably run autotune between now and then...
@ELUTE the Error, retrying indicates pump comms are failing. You should probably pause the loop and run things manually to see what fails...
diabeticgonewild
@diabeticgonewild
May 07 2017 21:50
Thanks! Will make sure to put a lot of effort into making sure dosages in general are tuned as reasonably as possible. Will try to also make a repo via VM too for collection of data, especially with the erratic connect/disconnect pump schedule throughout the summer. Although it's experimental, it will likely help.
alternateal
@alternateal
May 07 2017 21:54
@ELUTE what sort of pump is it?
Kate Farnsworth
@ELUTE
May 07 2017 21:55
754
diabeticgonewild
@diabeticgonewild
May 07 2017 21:57

FYI I plan on getting season tickets to this really neat waterpark on the beach, that's huge and even has an indoor section during the offseason when it's too cool to do stuff outside. I plan on hanging out there during the summer when I don't have other obligations. It's good cheap deal and the sun always makes me feel good. Plus I like thrills and this is the closest thing we have to an amusement park, but this is better :)

I plan on playing the "diabetes card" to get accommodations (although I can play it from different angles) saying that I have to reconnect to my pump every 0.5-1.5 hours and have to take a lot of care. Although pumping at a place like this sucks, it's more reliable than injections. I may use my Tandem t:slim during water activities (supposedly people swim with it, but IDK if it is worth the risk...also Aquapaq and other tools compress the infusion set tubing, affecting delivery accuracy...so it's a mess) while keeping my Medtronic 522 running (while disconnected).

alternateal
@alternateal
May 07 2017 21:57
@ELUTE you will need to modify the Prefilght section of oref0-pump-loop.sh file to make it work with a 754.
diabeticgonewild
@diabeticgonewild
May 07 2017 21:58
Also, never handle Medtronic Paradigm pumps with wet hands! (such as when you get out of the shower). Make sure your hands are completely dry when touching the pump. One of the biggest causes for pumps breaking is water getting in between the LCD and underneath the keys, causing the "Button Error"
I also recommend wearing the pump in a zippered waistband (or anything besides a belt clip or leaving it in a pocket) so that it doesn't fall out and hit the floor. Unfortunately, due to shear forces when dropping the pump, the motor module will protrude the actual pump casing if hit hard enough, and will cause an A33 error.
Well, I guess this should go in a PR.
alternateal
@alternateal
May 07 2017 22:00
@ELUTE - mine looks like this:
'''
&& egrep -q "[57][25][234]" settings/model.json \
'''
Kate Farnsworth
@ELUTE
May 07 2017 22:02
ok thank you @alternateal
Dana Lewis
@danamlewis
May 07 2017 22:04
Good eye @alternateal! @ELUTE let us know if that works, and we'll get that merged in
Kate Farnsworth
@ELUTE
May 07 2017 22:05
ok will do
Dana Lewis
@danamlewis
May 07 2017 22:05
Thx :+1:
alternateal
@alternateal
May 07 2017 22:06
@danamlewis I assumed you had done that to stop pumps you hadn't tested. Two days testing 754 WW and it looks really good so thank you once again for a great setup :-)
Dana Lewis
@danamlewis
May 07 2017 22:07
:+1: ya. Thanks for testing and letting us know!
diabeticgonewild
@diabeticgonewild
May 07 2017 22:09
MedWow is sure expen$ive for Medtronic 522/722 pumps now :/
Well some prices aren't that bad, but some people are just plain greedy. $3000 for a used 522 is absolutely insane. I got a brand new 522 for $300 one time, just to put it all into perspective.
Kate Farnsworth
@ELUTE
May 07 2017 22:17
@alternateal where is that file?
Kate Farnsworth
@ELUTE
May 07 2017 22:41
nvm @Kdisimone found it for me :D
dmdfreak
@dmdfreak
May 07 2017 22:45
Current log is saying it's SMBing but not showing in NS. Floating is activated. I'm showing 4 purple lines. Also giving me a zero temp Basel like I would think if it was giving me SMB.
166,185,202,216,228,238,244,249,250,250,246,241,233,225,217,210,203,196,190,184,178,173,168,163,158,154,150,146,143,140,137,135,133,131,129,128,127,126,125,125,125,126]},"minPredBG":151,"IOB":3.854,"duration":30,"reason":"COB: 28, Dev: 149, BGI: -3.5, ISF: 45, Target: 88, IOBpredBG 126, COBpredBG 116, UAMpredBG 362; Eventual BG 362 >= 91, insulinReq 1.4; microbolusing 0.5U. ","COB":28,"eventualBG":362,"units":0.5,"tick":"+23","deliverAt":"2017-05-07T22:38:10.585Z"}
Temp refreshed: monitor/temp_basal.json: {"duration":100,"rate":0,"temp":"absolute"}No smb_enact needed. Temp refreshed: monitor/temp_basal.json: {"duration":100,"rate":0,"temp":"absolute"}
RefreshRemoved duplicate bolus/carb entries:1
ed pumphistory
pumphistory.json: "TempBasalDuration 2017-05-07T17:16:10 head[2], body[0] op[0x16]"
Checking pump clock: "2017-05-07T17:37:39-05:00" is within 1m of current time: Sun May 7 17:38:47 CDT 2017
Error, retrying
Waiting for 30s silence before mmtuning
katie disimone
@Kdisimone
May 07 2017 22:50

You pump time is different than rig time by more than 60sec. This caused me problems yesterday.

I would get suspended temp basals because it thought it would have an smb enacted, but it never enacted because of the time difference and then also never stopped the suspension. Try getting your rig and pump time to match within 60sec

You can check you rig time by doing date to help you get it right while setting pump time

diabeticgonewild
@diabeticgonewild
May 07 2017 22:50
:+1:
katie disimone
@Kdisimone
May 07 2017 22:50
@dmdfreak
rsilvers129
@rsilvers129
May 07 2017 22:51
@diabeticgonewild My friend bought five 722 pumps on eBay this week for $250 to $450 each.
dmdfreak
@dmdfreak
May 07 2017 22:52
Ok I'll do that now @Kdisimone thank you
diabeticgonewild
@diabeticgonewild
May 07 2017 22:54
On Ebay?! Awesome!
@rsilvers129 Thank you for the tip! :D <3
Kate Farnsworth
@ELUTE
May 07 2017 23:06
@danamlewis that worked with the 754
dmdfreak
@dmdfreak
May 07 2017 23:08
SMB shoes now but I expected it to enact wicker with all the examples I've seen. I was around 100 when I ate and meal bolused. Didn't start SMBing till I was at 195
Showing*
katie disimone
@Kdisimone
May 07 2017 23:09
That was probably because of the time error. Now that you have that fixed, you'll notice it enact earlier
Dana Lewis
@danamlewis
May 07 2017 23:10
@ELUTE :+1:
dmdfreak
@dmdfreak
May 07 2017 23:11
I thought it was saying a was under 1m so it was fine. I was misunderstanding it. Thanks again @Kdisimone
Scott Leibrand
@scottleibrand
May 07 2017 23:13
Can one of you open an issue or PR for that? Probably need to clarify the error, and also try oref0-set-device-clocks if it's off.
dmdfreak
@dmdfreak
May 07 2017 23:14
I'm wondering if that's been my problem for the last couple of days and I didn't know it LOL
katie disimone
@Kdisimone
May 07 2017 23:16
@scottleibrand I can when I get home. About two hours
dmdfreak
@dmdfreak
May 07 2017 23:17
If I knew how to do it I would do it. I'm home in 2 minutes
katie disimone
@Kdisimone
May 07 2017 23:43
I'm seeing some odd behavior in smb it seems. Trying to wrap my head around the algorithm and what I'm seeing in the logs/pill. Large carb meal...we get suspended for the first part of meal, BGs stay fairly steady. Now we are 2+hrs after meal and starting to climb. First smb has been delivered...but basals are still suspended. I'm not quite sure I understand how staying suspended would help BG results here. Of course, I'll add screenshots and logs to help this conversation but just overall trying to understand how leaving a suspend for over 2 hours makes sense to continue if you are starting smbs
And...this meal isn't over so I'm not sure it isn't the "right" decision yet. Just it's different than my fingers would do right now...hence the pause for thought
May 07 16:42:03 edisonSMB pump-loop.log:  enact/smb-suggested.json: {"insulinReq":0.21,"bg":133,"reservoir":"153.975","temp":"absolute","snoozeBG":123,"rate":0,"predBGs":{"COB":[133,130,125,116,107,99,92,85,79,73,68,64,60,57,54,52,50,48,47,46,46,46,46,47,48,48,49,50,50,51,51,51,51,52],"aCOB":[133,130,124,117,108,100,93,86,80,74,69,65,61,58,55,52,51,49,48,47,47,47,47,48,49,49,50,50,51,51,52,52,52,53],"UAM":[133,134,134,134,133,132,131,129,127,124,121,117,113,110,107,105,103,101,100,99,99,99,99,100,101,101,102,103,103,104,104,104,105],"IOB":[133,133,133,132,131,130,129,127,125,122,119,116,112,109,106,103,101,100,99,98,98,98,98,99,99,100,101,101,102,102,103,103,103,103,104]},"minPredBG":98,"IOB":2.166,"duration":30,"reason":"COB: 4, Dev: 71, BGI: -10.81, ISF: 38, Target: 90, IOBpredBG 104, COBpredBG 52, UAMpredBG 105; Eventual BG 123 >= 90, insulinReq 0.21; microbolusing 0.1U. ","COB":4,"eventualBG":123,"units":0.1,"tick":"+1","deliverAt":"2017-05-07T23:42:00.676Z"}
katie disimone
@Kdisimone
May 07 2017 23:48
May 07 16:42:03 edisonSMB pump-loop.log: enact/smb-suggested.json: {"insulinReq":0.21,"bg":133,"reservoir":"153.975","temp":"absolute","snoozeBG":123,"rate":0,"predBGs":{"COB":[133,130,125,116,107,99,92,85,79,73,68,64,60,57,54,52,50,48,47,46,46,46,46,47,48,48,49,50,50,51,51,51,51,52],"aCOB":[133,130,124,117,108,100,93,86,80,74,69,65,61,58,55,52,51,49,48,47,47,47,47,48,49,49,50,50,51,51,52,52,52,53],"UAM":[133,134,134,134,133,132,131,129,127,124,121,117,113,110,107,105,103,101,100,99,99,99,99,100,101,101,102,103,103,104,104,104,105],"IOB":[133,133,133,132,131,130,129,127,125,122,119,116,112,109,106,103,101,100,99,98,98,98,98,99,99,100,101,101,102,102,103,103,103,103,104]},"minPredBG":98,"IOB":2.166,"duration":30,"reason":"COB: 4, Dev: 71, BGI: -10.81, ISF: 38, Target: 90, IOBpredBG 104, COBpredBG 52, UAMpredBG 105; Eventual BG 123 >= 90, insulinReq 0.21; microbolusing 0.1U. ","COB":4,"eventualBG":123,"units":0.1,"tick":"+1","deliverAt":"2017-05-07T23:42:00.676Z"}