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

13th
Feb 2018
Cfomodz
@Cfomodz
Feb 13 2018 04:59
Is there a good way to monitor the logger data from a watch or phone when it is offline and not going to NS?
Dana Lewis
@danamlewis
Feb 13 2018 05:05
Logger?
Cfomodz
@Cfomodz
Feb 13 2018 05:31
Sorry, meant to send that in xdrip-js gitter
Dirk Gastaldo
@dirkgastaldo
Feb 13 2018 06:44
Evening all, trying to setup Autotune on a VirtualBox machine. I've run this command in the docs about 8 times: curl -s https://raw.githubusercontent.com/openaps/docs/master/scripts/quick-packages.sh | bash -
And I'm not getting a success line like this: Successfully installed openaps-contrib-0.0.15
I'm getting this at the end:
image.png
Any idea what I am doing wrong?
Dirk Gastaldo
@dirkgastaldo
Feb 13 2018 06:49
Here are the error messages immediately after issuing the curl command:
image.png
Dana Lewis
@danamlewis
Feb 13 2018 06:55
@dirkgastaldo would it be easier for you to run it on your OpenAPS rig?
Dirk Gastaldo
@dirkgastaldo
Feb 13 2018 06:55
It is so much easier
Dana Lewis
@danamlewis
Feb 13 2018 06:56
Why not do that then?
Dirk Gastaldo
@dirkgastaldo
Feb 13 2018 06:57
Probably because I assumed when I'm running Loop I have to run from a VM or Mac or something other than my OpenAPS rig
can I just power up my OpenAPS rig and run it? I thought the rig had stored data on it that it used when running Autotune, no?
Dana Lewis
@danamlewis
Feb 13 2018 06:59
Yes you can run it on your rig still. It pulls data from Nightscout. You may want to change your profile if you've set it to be different in Loop than what's on your pump or is in your old Autotune files, before running.
Dirk Gastaldo
@dirkgastaldo
Feb 13 2018 07:01
My NS profile has the same info as on my pump (basals, ISF, CR, DIA), and I use the same NS is the same for Loop and OpenAPS.
By "old Autotune files" what do you mean?
Dana Lewis
@danamlewis
Feb 13 2018 07:02
Not Nightscout profile. Your profile files in the rig. It gets pulled from your pump. So if pump is same as loop app, you're fine. If not. You'll want to update.
If you had Autotune on the rig before. It'll continue tuning from where it left off.
Dirk Gastaldo
@dirkgastaldo
Feb 13 2018 07:06
Ah, my profile.json file has a rate of 0.882 at midnight, compared to my pump which has 0.8
and so on
oh, that's the autotune rate
yes, profile is the same as pump
image.png
Dirk Gastaldo
@dirkgastaldo
Feb 13 2018 07:12
@danamlewis How do I get it to grab NS entries after Feb 2, which was when I started experimenting with Loop? Last ns file is ns-entries.2018-02-02.
Looks like maybe it's Phase A: Running Autotune manually in OpenAPS, since I haven't run OpenAPS since Feb 2.
Dana Lewis
@danamlewis
Feb 13 2018 07:25
Yes. Run it manually and give it whatever dates you want to tune.
Dirk Gastaldo
@dirkgastaldo
Feb 13 2018 07:28
Thanks, Dana
FWIW, I wasn't able to get this command from the docs in Step 1b of Phase C to work: curl -s https://raw.githubusercontent.com/openaps/docs/master/scripts/quick-packages.sh | bash -
Jane49
@Jane49
Feb 13 2018 07:57
@Skyshaker - can't find your post and maybe you already have an answer ... I had the same dnsmasq error and ran
apt-get install dnsmasq
and then did the setup again
cd && ~/src/oref0/bin/oref0-setup.sh
This fixed my problem
Dosefinder
@Dosefinder
Feb 13 2018 09:36
@Jane49 Thanks :) My post is still there, but I just resolve the problem by: first "apt-get remove --purge dnsmasq" and then "apt-get install dnsmasq" .
katie disimone
@Kdisimone
Feb 13 2018 18:47
@Skyshaker that’s a good bit of info because I think that error causes wifi to fail. thanks for coming back around to post the solution. I hadn’t tried the remove first…but i knew the install didn’t work alone ;)
Scott Leibrand
@scottleibrand
Feb 13 2018 19:19
@dirkgastaldo if you already have openaps installed you don't need to run quick-packages.
JELCRAWFORD
@JELCRAWFORD
Feb 13 2018 19:38
@scottleibrand - we had an incident the other night of Openaps delivering smb's eventhough a temp of 130 had been put on. As you can see from the image below, there was repeated overtreatment by Openaps resulting in low bg. While the smb's did not result in a 3rd low bg, it was a surprise to us that they were delivered. Perhaps we misunderstand the expected limitations of smb. We are currently running an up-to-date master of openaps, and xdrip+ Any reflections about the overtreatment are also welcome.
IMG_2864.PNG
Scott Leibrand
@scottleibrand
Feb 13 2018 19:45
what enable and allow SMB settings do you have?
Also, what does the OpenAPS pill or pump-loop.log show that the rig thought the target was at the time it gave those SMBs?
JELCRAWFORD
@JELCRAWFORD
Feb 13 2018 20:01
I don't know that I can go back far enough to know the pill info - that was Saturday night - I assume we can look through logs, but that will have to wait until the boy is home from school. The temp 'bar' in the image is showing roughly an 8 - which would be closer to a 140 (my memory is of setting a 130 as the previous 120 settings didn't stop the overtreatment) Settings (again from memory) are enable with COB, enable with bolus, enable with temp target. We do NOT have enable 'always' on as we are using xdrip and understand it is not (or was not) recommended.
Scott Leibrand
@scottleibrand
Feb 13 2018 20:05
do you have "allow SMB with high temp target"?
if not, it's possible that the rig failed to refresh the temp targets from NS, and therefore didn't "know about" the high target at the time
JELCRAWFORD
@JELCRAWFORD
Feb 13 2018 20:07
I would have to double check, but I do not believe we have to allow smb with high temp target. We use the high temp as a mechanism to prevent smb in instances such as above... so turning that on would be counter productive in that respect.
rhysjones
@rhysjones
Feb 13 2018 20:51
Hi All. An Autotune question, am I correct in thinking that the profile I setup has to be the one used for all the data I'm going to look at. i.e. If I've made a profile change in the past few weeks, I can only go back as far as that date?
Dana Lewis
@danamlewis
Feb 13 2018 20:51
@rhysjones nope
it tunes based on the current profile, to recommend changes compared to current
you can tune it on any date range you have data for
rhysjones
@rhysjones
Feb 13 2018 20:52
:)
Dana Lewis
@danamlewis
Feb 13 2018 20:54
@rhysjones I would love to make that more clear in the docs (and in general, autotune docs page needs some love), so would appreciate if you have suggestions to clarify this and want to PR :)
rhysjones
@rhysjones
Feb 13 2018 20:57
@danamlewis I'm fairly new to all of this, only been looping for two weeks. I'll be happy to add to put a PR in once I'm certain of everything myself
Scott Leibrand
@scottleibrand
Feb 13 2018 20:57
feel free to PR even if you're not 100% sure that you have it right. we'll tell you if something is incorrect, so either way you either fix the docs or you learn something. :)
Dana Lewis
@danamlewis
Feb 13 2018 21:06
:+1: but usually what happens is you fix the docs, even if we tweak something with you in your PR, so it's a win win ~98% of the time :)