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

25th
May 2017
PopcornPam
@PopcornPam_twitter
May 25 2017 00:00
Has anyone had issues with an explorer board dropping the connection to the lipo? I had had that issue since it arrived in the mail, and wonder if that should have been a clue there was a bigger problem afood
Dana Lewis
@danamlewis
May 25 2017 00:01
@Diadon81 your English is 10000x better than my Russian :)
Diadon81
@Diadon81
May 25 2017 00:03
Ok, i will try some rocket science to make this thing work, If I will find a problem before some help me, I will write here.
Now is 3:04 in moscow so I plan to sleep.
rsilvers129
@rsilvers129
May 25 2017 00:05
@Kdisimone Ok. I deleted urgentv. Where can I set the snooze minute uptions for that? I want 30 120 1440. Also, I know that you are supposed to acknowledge in pushover, but when I hit "acknowledge all," they all go away, except one remains, and it has no acknowledge button. So I think that is a pushover app bug that is preventing the last one from being acknowledged. Also, something the acknowledge button is visible but doesn't do anything when I press it. I think that is an iPhone app bug. So yes, if I could snooze for 24 hours, and if acknowledge worked, and getting rid of urgent as you suggested - that would seem to solve it all.
Diadon81
@Diadon81
May 25 2017 00:06
before I will get my old rig from microwave oven :) I turn off new one.
katie disimone
@Kdisimone
May 25 2017 00:08
To snooze, you click on the BG in the NS app and it brings up the various snooze durations. I haven't looked into it specifically, but I'm sure you could customize the snooze durations available by editing your fork of the cgm-remote-monitor repo
@rsilvers129 ^^
rsilvers129
@rsilvers129
May 25 2017 00:09
@Kdisimone I know, but there is a variable to set those amounts. It is defaulting to 30 60 90 120. I want to change it to 30 120 1440
katie disimone
@Kdisimone
May 25 2017 00:10
@rsilvers129 that would be within the files for the cgm-remote-monitor repo
live4sw
@live4sw
May 25 2017 00:18
@PopcornPam_twitter I haven't had an issue with that, did you buy your battery from a reputable vendor? Just out of curiosity for anyone in the channel, is it ok to charge an explorer board with battery overnight? Just don't see how I could avoid it running out of power (or having to turn it off) otherwise.
PopcornPam
@PopcornPam_twitter
May 25 2017 00:19
Yes, all three are adafruit. And not that I am necessarily a good test case, but I always charge it overnight
live4sw
@live4sw
May 25 2017 00:21
Oh, well I never had any connectivity issues with the battery. Is your Edison seated on the explorer board with the screws/nuts/etc? I know people have had hardware issues from it not being secured.
rsilvers129
@rsilvers129
May 25 2017 00:22
@live4sw Yes, you can charge it as long as you want.
Diadon81
@Diadon81
May 25 2017 00:23
finally, I solve the problem
Martin Haeberli
@mhaeberli
May 25 2017 00:24
@Diadon81 :+1:
Diadon81
@Diadon81
May 25 2017 00:24
I was simple
just power off and power on my rig :)
Martin Haeberli
@mhaeberli
May 25 2017 00:24
yay
Diadon81
@Diadon81
May 25 2017 00:25
sorry it was simple
PopcornPam
@PopcornPam_twitter
May 25 2017 00:25
@live4sw, generally yes, but when I was undoing the edison, i didn't need a scew driver. . that seems suspicious
I saw this last night and was curious if the screws were the issue https://www.thingiverse.com/thing:2157657
live4sw
@live4sw
May 25 2017 00:29
Interesting. Hm, never thought of that.
Dana Lewis
@danamlewis
May 25 2017 00:43
@Diadon81 yay!
rsilvers129
@rsilvers129
May 25 2017 00:45
I have SAGE displaying in NS. But CAGE and IAG says 1969. I made an IFTTT for pump site change, but it is not setting it in NS. Any ideas?
katie disimone
@Kdisimone
May 25 2017 00:46
I believe they will say 1969 until set for the first time. So sounds like your ifttt aren't correctly setting them yet.
katie disimone
@Kdisimone
May 25 2017 00:53
I'd double check for typos in the body of the CAGE ifttt
Ryan Dalisky
@rdalisky
May 25 2017 01:18

I really hope my explorer board is not broken. I have tried both the master and dev branches of oref0, and the following is that happens after spirit_serial is reset..

LaTeXcodeLaTeX code

Add NIGHTSCOUT_HOST and API_SECRET to /root/.profile
Adding OpenAPS log shortcuts

