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

30th
May 2017
Helene Brashear
@sillystring13
May 30 2017 01:16
is there a script to push your pump settings from your openaps rig to nightscout or do you have to upkeep that by hand?
katie disimone
@Kdisimone
May 30 2017 01:29
@sillystring13 by hand
PieterGit
@PieterGit
May 30 2017 06:08
@tim2000s : what problems do you encounter on your rpi? I've got some fixes for the TI USB (presumably not only for WW pumps), see openaps/oref0#456 or openaps/oref0#470 These are not merged with dev yet.
Tim Street
@tim2000s
May 30 2017 06:25
@PieterGit Not really Ti stick. After a while being up it just stops being accessible via ssh, disconnects me and breaks the pipe.
PieterGit
@PieterGit
May 30 2017 06:26
i have a pi as well and sometimes the wifi connection get losts. i suspect it's an issue with oref0-online script. you might try to disable that for a while. is it a mobile or a fixed/in-house rig?
didn't have time to debug it, because my new edison rig is very stable and is used 24/7, so if the wifi disappears on the fixed/in-house rpi (i use it for the 7" screen) i just reboot it
Tim Street
@tim2000s
May 30 2017 06:57
You're probably right about that. Need to be on it for long enough to disable that.
On another note, on my recent install from dev, my NS-status.json file isnt getting populated so nothing is getting uploaded. Any ideas on that one?
(It's looping happily without uploading though)
PieterGit
@PieterGit
May 30 2017 07:06
if you can debug the oref0-online thing on pi3 it would be nice. it's not high enough on my list. i reworked the upload bits to use token based authentication, i'll keep an eye on my ns-status.json
scharfenort
@scharfenort
May 30 2017 07:16

Hey all,
I am using openAPS as an uploader only (RPi3 uploader Base - not as an Loop System)....

Since view days, I didn't get the blood sugar in Nightscout. Treatmenst, Temp Basal are shown correctly...

Today I rerun the Setup script. No success. And I deleted the MLab DB entries - No success....

in MLab DB new data is stored for e.g. devicestatus table. But entries table are still empty...

I Am using the RPi3 with a minimed veo Pump in europe...

Attached my LOG. ... Could someone help me, with my issue?

Name
Documents
Capped?
Size
auth_subjects
1
false
8.22 KB

devices
0
false
7.98 KB

devicestatus
7
false
29.86 KB

entries
0
false
55.89 KB

food
5
false
33.61 KB

profile
2
false
29.92 KB

treatments
5
false
75.78 KB

Starting pump-loop at Tue May 30 09:10:10 CEST 2017:
Radio ok, Listening: .No pump comms detected from other rigs (this is a good thi ng!)
MDT cgm data retrieved
MDT cgm data reformatted
Profile less than 60m old
glucose.json newer than temp_basal.json
Temp refreshed
{"iob":0.965,"activity":0.0242,"bolussnooze":0,"basaliob":0,"netbasalinsulin":0,"hightempinsulin":0,"time":"2017-05-30T07:09:38.000Z"}
{"delta":3.33,"glucose":174,"short_avgdelta":1.94,"long_avgdelta":-0.32}
{"duration":0,"rate":0,"temp":"percent"}
target_bg unchanged: 100
Carb Impact: 15.4 mg/dL per 5m; CI Duration: NaN hours
Accel. Carb Impact: 10 mg/dL per 5m; ACI Duration: NaN hours
Setting neutral temp basal of 0.1U/hr
determine-basal://text/shell/enact/suggested.json
reporting enact/suggested.json
{"temp":"absolute","bg":174,"tick":"+3","eventualBG":141,"snoozeBG":141,"predBGs":{"IOB":[174,172,170,168,165,162,159,155,151,147,142,137,131,127,123,120,118,117]},"IOB":0.965,"reason":"COB: undefined, Dev: 92, BGI: -15.73, ISF: 130, Target: 100; Eventual BG 141 >= 120, basaliob 0.97 > max_iob 0; setting current basal of 0.1 as temp. Setting neutral temp basal of 0.1U/hr","duration":30,"rate":0.1}
pump://JSON/set_temp_basal/enact/enacted.json
reporting enact/enacted.json
{"requested":{"duration":30,"rate":0.1,"temp":"absolute"},"bg":174,"temp":"percent","snoozeBG":141,"timestamp":"2017-05-30T09:12:12.408901","predBGs":{"IOB":[174,172,170,168,165,162,159,155,151,147,142,137,131,127,123,120,118,117]},"rate":0,"reason":"COB: undefined, Dev: 92, BGI: -15.73, ISF: 130, Target: 100; Eventual BG 141 >= 120, basaliob 0.97 > max_iob 0; setting current basal of 0.1 as temp. Setting neutral temp basal of 0.1U/hr","eventualBG":141,"recieved":false,"duration":0,"tick":"+3","IOB":0.965}
glucose.json newer than pumphistory: Refreshed pumphistory
{"iob":0.95,"activity":0.024,"bolussnooze":0,"basaliob":0,"netbasalinsulin":0,"hightempinsulin":0,"time":"2017-05-30T07:10:18.000Z"}
{"delta":3.33,"glucose":174,"short_avgdelta":1.94,"long_avgdelta":-0.32}
{"duration":0,"rate":0,"temp":"percent"}
target_bg unchanged: 100
Carb Impact: 15.3 mg/dL per 5m; CI Duration: NaN hours
Accel. Carb Impact: 10 mg/dL per 5m; ACI Duration: NaN hours
Setting neutral temp basal of 0.1U/hr
determine-basal://text/shell/enact/suggested.json
reporting enact/suggested.json
{"temp":"absolute","bg":174,"tick":"+3","eventualBG":143,"snoozeBG":143,"predBGs":{"IOB":[174,172,170,168,166,163,159,156,152,147,143,138,132,128,124,122,120,119]},"IOB":0.95,"reason":"COB: undefined, Dev: 92, BGI: -15.6, ISF: 130, Target: 100; Eventual BG 143 >= 120, basaliob 0.95 > max_iob 0; setting current basal of 0.1 as temp. Setting neutral temp basal of 0.1U/hr","duration":30,"rate":0.1}
pump://JSON/set_temp_basal/enact/enacted.json
reporting enact/enacted.json
{"requested":{"duration":30,"rate":0.1,"temp":"absolute"},"bg":174,"temp":"percent","snoozeBG":143,"timestamp":"2017-05-30T09:12:58.435482","predBGs":{"IOB":[174,172,170,168,166,163,159,156,152,147,143,138,132,128,124,122,120,119]},"rate":0,"reason":"COB: undefined, Dev: 92, BGI: -15.6, ISF: 130, Target: 100; Eventual BG 143 >= 120, basaliob 0.95 > max_iob 0; setting current basal of 0.1 as temp. Setting neutral temp basal of 0.1U/hr","eventualBG":143,"recieved":false,"duration":0,"tick":"+3","IOB":0.95}
Settings less than 10m old
Pumphistory-24 less than 20m old
Completed pump-loop at Tue May 30 09:13:05 CEST 2017
PieterGit
@PieterGit
May 30 2017 07:23
@scottleibrand Who's in charge of future dexcom_reader releases? I haven't seen @bewest around for quite some time here. There are some small fixes on separate branches that can possibly can be merged to a new dexcom_reader release @afcady @channemann do you have more dexcom_reader improvements? I would like to get openaps/dexcom_reader#16 squashed @cropp do you still have issue openaps/dexcom_reader#15
image.png
PieterGit
@PieterGit
May 30 2017 07:32
I will work on the PR stuff and the merging, but I was wondering who can merge the PR's to dev and make a dexcom_reader release.
Dana Lewis
@danamlewis
May 30 2017 07:35
@scharfenort try openaps first-upload from inside your myopenaps directory
scharfenort
@scharfenort
May 30 2017 07:38
@danamlewis cool... I received the first value again.... Lets check if the history and the further data will come :)
scharfenort
@scharfenort
May 30 2017 07:52
@danamlewis Works! Thank you very much :-D
Tim Street
@tim2000s
May 30 2017 08:31
Worked out my issue. The Edison voltage check doesn't work on the 0.2.0 build of jubilinux I'm running on so it was blocking the uploader. Taking it out has fixed that problem but there's obviously something else that needs addressing. @esialb FYI
Scott Leibrand
@scottleibrand
May 30 2017 10:11
@PieterGit all of Ben's Python stuff is mostly orphaned now. @oskarpearson volunteered to maintain some of it, but we're still a few releases behind on a bunch of stuff, and still need someone who can do more regular maintenance.
Miiko
@tw_miiko_twitter
May 30 2017 11:11

