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

3rd
Dec 2017
tynbendad
@tynbendad
Dec 03 2017 00:19
what does "SMB disabled (!microBolusAllowed)" mean? I just switched to 0.6.0 master from a month old dev and am trying to enable smb always... i recall there was another option besides "enableSMB_always" that was now required but can't remember where i saw that.
oh, maybe its this "Using the pump bolus wizard will prevent SMBs from being enabled for up to 6 hours by the "after carbs" or "always" preferences."
tynbendad
@tynbendad
Dec 03 2017 00:29
oh, never mind - its because autotune hasn't been run yet on the rig, since i just installed
Scott Leibrand
@scottleibrand
Dec 03 2017 00:34
The a52 risk pref controls that bolus wizard override.
To remove a directory like decocare you would want rm -rf ~/src/decocare or similar
tynbendad
@tynbendad
Dec 03 2017 00:50
:+1:
i'm trying an experiment with my son, who no longer boluses reliably (and i'd guess he wouldn't ifttt either) - enabling smb always and telling him not to bolus. this is with humalog, not fiasp... will see if its any better than what he currently does by missing bolus's (and thus not having smb kick in).
he also has trouble keeping his pump on - i'm gonna draw the line at that though, unless you have a new feature for that in oref2?
PieterGit
@PieterGit
Dec 03 2017 00:53
@scottleibrand @danamlewis . Is https://diyps.org/2014/05/29/determining-your-carbohydrate-absorption-rate-diyps-lessons-learned/ still relevant. We did a small test and after 15 minutes, bloodsugar raised from 4.6 mmol/l to 8.7 mmol/l in 30 minutes, so in mg/dl, that's a 73,8 mg/dl rise in 30 minutes. Does that mean I should increase min_5m_carbimpact from 8 to 12.3?
Scott Leibrand
@scottleibrand
Dec 03 2017 00:56
I would not adjust the min_5m_carbimpact based solely on a CAR test. Remember it’s a minimum, so you’d have to rest with the slowest carbs you ever eat for that to be a valid test.
PieterGit
@PieterGit
Dec 03 2017 00:59
ok, so the min_5m_carbimpact is for the carbimpact of very slow carbs (like lot's of fat + sugar). Am I right?
Scott Leibrand
@scottleibrand
Dec 03 2017 01:01
Right. It’s for any time carbs are not kicking in at all. In addition to those kinds of legitimately slow absorbing carbs / equivalents, it also matters when the carbs go straight to the liver and never show up as BG.
A higher minimum decays those carbs away faster. You definitely don’t want it higher than your slowest legitimate CAR, or your COB will disappear while you still have carb absorption.
spaldings
@spaldings
Dec 03 2017 01:02

have tried to reinstall twice with same error: WARNING: The following packages cannot be authenticated!
libmnl0 libnetfilter-conntrack3 dns-root-data dnsmasq-base dnsmasq
E: There are problems and -y was used without --force-yes
Couldn't install hosted dnsmasq

what is hosted dnsmasq?

PieterGit
@PieterGit
Dec 03 2017 01:03
ok, so we can try that with a CAR test with food with a low glycemic index (GI), e.g. nuts
not sure what fixed them but maybe "apt-get install dnsmasq"
bsaunder2002
@bsaunder2002
Dec 03 2017 01:18
New user. Hardware advice. Current plan: Medtronic 722 (just received), Dexcom G4 (previously owned), RasPi 0 W (just ordered amazon), usb to dex for starters - xDripASP soon. I assume to complete I need Riley box thing?, battery system for RasPi, a cellphone, and maybe a Pebble Time? I've tried looking for recent rig setups but cannot find a recent one. Any advice on where to fine details?
spaldings
@spaldings
Dec 03 2017 01:20
@tynbendad @Kdisimone you guys are the best! Ran "apt-get install dnsmasq" and that resolved the Preflight error I was getting in the log.
katie disimone
@Kdisimone
Dec 03 2017 01:23
@spaldings glad to hear it worked 👍🏻
spaldings
@spaldings
Dec 03 2017 01:25

think I spoke to early. on the 2nd cycle got the same preflight error message regarding the port.

Waiting up to 4 minutes for new BG: ls: cannot access /tmp/pump_loop_completed: No such file or directory
Radio ok. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Preflight serial.serialutil.SerialException: Attempting to use a port that is not open
fail. Retrying preflight
Preflight serial.serialutil.SerialException: Attempting to use a port that is not open
fail. Couldn't preflight
oref0-pump-loop failed. pump_loop_completed more than 15m old; waiting for 40s silence before mmtuning
Radio ok. Listening: .
What is the port issue?

Eric
@ecc1
Dec 03 2017 01:41
@bsaunder2002 see http://openaps.readthedocs.io/en/latest/docs/Gear%20Up/hardware.html
The Pi Zero W isn't the first choice for a new user.
bsaunder2002
@bsaunder2002
Dec 03 2017 02:03
Read that. Read more recent blog posts that say the Edison is being discontinued and probably the RasPi with a display hat might be the next choice. Ideas?
bsaunder2002
@bsaunder2002
Dec 03 2017 02:15
thx for the pointer though...got to drop off. will do more research...
spaldings
@spaldings
Dec 03 2017 02:17
figured it out. did the manual load via "apt-get install dnsmasq" and then setup script again. went through and looping now. time to have a beer and watch some football.
kempera
@kempera
Dec 03 2017 03:30
@scottleibrand : Thanks, your suggestion helped. My Wifi crashed and I had to re-install, but it works now. Highly appreciated! ;)
@WeedsDIY : I followed Scott's suggestion: rm -rf ~/src/decocare
It worked well for me... good luck for you!
cduarte
@cduarte
Dec 03 2017 05:36
I pr the webpage offline now
Offline_OpenAPS_desktop.png
I change the port of flask to 80.
So can access the page directly with ip
http://ip_rig
print of iphone
Offline_OpenAPS_iphone.PNG
need tests
Scott Leibrand
@scottleibrand
Dec 03 2017 06:08
Nice! We’re traveling right now and not actively working on PRs, but that looks really good.
cduarte
@cduarte
Dec 03 2017 06:11
:)
If possible to use php in the rig I can do a better coding.
Like create hot buttons at webpage too.