Resetting spi_serial
Attempting to communicate with pump:
mmtune: pump://JSON/mmtune/monitor/mmtune.json
monitor/mmtune.json  raised  Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?
Traceback (most recent call last):
  File "/usr/local/bin/openaps-report", line 82, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/usr/local/bin/openaps-report", line 75, in run
    output = app(args, self)
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in __call__
    return self.method.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 40, in main
    output = task.method(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/uses/use.py", line 44, in __call__
    self.before_main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 62, in before_main
    self.setup_medtronic( )
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/mmeowlink.py", line 92, in setup_medtronic
    setup_medtronic_link(self)
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/mmeowlink.py", line 75, in setup_medtronic_link
    link = builder.build(radio_type, port)
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/link_builder.py", line 16, in build
    return SubgRfspyLink(port)
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 55, in __init__
    self.open()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_interface.py", line 28, in open
    self.check_setup()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 72, in check_setup
    self.serial_rf_spy.sync()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_rf_spy.py", line 121, in sync
    raise CommsException("Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?")
mmeowlink.exceptions.CommsException: Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Dana Lewis
@danamlewis
May 25 2017 01:18
@rdalisky have you tried a reboot yet?
Ryan Dalisky
@rdalisky
May 25 2017 01:19
Multiple times, just keeps giving me the error
John Benjamin
@Bender1061
May 25 2017 01:27
Ok is there something broken in Autotune? For some reason, it gives me autotune and current are exactly the same. and no my BG are not perfect, so I know it could stand to be adjusted somewhat.
Dana Lewis
@danamlewis
May 25 2017 01:27
@Bender1061 what do you have autosen min and max multipliers set to?
John Benjamin
@Bender1061
May 25 2017 01:28
the default of 0.7 and 1.2
Dana Lewis
@danamlewis
May 25 2017 01:29
check your logs? also, what branch are you running?
saw someone else with this issue the other day, and a combo of them switching from oref1 back to oref0 + manually running it fixed a buggy run somewhere, but if this is recurring would be nice to figure out what causes it
John Benjamin
@Bender1061
May 25 2017 01:30
dev, well one based off of dev. with 478 right now
everything is working correctly. Other than I'm not completely used to SMB yet.
Dana Lewis
@danamlewis
May 25 2017 01:32
ok, jump into the autotune logs and see if it has any errors mentioned that we can investigate
is your CSF a ratio, or 0 in the latest report that you said everything was the same on?
John Benjamin
@Bender1061
May 25 2017 01:34
CSF was 0
Dana Lewis
@danamlewis
May 25 2017 01:34
k, so obviously bonked. check the logs and see what lines it reports errors on, and see if you can see where it bonked
@Kdisimone can you double check your autotune reports for me and see if yours have bonked with the switch to oref1?
(or anyone else who’s been testing)
katie disimone
@Kdisimone
May 25 2017 01:35
We aren't running autotune. Sorry.
Dana Lewis
@danamlewis
May 25 2017 01:35
ah, that’s right. k
David
@davidkeddydb
May 25 2017 01:36
@danamlewis I can chuck it on one of rigs prior to midnight and run it if you want
Dana Lewis
@danamlewis
May 25 2017 01:36
are you running SMB? yes, if you don’t mind, would be good to test and see how common this is
David
@davidkeddydb
May 25 2017 01:37
I have smb on the other rig as well. Will do it and report back in the am
Dana Lewis
@danamlewis
May 25 2017 01:37
the obvious gimme is identical basals, ISF, and carb ratio - which sometimes is related to not enough good data, but that’s usually just basals being identical and ISF/carb ratio still recommending changes. but for this bug, CSF is 0, which means it’s obviously bonked.
:+1: thanks @davidkeddydb
John Benjamin
@Bender1061
May 25 2017 01:40
Only thing I see is
Autotune pump profile recommendations:
---------------------------------------------------------
Recommendations Log File: /root/johnopenaps/autotune/autotune_recommendations.log

/usr/local/bin/oref0-autotune-recommends-report: line 72: printf: null: invalid number
Parameter      | Current  | Autotune 
-------------------------------------
ISF            | 30.000   | 30.000   
CSF            | n/a      | 0.000    
Carb Ratio     | 10.000   | 10.000   
  00:00        | 1.750    | 1.750    
  03:30        | 1.650    | 1.650    
  06:00        | 1.650    | 1.650    
  08:30        | 1.650    | 1.650    
  11:30        | 2.000    | 2.000    
  13:00        | 2.150    | 2.150    
  15:30        | 1.900    | 1.900    
  19:00        | 3.000    | 3.000    
  22:00        | 3.000    | 3.000
the null invalid number
Dana Lewis
@danamlewis
May 25 2017 01:41
ok, the same line was buggy for someone else, too
John Benjamin
@Bender1061
May 25 2017 01:41
I just ran it for the past week just a little bit ago, cause I thought it was strange with no changes
Dana Lewis
@danamlewis
May 25 2017 01:41
yea - it’s no changes because of the 0 bug
John Benjamin
@Bender1061
May 25 2017 01:42
which would mean it would not be doing any changes to my loop too, right?
John Benjamin
@Bender1061
May 25 2017 01:44
a few lines above that in the log I'm getting
  { i: 21, start: '21:00:00', rate: 3, minutes: 1260 },
  { i: 22, start: '22:00:00', rate: 3, minutes: 1320 },
  { i: 23, start: '23:00:00', rate: 3, minutes: 1380 } ]
