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

4th
Jan 2017
glenrob1940
@glenrob1940
Jan 04 2017 00:01
@ejoe132 you should still be able to do the SHA1 test without taking anything off of the system. The SHA1 value is on the download zip file not the unzipped image you wrote to the card.
Also define what you mean by not booting past the rainbow screen. Can you move the cursor with the mouse? If so click on the raspberry icon in the upper left corner and run raspi-config setup from there
ejoe132
@ejoe132
Jan 04 2017 00:16
@glenrob1940 I actually just got it, reformatted and downloaded rasbian jessie right from the raspberry website rather than using the link and its up and running, have a desktop like screen I see n ow
glenrob1940
@glenrob1940
Jan 04 2017 00:43
@ejoe132 Great
ejoe132
@ejoe132
Jan 04 2017 00:46
so trying to do the testing of the SSH, open up PUTTY and type in "pi@raspberrypi.local" a command prompt like box opens, then warning message box opens saying "network error: cannot assign requested address"
pi is connected to my wifi
Geoff Aumaugher
@geoffro10
Jan 04 2017 00:47
Sorry for the off topic question but has anyone used the info in Nightscout to adjust your I:C or basals? If so, how? I have some ideas but I want to see if I'm on the right track.
ejoe132
@ejoe132
Jan 04 2017 00:47
but when I go in raspberry pi configureations it says its host name is raspberrypi ?
Dana Lewis
@danamlewis
Jan 04 2017 00:49
@geoffro10 I would give autotune a spin :smile:
glenrob1940
@glenrob1940
Jan 04 2017 00:52
@ejoe132 in raspberrypi config setup you can change the host name to whatever you want it to be. You will have to reboot. As far as ssh is concerned if you got the latest os ssh is turned on. I would click on the terminal application (on the raspberry pi) and then run ifconfig. That should tell you what the ip address for wlan0 is (if your using wireless). Then from your other box do an 'ssh pi@<pi's ip address>. If the wlan0 does not show what looks like a valid ip address, you need to set up wireless first.
Geoff Aumaugher
@geoffro10
Jan 04 2017 00:54
@danamlewis Yeah, have been using that the last few days but I think the ratios are off quite a bit. For instance, BG is 284 right now and it's max temping. But, I'm thinking that it wouldn't have went that high had the initial bolus been higher.
Dana Lewis
@danamlewis
Jan 04 2017 00:55
Autosens? Or autotune?
(2 different things)
Autosens is an advanced feature currently in setup scripts, autotune is something new we are testing currently to check underlying ratios and basals that's not deployed to master yet
Geoff Aumaugher
@geoffro10
Jan 04 2017 00:56
Ohhhhh.... Yes...Sorry. I'm talking autosens.
I'm guessing autotune is in dev branch?
Dana Lewis
@danamlewis
Jan 04 2017 00:57
K. Autosens looks at 24h of data so if you had a bad site or have been resistant, it's going to adjust for that. Autotune will look at longer periods of data and make suggestions for tweaking basals, isf, carb ratio.
It will be soon, but right now is its own feature branch
openaps/oref0#261 for background and how to run it to test it
Geoff Aumaugher
@geoffro10
Jan 04 2017 00:59
This message was deleted
Got it... Will be checking out ASAP!!! 😁
ejoe132
@ejoe132
Jan 04 2017 01:03
@glenrob1940 i have the internet setup, can surf the web on it, did ifconfig, but dont see anything that says ip address, does have a wlan0 with a bunch of stuff tho
Dana Lewis
@danamlewis
Jan 04 2017 01:05
@geoffro10 :+1: still a WIP so let us know what you think, how the numbers look to you, etc.
glenrob1940
@glenrob1940
Jan 04 2017 01:06
@ejoe132 It should have some info for lo and then wlan0 which looks like the following: link encap:Ethernet HWaddr AA:BB:CC:DD:EE:FF inet addr 10.0.0.5 ..... The ip address you want to use is the "inet addr"
So in that example I would try 'ssh pi@10.0.0.5'
ejoe132
@ejoe132
Jan 04 2017 01:08
@glenrob1940 ok i see that ip address, so what do I do with that now?
so just type sshpi@listed ip address?
glenrob1940
@glenrob1940
Jan 04 2017 01:09
There is a space between ssh and pi. But yes that is what you do
ejoe132
@ejoe132
Jan 04 2017 01:09
mine is 10.0.0.13 so sshpi@10.0.0.13
glenrob1940
@glenrob1940
Jan 04 2017 01:10
It should take a bit, but then ask for your password and then you will be running on the raspberry pi. and the command is ssh and the argument is pi@10.0.0.13 so enter ssh pi@10.0.0.13
ejoe132
@ejoe132
Jan 04 2017 01:12
came up and said "bash: sshpi@10.0.0.13: command not found
and i typed that on the pi not using PUTTY
glenrob1940
@glenrob1940
Jan 04 2017 01:16
Note again there must be a space between ssh and pi. It has been a long time since I used putty (most of my machines are Mac's and Linux boxes. I need to go get a windows machine and run putty to see how you do it there. But the idea is to run ssh from the other machine not from the pi. Eventually you want to run the Raspberry Pi headless and do all of your maintenance with ssh from another machine.
The command ssh is running over an encrypted link, a terminal on the target machine
ejoe132
@ejoe132
Jan 04 2017 01:18
oh so on putty in the hostname box is where i put the ssh pi@10.0.0.13? cause i cannot get to a point that using putty i can get to the command prompt type box
Geoff Aumaugher
@geoffro10
Jan 04 2017 01:19
@danamlewis Will do!
ejoe132
@ejoe132
Jan 04 2017 01:19
guess my problem is i cant even make a connection with putty
glenrob1940
@glenrob1940
Jan 04 2017 01:23
@ejoe132 Okay, I just refreshed myself about putty. Basically run putty on your windows machine. When it comes up check the button for ssh then put in the ip address you want to talk to (the raspberry pi's inet address)
and connect. That should run an ssh session with the raspberry pi. The pi will then ask who you want to connect as. Enter pi . It will then ask for your password and you should connect
ejoe132
@ejoe132
Jan 04 2017 01:25
so the command prompt box pops up then getting message window saying network error:connection refused
glenrob1940
@glenrob1940
Jan 04 2017 01:30
There is a note in the open aps setup for raspberry pi about needing a file to enable ssh after 12-2016. I didn't need it with the latest version I picked up from raspbian.org. Go into raspi-config->setup on the Raspberry Pi , if memory serves me correctly there is a box to enable SSH -- enable it. At the moment my Raspberry Pi is not up (I run on an explorer/edison during the day and a Raspberry Pi at night). I'll go fire it up to check where that enable box is.
ejoe132
@ejoe132
Jan 04 2017 01:32
ok ssh was diabled, i enabled, thinking this was my problem
ok im in! so exciting. so now that im in that this is where i do my ssh pi@10.0.0.13 correct? and this confirms ssh? dont really know what ssh is except i think its the way it communicates with the pump?
glenrob1940
@glenrob1940
Jan 04 2017 01:37
No, you have actually verified that ssh works, because you are running an ssh session over putty. the ssh pi@10.0.0.13 would be if you were trying to get in from another machine that was not running windows (such as a mac or a linux box (possibly another raspberry pi)
ejoe132
@ejoe132
Jan 04 2017 01:39
oh so once the command prompt box opens i dont have to do anything?
glenrob1940
@glenrob1940
Jan 04 2017 01:39
the pi@10.0.0.13 is the target machine which is your raspberry pi. This should probably get a PR in the documents for 1. people connecting with Windows boxes and 2. enabling ssh on the raspberry pi.
ejoe132
@ejoe132
Jan 04 2017 01:39
cause i tried the ssh pi@10.0.0.13 and it asked for password but then doesnt let me type anything, i type but cursor doesnt move or record
ok if i get it figured out i can try to do that, so once i get access to that box i need not do anything more? becasue i successfully made the connection?
glenrob1940
@glenrob1940
Jan 04 2017 01:41
@ejoe132 Correct you don't need to do anything, though you might want to look around and try some linux commands. A couple of commands you might try are 'uname -a' and 'lsb-release
Scott Leibrand
@scottleibrand
Jan 04 2017 01:42
@ejoe132 normally linux password prompts don't display password characters, even as * or anything. you should be able to hit enter and get a response though
glenrob1940
@glenrob1940
Jan 04 2017 01:42
Where this will come in handy is later on when you have the Raspberry Pi booting to CLI and not to multi-user (the rainbow screen with mouse, cursor, and things like access to the web
ejoe132
@ejoe132
Jan 04 2017 01:43
ok, i didnt setup a password on it yet but saw it should be raspberry, didnt work though, ill try the commands you reccomended
glenrob1940
@glenrob1940
Jan 04 2017 01:46
You need to successfully log in before the commands will work. Make sure you don't have caps lock on, and try entering your password again. Note that eventually, when you have changed password and probably also hostname, AND you are having it boot to the CLI and not to multiuser. If you forget your password, or for some reason can't get in with putty. You can hook up the keyboard, mouse, and display again and when it boots to the CLI you will be logged in because it is running single user at that point (you can get to multiuser by entering 'startx'.
ejoe132
@ejoe132
Jan 04 2017 01:47
should i be worried that when i did uname -a it spat out a time in gmt that isnt my current time or timezone? i did already change it to the correct time zone on the pi following the walkthrough insttructions
glenrob1940
@glenrob1940
Jan 04 2017 01:47
Yes, you need to fix that in raspi-config.
Scott Leibrand
@scottleibrand
Jan 04 2017 01:48
uname -a shows the build time of your kernel I think
date shows the current time
ejoe132
@ejoe132
Jan 04 2017 01:50
ok i got it working or into it, entered username and password and got into it to do uname -a, 1sb-release doesnt work though
glenrob1940
@glenrob1940
Jan 04 2017 01:54
Just for general information. The locale for the CLI is NOT set by the GUI raspi-config. If it is wrong you need to set things up for that environment (the CLI) with sudo raspi-config.
@ejoe132 They were separate commands: uname -a <return> lsb_release -r <return>
ejoe132
@ejoe132
Jan 04 2017 01:56
the second one starts with "1" the number correct?
glenrob1940
@glenrob1940
Jan 04 2017 01:56
No l the letter
Scott Leibrand
@scottleibrand
Jan 04 2017 01:57
as soon as you get ssh working, you should copy-paste everything. :)
ejoe132
@ejoe132
Jan 04 2017 01:57
upper case i correct?
copy past the sd card?
Scott Leibrand
@scottleibrand
Jan 04 2017 01:58
copy and paste all commands, so you can't get confused by 1 vs. l etc.
ejoe132
@ejoe132
Jan 04 2017 01:59
oh i see what you mean
ejoe132
@ejoe132
Jan 04 2017 02:18
so onto the point of editing nightscout for the implementation, where do the plugins go? dont see a box on the left that says plugins,? does it go in ENABLE along with BRIDGE?
Matt Walker
@walker0
Jan 04 2017 03:27
@ejoe132 yes in enable, use a space to seperate each one
tepidjuice
@tepidjuice
Jan 04 2017 05:03
Are there any offline openAPS implementations?
Dana Lewis
@danamlewis
Jan 04 2017 05:04
yep, just a matter of how you source your cgm data - most do it by plugging a receiver into their rig
tepidjuice
@tepidjuice
Jan 04 2017 05:07
I'm using xdrip/g4 at the moment. Has anyone tried bluetooth tethering or a local install of nightscout on the edison?
Dana Lewis
@danamlewis
Jan 04 2017 05:08
yep, and yep
@ceben80 I think has xdrip local running: https://twitter.com/ceben80/status/816427988057264128
tepidjuice
@tepidjuice
Jan 04 2017 05:10
Great :smile: Is there some documentation for either of these options?
Dana Lewis
@danamlewis
Jan 04 2017 05:11
I don’t think anyone’s added to the docs yet for either option? (a need ;) obviously)
Aaron Michelson
@Aaybob
Jan 04 2017 05:12
logrotate we change from 4 weeks to 4 days. Is that intended or is it a need for a PR to change to 30 from 4?
Scott Leibrand
@scottleibrand
Jan 04 2017 05:13
do you need more days of old logs than that? the idea was to avoid running out of space.
tepidjuice
@tepidjuice
Jan 04 2017 05:13
I guess I'll ask @ceben80 then. Thanks for the help.
Scott Leibrand
@scottleibrand
Jan 04 2017 05:13
@tepidjuice a lot of the xdrip stuff is in the oref0 dev branch, but not in the docs yet.
Aaron Michelson
@Aaybob
Jan 04 2017 05:13
oref0 is set to 30 so just asking
Dana Lewis
@danamlewis
Jan 04 2017 05:14
@tepidjuice :+1: and please PR some notes, even if they’re rough, when ya’ll get around to it :)
Scott Leibrand
@scottleibrand
Jan 04 2017 05:14
@Aaybob k, I'd have to go look at the various logrotate settings to be sure. the general idea is that you want to rotate logs frequently, and avoid keeping too many days so that you run out of space
Terri Lyman
@tatigger
Jan 04 2017 05:15
Is there some way to alert me that my Openaps system is either not enacting the temp rate or working with data too old to allow it to adjust a temp rate?
Aaron Michelson
@Aaybob
Jan 04 2017 05:15
we could add the same as oref0 and rotate also when 10M is exceeded
Scott Leibrand
@scottleibrand
Jan 04 2017 05:16
:+1:
Aaron Michelson
@Aaybob
Jan 04 2017 05:16
should I PR that?
Scott Leibrand
@scottleibrand
Jan 04 2017 05:17
@tatigger I think you can do that with Nightscout alarms. if you want something more proactive than that, maybe you could build something using the pushover framework that's documented in the manual section of the docs?
tepidjuice
@tepidjuice
Jan 04 2017 05:17
@danamlewis Of course. One more question sorry. What about offline viewing and control of the rig? Like seeing it's basal decisions over the last hour?
Terri Lyman
@tatigger
Jan 04 2017 05:18
Several times today openaps has just had an X in the pill box, indicating the temp was not enabled. Once it went about 30 minutes like that before I noticed, just now it was only several minutes. I supect that may be why my be isn't really acting as expected today. Ha, You're funny, I am going to need hand holding to set up anything additional, even to the extent of pebble sending temp targets. But I will get there, @scottleibrand. I guess I was wondering if "stale data" would capture it in Nightscout.
Aaron Michelson
@Aaybob
Jan 04 2017 05:18
@tepidjuice pancreabble is something to look at in the visualization page.
Terri Lyman
@tatigger
Jan 04 2017 05:19
Or if "stale data" is just bg data that is older than "x" minutes
Scott Leibrand
@scottleibrand
Jan 04 2017 05:19
@tatigger I'm not too up on what alarms there are in Nightscout, as I have those all turned off, but there might be something you can get started with at least
Aaron Michelson
@Aaybob
Jan 04 2017 05:19
@tatigger yea pancreabble is more like the early development stage of openAPS
Dana Lewis
@danamlewis
Jan 04 2017 05:20
@tepidjuice pancreabble is one option for watch viewing; there’s some more elaborate options about local hotspots and rigs
Terri Lyman
@tatigger
Jan 04 2017 05:20
LOL, makes absolutely no sense to me - I only know one out of every 12 words or so, instead of 1 out of every 9.
@Aaybob
Why would Openaps NOT enact the recommendations? I am getting ready to go to bed so not going to fully trouble shoot tonight, but wondered if you had seen this?
Aaron Michelson
@Aaybob
Jan 04 2017 05:23
@tatigger yes its very extreemly incomprehensable at the highest levels of human comprehension
Terri Lyman
@tatigger
Jan 04 2017 05:23
:) @Aaybob
Aaron Michelson
@Aaybob
Jan 04 2017 05:24
you are a mental athlete doing this
Dana Lewis
@danamlewis
Jan 04 2017 05:25
@tatigger range, low battery, etc?
Terri Lyman
@tatigger
Jan 04 2017 05:26
LOL, just a tired pharmacist. I have all the wrong vocabulary, good thing you guys are so patient. Ok, @danamlewis, lots of reasons. I hadn't really noticed it before. Will look into it more tomorrow
Scott Leibrand
@scottleibrand
Jan 04 2017 05:30
@tatigger in the pump-loop.log, you may see "recieved: false" (yes, it's misspelled) if the rig is unable to set the temp because the pump is in percentage mode, is priming or bolusing, or similar. that will show up as an X not enacted in nightscout
Terri Lyman
@tatigger
Jan 04 2017 05:30
ah, thanks @scottleibrand, talk with y'all more tomorrow!
jordan-berger
@jordan-berger
Jan 04 2017 05:45
My AP was working fine connected to my mobile hotspot. As soon as i get home it connects to my home wireless but indicates looping. BG data is too old or clock is set incorrectly. The date is correct and i tried TZdata. Nightscout is reading my BG just fine.
it did this yesterday at home. I re-ran the script and it fixed it. When i left it stayed working until i returned home. Re-running the script every time i come home is not a good answer, but what is the script doing that a reboot of the system is not?
jmcrawford
@jmcrawford
Jan 04 2017 06:10
@scottleibrand You rolled back a change to the Dev branch yesterday - was that change to fix the WW/US pump selection? I'm running oref0-setup.sh, and getting this:
usage: openaps-device [-h] {add,remove,show} ...
openaps-device: error: unrecognized arguments: US
Can't add pump
I had hit 'enter' at the interactive prompt, it's an NA pump
PieterGit
@PieterGit
Jan 04 2017 07:17
@jmcrawford . you need openaps 0.2.0-dev. what does openaps --version return? To install openaps use
cd ~/src
git clone https://github.com/openaps/openaps.git
cd openaps
git checkout dev
sudo python setup.py develop
Matthias
@ceben80
Jan 04 2017 07:52
Morning, I am looking forward to get my Explorer Board.......want to do some pref stuff (case, lipo size etc).
Does anybody have the size of the Explorer Board in cm :question: - Thanks!
jmcrawford
@jmcrawford
Jan 04 2017 07:59
@ceben80 30.4mm x 54mm
@PieterGit That was it, I was still on 0.1.5, thx
Matthias
@ceben80
Jan 04 2017 08:13
Thanks @jmcrawford
fezulin
@fezulin
Jan 04 2017 08:18
@jaylagorio About Medtronic 511: I do not have the 511 yet. I started using openAPS (just some days ago) with a borrowed Pi, and with my own Carelink and with my own 722. I changed from Medtronic 722 to Spirit Combo some years ago, after the 722 has become wet. So I am worried, that the 722 might not run for much longer. So I am looking for a backup - and a 511 was offered to me. I seems so, as if I may get a 712, too. And as far as I know, 712 is proofed to work with openAPS. So I will prefer to setup the 712 as a backup.
John Benjamin
@Bender1061
Jan 04 2017 12:06
Loving how reliable the explorer rig has been. Been running the same rig since Sat. With the BLE setup, I've been always connected when I leave the house. Kept the same battery on the rig the whole time, and have not had to restart or do anything to it once. Just works.
jaylagorio
@jaylagorio
Jan 04 2017 12:19
@fezulin I use a 722, it's very similar and I like the larger size over the 5xx models so I think you're making a good choice!
Aaron Michelson
@Aaybob
Jan 04 2017 12:39
@Bender1061 what is that BLE setup?
John Benjamin
@Bender1061
Jan 04 2017 12:53
@Aaybob the Bluetooth Tethering, just another name, cause it uses less power. As in I don't have to keep my phone plugged in at work, to keep Nightscout updated.
Aaron Michelson
@Aaybob
Jan 04 2017 12:59
@Bender1061 bluetooth low energy. I think I can pay for that feature on my phone plan when my rig is ready. I won't have internet at my workplace cell or wifi. Started setting up pancreable. I believe I wouldn't even need a phone then? or what is needed then?
Aaron Michelson
@Aaybob
Jan 04 2017 13:08
@ceben80 battery is larger area about 20mm wider 5mm longer or another battery is more narrow but twice as long.
@Bender1061 I put the new install software on an RPi3 and its very stable except the Carelink makes unrecoverable corruption of git repository most nights.
Aaron Michelson
@Aaybob
Jan 04 2017 13:31
@Bender1061 with bluetooth tethering what size battery do you need?
Aaron Michelson
@Aaybob
Jan 04 2017 13:50
Do others get this when they install dependencies on explorer?
r
/usr/local/bin/json -> /usr/local/lib/node_modules/json/lib/json.j
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (cur
/usr/local/bin/oref0-setup -> /usr/local/lib/node_modules/oref0/bin/oref0-setup.sh
Aaron Michelson
@Aaybob
Jan 04 2017 14:09

That happens with this command:

root@Fun:~# sudo npm install -g oref0

Aaron Michelson
@Aaybob
Jan 04 2017 14:32

and then this during oref0-setup
Running: openaps report add enact/suggested.json text determine-basal shell monitor/iob.json monitor/temp_basal.json monitor/glucose.json settings/profile.json
added determine-basal://text/shell/enact/suggested.json

Attempting to communicate with pump:
pump://JSON/read_temp_basal/monitor/temp_basal.json
monitor/temp_basal.json raised Attempting to use a port that is not open

I'm using one explorer board with two edisons for same result
Aaron Michelson
@Aaybob
Jan 04 2017 14:51
Would having CareLink running to another pump cause a problem?
just as interference or something?
woodtrevor
@woodtrevor
Jan 04 2017 15:49
@Aaybob You mentioned Carelink causing unrecoverable git corruption. What are the symptoms? I'm using Carelink and haven't noticed anything like this. I saw you mentioned "ACK is zero bytes" errors earlier. I get those but they are easily recoverable programmatically.
Dana Lewis
@danamlewis
Jan 04 2017 16:52
@Bender1061 glad to hear it’s been working well for you!
@Aaybob I don’t think carelink does wait-for-silence, so if you still have a carelink running, that’s probably why your other rigs can’t talk to it at the same time
Dana Lewis
@danamlewis
Jan 04 2017 18:05
Whooohooo! Just heard for those of you who wanted another Explorer Board/missed the early batches for your first board, ERD just put it back up on their website, so you can order directly from them: https://enhanced-radio-devices.myshopify.com/products/900mhz-explorer-block-pre-order (URL says preorder, but the site has been updated to say “available now”)
JaysonEwer
@JaysonEwer
Jan 04 2017 18:09
What's the discount code 😉
😎
Ordering now!
JaysonEwer
@JaysonEwer
Jan 04 2017 18:16
I just ordered two more. WOOHOO..
Dana Lewis
@danamlewis
Jan 04 2017 18:17
:confetti_ball:
JaysonEwer
@JaysonEwer
Jan 04 2017 18:18
BTW, the OPENAPSROCKS discount code didn't work this time. :-P
Dana Lewis
@danamlewis
Jan 04 2017 18:18
it didn’t work last time ;) don’t give people ideas! (no discount code)
(the discount is the blood sweat and tears that went into this device development :p)
JaysonEwer
@JaysonEwer
Jan 04 2017 18:19
I know, I know...I'm just playin....The "Discount Code" field was there, I thought I would poke fun.
Dana Lewis
@danamlewis
Jan 04 2017 18:19
;)
:)
:poke:
Tim Street
@tim2000s
Jan 04 2017 19:48
Setting up Edison from Mac and entered this with everything plugged in: sudo screen tty.usbserial-* 115200 but getting not found issue.
Do i need to use the serial number lsusb gives me?
Tim Street
@tim2000s
Jan 04 2017 19:53
Ah - got it - the docs aren't quite right - should read sudo screen /dev/tty.usbserial-* 115200
Geoff Aumaugher
@geoffro10
Jan 04 2017 20:24
Anyone know when the GroupGets orders are shipping?
Geoff Aumaugher
@geoffro10
Jan 04 2017 20:35
Never mind.... I see it says 4 week lead time. That stinks, especially if the other site has them in stock.
Dana Lewis
@danamlewis
Jan 04 2017 20:43
i can’t imagine that they wouldn’t ship groupgets batch first, even though they just added the ability to order now on their site
it’s the same company, just after the successful groupgets order (and the initial alpha batch), they’re moving on to having regular inventory. which is AWESOME.
see also: blood sweat tears comment from earlier ;)
Geoff Aumaugher
@geoffro10
Jan 04 2017 20:47
Ah..OK. Hope that's the case!
Dana Lewis
@danamlewis
Jan 04 2017 20:50
:+1:
Tyler Hookanson
@wtftyler___twitter
Jan 04 2017 21:36
hey everyone. its been about a year now since i last checked in. is OpenAPS compatible with Medtronic 523 3.0B yet? is there a way? if not is there any hope haha
Dana Lewis
@danamlewis
Jan 04 2017 21:37
@wtftyler___twitter http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-0/hardware/pump.html#information-about-compatible-insulin-pumps (assuming you’re talking about a US based pump, no, no one has figured out how to change firmware on a pump)
Tyler Hookanson
@wtftyler___twitter
Jan 04 2017 21:42
dang. thank you.
jmcrawford
@jmcrawford
Jan 04 2017 21:43
Is it possible to mix Edison blocks (sparkfun) with an Explorer in one stack? The explorer has only one edison connector, it would need to be the last in the stack
Matt Walker
@walker0
Jan 04 2017 21:44
@jmcrawford I'd think so, it has all the right holes to interface. The explorer has most things you need on board already though. What are you thinking of adding?
jmcrawford
@jmcrawford
Jan 04 2017 21:47
Uart, mainly. I still dream of ditching the Dex receiver entirely
Matt Walker
@walker0
Jan 04 2017 22:56
@jmcrawford I just tested it and it works fine with my gpio block, I think it would work fine with the vast majority of the sparkfun blocks it seemed to have decent spacing
JELCRAWFORD
@JELCRAWFORD
Jan 04 2017 23:22
@danamlewis @scottleibrand I'm trying to understand COB - can someone explain what is going on when we have COB in the pill as one number and when we hover over it it gives a different number that is associated with Careportal. Also, our son sometimes will have carb values (in the pill) that decrease and then increase after the loop has run another time despite no addtl carbs entered, and sometimes can have carbs indicated in the pill for many hours after eating, particularly at night - is there a reference to the calculations behind COB within APS that I can look at further to understand this - anyone have any thoughts?
Terri Lyman
@tatigger
Jan 04 2017 23:29
Hi everyone, I rebooted my edison and now am trying to log back in, but my mac says this.```
Terris-MacBook-Pro:~ terrilyman$ ssh root@192.168.1.106
ssh: connect to host 192.168.1.106 port 22: Connection refused
Terris-MacBook-Pro:~ terrilyman$
Scott Leibrand
@scottleibrand
Jan 04 2017 23:30
@JELCRAWFORD the COB can display one of two values, either from Nightscout itself or from OpenAPS. You can mouse-over the pill to see which of the numbers it's currently displaying, and what the other one is at the time. The Nightscout-calculated COB is based on a linear decay (based on the carbs_hr value in your profile), and can be thrown off if you have duplicate carbs (perhaps from entering it into care portal and also the pump bolus wizard). The OpenAPS COB is based on the oref0 advanced meal assist algorithm, which calculates carb absorption based on actual observed post-meal BG deviations.
@tatigger did your Edison's IP address change? There might now be another device using .106
Terri Lyman
@tatigger
Jan 04 2017 23:33
Yep, thought I just checked that. Thanks @scottleibrand
Doh
JELCRAWFORD
@JELCRAWFORD
Jan 04 2017 23:36
@scottleibrand Thanks for clarifying - so can we assume if we see carbs sticking around for hours after meals that we should be discussing this with the endo? it seems like the COB lasting for long periods after eating might be indicative of other issues. Re: duplicate entries - we try to be careful as he does enter into careportal at school so we know what is going on (still working on mobile pancreas to go to school). As soon as he comes in the door, pump updates the loop and we have duplicates - we then delete the NS entries that were made when he was away from the APS. Once rig is mobile and going with everywhere, will be no need to delete.
jordan-berger
@jordan-berger
Jan 04 2017 23:36
@scottleibrand I posted this last night after everyone had signed off for the evening. @jordan-berger
My AP was working fine connected to my mobile hotspot. As soon as i get home it connects to my home wireless but indicates looping. BG data is too old or clock is set incorrectly. The date is correct and i tried TZdata. Nightscout is reading my BG just fine.
it did this yesterday at home. I re-ran the script and it fixed it. When i left it stayed working until i returned home. Re-running the script every time i come home is not a good answer, but what is the script doing that a reboot of the system is not?
Scott Leibrand
@scottleibrand
Jan 04 2017 23:37
re-ran what script?
Terri Lyman
@tatigger
Jan 04 2017 23:38
@scottleibrand My setup appears to be running, it is looping and sending temp rates to the pump. I am not using the Carelink, but the Edison. I got this error. @JELCRAWFORD most endos don't even deal with carb decay. To be honest, this in OpenAPS Land is the most clear discussion of the topic I have seen. I may have celiac, and definitely have delayed absorption, how long has your son had DM? Does he have celiac?
Scott Leibrand
@scottleibrand
Jan 04 2017 23:38
@JELCRAWFORD if I were you I would just turn the COB pill off at this point, and look at the COB in the OpenAPS pill instead.
jordan-berger
@jordan-berger
Jan 04 2017 23:38
configuration script. cd && ~/src/oref0/bin/oref0-setup.sh
Terri Lyman
@tatigger
Jan 04 2017 23:39
Error, retrying
monitor/temp_basal.json  raised  Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?
Scott Leibrand
@scottleibrand
Jan 04 2017 23:39
@jordan-berger not sure how re-running oref0-setup would help with old bg data. it probably refreshed on its own at about the same time
This message was deleted
jordan-berger
@jordan-berger
Jan 04 2017 23:40
The dex battery is about EOL and I have had to restart. Could that affect it?
Scott Leibrand
@scottleibrand
Jan 04 2017 23:41
@jordan-berger how are you getting glucose data? is the receiver plugged in with USB? or via NS? or ?
jordan-berger
@jordan-berger
Jan 04 2017 23:42
i have entire time periods that nightscout is showing good BG data but the APS indicates looping.
I am using dexcom share to nightscout via an Apple Iphone.
Dexcom G5
Scott Leibrand
@scottleibrand
Jan 04 2017 23:44
I would start looking at log files and data files on the rig, rather than at NS
jordan-berger
@jordan-berger
Jan 04 2017 23:45
Pump-loop.log is not giving me much to go on. What other log files can i look at to find clues?
Scott Leibrand
@scottleibrand
Jan 04 2017 23:45
pump-loop.log should show the timestamp of the last BG data point it sees. you can do openaps alias show ns-loop to see what that does, and do the same on the aliases in there to drill down...
Dana Lewis
@danamlewis
Jan 04 2017 23:46
@JELCRAWFORD often times carb absorption is delayed by exercise, etc. so I wouldn’t be concerned by seeing carbs later than you’d expect, OpenAPS is looking at observed impact to the BGs, which can be influenced by exercise as well as how much insulin was actually peaking and how the liver was prepared to deal with carbs or not over time
JELCRAWFORD
@JELCRAWFORD
Jan 04 2017 23:46
@tatigger @scottleibrand - thanks both for your thoughts - son is 10yrs old, dx on May 1/16, so new, though it feels like forever ago :) History of GERD as an infant up to age 5+. (-) celiac - though we requested re-test at last clinic appt as it has been a question for him preceding DM. Really like Endo and we have an appt on Monday, so will raise it and see where she goes with it, if anywhere. Doubtful that DM can explain carb absorption though. May complicate mgmt, however OpenAPS will hopefully mitigate. It is interesting that he, since diagnosis, has had a very stubborn spike that begins at approx 1 hr post bedtime and requires substantial insulin to 'control' (APS does a much better job than we did) Now thinking that this spike might be delayed emptying. Better understanding of evidence for this makes appt with endo more intelligent :) Thx again.
Scott Leibrand
@scottleibrand
Jan 04 2017 23:46
@jordan-berger you can then run the report manually that gets BG data from NS, and see if you get any errors there, or do an openaps report show whatever.json --cli to see how to run it from the command-line
Dana Lewis
@danamlewis
Jan 04 2017 23:46
I also sometimes with a perfect flat BG meal line will get excursions hours later out of nowhere when my liver starts to dump a few extra carbs once it’s “full” @JELCRAWFORD
@JELCRAWFORD ah, but if you do think there’s something else going on, this data may be another data poitn for that - just saying I wouldn’t consider it the sole data point in favor of thinking there’s a problem
JELCRAWFORD
@JELCRAWFORD
Jan 04 2017 23:50
@danamlewis - ahhh... the mysteries of diabetes.... what we would all do with our time if it was straightforward?! I really appreciate thoughts. agreed it may be something, it may be nothing other than another data point, but delayed emptying has been a wonder of mine since long before t1d diagnosis... we just never had any way to really know - may not be related to D though... my search for simple explanations is never satisfied :)
jordan-berger
@jordan-berger
Jan 04 2017 23:51
where are all of the openaps commands documented. I need to start understanding the why and how things work so i can be more proactive at solving my own problems.
Scott Leibrand
@scottleibrand
Jan 04 2017 23:52
take a look at the "manual" and "guide" sections of the docs
some of that won't exactly map to what is done by oref0-setup, but if you can follow through those docs you should be able to figure out everything an oref0-setup loop is doing and test all the components manually as needed