The first time I see python code.

So I put the variables at the html file and work with jquery to build the page. Here is working :)

I configure the refresh to 120 seconds.

next features :
change the code of refresh in html to calls in jquery to refresh data.
Dana Lewis
@danamlewis
Dec 03 2017 06:18
@bsaunders we still recommend the edison and explorer board for your first setup. Otherwise you need to find a TI stick and cc debugger to flash it to use with pi0w, and the code for pi0w (to make it fast and reliable) isn't quite ready for prime time use yet. A rileylink isn't used at all in OpenAPS.
@cduarte I like that a lot :smile: thanks for keeping the purple predictions!
cduarte
@cduarte
Dec 03 2017 06:26
:smile:
cduarte
@cduarte
Dec 03 2017 06:53
IMG_4803 2.jpg
Dana Lewis
@danamlewis
Dec 03 2017 07:21
Niiice.
kempera
@kempera
Dec 03 2017 13:31
@cduarte Brilliant, great job! ;)
Eric
@ecc1
Dec 03 2017 15:22
@bsaunders @danamlewis I was going to say the same thing about RileyLink, but then I remembered that you can actually use its radio (it's almost the same as a TI Stick) via mmeowlink. You won't use its Bluetooth component, but I suppose it gives you an option to use Loop some day.
kallnap
@kallnap
Dec 03 2017 15:26
@cduarte this looks great and is a great step into offline looping without sacrificing usability. thank you
Dana Lewis
@danamlewis
Dec 03 2017 15:43
@ecc1 right - can be used for Loop, but is not currently a documented or recommended option for OpenAPS. Didn't want confusion around that being thhe equicalent of an OpenAPS rig. @bsaunders
Tim Street
@tim2000s
Dec 03 2017 18:43
Like that @cduarte !
:+1:
cduarte
@cduarte
Dec 03 2017 19:10
:)
Cfomodz
@Cfomodz
Dec 03 2017 21:28
The offline site looks great!
PieterGit
@PieterGit
Dec 03 2017 21:54
can a native speaker help me with making an improvement to the "error"
SMB disabled (no enableSMB preferences active), see
openaps/oref0#853
Cfomodz
@Cfomodz
Dec 03 2017 22:02
After updating I am getting a No space left on device error - I wasn't able to find it in the docs, but if it's already documented if someone could point me there I can work through it.
Marco
@CaptainBalou
Dec 03 2017 22:07
Do I understadt oref0-setup correct: flask local status webpage is not getting installed if using MDT CGM?