p50deviation: -1.59 p50BGI -2.8600000000000003 p50ratios: 1.682 Old ISF: 30 fullNewISF: 50.46 adjustedISF: 40.230000000000004 newISF: 31.023
totalMealCarbs: 58 totalDeviations: 481.73999999999984 fullNewCSF: 8.31 newCSF: 3.531
so it did calculate that above
Dana Lewis
@danamlewis
May 25 2017 01:50
k. created openaps/oref0#480 to work on it
Ryan Dalisky
@rdalisky
May 25 2017 01:50
@danamlewis You are wonderful, thank you!
Dana Lewis
@danamlewis
May 25 2017 01:50
@rdalisky that worked? woot!
peterfulvi
@peterfulvi
May 25 2017 01:55
I'm getting this error
Starting supermicrobolus pump-loop at Wed May 24 21:52:57 EDT 2017 with 5 second wait_for_silence:
get-bg = ! bash -c " (echo -n MDT cgm data retrieve && openaps monitor-cgm 2>/dev/null >/dev/null && grep -q glucose cgm/cgm-glucose.json && echo d) && cp -pu cgm/cgm-glucose.json cgm/glucose.json && cp -pu cgm/glucose.json monitor/glucose-unzoned.json && (echo -n MDT cgm data reformat && openaps report invoke monitor/glucose.json 2>/dev/null >/dev/null && echo ted)"
MDT CGM configured; not waiting
Radio ok. Listening: .No pump comms detected from other rigs
Preflight OK. get-bg = ! bash -c " (echo -n MDT cgm data retrieve && openaps monitor-cgm 2>/dev/null >/dev/null && grep -q glucose cgm/cgm-glucose.json && echo d) && cp -pu cgm/cgm-glucose.json cgm/glucose.json && cp -pu cgm/glucose.json monitor/glucose-unzoned.json && (echo -n MDT cgm data reformat && openaps report invoke monitor/glucose.json 2>/dev/null >/dev/null && echo ted)"
MDT cgm data retrieved
MDT cgm data reformatted
Old pumphistory, waiting for 5 seconds of silence: Radio ok. Listening: .No pump comms detected from other rigs
RefreshKeyError: 102
I'm going to reboot
Ryan Dalisky
@rdalisky
May 25 2017 01:58
@danamlewis Needed to reflash, worked right away!
Ryan Dalisky
@rdalisky
May 25 2017 02:09
@danamlewis Is there any documentation about the preferences.json :
"carbratio_adjustmentratio": 1
"remainingCarbsCap": 0,
"enableUAM": true,
"enableSMB_with_bolus": true,
"enableSMB_with_COB": true,
"enableSMB_with_temptarget": true
"maxCOB": 120
Ryan Dalisky
@rdalisky
May 25 2017 02:11
@danamlewis Thanks again!
peterfulvi
@peterfulvi
May 25 2017 02:11
No luck I'll see what I can do tomorrow any input would be nice it just keeps going to refresh key error
rsilvers129
@rsilvers129
May 25 2017 02:40
How does AR2 forecast compare to OpenAps forecast? Do I want them both on?
Dana Lewis
@danamlewis
May 25 2017 02:41
if you use OpenAPS, I recommend the OpenAPS forecast
rsilvers129
@rsilvers129
May 25 2017 02:42
And shut off AR2?
Or both on?
Dana Lewis
@danamlewis
May 25 2017 02:42
YDMV about whether you like it on or not
rsilvers129
@rsilvers129
May 25 2017 02:42
I don't know enough to know if I like it.
Dana Lewis
@danamlewis
May 25 2017 02:42
then you can experiment and find out ;) what you like
rsilvers129
@rsilvers129
May 25 2017 02:43
I like seeing lots of colored lines.
Martin Haeberli
@mhaeberli
May 25 2017 04:27
so now for example, with openaps, I see THREE lines - what do they each mean? asymptotically, one is top, one is middle, one is bottom
rsilvers129
@rsilvers129
May 25 2017 04:29

@mhaeberli With AMA, once you enable forecast display in your Nightscout configuration, you will be able to see multiple purple line predictions. To do this, click the three dots next to your timeframe horizon (3HR, 6HR, 12HR, 24HR) and then enable “Show OpenAPS Forecasts”. Once enabled, you will have 3 purple line predictions in Nightscout. (Unless you have NO carbs onboard, then you will have only one purple line.)

(Usually) Top line == assumes 10 mg/dL/5m carb (0.6 mmol/L/5m) absorption
(Usually) Middle line == based on current carb absorption (if current carb absorption is > 10 mg/dL/5m, this will end up being the top line)
Bottom line == based on insulin only

