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

15th
May 2017
cameronrenwick
@cameronrenwick
May 15 2017 00:14
just out of curiosity, are ppl going to SMB doing so on a second rig, keeping your current one going or just jumping in with both feet on your primary rig ? (I only have 1 currently; close to building #2..just trying to figure out best approach)
PopcornPam
@PopcornPam_twitter
May 15 2017 00:26
@johnnymule , yes!
Bob Duerr
@Duer0049
May 15 2017 00:41
@ELUTE Yes I did, just needed to get all the different systems connected, have been looping for about 12 hours now.
Dana Lewis
@danamlewis
May 15 2017 00:46
@cameronrenwick you should make sure any live rigs have the same set of preferences features etc. so most people are building on a second rig. But you should switch the second one over or turn it off after you set up SMB on the other so they don't combat each other. (Multiple rigs are fine; just need to have the same kind of setup)
cameronrenwick
@cameronrenwick
May 15 2017 00:59
so my plan is to build rig #2, creating it as a duplicate of my current rig, THEN alter to the SMB turning off rig 1. As my current rig is working so well I don't want to mess with it and if for some reason I run into probs with SMB I can fall back to #1. Assuming all goes well with SMB, then I'd migrate my #1 to the SMB. Just like having a backup plan I suppose when it's something as important as this..
Dana Lewis
@danamlewis
May 15 2017 01:00
:+1:
rsilvers129
@rsilvers129
May 15 2017 01:08
Has anyone pizza-tested SMB and UAM? With my current treatment, I find that pizza goes well for the first 2.5 hours, and then I need a bunch more insulin.
Dana Lewis
@danamlewis
May 15 2017 01:09
@rsilvers129 yes
rsilvers129
@rsilvers129
May 15 2017 01:10
IMG_5977.JPG.jpeg
Dana Lewis
@danamlewis
May 15 2017 01:11
Oref0 and AMA already does well w pizza and other large carb complex meals if you get the carb count generally in the ballpark. SMB also does well, and UAM helps even if your ballpark is a lot rougher ;)
rsilvers129
@rsilvers129
May 15 2017 01:11
So two large slices - would you think it would keep most people under 200?
I was perfectly flat for the first 2.5 hours on iLet. I could not even see the meal on the graph. But now I am at 250.
PopcornPam
@PopcornPam_twitter
May 15 2017 01:12
are you bihormonal or insulin only?
Dana Lewis
@danamlewis
May 15 2017 01:12
@rsilvers129 it depends also on starting bg, what insulin activity was happening going into the meal, etc. (and whether people have decent settings)
rsilvers129
@rsilvers129
May 15 2017 01:12
I was at 122 when I bolused. And I waited 15 minutes.
insulin only
I guess with this system one would have to bolus, then bolus again in two hours. That would probably work.
garykidd
@garykidd
May 15 2017 01:22
Just one user here but wanted to share that i hadn't had any radio problems with rig for months but in last couple weeks I've had to ccprog radio to restart rig half a dozen times. Not sure what is driving this
katie disimone
@Kdisimone
May 15 2017 01:59
@rsilvers129 that is the normal directory placement. Oref0 sends up in root/src. Myopenaps ends up in root as its own directory.
Mark Brighton
@seattlebrighton
May 15 2017 02:18
Can anyone help me understand how date/time should be getting set on edison? I can set it using date -s but then when I power it off, I need to reset each time. It seems like ntpd should be able to sync date/time with my wlan.
JELCRAWFORD
@JELCRAWFORD
May 15 2017 02:55
D
Scott Leibrand
@scottleibrand
May 15 2017 03:11
@seattlebrighton yes, NTP is the primary method for setting time on a newly booted rig. There is also an oref0-set-system-clock that will set it based off of the pump clock if NTP doesn't work.
Mark Brighton
@seattlebrighton
May 15 2017 03:18
If I reboot, then you'd expect to get something more current that this: root@<edison>:~# date
Sun Jan 9 00:37:18 PST 2000 ?
@scottleibrand what part of the reboot config tries to set clock from ntp - is it within oref0-set-system-clock?
Scott Leibrand
@scottleibrand
May 15 2017 03:24
The normal ntpd config is a system thing. You can google for how that is done in standard Debian installs.
If the pump-loop gets an error that BG data is too old, it runs oref0-set-system-clock, which attempts to sync NTP before proceeding to set the clock from the pump time if it can't.
birdfly
@birdfly
May 15 2017 03:34
if (iob_data.iob > 0) {
var naive_eventualBG = Math.round( bg - (iob_data.iob * sens) );
is it projected for 30 minutes
for the "iob_data.iob"
Mark Brighton
@seattlebrighton
May 15 2017 03:36
@scottleibrand What if the pump-loop gets an error that BG data is way in the future (NS says 2017, but edison rig says 2000? Same oref0-set-system-clock should run?
Scott Leibrand
@scottleibrand
May 15 2017 03:37
@seattlebrighton yes. What version/branch of oref0 are you running?
@birdfly I don't understand the question.
birdfly
@birdfly
May 15 2017 03:38
I mean that how long the openaps will predict the eventualBG
for we calculate BG impact deviations for 30 minutes
Scott Leibrand
@scottleibrand
May 15 2017 03:56
The naive_eventualBG, as you saw, incorporates IOB * ISF. If your IOB is mostly from insulin that was just delivered, then "eventual" is after DIA.
The deviations from what is predicted based on insulin activity are measured over the last 5, ~15, or ~30 minutes (depending on which gives the lowest deviation), and then extrapolated for the next 30 minutes (or, in the case of predBGs, to decrease to zero linearly over the next 60 minutes, for the same net effect).
birdfly
@birdfly
May 15 2017 04:04
function calculate_expected_delta(dia, target_bg, eventual_bg, bgi) ,we calculate the calculate_expected_delta over DIA/2 hours ,but the BGI deviations we just take 30 minuates
I think that expected_delta is decided by the bgi
but the duration are different ,the expected_delta is over DIA/2 hours,the bgi deviations is just 30 min
Scott Leibrand
@scottleibrand
May 15 2017 04:19
For expected delta, its based on the BGI, +/- whatever deviation (per 5m) would be required to bring eventualBG to target over DIA/2 hours.
birdfly
@birdfly
May 15 2017 04:23
let me see
Martin Haeberli
@mhaeberli
May 15 2017 05:08
...{"temp":"absolute","bg":205,"tick":-1,"eventualBG":401,"snoozeBG":238,”predBGs”…
so why is the eventualBG so high, and why did it reduce basals to get there?
this is oref0 ...
Dana Lewis
@danamlewis
May 15 2017 05:09
There's more logs than that - what do the rest say?
Martin Haeberli
@mhaeberli
May 15 2017 05:10
@danamlewis
{"temp":"absolute","bg":205,"tick":-1,"eventualBG":401,"snoozeBG":238,"predBGs":{"IOB":[205,203,202,201,202,202,202,202,202,201,199,198,195,194,193,192,191],"aCOB":[205,203,202,203,206,209,214,219,224,230,236,243,250,257,265,273,282,290,299,308,316,325,333,341,350,358,366,374,382,390,398,401],"COB":[205,204,204,206,210,214,219,225,232,238,245,253,260,269,277,286,296,305,315,324,333,342,351,361,369,378,387,396,401]},"COB":104,"IOB":1.798,"reason":"COB: 104, Dev: 66, BGI: -12, ISF: 35, Target: 110; Eventual BG 401 >= 120, basaliob 0.05 > max_iob 0; setting current basal of 1.15 as temp, but 30m left and 1.25 ~ req 1.15U/hr: no action required"}
{"bg":205,"temp":"absolute","snoozeBG":240,"recieved":true,"predBGs":{"COB":[205,204,204,206,210,215,220,226,233,240,248,256,264,273,282,292,302,312,322,332,342,352,362,372,381,391,400,401],"aCOB":[205,202,201,201,203,206,210,215,220,226,232,239,246,253,261,269,278,287,296,305,314,322,331,340,348,356,365,373,381,389,397,401],"IOB":[205,203,202,201,201,201,202,202,201,201,199,198,196,194,193,192,192,192,192,192,192,193,193,193,193,193,193,193,193,194]},"rate":1.25,"reason":"COB: 104, Dev: 70, BGI: -12.7, ISF: 35, Target: 110; Eventual BG 401 >= 120, max_iob 0, temp 0.9<1.25U/hr","COB":104,"eventualBG":401,"timestamp":"2017-05-14T22:04:27.127992","duration":30,"tick":-1,"IOB":1.841}
Settings less than 10m old
Pumphistory-24 less than 20m old
Completed pump-loop at Sun May 14 22:06:33 PDT 2017

Starting pump-loop at Sun May 14 22:07:10 PDT 2017:
Radio ok, Listening: .......No pump comms detected from other rigs
Profile less than 60m old
glucose.json newer than temp_basal.json
Temp refreshed
Temp duration 27m or more
glucose.json newer than pumphistory: Refreshed pumphistory
{"carbs":110,"boluses":22,"mealCOB":101}
{"ratio":1}
{"iob":1.673,"activity":0.0648,"bolussnooze":0,"basaliob":0.05,"netbasalinsulin":0.05,"hightempinsulin":0.05,"time":"2017-05-15T05:05:49.000Z"}
{"delta":11,"glucose":216,"short_avgdelta":6.56,"long_avgdelta":2.47}
{"duration":28,"rate":1.25,"temp":"absolute"}
target_bg unchanged: 110
Carb Impact: 13.8 mg/dL per 5m; CI Duration: 8.5 hours
Accel. Carb Impact: 10 mg/dL per 5m; ACI Duration: 11.8 hours
determine-basal://text/shell/enact/suggested.json
reporting enact/suggested.json
{"temp":"absolute","bg":216,"tick":"+11","eventualBG":401,"snoozeBG":276,"predBGs":{"IOB":[216,217,219,221,224,226,228,229,230,230,229,228,226,225,224,223,223,223,223,223,223,222],"aCOB":[216,215,215,216,219,223,228,233,238,244,251,257,265,272,280,289,297,306,315,323,332,340,349,357,365,373,381,389,397,401],"COB":[216,218,222,227,234,241,249,258,267,276,285,295,305,316,327,338,349,361,372,383,394,401]},"COB":101,"IOB":1.673,"reason":"COB: 101, Dev: 83, BGI: -11.34, ISF: 35, Target: 110; Eventual BG 401 >= 120, basaliob 0.05 > max_iob 0; setting current basal of 1.15 as temp, but 28m left and 1.25 ~ req 1.15U/hr: no action required"}
{"bg":205,"temp":"absolute","snoozeBG":240,"recieved":true,"predBGs":{"COB":[205,204,204,206,210,215,220,226,233,240,248,256,264,273,282,292,302,312,322,332,342,352,362,372,381,391,400,401],"aCOB":[205,202,201,201,203,206,210,215,220,226,232,239,246,253,261,269,278,287,296,305,314,322,331,340,348,356,365,373,381,389,397,401],"IOB":[205,203,202,201,201,201,202,202,201,201,199,198,196,194,193,192,192,192,192,192,192,193,193,193,193,193,193,193,193,194]},"rate":1.25,"reason":"COB: 104, Dev: 70, BGI: -12.7, ISF: 35, Target: 110; Eventual BG 401 >= 120, max_iob 0, temp 0.9<1.25U/hr","COB":104,"eventualBG":401,"timestamp":"2017-05-14T22:04:27.127992","duration":30,"tick":-1,"IOB":1.841}
Settings less than 10m old
Pumphistory-24 less than 20m old
Completed pump-loop at Sun May 14 22:08:34 PDT 2017
lots of meal boluses in the last three hours of pump history ...
Dana Lewis
@danamlewis
May 15 2017 05:11
A) carbs
B ) max iob is at 0
So setting current basal as temp (aka neutral) even though predicted high
Martin Haeberli
@mhaeberli
May 15 2017 05:12
‘doh re max iob
Dana Lewis
@danamlewis
May 15 2017 05:12
If you want it to high temp, adjust max iob
Martin Haeberli
@mhaeberli
May 15 2017 05:12
probably want high temp - i can rtfm but lazy gitter? can I just edit a text file or do i need to re-run setup
?
ok looks like re-run setup
Martin Haeberli
@mhaeberli
May 15 2017 05:21
@danamlewis ok, think i figured it out from the manual ...
Christoph Ke
@chriske64
May 15 2017 07:57

Hey! I am new to openaps. Maybe I should quickly introduce myself. I am 25 years old and come from Germany. I am T1D for 17 years and I'm running a Accu-Chek Spirit with the Freestyle Libre. Unfortunately, as far as I understand, my pump is not compatible with the openaps system so far.
I am doing a PhD in (pure) maths and like machine learning and coding.

  • In the open aps, you didn't include any machine learning code due to complexity and security. I was wondering if there are still people as a part of the openaps project who are working on this. I think there are several ways how machine learning could help.
  • My second question is concerned with hacking the Accu-Chek. Who is working on that at the moment and is there a way how to help?

Thanks again for this great project!

Timo Schrappe
@trytuna
May 15 2017 08:02
It's a secret! :smile:
Timo Schrappe
@trytuna
May 15 2017 08:10
Wo kommst du her chriske? Ich wollte mich demnächst damit beschäftigen
Matt Walker
@walker0
May 15 2017 08:10
@chriske64 Welcome! :smile: I'm sure that some machine learning contribution would be greatly appreciated. Especially in terms of Autotuning of settings. I'm sure that @scottleibrand would be interested in some contributions once you get up to speed with openAPS.
In terms of hacking the Accu-Chek, I think its possible but I haven't seen any work on it related to openAPS. The AndroidAPS people may know more as they have more interactions with those european pumps. Generally it is easier to find an old medtronic (or a DanaR if you want to do AndroidAPS).
elodaille01
@elodaille01
May 15 2017 08:47
Hi everybody here, how did you fix the classic trouble of a VirtualBox only showing 32 bit guest versions on a 64 bit host OS (first step AUTOTUNE) ? thank you !
Christoph Ke
@chriske64
May 15 2017 08:53
@walker0 Thanks! Do you have any recommendations on how and where to find an old medtronic or a DanaR?
LadyViktoria
@LadyViktoria
May 15 2017 09:16
@ochenmiller ;-)
Matt Walker
@walker0
May 15 2017 10:47
@chriske64 there is a good section in the openAPS guide on that. Craigslist/ buy and sell groups and medwow are the most common ways people have found them. Some people have managed to get old pumps from doctors etc but it is uncommon. Also, there is a Gitter chat dedicated to German Loopers, you might want to hop in over there and ask what pump and looping options they are using and where they got them from. https://gitter.im/LadyViktoria/germanLOOP
tynbendad
@tynbendad
May 15 2017 12:46
can i add "dia":4.5 in my preferences.json to override the integer-only value in the pump (settings.json)?
garykidd
@garykidd
May 15 2017 13:28
@scottleibrand any idea what may be causing my radio to cut out and need to be re-ccprog'd? It's happening everyday now.
wharper11
@wharper11
May 15 2017 13:43
hi. trying to set up wifi hotspot on my phone for the rig. for some reason I cannot open a serial session on the edison. I can only open vis ssh.
I need to open a serial session inn order to add my phone as hotspot.
wharper11
@wharper11
May 15 2017 13:50
I've tried reboot, turn off wifi, and changed ports with no luck.
Matt Walker
@walker0
May 15 2017 14:00
@wharper11 it doesn't answer your question but you can add a wifi/bluetooth network while connected over ssh, there is no need to switch to serial to do so
wharper11
@wharper11
May 15 2017 14:03
@walker0 thanks, I'll try it that way. I just need to shut down the wifi network in order to add the phone so Im kind of stuck.
Matt Walker
@walker0
May 15 2017 14:05
@wharper11 you shouldn't need to shut down the wifi to add the phone.
there are instructions in the openaps docs for how to do both wifi and bluetooth tethering, which are you trying to do?
wharper11
@wharper11
May 15 2017 14:06
wifi for now.
wharper11
@wharper11
May 15 2017 14:10
Thanks @walker0
I'll start there
Matt Walker
@walker0
May 15 2017 14:11
you just need to add the network name and password as in that example and you can do that over ssh. Then when you disconnect from your home wifi (walk around the block) it should automatically switch to the phone hotspot when it loses connection to home wifi. As long as you have the hotspot turned on of course
Mark Brighton
@seattlebrighton
May 15 2017 14:41
@scottleibrand For my ntp time/date issue, I'm on the dev branch, oref0@0.5.0-dev, which I think is about 2 weeks old. I'll try updating first, then checking that the pump comm is working, but it seems that even if it isn't edison should be getting current time/date from my wifi, via ntp and that doesn't seem to be happening. I'll google some debian configs to see if I can figure out where that
's set
Also, on NTP.org site, it says everyone should update to ntp-4.2.8p10 (released 21 March 2017) due to security issues. jubilinux seems to be on 4.2.6.
~/src/oref0# ntpd -v
ntpd - NTP daemon program - Ver. 4.2.6p5
Dana Lewis
@danamlewis
May 15 2017 14:59
@tynbendad no, dia comes from pump
@chriske64 welcome! We are still actively developing algorithms and features for OpenAPS. If you get up and running and/or get familiarized with the codebase, would be curious to hear your thoughts on how machine learning could be added in (and where) without sacrificing the ability for end users to understand what OpenAPS is doing and why.
Scott Leibrand
@scottleibrand
May 15 2017 15:21
@garykidd do you have a second rig yet, you might try swapping the Explorer boards / Edisons between your rigs and see which piece the problem follows...
@seattlebrighton we have everyone run apt-get update and upgrade when installing. Does that install the updated ntpd?
Also, there was a fix I put it last week to run oref0-reset-system-clock properly when using SMB, so you'll want to update oref0 to get that.
live4sw
@live4sw
May 15 2017 15:26
Up and running with my Edison/Explorer rig - I really like it, but I'm surprised at how much weaker the range is than my Pi with TI stick. Is this pretty universal for everyone? Did people find the xacto/incision trick helpful enough to be worth doing?
Also, do people find that the range is a bit weaker while it's charging, or no difference? Just surprised that the range is noticeably much weaker than my TI stick rig.
Dana Lewis
@danamlewis
May 15 2017 15:31
I'd try cutting it if you're having that experience
live4sw
@live4sw
May 15 2017 15:31
For me, I seem to have one successful loop, then a bunch of Old pumphistory-24h refreshError, retrying, then another successful one.
So it works every 15-20 minutes or so, which is ok but a bit disappointing
Dana Lewis
@danamlewis
May 15 2017 15:31
No difference observed when charging
katie disimone
@Kdisimone
May 15 2017 16:54
When rig and pump are more than 60sec apart…will loop only fail to enact SMBs or will it also fail to set temp basals?
@scottleibrand that fix for the pump and rig time being off…does it have a delay on it or does it run upon first error?
Scott Leibrand
@scottleibrand
May 15 2017 16:57
it should run on first error. I'm not sure if it will fail back to regular pump-loop in that situation or not. it probably should.
cameronrenwick
@cameronrenwick
May 15 2017 16:59
G4 just now kicked up on my xdrip+ a "low transmitter battery" --how long does it have typically? Planning on doing the DIY battery replacement of course
Tim Street
@tim2000s
May 15 2017 17:10
@cameronrenwick anything between 1-5 days.
cameronrenwick
@cameronrenwick
May 15 2017 17:18
thanks @tim2000s .. I'm thinking I'll just do the battery replacement tonight..
katie disimone
@Kdisimone
May 15 2017 17:19