As I run pump loop, log shows the problem: MDT cgm data retrieveError! How to fix this error?I ues 712 pump+Edison Explorer.

Log looks like this:
root@edisonal:~/myopenaps# tail -F /var/log/openaps/pump-loop.log
SUCCESS
sleep 0.5
exit 0
/usr/local/bin/oref0-subg-ww-radio-parameters-timeout: 8: kill: No such process
mmtune: Starting pump-loop at Tue May 30 11:13:17 CEST 2017:
Radio ok, Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
MDT cgm data retrieveError, retrying
Starting pump-loop at Tue May 30 11:14:21 CEST 2017:
Radio ok, Listening: .No interfering pump comms detected from other rigs (this i s a good thing!)

Scott Leibrand
@scottleibrand
May 30 2017 11:23
The docs have an entire troubleshooting section on how to run aliases and reports manually to drill down on "Error, retrying" messages.
Miiko
@tw_miiko_twitter
May 30 2017 11:28
How is the CGM data collected for the looping at OpenAPS (712 Pump + Edison)? Directly from transmitter to rig? Or over 712 Pump to rig?
thank you, I am reading it...
Miiko
@tw_miiko_twitter
May 30 2017 11:50
Hi Scott Leibrand, thanks for your reply. I am reading the doc and trying with the manual steps now. But I don't understand, how OpenAPS collects the CGM data. Because I am using 712 pump, which does not collect medtronic CGM data. Do I need a transmitter, e.g. CareLink stick, to transfer the CGM data? Thank you in advance!
daengler
@daengler
May 30 2017 12:15
Hello All... setting up an entirely new OpenAPS system for my daughter. I'm gathering hardware and (somewhat impatiently) waiting for the Explorer Board and the Intel Edison to come back in stock... is this a usual thing? Do they go in and out of stock quickly? Related question: The recommended 3.7v 2000mAh lipo battery is out of stock at adafruit. Any problem with ordering the 3.7v 2500mAh variety?
Diadon81
@Diadon81
May 30 2017 12:22
[ 1821.907306] BUG: sleeping function called from invalid context at kernel/mutex.c:95
[ 1821.907397] in_atomic(): 1, irqs_disabled(): 0, pid: 77, name: krfcommd
[ 1821.907460] CPU: 0 PID: 77 Comm: krfcommd Tainted: G        W  O 3.10.98-poky-edison #5
[ 1821.907520] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 466 2014.06.23:19.20.05
[ 1821.907584]  f6be32a0 f6be32a0 f5959e1c c18b64f8 f5959e40 c126a063 c1aae350 00000001
[ 1821.907693]  00000000 0000004d f6be35ac f4c47008 f4c4782c f5959e4c c18b931c f5b24200
[ 1821.907798]  f5959e88 c18419c7 f6a30000 f4cf6874 f5959e6c 00000001 f5b24200 f5b91de0
[ 1821.907902] Call Trace:
[ 1821.907953]  [<c18b64f8>] dump_stack+0x16/0x18
[ 1821.908009]  [<c126a063>] __might_sleep+0xe3/0x110
[ 1821.908064]  [<c18b931c>] mutex_lock+0x1c/0x30
[ 1821.908117]  [<c18419c7>] rfcomm_reparent_device+0x47/0x120
[ 1821.908176]  [<c1841af7>] rfcomm_dev_state_change+0x57/0xa0
[ 1821.908234]  [<c183e79c>] rfcomm_process_rx+0x67c/0x7c0
[ 1821.908289]  [<c183ec07>] rfcomm_run+0x327/0x7d0
[ 1821.908345]  [<c126ef20>] ? default_wake_function+0x10/0x20
[ 1821.908404]  [<c183e8e0>] ? rfcomm_process_rx+0x7c0/0x7c0
[ 1821.908458]  [<c1260324>] kthread+0x94/0xa0
[ 1821.908508]  [<c18b0000>] ? rcu_cpu_notify+0x4f8/0x54a
[ 1821.908566]  [<c18c0cf7>] ret_from_kernel_thread+0x1b/0x28
[ 1821.908621]  [<c1260290>] ? kthread_create_on_node+0xc0/0xc0
I am getting this error message after I pair my bluetooth on edison board with pebble watch
maybe someone has same problem?
bluetooth works well, but this message is very annoying
Eric Jensen
@elnjensen
May 30 2017 12:44
@scottleibrand @PieterGit What sort of work needs to be done with these Python packages? I'm not running oref[0,1] - I'm using Loop - but have been looking for a way to contribute to the overall effort, and I know a lot more Python than Swift. Not sure if a non-user is the best maintainer, though.
rsilvers129
@rsilvers129
May 30 2017 13:22
@daengler I would get the 2500 battery. It doesn’t have more power than you will want. The boards are hard to get. I would suggest ordering two.
daengler
@daengler
May 30 2017 13:24
Great. Thanks @rsilvers129 . I can get the battery off of Amazon. Do you mean get two Explorer and two Edison boards? Is it recommended to have a spare?
rsilvers129
@rsilvers129
May 30 2017 13:26
I would just build two rigs from the start. Here is why. When it breaks or you lose it, do you want to be without it for a random number of weeks? What if you upgrade it with new software, and it stops working, and it takes a few days to get it working again, wouldn’t you just want another one to fall back on? Maybe if some day the parts are all on Amazon Prime and always in stock, I could be ok with one of them. As it is, one of my Explorer boards is sent back waiting for a replacement, with no sense for how many weeks it will take to send a new one.
daengler
@daengler
May 30 2017 13:29
good point... as it is I'm waiting for the Edison and Explorer boards to be available on HamShield. I see I can get the Edison elsewhere and try flashing Jubilinux myself, but I think I'm correct that the Explorer board is only found on this one site. At least I can get the battery and other parts. I acquired an insulin pump this weekend with 2.4a firmware so I'm on my way.
live4sw
@live4sw
May 30 2017 13:30
Totally agree with @rsilvers129 .
Unrelated question - have most people switched over to the G5 at this point, or is G4 w/Share still used by a lot of people? Worth switching?
cameronrenwick
@cameronrenwick
May 30 2017 14:33
whats the difference between my openAPS pill saying "looping" vs "enacted"? I don't see much with regard to basals being set etc. - all seems functional either way. Just wondering
rsilvers129
@rsilvers129
May 30 2017 14:48
@daengler Yes, the Explorer is only available from that one place. Flashing the Edison is not hard at all. It is 15 minutes to do it. Just remember that it will look like it is stuck in a loop rebooting 4-5 times. That is normal. Let it keep doing it. And make sure to download the latest Jubilinix (highest number), which is a little confusing as the older versions are in the same folder and the oldest one is listed first.
daengler
@daengler
May 30 2017 15:02
hmmm... perhaps I will try getting the Edison board while waiting for the Explorer to come back in stock (likely end of June) Is there anyway to have a working rig on an Edison without the Explorer?
rsilvers129
@rsilvers129
May 30 2017 15:05
@daengler I think you would need to find a CareLink USB dongle for that to work.
I have an issue. This used to work on a previous install, but now when I come home, the BT tether doesn’t drop and replace with WiFi. I need to turn off my hotspot for a second. I even read the docs and put in that crontab entry to look for WiFi and connect. Any ideas?
Jason Wittmer
@jbwittmer
May 30 2017 15:16
@daengler Someone else will have to clarify, but my recollection is that the Carelink Sticks are not compatible with the Edison. You could use a TI stick over USB ( or soldered for that matter) pending the availability of an Explorer Board, but if you're setting up your first rig I wouldn't necessarily recommend going that way. It takes a bit of work. That said, I was impatient when the Explorer boards were first coming out and someone told me "just to wait for the explorer board". Ended up making 2 soldered rigs and was looping with small rig 2-3 months sooner than I would have been otherwise. You can PM me if you want some details and I'll try to help. It's also all in the older version of the docs. I can try to point you in the right direction.
hilarykoch
@hilarykoch
May 30 2017 15:18
@live4sw We use G4 with receiver. I personally don’t like some of the bugs I’ve heard people mention with G5 app. I also love being able to connect our rig directly to receiver for offline looping.
Scott Leibrand
@scottleibrand
May 30 2017 15:31
@elnjensen Are you already familiar with Pypi?
@miiko You told your rig that you use MDT CDM (Enlite). It sounds like that is wrong, so you'll need to re-run oref0-setup and provide the correct answer, then redo the rest of your setup steps.
Tony Zarro
@tzarro
May 30 2017 16:20
I've got a question I'm not even sure how to search for, so here goes: I am at work and need to add the guest wifi network to my OpenAPS (Edison), but when I connect to my work computer via Serial on Putty, I can't actually do anything (like modify files, etc) because the system keeps scrolling through what appears to be a bunch of logs. Even if I reboot, these logs keep streaming to my Putty session and I can't type more than two words without being interrupted by things like this:
[ 5806.511162] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 5806.521066] wifi_platform_get_mac_addr
[ 5806.527342] wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt
[ 5806.538651] Firmware up: op_mode=0x0015, MAC=78:4b:87:a1:d5:d0
[ 5806.570275] Firmware version = wl0: Aug 15 2014 15:09:17 version 6.20.190.2 (r497061) FWID 01-bb9bbd07
[ 5806.580941] dhd_preinit_ioctls wl ampdu_hostreorder failed -23
[ 5811.459858] wl_bss_connect_done succeeded with 48:5a:b6:6a:9b:85
[ 5811.497414] wl_bss_connect_done succeeded with 48:5a:b6:6a:9b:85
Any ideas on how to stop all that? It doesn't happen when I login via Serial from my home PC
cameronrenwick
@cameronrenwick
May 30 2017 16:30
this happened to me a while back and IIRC I just opened another terminal window and added the code I needed. I believe (again IIRC) that output is your wifi searching... others will likely have better input but if you haven't tried a new terminal window give that a shot
Tony Zarro
@tzarro
May 30 2017 16:33
every new window does the same thing, however your suggestion is helpful: if wifi is all that is, I'll run this command to disable wifi for a few minutes (from the doc section on enabling bluetooth tethering), and see if that gives me the uninterrupted time I need to make the changes I want: iwconfig wlan0 txpower off; sleep 120; iwconfig wlan0 txpower auto
Yep, that did it...was able to add my new network to the config file, just need to wait for the wifi to wake up again and that should have that sorted out...thanks @cameronrenwick !!
Matthias Granberry
@mgranberry
May 30 2017 16:51
There was a poll a few days ago on the Looped facebook group that showed most people using a target of 90. I'm all for aggressive management and have tuned some of the oref1 algorithms to deliver insulin faster, but even with well-tuned settings that seems like it might be a bit aggressive. Is there any guidance on when reducing targets is likely to be safe?
Scott Leibrand
@scottleibrand
May 30 2017 16:52
FWIW, we have a hard lower target limit of 80 in oref0
Dana Lewis
@danamlewis
May 30 2017 16:53
Keep in mind also will vary depending on whether you actually run at/over/under your target most of the time. But that's probably the guidance you're looking for? That plus insight on having several days of no lows with a previous target setting.
(Also I think that poll is a super super small sample of some of the most engaged folks on Fbk, so would not consider it representative)
Matthias Granberry
@mgranberry
May 30 2017 16:56
I tend to run, on average, at the target, but there is some "ringing" from over-delivered insulin (by about 10% of the delta). I could rein that in a bit, but I prefer to have both aggressive reaction to highs and plenty of safety margin. I guess it's a personal preference thing
and you're right there. That's probably a somewhat unrepresentative sample and I probably shouldn't worry at all given that I now can a) get great results and b) only think about diabetes when I'm planning meals or exercise.
Dana Lewis
@danamlewis
May 30 2017 16:57
Yep. Totally a YDMV on both target and where people like to run.
Scott Leibrand
@scottleibrand
May 30 2017 16:57
I'd guess that most people probably run an average BG closer to 20 points above target. that is defeinitely a YDMV thing, and probably varies based on how low or high carb someone's diet is.
Dana Lewis
@danamlewis
May 30 2017 16:58
:fire: :clap: for "think only about diabetes when I'm planning meals or exercise" :raised_hands:
Matthias Granberry
@mgranberry
May 30 2017 17:02
It still feels like there should be a statistical test to rein in targets somehow, but the nonlinear risk and the fact that BGs aren't really normal make it hard for me to reason about. I guess at the end of the day I'm happy and shouldn't worry, but it's hard for me to leave things on the table.
Matthias Granberry
@mgranberry
May 30 2017 17:08
Something like a shift of targets to minimize a 2-week 10th/90th percentile risk function seems like it should work well. I'd want to be certain that something like that wouldn't cause unacceptable lows.
dan lightner
@danimaniac
May 30 2017 17:11
@mgranberry @scottleibrand FWIW: Over the previous 90 days (according to xDrip+) I am averaging 16 points higher than target. Average is 111.2 and targets are 95-95. I am satisfied with that!
Matthias Granberry
@mgranberry
May 30 2017 17:15
@danimaniac That's pretty similar to how it works for me, but there are portions of the day where I definitely run higher on average. Those periods might benefit from lower targets to flatten everything out. I'm sure a little more planning around dosing for food would help out even more, but I'm not so good at sustained effort. :smile: It's much easier if I can offload effort to a combination of math and computers.
But a fixed target of 95 keeps me at <1% low and that's been a big win.
Eric Jensen
@elnjensen
May 30 2017 17:17
@scottleibrand I have of course used PyPI to install packages, but I've never packaged things for it. Hope to be distributing some new code later this summer for work, though, so it's probably time to learn!
Scott Leibrand
@scottleibrand
May 30 2017 17:21
@mgranberry if you want to help reduce "ringing" (oscillation), one thing that might help would be to derive a better IOB curve based on actual observed BG deviations...
Scott Leibrand
@scottleibrand
May 30 2017 17:47
@elnjensen ok, cool. if/when you've had some practice and are comfortable becoming a pypi package maintainer, we can engage Ben on giving you permissions
kenkotch
@kenkotch
May 30 2017 17:59
hey all, when I get to a known wifi, my rig does not switch to it from my iPhone/BT connection. Any ideas?
When I turn on my hotspot, it doesnt connect until I am out of wifi range-as it should.
Scott Leibrand
@scottleibrand
May 30 2017 18:01
@kenkotch does it switch if you disable to the phone hotspot? also check your /var/log/openaps/network.log to see if wifi is connecting successfully
kenkotch
@kenkotch
May 30 2017 18:03
yes, as soon as I disable it switches successfully. If it is relevant, I'm on dev branch. Was having wifi issues on Master
i'll look at network.log
Matthias Granberry
@mgranberry
May 30 2017 18:04
@scottleibrand I've actually got code to do just that. I just need to integrate the result to get IOB, but I got distracted and moved on to other things. I think I'll end up stealing @tim2000s's sigmoidal insulin model and using it. I'd love to be able to derive it autotune-style.
jtsackdex
@jtsackdex
May 30 2017 18:08
Finally back at this project. I have successfully installed Most of the software to my rig. I did run into problems when using some of the automated scripts . My rig doesn't know the sudo command and stops at these processes. I have worked around it up until now by just looking copying and pasting without sudo. I tied to run the oreof setup, got all the way to mmeowlink and couldn't install at line 340 or logrotate at line 370. I'm not sure where to find thes individual lines or how to get sudo to function correctly. Help?
Dana Lewis
@danamlewis
May 30 2017 18:09
@jtsackdex if it complained about sudo, you need to stop and go back and re-run the command before that
kenkotch
@kenkotch
May 30 2017 18:11
@scottleibrand network log looks normal. it only changes to wifi if i turn off hotspot
Matthias Granberry
@mgranberry
May 30 2017 18:12
@scottleibrand I see fairly roughly the same variations in DIA as I do variations in insulin sensitivity, so I suspect an autosens-style online tuning process for a few of the parameters would work best there too.
they just aren't always in the same direction. Old sites work poorly but faster.
Tim Street
@tim2000s
May 30 2017 18:23
@mgranberry I need to try and create the first derivative of it.
On a different note, my LPON lasted about an hour longer than my SPON Edison today.
Both with similar batteries, same code, etc.
Dana Lewis
@danamlewis
May 30 2017 18:24
For anyone who’s been getting the CSF = 0 results (using dev and oref1), if you want to try openaps/oref0#484 and if it works (gets you an autotune with a proper number for CSF), please comment on the PR. That will expedite getting the fix merged into dev for everyone to use.
jtsackdex
@jtsackdex
May 30 2017 18:25
@danamlewis ok. my rig hasn't liked sudo ever. so did i just entirely screwed up? I have tried to rerun setup several times now and setup stops at installing mmeowlink and logrotate
Dana Lewis
@danamlewis
May 30 2017 18:25
@jtsackdex you’ll want to back up well before that, to around http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-0/edison-explorer-board-Mac.html#installing-packages-ssh-keys-and-other-settings and make sure those steps all succeed
Miiko
@tw_miiko_twitter
May 30 2017 18:26
@scottleibrand Thank you. I use 712 Pump and Enlite CGM-Sensor from Medtronic, what should I select for CGM Setting of List. I do not have neither g4, g5 nor xdrip.
Tim Street
@tim2000s
May 30 2017 18:29
LPON is about 8% longer lived than SPON. That gets a "not really worth shouting about" from me.
:-1:
Dana Lewis
@danamlewis
May 30 2017 18:29
goes along with what everyone else has said, too
Scott Leibrand
@scottleibrand
May 30 2017 18:29
@tw_miiko_twitter you said "I am using 712 pump, which does not collect medtronic CGM data"
So how are you getting CGM data off your Enlite?
Scott Leibrand
@scottleibrand
May 30 2017 18:36
OpenAPS doesn't support the 640g. if you want to loop off 640g data, you'd need to build your own system for uploading 640g CGM data to Nightscout. ah, sounds like you have that already.
in that case, just pick the default in oref0-setup (g4) and it'll just use the NS data
Miiko
@tw_miiko_twitter
May 30 2017 18:40
thank you so much! @scottleibrand
I will trying resetting to g4.
jtsackdex
@jtsackdex
May 30 2017 18:45
@danamlewis Yes, I totally skipped over this. I got an Edison that has 1 ubilinux on it and 2 The title said for MAC so I looked thru it extremely fast assuming nothing was all that critical to me since I'm using PuTTY on a Win machince. Back to rereading. Thanks
Miiko
@tw_miiko_twitter
May 30 2017 18:46
@scottleibrand Now I use 640g without looping,
but would like to build with the 712 to Openaps to Looping.
(might be worth reading from the top in case there are other things you missed)
jtsackdex
@jtsackdex
May 30 2017 18:47
Yep Thanks
jtsackdex
@jtsackdex
May 30 2017 18:54
@danamlewis Now I see the error. I was logged as Root trying to do these autoscript commands when Sudo only has permission at Edison.
Matthias Granberry
@mgranberry
May 30 2017 18:59
@danamlewis Is there any way to determine what the DIA is set to from devicestatus or open humans data? I'm trying to determine how I would be able to best train an insulin model on a population vs. individual and if weight, dia, and pump/cgm data are all available this should be pretty straightforward to develop something that starts off good.
Dana Lewis
@danamlewis
May 30 2017 18:59
not sure if it’s in device status, but should be in their profile. weight would not be in there anywhere, though.
I’d like to do this without weight, though, and do it based on the existing tracked data
Matthias Granberry
@mgranberry
May 30 2017 19:01
It was one of the survey questions when I signed up for the commons and I assumed that data would be available too, but I don't think it's necessary. It seems like it would help in the "cold start" case.
Dana Lewis
@danamlewis
May 30 2017 19:02
ah, then yes if someone filled that out on the survey it’s available. I was thinking the raw Nightscout data doesn’t have it.
afaik, I think most people are filling it out, I think there have been a handful people who have skipped that and/or the a1c question, but there should be at least a dozen w/ that info so far
(for anyone who’s wondering what we’re talking about - donate your data :) using Open Humans, so we can use it for things like this (population based data-driven development, plus other research studies) Details: http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-4/data-commons-data-donation.html
rsilvers129
@rsilvers129
May 30 2017 19:49
On Master my rig is not going back to WiFi. It used to on a previous install. I just redid all the setup and it didn't fix it. Maybe it was working when it was on Dev.
rsilvers129
@rsilvers129
May 30 2017 19:55
As for targets, in theory you could multiply your standard deviation times three, and subtract that from your mean, and 99.6% of your values should stay above that. That is assuming the Dexcom is perfect, which it is not. So if you are running a standard deviation of 25, and a mean of 125, then 99.6% of the time you would be above 50. Since one shouldn't go below 50, one could argue that a mean of 125 is a good thing. That is probably the math that Medtronic did when coming up with their 120 setting. I have tried a target of 90 the last three days. It is doable because at night you are fasting so there are no large swings. During the day I have gone low a few times, but I am awake so I can deal with it. Just now I did an eating-soon mode and then did a pre-bolus knowing I was 10 minutes from arriving at McDonalds. But then he traffic stopped for construction. I arrived at McDonald's 30 minutes later with my urgent low alarm going off. So, if I eat targeting the 120 range that wouldn't have happened.
Scott Leibrand
@scottleibrand
May 30 2017 19:57
in that situation, I would do the eating soon bolus (but not a full pre-bolus) and pre-enter the carbs, so that AMA can start high-temping or oref1 can start SMB'ing, but it won't get so much insulin going that you can't ride out a delay. then top off the bolus once the food hits your mouth if it hasn't done enough by then...
rsilvers129
@rsilvers129
May 30 2017 20:00
On my 90 target I have been averaging 93 with a standard deviation of 24.8. A1C estimation of 4.8. But 5% of my reading have been too low, which is not ok. So if I can't tune those out, I will raise my target. But I think I can tune them out.
Scott Leibrand
@scottleibrand
May 30 2017 20:04
if you're getting an average that low on as many carbs as you've been posting about, you might want to bolus less for meals and let the loop take care of the rest...
(assuming your lows are postprandial)
rsilvers129
@rsilvers129
May 30 2017 20:06
Me average is not on high carbs.
My main low was my error.
I have not had lows that were the fault of the rig.
Scott Leibrand
@scottleibrand
May 30 2017 20:11
that's good. if you want to do the early carb entry thing, yes, you can do it with the bolus wizard, but you'll need to administer a minimal bolus (0.1U or whatever) to actually get it to save the record.
if you enter carbs via IFTTT / care portal instead of via bolus wizard, that makes it a bit easier to split the carb entry and bolus in time
but obviously you don't get the bolus wizard doing the calculations for you if you do that
rsilvers129
@rsilvers129
May 30 2017 20:18
So an eating soon mode where it not only sets a target of 80, but has, for example, 10 or 20 carbs associated with it? Then later one does the Bolus wizard for the rest of the carbs after they start eating?
Dana Lewis
@danamlewis
May 30 2017 20:21
I would do: Eating Soon (target only), then whatever set of carbs you want to do, either slightly pre-entered before the meal so SMB can ramp up, or split however you decide works well for you, plus meal bolus at time of meal (or slight pre-bolus if that works best for you)
ericmtx
@ericmtx
May 30 2017 20:23
what option on the care portal do you like best for entering upcoming carbs?
Dana Lewis
@danamlewis
May 30 2017 20:23
@ericmtx I use IFTTT and either the widget on my phone or via Pebble to enter carbs
rsilvers129
@rsilvers129
May 30 2017 20:24
@danamlewis How do you enter carbs though when IFTTT is just a button press?
ericmtx
@ericmtx
May 30 2017 20:24
@danamlewis hmm - is there an equivalent on the care portal for carbs only?
Dana Lewis
@danamlewis
May 30 2017 20:25
@rsilvers129 I built 5, 15, 30, 60 etc. carb buttons to use
Scott Leibrand
@scottleibrand
May 30 2017 20:25
@ericmtx in care portal there's also a carb entry option that requires typing in the amount.
rsilvers129
@rsilvers129
May 30 2017 20:25
I have a low-treat 5 and a low-treat 15 button. Same thing I think?
Dana Lewis
@danamlewis
May 30 2017 20:26
yea except for I use 15 for regular food, too, so just called it 15
Tim Street
@tim2000s
May 30 2017 20:26
I do the same as @danamlewis - very quick and effective
ericmtx
@ericmtx
May 30 2017 20:26
@scottleibrand do you know if that's the "Carb Correction" event type?
Tim Street
@tim2000s
May 30 2017 20:26
and when I want to preload for a low go meal on oref1, I use the eating soon button and a meal size button.
rsilvers129
@rsilvers129
May 30 2017 20:27
@danamlewis So.. {"enteredBy": "IFTTT-button", "reason": "low treatment", "carbs": 15, "secret": …..
Scott Leibrand
@scottleibrand
May 30 2017 20:27
@ericmtx yeah, I think they call it "carb correction", but really it just enters carbs with no insulin
the low-treatment buttons dana is talking about also set a high temp target along with the carb entry
Dana Lewis
@danamlewis
May 30 2017 20:28
@rsilvers129 that says low treatment. if it’s not a low treatment, don’t call it that ;)
rsilvers129
@rsilvers129
May 30 2017 20:28
Is the string "low treatment” just for humans or does it trigger something as a command?
Dana Lewis
@danamlewis
May 30 2017 20:28
humans
ericmtx
@ericmtx
May 30 2017 20:28
@scottleibrand good to know - we'll try it out. need to look into IFTTT for her iPhone as well
dan lightner
@danimaniac
May 30 2017 20:47
I dropped my rig. It seems to loop and set temps properly. It reboots fine. The charging indicator led light fails to illuminate when the rig is plugged in. How can I verify if my rig is / not charging the lipo?
John Seaber
@jseaber
May 30 2017 20:52
@danimaniac - Do you have access to a multimeter?
dan lightner
@danimaniac
May 30 2017 20:53
@jseaber Why didn't I think of that? Thanks!
Bob Duerr
@Duer0049
May 30 2017 20:55
Good Afternoon All, I built a rig for my wife for mother's day and it has been working great except for one issue. I have been struggling with getting all her data to display on her phone in one app or widget. I have tried Nightwidget, Xdrip+, NS Client, I have even tried to turn the Heroku site into a widget. What do others use that have worked well for them?
Scott Leibrand
@scottleibrand
May 30 2017 20:55
there is a Nightscout app: does that have what you need?
Nightscout by Nightscout Foundation
https://appsto.re/us/Wn3N4.i
ericmtx
@ericmtx
May 30 2017 20:56
@Duer0049 second the nightscout app - at least from our iPhones it's great
Scott Leibrand
@scottleibrand
May 30 2017 20:56
Or are you on Android?
Bob Duerr
@Duer0049
May 30 2017 20:57
Yes, we are on Android.
Does the Apple App display everything from the Heroku site? Rig Status, Battery Levels, Temp Basal and so on...
rsilvers129
@rsilvers129
May 30 2017 21:02
IMG_6315.PNG.png
Tim Street
@tim2000s
May 30 2017 21:03
Screen Shot 2017-05-30 at 21.46.49.png
@thebookins Having a slight issue with building the loop G5 passthrough. getting this error
fidoman
@efidoman
May 30 2017 22:28
I see my endo on Thursday morning. Going to break the news to him that I changed from MDI (multiple daily injections) to OpenAPS. He is very open-minded. Any advice on how to explain it to him in 60 seconds or less. I already plan to take copies of everything I need prescriptions for ..
Miiko
@tw_miiko_twitter
May 30 2017 22:29
@scottleibrand I have changed CGM Setting to g4, now get the following message: Radio ok, Listening: .No pump comms detected from other rigs
Old pumphistory:
Error, retrying
Listening: .No pump comms detected from other rigs
/usr/local/bin/oref0-subg-ww-radio-parameters-timeout: 8:
rsilvers129
@rsilvers129
May 30 2017 22:32
@ericfeibelman I would use the NightScout reporting and grab some screen captures of the last X days on OpenAPS showing your average BG and standard deviation. And then show some days on your MDI. You can get that data from DexCom’s website if you don’t have it in NightScout already.
Sweet. I got dev to work. I am on it now.
rsilvers129
@rsilvers129
May 30 2017 23:38
@scottleibrand when I changed from master to dev, my Bluetooth started working correctly as per switching back to wifi when I get home.
Scott Leibrand
@scottleibrand
May 30 2017 23:42
cool. sounds like some of my recent updates to oref0-online helped you then.