Martin Haeberli
@mhaeberli
May 25 2017 04:30
@rsilvers129 thanks! forecast is on; I didn’t realize I had turned AMA on…
but that also explains switching back and forth between 1 and 3 lines
David
@davidkeddydb
May 25 2017 04:57
@danamlewis autotune with smb returns same values as pump, no deviations. On iPad but will send screenshot in the am. Night all.
Dana Lewis
@danamlewis
May 25 2017 04:58
Ok check the logs tomorrow and confirm csf of 0? Thanks!
Tim Street
@tim2000s
May 25 2017 05:14
@danamlewis my Autotune with oref1 is still running as expected (and has been for a couple of months)
Dana Lewis
@danamlewis
May 25 2017 05:14
@tim2000s double check, your csf is a number and not showing as 0?
mine’s not either, so wondering what config is causing it
Matthias
@ceben80
May 25 2017 05:24
@danamlewis @tim2000s morning :wink: I think I've been experiencing the same with oref1 as @davidkeddydb posted above, I'll check my autotune logs and jump over to gitter autotune
Dana Lewis
@danamlewis
May 25 2017 05:26
k. the short term fix is to do a manual run, I believe
Tim Street
@tim2000s
May 25 2017 05:28
@danamlewis csf has a value, so it's working as expected.
Dana Lewis
@danamlewis
May 25 2017 05:31
k, thanks @tim2000s. curious as to why yours/mine is fine but others are seeing it. Tracking notes here, if anyone effected by this wants to keep track of the work to resolve: openaps/oref0#480
Tim Street
@tim2000s
May 25 2017 05:32
I have a suspicion (totally gut feel). How many people have run "run-again" when they've added in SMB? Mine's always come from a new set-up run.
Matthias
@ceben80
May 25 2017 05:46
@danamlewis @tim2000s FYI, just wrote my issue in openaps/oref0#480 :wink:
skubesch
@skubesch
May 25 2017 09:12
Hi group, I'm not sure if this is the correct conversation to post this in, but I'm running into an issue I'd like some direction with. I'm trying to set up OpenAPS using a RPi3 (I know this is no longer recommended setup but I purchased it all many months ago). I've followed the instructions for "Configure Bluetooth Low Energy tethering" and it appears to be fine on the RPi3 side but my phone can't find the bluetooth device. My MacBook can, but after attempting to connect I get the error that "This device does not have the necessary services." Any ideas on how to get my phone (iPhone 6S) to find the RPi3 as a bluetooth device?
peterfulvi
@peterfulvi
May 25 2017 10:16
Could someone help me sort through this error
Starting supermicrobolus pump-loop at Wed May 24 22:12:37 EDT 2017 with 6 second                                                                                                                                                              wait_for_silence:
get-bg = ! bash -c " (echo -n MDT cgm data retrieve && openaps monitor-cgm 2>/de                                                                                                                                                             v/null >/dev/null && grep -q glucose cgm/cgm-glucose.json && echo d) && cp -pu c                                                                                                                                                             gm/cgm-glucose.json cgm/glucose.json && cp -pu cgm/glucose.json monitor/glucose-                                                                                                                                                             unzoned.json && (echo -n MDT cgm data reformat && openaps report invoke monitor/                                                                                                                                                             glucose.json 2>/dev/null >/dev/null && echo ted)"
MDT CGM configured; not waiting
Radio ok. Listening: .No pump comms detected from other rigs
Preflight OK. get-bg = ! bash -c " (echo -n MDT cgm data retrieve && openaps mon                                                                                                                                                             itor-cgm 2>/dev/null >/dev/null && grep -q glucose cgm/cgm-glucose.json && echo                                                                                                                                                              d) && cp -pu cgm/cgm-glucose.json cgm/glucose.json && cp -pu cgm/glucose.json mo                                                                                                                                                             nitor/glucose-unzoned.json && (echo -n MDT cgm data reformat && openaps report i                                                                                                                                                             nvoke monitor/glucose.json 2>/dev/null >/dev/null && echo ted)"
MDT cgm data retrieved
MDT cgm data reformatted
Old pumphistory-24h refreshKeyError: 102
Error, retrying
Sleeping 2;
Diadon81
@Diadon81
May 25 2017 12:05
Dears I have a questions about oref1 algorithm.
Let's assume that I have a lunch. During this lunch I eat 30g of carbs.
  1. Do I need to deliver a bolus from my pump. If yes, how UMA and SMB deal with this situation. 2. If I don't need a bolus, should I put a carb into NS to inform a rig about consumed carbs.
Jesse Szypulski
@Kryptonit3
May 25 2017 12:12
I have noticed my rig no longer setting temp basals on my pump for the last few days so I connected to it, it is online and appears to be talking to pump. Here is an output of the log.
Settings less than 10m old
Pumphistory-24 less than 20m old
Completed pump-loop at Thu May 25 08:02:45 EDT 2017