@scottleibrand I think I remember you saying you’ve experienced more errors lately with dev branch BT disconnects? I saw this message in my papertrail today. (situation: school’s wifi was not playing nice, rig tried to pair with her iphone bia BT tether and failed. All looping stopped then and this was the last message uploaded in her paper trail)

May 15 10:02:04 edison3 bluetoothd:  a2dp-source profile connect failed for D0:25:98:07:28:CA: Protocol not available

Googline that error has a possible solution. I’ll try implementing. Anyone else tried this yet or looked into the error messages when this has happened?

https://donjajo.com/bluetooth-fix-a2dp-source-profile-connect-failed-xx-protocol-not-available-linux/#.WRniK1KZOL8

Matthias
@ceben80
May 15 2017 17:27
@cameronrenwick what's your G4 battery level in xdrip+ (you will see this in "system", something like 209 oder 207 when it's low displayed)?
In case you won't have a new battery I recommend Energizer 389 with 90mAh should last up to 18 month with this high capacity
cameronrenwick
@cameronrenwick
May 15 2017 17:29
@ceben80 ya it says " 210 - low experimental interpretation". In all honesty I'm surprised it's gone as long as it has. I'm over a year now with full-time use except for a total of 2 weeks
Matthias
@ceben80
May 15 2017 17:35
@cameronrenwick you have PM :wink:
Dana Lewis
@danamlewis
May 15 2017 17:36
@ericfeibelman can you share some logs of when you say it "over" does it? Also, what are your basal amounts generally?
katie disimone
@Kdisimone
May 15 2017 17:41
@scottleibrand that fix for the pump and rig times being different isn’t working…what would you like me to provide or look at? (kid is at school so rig access is limited. papertrail is going though) Build date was Saturday on a fresh pull of dev and a new flash even.
Eric
@ecc1
May 15 2017 17:41
@Kdisimone Pretty sure the a2dp errors are a red herring. It's related to an audio BT profile IIRC, and I get those errors even when my rig successfully tethers with BNEP.
katie disimone
@Kdisimone
May 15 2017 17:42
@ecc1 Yeah, I think audio seems like an odd hangup here, but it’s the first time I’ve seen the BT hangup my rig since switching to dev. and it was the last message available. Anyone have ideas on the cause?
(iPhone btw, if that helps)
Eric
@ecc1
May 15 2017 17:44
I would double check that the rig and phone are still paired and trusted. I don't know what would make one side unilaterally drop the other, but you might have to re-pair and re-trust.
And of course that BT hotspot is still turned on on the phone :-)
katie disimone
@Kdisimone
May 15 2017 17:46
May 15 10:45:25 hansolo pump-loop.log:  Checking pump clock: "2017-05-15T10:43:24-07:00" is within 1m of current time: Mon May 15 10:45:25 PDT 2017
May 15 10:45:25 hansolo pump-loop.log:  Error, retrying
May 15 10:45:25 hansolo pump-loop.log:  Waiting for 30s silence before mmtuning
several cycles of this error and there has been nothing that I can see that is attempting to set the rig time to match the pump time.
MelissaParkey
@MelissaParkey
May 15 2017 17:47
Screen Shot 2017-05-15 at 12.42.48 PM.png
I am stuck at the WiFi set up on my edison. I just ran the "ifup wlan0" command and got the following message:
katie disimone
@Kdisimone
May 15 2017 17:48
@ecc1 yes, hotspot is on. pairing is still good. trust is still good.
@MelissaParkey that message can appear is you’ve already done it before. Is that the very first time you ran it?
MelissaParkey
@MelissaParkey
May 15 2017 17:50
no but I have not ever gotten the screen that shows my network as bound
katie disimone
@Kdisimone
May 15 2017 17:52
What's your file look like? For the interfaces?
MelissaParkey
@MelissaParkey
May 15 2017 17:55
Screen Shot 2017-05-15 at 12.54.07 PM.png
Scott Leibrand
@scottleibrand
May 15 2017 17:55
@Kdisimone we implemented a couple changes to oref0-online in the pushover branch. most are straightforward improvements, but we also completely disabled the "reset networking and get a new wlan0 IP" stuff, so that it just fails straight over to BT if wifi has issues.
MelissaParkey
@MelissaParkey
May 15 2017 17:55
screen shot:
Screen Shot 2017-05-15 at 12.54.07 PM.png
Scott Leibrand
@scottleibrand
May 15 2017 17:57
@Kdisimone what does pump-loop.log show immediately after reporting the time mismatch?
katie disimone
@Kdisimone
May 15 2017 18:01
@MelissaParkey not your wpa_supplicant, but the interfaces file instead (the step before you added your networks)
MelissaParkey
@MelissaParkey
May 15 2017 18:02
Screen Shot 2017-05-15 at 1.02.27 PM.png
MelissaParkey
@MelissaParkey
May 15 2017 18:15
@Kdisimone (thanks for looking at my files)
katie disimone
@Kdisimone
May 15 2017 18:18
@MelissaParkey that looks good.
MelissaParkey
@MelissaParkey
May 15 2017 18:18
@Kdisimone so what should I do next?
katie disimone
@Kdisimone
May 15 2017 18:20
Try opening a new terminal window. Use the ssh root@mhparkeyedison.local command to see if you can connect.
Or use ping google.com in your current window to see if you are getting internet
MelissaParkey
@MelissaParkey
May 15 2017 18:23
Screen Shot 2017-05-15 at 1.23.06 PM.png
here's what I got:
katie disimone
@Kdisimone
May 15 2017 18:24
My bad...I didn't notice you are missing the quotes in your network names and password lines.
@MelissaParkey
Add those in and you should be good to go
MelissaParkey
@MelissaParkey
May 15 2017 18:25
@Kdisimone so the quotes do stay around my information
I'll be back....
katie disimone
@Kdisimone
May 15 2017 18:25
Yes
Should be a screen shot in there to use as example
MelissaParkey
@MelissaParkey
May 15 2017 18:44
@Kdisimone my terminal window is now showing my MAC again and the edison no longer shows. If there were a pulling out my hair emoticon I would use it now! :-|
katie disimone
@Kdisimone
May 15 2017 18:45
You just need to login again
If you successfully fixed the wifi networks file, and you computer is wifi connected to the same network your rig is, you can use the ssh command to login again
If not, you'll have to use cable connection between rig and computer and use that sudo display command line.
The details of them can be found here....
MelissaParkey
@MelissaParkey
May 15 2017 18:56
@Kdisimone I'm connected!
katie disimone
@Kdisimone
May 15 2017 18:57
Awesome…great job!
MelissaParkey
@MelissaParkey
May 15 2017 18:57
I feel like I need a treat! A star on my calendar. I'm so not the geek I thought I could be. LOL!
MelissaParkey
@MelissaParkey
May 15 2017 19:03
Screen Shot 2017-05-15 at 2.00.07 PM.png
Dana Lewis
@danamlewis
May 15 2017 19:03
:confetti_ball: (insert jokes about buttons, but be careful because Katie actually does have buttons ;) :))
MelissaParkey
@MelissaParkey
May 15 2017 19:04
@Kdisimone take away my star. this is what I got when I tried to ping google.com
Screen Shot 2017-05-15 at 2.00.07 PM.png
Scott Leibrand
@scottleibrand
May 15 2017 19:09
have you rebooted yet?
MelissaParkey
@MelissaParkey
May 15 2017 19:11
@scottleibrand the whole computer or the terminal window?
fidoman
@efidoman
May 15 2017 19:19
@scottleibrand - in my limited testing, SMB seems a bit aggressive in that it seems to cause a hypo 2 to 3 hours after it kicks into gear on an uphill glucose battle. What preferences setting should I try tuning first? Right now I have the everything to TRUE related to UMA / SMB.
Dana Lewis
@danamlewis
May 15 2017 19:19
@ericfeibelman have you run autotune?
fidoman
@efidoman
May 15 2017 19:20
@danamlewis don't think so, how do you do that?
PieterGit
@PieterGit
May 15 2017 19:21
@esialb I think i found a usb issue with jubilinux 0.2.0 jubilinux/jubilinux#6
i'll keep the edison module seperate for a while, in case you want me to debug stuff. will use jubilinux 0.1.1 in between.
MelissaParkey
@MelissaParkey
May 15 2017 19:27
Screen Shot 2017-05-15 at 2.25.51 PM.png
@Kdisimone I did the terminal reboot and logged back into my rig. this is what I got when I ping google.com:
live4sw
@live4sw
May 15 2017 19:30
I keep getting this every 9 out of 10 loops, started debugging and it's something breaking down in the monitor-pump alias.
root@edison1:~/myopenaps# openaps monitor-pump
pump://JSON/read_clock/monitor/clock.json
monitor/clock.json  raised  /dev/spidev5.1 already in use
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 115, in setup_medtronic
    setup_func(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 23, in open
    raise AlreadyInUseException("%s already in use" % self.device)
mmeowlink.vendors.serial_interface.AlreadyInUseException: /dev/spidev5.1 already in use
All other rigs are off, cron is stopped, and the rig is about 2 feet from my pump, so not connectivity.
Running Explorer board on master. Has anyone else contended with this?
Scott Leibrand
@scottleibrand
May 15 2017 19:36
@MelissaParkey sounds like you're describing either rebooting your laptop or disconneting and reconnecting to the Edison. What you actually need to do to verify a new wifi setup is reboot your Edison: type reboot from the root@mhparkeyedison:~# prompt
@live4sw there is an automatic reboot for that
if it's not rebooting automatically, you need to update your oref0
live4sw
@live4sw
May 15 2017 19:39
Strange. It just keeps giving me the Old pumphistory: RefreshError, Retrying. Then, when I run individual commands to try to drill down, openaps monitor-pump is what yields that error.
Scott Leibrand
@scottleibrand
May 15 2017 19:41
is the pump-loop from cron still running when you run things manually?
live4sw
@live4sw
May 15 2017 19:41
Nope, I stopped cron and killed the process before starting
Scott Leibrand
@scottleibrand
May 15 2017 19:41
if so, that's exactly what you'd expect when trying to access the radio with two processes simultaneously
live4sw
@live4sw
May 15 2017 19:42
Now it's getting further but giving me this error
root@edison1:~/myopenaps# openaps monitor-pump
pump://JSON/read_clock/monitor/clock.json
reporting monitor/clock.json
pump://JSON/read_temp_basal/monitor/temp_basal.json
reporting monitor/temp_basal.json
pump://JSON/iter_pump_hours/monitor/pumphistory.json
monitor/pumphistory.json  raised  need more than 0 values to unpack
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 45, in __call__
    output = self.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 640, in main
    for rec in self.range( ):
  File "/usr/local/lib/python2.7/dist-packages/decocare/models/__init__.py", line 67, in __call__
    for record in page:
  File "/usr/local/lib/python2.7/dist-packages/decocare/models/__init__.py", line 46, in download_page
    for record in self.find_records(page):
  File "/usr/local/lib/python2.7/dist-packages/decocare/models/__init__.py", line 157, in find_records
    decoder = history.HistoryPage(response.data, self.inst)
  File "/usr/local/lib/python2.7/dist-packages/decocare/history.py", line 777, in __init__
    if lib.BangInt(crc) != computed:
  File "/usr/local/lib/python2.7/dist-packages/decocare/lib.py", line 235, in BangInt
    ( x, y ) = ints
ValueError: need more than 0 values to unpack
Scott Leibrand
@scottleibrand
May 15 2017 19:42
does the pump-loop report spidev5.1 already in use when you're not running things manually?
live4sw
@live4sw
May 15 2017 19:43
only twice in the past two days
Dana Lewis
@danamlewis
May 15 2017 19:43
Thinking about requiring autotune run in the loop for being able to run in SMB - seeing some people turn on SMB without having run autotune, and having way out of tune ISF is causing less-optimal outcomes. Not a big deal for oref0, but think the mistakes people make manually might be magnified with oref1 and oref0 will be less able to catch people’s manual over-doing. But, I know there’s a few people who specifically don’t run autotune overnight (@elute, others?). For those who don’t run autotune overnight, can you remind me why (what kind of results it was giving & what you didn’t like), and whether you’d be bothered by not being able to run SMB if so?
Scott Leibrand
@scottleibrand
May 15 2017 19:44
@live4sw k. we designed the auto-reboot thing to kick in if spidev5.1 already in use persists for more than one loop run
live4sw
@live4sw
May 15 2017 19:44
Makes sense, maybe the spidev thing is a red herring, and this is other error is the real issue
Scott Leibrand
@scottleibrand
May 15 2017 19:45
do you always get the same thing? what does mmtune show?
live4sw
@live4sw
May 15 2017 19:46
"916.588", 5, -76
Scott Leibrand
@scottleibrand
May 15 2017 19:46
that's good. same error after mmtuning?
live4sw
@live4sw
May 15 2017 19:48
unfortunately yes
Scott Leibrand
@scottleibrand
May 15 2017 19:49
same with openaps report invoke monitor/pumphistory.json?
live4sw
@live4sw
May 15 2017 19:50
yep, same ValueError error
Scott Leibrand
@scottleibrand
May 15 2017 19:50
I'm assuming your openaps report show monitor/pumphistory.json --cli shows something like openaps use pump iter_pump_hours 5.0 - you might try shorter values there...
like openaps use pump iter_pump_hours 1
or do it by number of records: openaps use pump iter_pump 10
live4sw
@live4sw
May 15 2017 19:51
do you think this suggests some sort of connectivity error, i.e., that the pump is unable to stay connected to the antenna long enough to transfer all five hours?
unfortunately got the same error with just 1 hour
Scott Leibrand
@scottleibrand
May 15 2017 19:52
I'm currently suspecting there might be a bad record in the pump history, but not really sure
live4sw
@live4sw
May 15 2017 19:52
yep, same with iter_pump 10
Scott Leibrand
@scottleibrand
May 15 2017 19:55
has this pump ever worked?
live4sw
@live4sw
May 15 2017 19:55
yep, it works
have been using it ever since i started looping early last year
seems to work fine with my Pi rigs also
Scott Leibrand
@scottleibrand
May 15 2017 19:56
NA or WW pump?
I guess NA, based on your mmtune
PieterGit
@PieterGit
May 15 2017 19:56
@danamlewis : i only run autotune manually. Reasons:
  • I want to check the results
  • Sometimes I have incomplete cgm or pump data in Nightscout, so don't want autotune to use these days
live4sw
@live4sw
May 15 2017 19:57
yep, NA
in fact, I just successfully ran a loop with my Pi/TI rig, just to make sure it's working fine
going to try installing with setup script again, will check back
PieterGit
@PieterGit
May 15 2017 20:07
forgot one:
  • have multiple ISF's
Dana Lewis
@danamlewis
May 15 2017 20:08
@PieterGit good points. Thoughts on safer ways to do SMB for people who haven’t spent much time getting their basics sorted?
PieterGit
@PieterGit
May 15 2017 20:08
well i think documenting that you should have at least have used manual autotune is a good best practice I guess
MelissaParkey
@MelissaParkey
May 15 2017 20:13
Screen Shot 2017-05-15 at 3.12.08 PM.png
@scottleibrand @Kdisimone results after reboot and logging back into my edison:
Dana Lewis
@danamlewis
May 15 2017 20:13
@PieterGit yea - a lot can be done with documentation, but I’ve been constantly reminded about how much people don’t read what’s on the page, even critical safety notes, so continuing to think about what else should be added in code-wise, if anything else
cameronrenwick
@cameronrenwick
May 15 2017 20:14
I realize that there's been a lot of discussion here regarding SMB and that it's very much a WIP. I'm interested in reading from "the beginning" about it to get myself up to speed. Where's best to start?
PieterGit
@PieterGit
May 15 2017 20:14
my explorer board 1.2 arrived today :smile: and both of my 4.x kernel attempts on 2 edison rigs seems to be solvable with a xfstk flashall --recovery on ubuntu 14.04 system
Dana Lewis
@danamlewis
May 15 2017 20:15
@cameronrenwick https://diyps.org/2017/04/30/introducing-oref1-and-super-microboluses-smb-and-what-it-means-compared-to-oref0-the-original-openaps-algorithm/ probably, plus openaps/oref0#262 and downward the rabbit hole you go from there :)
PieterGit
@PieterGit
May 15 2017 20:15
@danamlewis : perhaps hardcoding, more than 7 days of autotune records before enabling smb is a good thing
Dana Lewis
@danamlewis
May 15 2017 20:16
@PieterGit hm, that’s an interesting idea - cause manual runs of it would qualify then and show they’ve at least checked it out/are aware that their settings might be off.
PieterGit
@PieterGit
May 15 2017 20:17
i only use smb on one test rig, and use it only when I'm home to check the logs. I think the issue that a oref0 rig can increase basals if a oref1 has just done a smb and a long 0-temp has caused 2 hypo's
cameronrenwick
@cameronrenwick
May 15 2017 20:17
@danamlewis love the fact that I had both those bookmarked... yay.. ok... "homework" night tonite!
PieterGit
@PieterGit
May 15 2017 20:18
can't oref0 take these issues into account (i know not to mix oref0 and oref1 rigs, but it will happen)
MelissaParkey
@MelissaParkey
May 15 2017 20:20
can an edison be wiped back to the place where you start the flash again?
PieterGit
@PieterGit
May 15 2017 20:20
@MelissaParkey : you mean reflash the image?
MelissaParkey
@MelissaParkey
May 15 2017 20:21
@PieterGit I'm not sure what I mean - just that I can't seem to get past getting the ability to ping google
Dana Lewis
@danamlewis
May 15 2017 20:21
@cameronrenwick :)
PieterGit
@PieterGit
May 15 2017 20:23
@MelissaParkey : i think your facing a network issue, so rerunning the flash process (https://openaps.readthedocs.io/en/master/docs/walkthrough/phase-0/setup-edison.html#flashing-image-onto-the-edison ) is a bit out of proportions. Where are you in the docs?
@danamlewis : wouldn't having a autotune directory or a suggestions file be enough to make sure people start thinking before SMB can be enabled
Dana Lewis
@danamlewis
May 15 2017 20:24
@PieterGit yea - I like the way you’re thinking about it.
MelissaParkey
@MelissaParkey
May 15 2017 20:25
@PieterGit I believe that I am at 1-9 trying to get my wifi set up completed. I checked my interface files with Katie and we were moving forward from there
PieterGit
@PieterGit
May 15 2017 20:26
does ifconfig wlan0 give a IP-adress? Are you connected to your rig with a serial USB cable or with ssh
Please do this first: After rebooting, log back in and type iwgetid -r to make sure you successfully connected to wifi.
Run ifconfig wlan0 to determine the IP address of the wireless interface, in case you need it to SSH below.
your system can't resolve the IP-adress, but I don't know if it's a DNS/networking or routing issue. Let's take one step at the time:
1) does your rig have an ip-adress on the wireless lan
MelissaParkey
@MelissaParkey
May 15 2017 20:29
i don't know
should i do the reboot and the other two steps now?
PieterGit
@PieterGit
May 15 2017 20:30
please do
MelissaParkey
@MelissaParkey
May 15 2017 20:32
Screen Shot 2017-05-15 at 3.32.27 PM.png
@PieterGit
PieterGit
@PieterGit
May 15 2017 20:35
there is something wrong with your wifi configuration, you have no wireless network (SSID) and therefore no IP-adress
MelissaParkey
@MelissaParkey
May 15 2017 20:37
I entered my home network and password and my hotspot on my phone. both are on
quote marks and all
jcorbett80
@jcorbett80
May 15 2017 20:38
@MelissaParkey if you check your router most newer models have a program to control data flow. They switch you between channels and between the 2.4 and 5. The Explorer board pukes on the 5 most of the time and the edison doesn't seem to play well with certain channels which can cause issues. If you know how. Go into router and turn off the auto traffic flow. (Called different things on different routers) I have had othersome that noone else could help and it has fixed most of them
PieterGit
@PieterGit
May 15 2017 20:38
MelissaParkey
@MelissaParkey
May 15 2017 20:38
i'll be back...
PieterGit
@PieterGit
May 15 2017 20:39
perhaps use a tail /var/log/messages to see if you notice an error there
MelissaParkey
@MelissaParkey
May 15 2017 20:48
Screen Shot 2017-05-15 at 3.47.10 PM.png
@PieterGit changed network and now this is what i got
i was able to ping google.com
MelissaParkey
@MelissaParkey
May 15 2017 20:58
Screen Shot 2017-05-15 at 3.58.10 PM.png
when i run the ifconfig wlan0 command...
Scott Leibrand
@scottleibrand
May 15 2017 20:59
that looks much better
MelissaParkey
@MelissaParkey
May 15 2017 21:00
thanks. is it time to go to "Install packages, ssh keys, and other settings"?
Scott Leibrand
@scottleibrand
May 15 2017 21:01
if that's the next step, ya
MelissaParkey
@MelissaParkey
May 15 2017 21:09
I still cannot log onto the edison using the ssh command. I am still unclear what my rig's ip address is. is it 10.0.0.17?
rsilvers129
@rsilvers129
May 15 2017 21:13
IP address is different for everyone. Try ssh root@edison.local But use your Edison name instead of Edison.
That should work if it is on the same wifi as your computer.
MelissaParkey
@MelissaParkey
May 15 2017 21:15
here's the result for that command...
Screen Shot 2017-05-15 at 4.14.56 PM.png
katie disimone
@Kdisimone
May 15 2017 21:18
@MelissaParkey are you accessing your rig through sudo screen or ssh?
MelissaParkey
@MelissaParkey
May 15 2017 21:18
sudo
I haven't been able to ssh
katie disimone
@Kdisimone
May 15 2017 21:21
I’ve run into ping google.com problems this weekend for a rig that was connected to internet. The issue was that the house wifi has some sub-routers (or repeaters?) that were involved. Basically, there was one parent router (an ATT router) and then some sub-routers (for lack of a better term) that were called Eeros. The computer would be on the ATT router, but the rigs were connecting through the Eeros. It was very hard to figure out but, eventually by logging into the routers, we figured out the issue. When the computer and rig were on different routers (even though it was one single wifi network name), ping google.com would fail.
Do you have anything other than a ONE router setup at home?