Starting pump-loop at Thu May 25 08:03:02 EDT 2017:
Radio ok, Listening: .No pump comms detected from other rigs
Profile less than 60m old
temp_basal.json more than 5m old
Temp refreshed
BG data is too old (it's probably this), or clock set incorrectly.  The last BG data was read at Wed May 24 2017 12:27:32 GMT-0400 (EDT) but your system time currently is Thu May 25 2017 08:04:26 GMT-0400 (EDT)
determine-basal://text/shell/enact/suggested.json
reporting enact/suggested.json
Traceback (most recent call last):
  File "/usr/local/bin/openaps-report", line 82, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/__init__.py", line 52, in __call__
    self.epilog( )
  File "/usr/local/bin/openaps-report", line 69, in epilog
    super(ReportToolApp, self).epilog( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/__init__.py", line 75, in epilog
    self.create_git_commit( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/__init__.py", line 98, in create_git_commit
    self.repo.index.commit(msg)
  File "/usr/local/lib/python2.7/dist-packages/git/index/base.py", line 954, in commit
    author_date=author_date, commit_date=commit_date)
  File "/usr/local/lib/python2.7/dist-packages/git/objects/commit.py", line 393, in create_from_tree
    repo.head.set_commit(new_commit, logmsg=message)
  File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 211, in set_commit
    self.set_object(commit, logmsg)
  File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 240, in set_object
    return self._get_reference().set_object(object, logmsg)
  File "/usr/local/lib/python2.7/dist-packages/git/refs/reference.py", line 64, in set_object
    super(Reference, self).set_object(object, logmsg)
  File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 237, in set_object
    return self.set_reference(object, logmsg)
  File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 308, in set_reference
    fd = lfd.open(write=True, stream=True)
  File "/usr/local/lib/python2.7/dist-packages/gitdb/util.py", line 314, in open
    raise IOError("Lock at %r could not be obtained" % self._lockfilepath())
IOError: Lock at '/root/myopenaps/.git/refs/heads/master.lock' could not be obtained
{"reason":"BG data is too old (it's probably this), or clock set incorrectly.  The last BG data was read at Wed May 24 2017 12:27:32 GMT-0400 (EDT) but your system time currently is Thu May 25 2017 08:04:26 GMT-0400 (EDT)"}
Waiting for ntpd to synchronize... OK!
{"bg":120,"temp":"absolute","snoozeBG":133,"recieved":true,"predBGs":{"IOB":[120,120,120,120,119,119,119,119,120,120,120,120,120,120,120,120,121,121,121,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,121,121,121,121,120,120,120,120,119]},"rate":2.45,"reason":"COB: undefined, Dev: 15, BGI: -2.52, ISF: 40, Target: 110; Eventual BG 133 >= 120, max_iob 0, temp 2.275<2.45U/hr","eventualBG":133,"timestamp":"2017-05-24T12:37:32.135154","duration":30,"tick":"+0","IOB":0.044}
pumphistory more than 5m old: Refreshed pumphistory
BG data is too old (it's probably this), or clock set incorrectly.  The last BG data was read at Wed May 24 2017 12:27:32 GMT-0400 (EDT) but your system time currently is Thu May 25 2017 08:05:10 GMT-0400 (EDT)
determine-basal://text/shell/enact/suggested.json
I tried to code block that. failed. Is it because the time on the Edison is not correct that it is not setting temp basals on the pump?
Jesse Szypulski
@Kryptonit3
May 25 2017 12:18
Nvm, apparently my phone clock wasn't set to auto. It was one hour behind. Guess it was uploading blood sugars to xDrip with the wrong time.
jcorbett80
@jcorbett80
May 25 2017 13:06
@
@Diadon81 my understanding is the iPhone does not have wifi share through BT. I could be wrong but I am reasonably sure that is correct. I can share wifi data on my daughters iPad and ipod and the mac we have where I worship with ease. But researching iphone everywhere I look says no.
tepidjuice
@tepidjuice
May 25 2017 13:37
@Diadon81 Personally. I would always bolus from the pump. If you weren't to bolus then I'd absolutely let the system know either by entering the carbs in the pump or via NS.
rsilvers129
@rsilvers129
May 25 2017 13:51
@tepidjuice How would you log carbs with the pump without bolus? Just do BolusWizard and then manually turn the bolus back to 0?
David
@davidkeddydb
May 25 2017 13:55
@rsilvers129 you have to at least bolus .1 or it will cancel the carb entry out via pump. Well it will on a 722
rsilvers129
@rsilvers129
May 25 2017 13:56
Thanks.
jcorbett80
@jcorbett80
May 25 2017 14:05
@skubesch sorry this was meant for you and I chose wrong name. my understanding is the iPhone does not have wifi share through BT. I could be wrong but I am reasonably sure that is correct. I can share wifi data on my daughters iPad and ipod and the mac we have where I worship with ease. But researching iphone everywhere I look says no.
Jason Wittmer
@jbwittmer
May 25 2017 14:32
@JELCRAWFORD Glad you like the Google Calendar/IFTTT trick. We've sure found it a lot more convenient than scheduling things in Careportal in advance in case there are changes.
Geoff Aumaugher
@geoffro10
May 25 2017 15:23
So, SMB has been working mostly great. However, we're running into some situations where it's causing some lows. Any idea what's causing it and/or how to adjust it?
image.png
David
@davidkeddydb
May 25 2017 15:24
are you sure your isf and dia are right?
Geoff Aumaugher
@geoffro10
May 25 2017 15:26
I believe ISF is good. We run autosense and autotune. They don't seem to move much. As for DIA, I have a sneaking suspicion that she should be closer to 4 instead of 3. I guess I assumed, maybe wrongly, that DIA wasn't taken into account.
Martin Haeberli
@mhaeberli
May 25 2017 16:01
planning travel across 3 timezones for the long weekend. any guidance on whether when and how to change times in pump / openaps / openaps tz?. One option, given brief trip, is to just run with the time unchanged, which just means basal schedule is shifted… But for a longer trip, what prep and action is advised? (also we’ll probably run fully open / offline in the air, not enough time to validate using the dexcom receiver on an otg cable at the moment).
@jcorbett80 i’m late to the party, but the iPhone definetly can offer hotspot through both BT and WiFi. We’re doing that now. What it can’t do as far as I know is this recent magic thing that some Android phones have of using Bluetooth to automatically set up a WiFi connection with a device, at least not in an open way that anyone, including openaps, can use.
jcorbett80
@jcorbett80
May 25 2017 16:15
@mhaeberli I may have worded mine incorrectly. What you are saying is what I meant but in a far better detailed explanation. I'm glad you chimed in. And hey if there is a party....most of the time long about 3/4 of the ear through is when it gets to be most fun. So late to a party is never bad
Diadon81
@Diadon81
May 25 2017 16:23
@tepidjuice In that case what SMB+UMA do? help to cover the bolus mistakes?
Martin Haeberli
@mhaeberli
May 25 2017 16:25
@jcorbett80 :+1:
rsilvers129
@rsilvers129
May 25 2017 16:59
So finally I was able to activate OpenAps. My first thought is that since the pump handles the bolus, and since you are not supposed to tell BolusWizard your BG, what does one do if they are low? Won't the bolus be too much for the rig to protect you from? It seems like Loop would just not bolus you when low since is has control of the bolus.
Dana Lewis
@danamlewis
May 25 2017 17:00
@rsilvers129 you can use your own judgment about boluses. OpenAPS is already correcting for a low with temps, so using bolus wizard that doesn't have netiob knowledge will cause a double undercorrection and yield a high
Also given insulin peak timing - a lot of times you don't need to reduce bolus for meal if you are a little bit low or low at time of meal. You will need full insulin amount for what you're eating, whether you give it as full meal bolus or rig has to pickup slack later
@geoffro10 yes, OpenAPS uses DIA to make calculations.
David
@davidkeddydb
May 25 2017 17:03
@danamlewis So I tried to put SMB to false with bolus, but when I had breakfast I saw the rig try to throw a Zero temp, so I shut it down and just let the basals run. Still not spot on but closer as I went to like 65 mg/dl after 3 hours but I was running around a little more than usual today. Would love to be able to change the time line SMB is using for the zero temp from 120 to something smaller.
@georr
@geoffro10 Especially with calculating the expected bg delta
Geoff Aumaugher
@geoffro10
May 25 2017 17:07
@danamlewis @davidkeddydb Good to know. How much effect does MaxIOB have on SMB? Currently set to 4. Would changing it to 3 help with those lows?
Dana Lewis
@danamlewis
May 25 2017 17:08
@davidkeddydb oref0 may still 0 temp if it thinks you need it
The fact that you ended up slightly low is why.
It may not have left the full zero on for 120min, but at that moment it's what it predicted would be needed
@geoffro10 maxiob limits the amount of iob a rig can give you. You could certainly try adjusting it, but if you were already thinking dia is wrong I would adjust that first.
Change one thing at a time
Geoff Aumaugher
@geoffro10
May 25 2017 17:10
@danamlewis Oh yeah, I work in engineering. I'm well aware of the mess changing more than one thing at a time can cause. :smile:
Dana Lewis
@danamlewis
May 25 2017 17:11
@geoffro10 also, do you have UAM turned on or not?
David
@davidkeddydb
May 25 2017 17:12
@danamlewis I know, I panicked ridiculously as I didn't want to go 180 post prandial. Expectation bias. I will let it run the course next time.
tepidjuice
@tepidjuice
May 25 2017 17:13
@rsilvers129 on my pump to log carbs I'd have to give a bolus of at least 0.1 u to have the carbs logged.
Geoff Aumaugher
@geoffro10
May 25 2017 17:15
@danamlewis No, not yet.
live4sw
@live4sw
May 25 2017 17:18
@mhaeberli I asked Dana a similar question about a trip I'm taking two timezones over for 7 days, will probably just stay on my home timezone for looping purposes.
Martin Haeberli
@mhaeberli
May 25 2017 18:12
@live4sw :+1:
@danamlewis thx
peterfulvi
@peterfulvi
May 25 2017 18:20
Could anyone help me with this error its frustrating, both nmy rigs are down and i woke up hypo this morning. Im wondering if its my pump or sensor has anyone experienced this.
Starting supermicrobolus pump-loop at Thu May 25 11:06:38 EDT 2017 with 23 secon                                                                                                                                                             d wait_for_silence:
get-bg = ! bash -c " (echo -n MDT cgm data retrieve && openaps monitor-cgm 2>/de                                                                                                                                                             v/null >/dev/null && grep -q glucose cgm/cgm-glucose.json && echo d) && cp -pu c                                                                                                                                                             gm/cgm-glucose.json cgm/glucose.json && cp -pu cgm/glucose.json monitor/glucose-                                                                                                                                                             unzoned.json && (echo -n MDT cgm data reformat && openaps report invoke monitor/                                                                                                                                                             glucose.json 2>/dev/null >/dev/null && echo ted)"
MDT CGM configured; not waiting
Radio ok. Listening: .No pump comms detected from other rigs
Preflight OK. get-bg = ! bash -c " (echo -n MDT cgm data retrieve && openaps mon                                                                                                                                                             itor-cgm 2>/dev/null >/dev/null && grep -q glucose cgm/cgm-glucose.json && echo                                                                                                                                                              d) && cp -pu cgm/cgm-glucose.json cgm/glucose.json && cp -pu cgm/glucose.json mo                                                                                                                                                             nitor/glucose-unzoned.json && (echo -n MDT cgm data reformat && openaps report i                                                                                                                                                             nvoke monitor/glucose.json 2>/dev/null >/dev/null && echo ted)"
MDT cgm data retrieved
MDT cgm data reformatted
Old pumphistory, waiting for 23 seconds of silence: Radio ok. Listening: .No pum                                                                                                                                                             p comms detected from other rigs
RefreshKeyError: 102
rsilvers129
@rsilvers129
May 25 2017 19:41
I got a not-looping notice. I looked at my logs and saw this: OpenAPS was in my left pants pocket and pump was in the right pants pocket. So not sure how it could be out of range. I am on dev. Starting supermicrobolus pump-loop at Thu May 25 15:33:13 EDT 2017 with 4 second wait_for_silence:
Waiting up to 4 minutes for new BG: glucose.json newer than pump_loop_completed
Radio ok. Listening: .No pump comms detected from other rigs
mmeowlink.exceptions.CommsException: No acknowledgement from pump on wakeup. Is it out of range or is the battery too low?
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", 0, -99 waiting for 78 second silence before continuing
Radio ok. Listening: .No pump comms detected from other rigs
Sleeping 3;
David
@davidkeddydb
May 25 2017 19:43
Screenshot 2017-05-25 15.42.25.png
I don't like the bottom purple lines. They are keeping me zero temping
David
@davidkeddydb
May 25 2017 20:18
Screenshot 2017-05-25 16.16.26.png
If the IOBpredbg was more realistic, I would't be doing this post prandial rise as it would allow the zero temp to drop out
rsilvers129
@rsilvers129
May 25 2017 20:22
Is a target of 100-120 different than a target of 110-110?
dan lightner
@danimaniac
May 25 2017 20:39
@rsilvers129 Yes, technically the "math" of the OpenAPS system would be slightly different when calculating if / how much to temp. In practical terms, not much difference. My targets are 95-95 FWIW.
David
@davidkeddydb
May 25 2017 20:45
Screenshot 2017-05-25 16.43.24.png
Master Branch recommends a 2.8 temp basal and dev recommends a 0.0 temp basal with setting an eating soon mode to end this post prandial rise. They ultimately get on the same page, it just was a 5 minute delay between the rigs
Dana Lewis
@danamlewis
May 25 2017 20:57
Are you running rigs with different types of setups? That is non optimal
Also, SMB safety design is going to temp first, check to make sure it knows about all insulin delivered, before dumbing
*SMBing
David
@davidkeddydb
May 25 2017 20:59
@danamlewis It was a back up rig on master so I was curious what it would do. I have to alter some of the code for SMB to get it to work right for me, or ditch it completely
Dana Lewis
@danamlewis
May 25 2017 21:17
@davidkeddydb how confident are you in all of your settings - basals, ISF, carb, and DIA right now?
David
@davidkeddydb
May 25 2017 21:25
@danamlewis very. That is why I know I need to make some code changes. I can muck around and figure it out. I have been messing with ISF even though I know it was right to get the rig to work the way I want. When I have actually run autotune on my stuff it says I am pretty close to spot on
Dana Lewis
@danamlewis
May 25 2017 21:25
but autotune with zero CSF is a bug, so it’s going to say spot on but isn’t - is that true of an autotune run that has a proper number for CSF?
David
@davidkeddydb
May 25 2017 21:33
@danamlewis I have another rig where I had autotune on that did work. Not my day to day rig. That would be funny if I was using the wonked one and saying it was right :smile:
skubesch
@skubesch
May 25 2017 21:35
Thank you so much @jcorbett80
jcorbett80
@jcorbett80
May 25 2017 21:36
@skubesch I didn't do anything to help but you are very welcome. 😊
John Benjamin
@Bender1061
May 25 2017 22:10
I'm finding an issue with oref1 as well. The Suspension of my basal after a meal is actually doing more harm than good
Dana Lewis
@danamlewis
May 25 2017 22:10
let’s brainstorm over in openaps/oref0#461. There’s two things: there’s people who end up low(er) later, and the zero temp is what prevents a more severe low. Then there’s people who say the zero temp is causing later highs.
for those sharing input, would be helpful to know more details about what you have turned on in preferences (what SMB triggers, if UAM is on, etc.) plus how confident you are in your basals, ISF, carb ratio, and DIA.
(there have also been numerous people who are over-attributing outcomes that are unrelated to the zero temps that oref1 is setting, based on timing of insulin activity)
so the more specifics we can get into with various combo’s of setting, and examples from the logs, are really helpful for the discussion :+1:
Diadon81
@Diadon81
May 25 2017 22:26
dears please give me advice, how to merge PR , i.e. #478 to my local dev branch, I have an issue with jq parsing and want to try this fix. I am not too familiar with git and repositories concept.
John Benjamin
@Bender1061
May 25 2017 22:28
@Diadon81
 mkdir -p ~/src; cd ~/src && git clone -b dev  git://github.com/Bender1061/oref0.git || (cd oref0 && git checkout dev && git pull)
then run
cd ~/src/oref0/ && npm run global-install
then you can run it like normal
Diadon81
@Diadon81
May 25 2017 22:29
ok, thanks a lot
John Benjamin
@Bender1061
May 25 2017 22:29
give it a :+1: if it works
Diadon81
@Diadon81
May 25 2017 22:29
ok
just one last question, can I rollback somehow if it doesn't work?
John Benjamin
@Bender1061
May 25 2017 22:34
you would have to reinstall again with dev, I normally just delete oref0 folder and reclone it
Diadon81
@Diadon81
May 25 2017 22:34
ok, thanks
John Benjamin
@Bender1061
May 25 2017 22:34
with the setup script, it only takes a few mins anyways
Diadon81
@Diadon81
May 25 2017 22:35
after I merge your patch, do i need to run 0res
oref-setup again?
John Benjamin
@Bender1061
May 25 2017 22:38
yes
cause it makes changes to the MDT aliases
Diadon81
@Diadon81
May 25 2017 22:39
ok, I will try
rsilvers129
@rsilvers129
May 25 2017 23:02
Anyone know how much data per month OpenAPS typically uses if it were 100% tethered to a cell phone?
live4sw
@live4sw
May 25 2017 23:10
@rsilvers129 This is extremely unscientific but it was about an extra 2GB for me, but that was often more than one rig at a time, plus I was also occasionally accidentally data on my phone when I would otherwise be on another wifi
It was a big driver of me setting up bluetooth tethering rather than hotspot, in addition to the other benefits (lower power usage, seamless transition from wifi to bluetooth and back)
rsilvers129
@rsilvers129
May 25 2017 23:14
I have blutooth tethering working. When I leave the house, it tethers automatically. But... today I walked to an area of my house with poor WiFi, and I was trapped there having a long conversation with a visitor, and my rig stopped looping. I guess it saw the WiFi so it didn't tether to my phone. It made me wonder if I should set it up to tether 100% of the time. Or maybe I should buy another WiFi access point. I have six already and it is not enough.
eyim
@eyim
May 25 2017 23:20
ace
peterfulvi
@peterfulvi
May 25 2017 23:41
RefreshKeyError:120. Can anyone out there give some advice on the error. Like I said im totally down. Im starting to think I'm the only person with this issue or I'm asking in the wrong place.
rsilvers129
@rsilvers129
May 25 2017 23:42
My pump loop started showing this: Preflight OK. Old settings refresh at Module.load (module.js:356:32)
ed. glucose.json newer than pump_loop_completed.
Temp refresh at Module.load (module.js:356:32)
ed
Could not parse input data: [SyntaxError: /root/myopenaps/monitor/iob.json: Unexpected end of input]
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/init.py", line 51, in call
self.run(self.args)
File "/usr/local/bin/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in call
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 48, in main
reporters.Reporter(report, device, task)(output)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/reporters/init.py", line 33, in call
self.blob = self.serialize(data)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/reporters/init.py", line 31, in serialize
return self.method.serialize(render(data), self)
File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/process.py", line 56, in prerender_json
return json.loads(data)
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Error, retrying