And, no, your IP address that you are interested in is not one like 10.0.0.17…that’s a public IP address. YOu want the private IP address that the router is assigning to your rig. The best way to find that is to login to your router. YOu can find router login info usually as a sitcker under the router itself.

Or try entering 192.168.1.1 or 192.168.1.254 in a browser (as if those were website URLs)

MelissaParkey
@MelissaParkey
May 15 2017 21:24
we have ATT router and a netgear nighthawk to help reach the whole property
katie disimone
@Kdisimone
May 15 2017 21:24
AH…that maybe part of the issue
MelissaParkey
@MelissaParkey
May 15 2017 21:24
ok. what now then?
katie disimone
@Kdisimone
May 15 2017 21:24
login to your router
look if you find BOTH your computer and rig on the router.
MelissaParkey
@MelissaParkey
May 15 2017 21:25
using the sticker information
katie disimone
@Kdisimone
May 15 2017 21:25
You may have to try logging on to both the ATT and Nighthawk
I use netgear. that one is 192.168.1.1 and the login is admin with no password
(as the default). If you get an error, that means your computer is likely on ATT (which for my friend this weekend was 192.168.1.254)
BTW, what did work for ssh in this situation was ssh root@192.168.1.xx
you drop the .local even ssh root@mhparkeyedison may work. It did for the setup this weekend
(but you have to determine the xx part of the IP address by finding it in the router’s log of connected devices)
MelissaParkey
@MelissaParkey
May 15 2017 21:30
is there a way to print or otherwise save the stream of messages from this session of troubleshooting?
katie disimone
@Kdisimone
May 15 2017 21:32
yes….hold on…i’ll post the link
MelissaParkey
@MelissaParkey
May 15 2017 21:34
also when you said to log into my router do you mean add that information to the list of ssid in the vi /etc/wpa_supplicant.....?
that will take you to your post and give you a place to start scrolling
Nope. I mean open your Safari, and type in 192.168.1.1 into the address bar
(if you computer is getting wifi through the Netgear router, that will bring up a login page for your router).
(if your computer is getting wifi through the ATT router, you’d use 192.168.1.254)
But, you can double check those numbers by looking at the sticker on your routers
Screen Shot 2017-05-13 at 12.02.08 PM.png
like the screenshot
katie disimone
@Kdisimone
May 15 2017 21:39
access_ip.png
MelissaParkey
@MelissaParkey
May 15 2017 21:44
my att router does not show the edison on it and the netgear won't let me log onto it. I think I may need to step away for awhile. before I throw my macbook across the kitchen!
katie disimone
@Kdisimone
May 15 2017 21:51
Because your computer is on the att router, it can login there. You won't be able to access the netgear router unless your computer is using the netgear wifi. That's the rub
Scott Leibrand
@scottleibrand
May 15 2017 21:51
@Kdisimone 10.x.y.z is a private network
so yes, @MelissaParkey, your 10.0.0.17 should be an IP you can SSH into
katie disimone
@Kdisimone
May 15 2017 21:52
👍🏻
Scott Leibrand
@scottleibrand
May 15 2017 21:53
so try ssh root@10.0.0.17 if you haven't already
@MelissaParkey another thing you can try if that doesn't work is to get your rig set up to connect to your phone's hotspot via wifi. you can then connect your laptop to the phone wifi hotspot too, and you should have no trouble ssh'ing in.
katie disimone
@Kdisimone
May 15 2017 21:55
(sorry, brainfart on the 10.x.y.z)
Scott Leibrand
@scottleibrand
May 15 2017 21:56
what, you don't have RFC1918 memorized? ;-)
katie disimone
@Kdisimone
May 15 2017 21:56
right? I thought I was going to after this weekend’s wifi immersion-by-fire
Scott Leibrand
@scottleibrand
May 15 2017 21:58
I think the RFC1918 blocks are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. always hard to remember the 172 block since it's not on octet boundaries
(and because 172.16/12 is much more rarely used than 10/8 and 192.168/16)
katie disimone
@Kdisimone
May 15 2017 22:02
The eeros system this weekend was a new one for me. BTW, the thing that got the rigs working involved avahi. this command allowed the rigs to finally connect systemctl disable avahi-daemon
in case some finds their rigs bouncing and sees avahi errors in their papertrail logs.
Screen Shot 2017-05-13 at 10.53.02 AM.png
this was the message we were seeing
Scott Leibrand
@scottleibrand
May 15 2017 22:04
strange: avahi-daemon should only be responsible for controlling multicast DNS (the edisonhost.local stuff)
katie disimone
@Kdisimone
May 15 2017 22:04
it seemed as though the eeros didn’t play well with .local
Scott Leibrand
@scottleibrand
May 15 2017 22:05
they probably block the multicast it uses
katie disimone
@Kdisimone
May 15 2017 22:05
and ssh root@edisonhost.local didn’t work, but ssh root@edisonhost did
Scott Leibrand
@scottleibrand
May 15 2017 22:05
not sure how that would break ping google.com though
katie disimone
@Kdisimone
May 15 2017 22:06
computer was not on eeros (was on ATT router) and rig was on eeros. I could use ssh root@edisonhost to login wirelessly, but ping google.com would fail
Scott Leibrand
@scottleibrand
May 15 2017 22:06
strange
katie disimone
@Kdisimone
May 15 2017 22:06
i couldn’t pull from github either…so it would basically let me poke around in rig, but not have the rig execute any web access. Talk about wanting to tear hair out
katie disimone
@Kdisimone
May 15 2017 22:56
@danamlewis I too don't run autotune but agree that starting with smb enabled as a first run of OpenAPS could be problematic. Perhaps some work on docs could help guide people? Like saying "run with these preferences staying false for at least x weeks before considering turning them on"?
Dana Lewis
@danamlewis
May 15 2017 22:57
Someone had made the suggestion of requiring manual runs, even if not automated, as a gate switch, which I do like.
@Kdisimone the old me would agree with your suggestion, but the me that’s seen everyone disregard the recommendations in writing thinks we need some kind of gate.
katie disimone
@Kdisimone
May 15 2017 23:05

Here's my problem...my autotune results weren't something I'd have used. For example, Anna's isf is usually between 30-35 and I was getting 45-50. What about people who aren't logging carbs or treatments well? I like the gateway idea, but probably not through an autotune run. UNLESS...can we make it that an autotune runs in background but is only depositing profile results (not actually using them). That would be fantastic.

So basically there's a new autotune-recommended-profile available every morning for someone to review...even if they don't have it enabled in their loop.

So if someone comes in and says "hey we are going low!" The easy answer back would be an alias command like cat-autotune to have available without much effort on the users part
That would add some safety because it removes an institutional barrier to getting autotune results and they should be more apt to use them to improve pump settings.
Scott Leibrand
@scottleibrand
May 15 2017 23:11
that sounds like a good idea. want to write that up as an issue so we don't forget it?
katie disimone
@Kdisimone
May 15 2017 23:12
Sure👍🏻
JELCRAWFORD
@JELCRAWFORD
May 15 2017 23:18
@Kdisimone - fwiw - I think the idea of having autotune run as a report that does not enact any changes but is available as a report of some type is a fantastic idea. On a different note - has there ever been any consideration to permitting a user to remove a bad bg data point (or a few) from Openaps? Asking only b/c of compression errors - This week DS rolled over on the sensor, which results in a remarkable series of alarms, which are false, of course and easily resolved by getting him to rollover - the chaos it causes in OpenAPS is a pain though, magnified by the fact that it is generally the middle of the night. This instance he was starting with a 'true' bg of 4.5 (81) with the compression causing a reported 3.1 (55). Calibration resulted in Openaps interpreting a rise and immediately jumping up on the temp basal. We were slow to realize this (not really swift at 3am) and then ended up with a true low b/c we didn't override the temp basal quickly enough. Would be so great to simply be able to quickly remove errant entries somehow.......
katie disimone
@Kdisimone
May 15 2017 23:35
@JELCRAWFORD we have an ifttt button for compression lows. It sets a high temp target for 60min while sensor recovers.
JELCRAWFORD
@JELCRAWFORD
May 15 2017 23:49
@Kdisimone - good idea - better than my 3/4 sleeping brain which has been rattled by the alarms trying to remember to set the temp target myself (which I forgot on Saturday). I did tell DS that a compression error was an unnecessary Mother's Day present :)
katie disimone
@Kdisimone
May 15 2017 23:50
Haha! Right?! That gift needs to be left unopened.
JELCRAWFORD
@JELCRAWFORD
May 15 2017 23:52
agreed!