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

12th
Oct 2016
Scott Leibrand
@scottleibrand
Oct 12 2016 00:08
@lollydaggle don't feel bad: I know that and I still forget sometimes. :)
Hannah Crabtree
@lollydaggle
Oct 12 2016 00:08
@danamlewis I used the setup scripts. It was pretty smooth for me. I thought the TTY Port for mmeowlink was confusing but then I went in and read the mmeowlink installation docs in way more detail and it cleared it up.
Scott Leibrand
@scottleibrand
Oct 12 2016 00:09
@libxmike if your loops are still running after you comment them out, you can kill them off with a reboot or killall -g openaps
and if you're trying to troubleshoot something, don't just run the aliases cron runs. do an openaps alias show whatever-loop and then run the individual reports out of it (without the 2>/dev/null etc.) so you can see all the error details that we strip out to keep from cluttering the logs
Dana Lewis
@danamlewis
Oct 12 2016 00:11
@lollydaggle good feedback, thx. wondering what @oskarpearson thinks about pulling some content from the openaps related setup pages from the wiki into the main openaps docs now, so people don’t have to bounce back and forth if they’re unfamiliar with it all. (especially now that tiny rigs are mainstream :) <3)
(hardware section needs a major rework to better articulate the hardware options with that in mind, too)
Hannah Crabtree
@lollydaggle
Oct 12 2016 00:28
@danamlewis Yeah, hardware was where I was fumbling with this one. OTG split cord for CGM Receiver and TI stick worked well + found an old generation Anker that still does passthrough
but at some point, I feel like fumbling a bit is a necessary part of DIY diabetes
Hannah Crabtree
@lollydaggle
Oct 12 2016 00:36
My dexcom receiver keeps resetting every few loop cycles. Turns off and restarts. Any thoughts?
garykidd
@garykidd
Oct 12 2016 00:37
sounds like a usb reset in your cron...but if not...I wonder if it has to do with a usb splitter?
Dana Lewis
@danamlewis
Oct 12 2016 00:38
Eventually you could try a hard reset (paper clip in back) but you'll lose data so download that first. May also be a flaky cable triggering it?
garykidd
@garykidd
Oct 12 2016 00:55
https://www.adafruit.com/product/2011 adequate capacity for edison/explorer?
diabeticgonewild
@diabeticgonewild
Oct 12 2016 00:58
Weird. I calibrated about 20 min ago and got a message that loop hasn't completed in like 20 min.
Can anyone ascertain as to the reasons why this may have occurred?
How can we order the explorer board?
And stupid me!!!! Just closed the loop app!!!
diabeticgonewild
@diabeticgonewild
Oct 12 2016 01:03
Does anyone know how to order the explorer board????
Dana Lewis
@danamlewis
Oct 12 2016 01:05
You can add yourself to the Google form, and we will be emailing the official order link out hopefully by end of week
diabeticgonewild
@diabeticgonewild
Oct 12 2016 01:06
Where is the google form? Thanks.
diabeticgonewild
@diabeticgonewild
Oct 12 2016 01:08
Thank you.
Dana Lewis
@danamlewis
Oct 12 2016 01:08
@garykidd how long do you expect/want it to last for?
redjujube
@redjujube
Oct 12 2016 01:08
Will the explorer board still require a CC debugger to program the TI CC1110?
Dana Lewis
@danamlewis
Oct 12 2016 01:09
Nope
redjujube
@redjujube
Oct 12 2016 01:10
Awesome! Thanks Dana. Very tempting to get one.
Dana Lewis
@danamlewis
Oct 12 2016 01:12
:+1:
diabeticgonewild
@diabeticgonewild
Oct 12 2016 01:16
OK Loop managed to work so I'm not concerned.
Hannah Crabtree
@lollydaggle
Oct 12 2016 01:17
I think it is a USB splitter issue. So, I think I have to trend away from using the CGM receiver to pull bloodsugars, anyway? Is the only option for G5 to pull from Nightscout? I'm nervous about my phone hotspot actually working and I have a 3GB hotspot cap/ month right now.
diabeticgonewild
@diabeticgonewild
Oct 12 2016 01:17
How does the Edison currently work with the G5?
@lollydaggle If you're in the US, there's an unlimited plan through Cricket Wireless for $60/month but it doesn't allow for hotspot use. A way around that (or at least I have heard) is getting an Android phone with Cyanogenmod compatibility (a proprietary OS that can be installed on your phone in lieu of Android OS)
Just food for thought...
Hannah Crabtree
@lollydaggle
Oct 12 2016 01:23
@diabeticgonewild oh boy. That might be a bit out of my technical league. :smile:
I could also explain to IT and see if I could get it connected to the work wifi
diabeticgonewild
@diabeticgonewild
Oct 12 2016 01:24
Try searching videos on Cyanogen/Cyanogenmod...it's not any harder than flashing the Edison (which I made videos of...) in my opinion
If you have to explain to IT at work, go ahead. But when it comes to medical problems in general, I have found it better to "stay off the radar" as much as possible.
When I was working with my medical problems though, my work was incredibly understanding. They pretty much allowed me to pick my hours and work whenever I could or wanted to...I have more than T1D to deal with though.
But I eventually had to quit. I really can't do a job where I have to "work on my feet"/"standing up", cause of my blood pressure and tachycardia problems. My cardiologist has told me I shouldn't get a job where I need to do that...
Dana Lewis
@danamlewis
Oct 12 2016 01:28
@lollydaggle worth asking. Having it connect when you walk in the office is the best thing since sliced bread.
diabeticgonewild
@diabeticgonewild
Oct 12 2016 01:28
And using a wheelchair for something like that isn't appropriate, either. Although some people do. But it really isn't advised, at all.
Hannah Crabtree
@lollydaggle
Oct 12 2016 01:31
@diabeticgonewild I'm "out" at work. I don't flash diabetes but I don't hide it either. I'm also fortunate because I've never had any bad outcomes at work so no one thinks my performance suffers. They just know I avoid the office donuts 9/10 times, haha.
OKAY. So I detached my receiver. The loop is still sending my pump commands... Does the setup script have it auto pull from Nightscout too?!
diabeticgonewild
@diabeticgonewild
Oct 12 2016 01:33
@lollydaggle that's cool. Everyone knew that I had T1D at work. I used to work at Best Buy and they are paranoid about theft and they knew I had stuff in my pockets (insulin pump and CGM...). One way or another, everyone knew.
I couldn't hide it either cause I have severe gastroparesis and I get low often and stuff and I can't really cover it up easily like other people can.
Otherwise I would have kept it a secret.
Scott Leibrand
@scottleibrand
Oct 12 2016 01:38
@lollydaggle yep, it does direct CGM or NS, whichever is available.
You could also connect your own little hotspot to the Ethernet just for your stuff if you wanted.
Hannah Crabtree
@lollydaggle
Oct 12 2016 01:39
@scottleibrand Very cool!
Scott Leibrand
@scottleibrand
Oct 12 2016 01:39
Maybe don't broadcast the SSID though. ;-)
garykidd
@garykidd
Oct 12 2016 02:18
FYI...the intel setup tool doesnt work with latest sierra operating system update.
This message was deleted
@danamlewis 12 hours
Scott Leibrand
@scottleibrand
Oct 12 2016 02:23
@garykidd what Intel tool? For flashing yocto?
garykidd
@garykidd
Oct 12 2016 02:24
yeah and or settingup ssh and wifi
intel_edison_setup_macv2016
garykidd
@garykidd
Oct 12 2016 02:29
maybe you dont need to use that....it had worked just fine with El Capitain
diabeticgonewild
@diabeticgonewild
Oct 12 2016 02:36
Windows flashing works pretty nicely completed to the other ways, in my experience
garykidd
@garykidd
Oct 12 2016 02:38
my windows box is like almost a decade old...and doenst have wifi...but I just ordered a wifi adapter---I know it boots up...so will have to wait for another amazon delivery I suppose.
David Young
@wgs4
Oct 12 2016 02:41
I’d like to test my configuration for openaps to receive data from my nightscout install. could someone help by providing a simple command i can issue to openaps that will query my nightscout site, that i can read, and compare to my nightscout data?
diabeticgonewild
@diabeticgonewild
Oct 12 2016 02:42
If that's the case and you're following my video, you will probably have to download the 32 bit version of Cygwin. Then you will have to change the code that is copied and pasted into Cygwin for installing the additional packages
Like the file names in the code you are copying and pasting will be different @garykidd
garykidd
@garykidd
Oct 12 2016 02:45
I may be exaggerating a bit about the age..but I honestly cant remember how old the damn thing is...it may be 64 bit actually
I do see the edison showing up as a drive in Finder, however
diabeticgonewild
@diabeticgonewild
Oct 12 2016 02:46
If it's 64 bit there should be little discrepancy between the video i posted versus your experience
garykidd
@garykidd
Oct 12 2016 02:54
I wouldnt upgrade to sierra yet---gave me serious wifi issues.
Eric
@ecc1
Oct 12 2016 03:09
I just found something potentially useful. Using the Bluetooth Serial Port Profile (SPP), you can run a terminal app on an Android phone and a shell on the Edison connected via Bluetooth. I followed this page: http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-edison-boards/000008676.html
and after it was connected, ran bash </dev/rfcomm0 >&/dev/rfcomm0 on my Edison. The result was an interactive shell in the BlueTerm app on my phone. Still have to figure out how to script this properly, but it should be useful in the field when wifi on the Edison is borked.
Scott Leibrand
@scottleibrand
Oct 12 2016 03:54
@garykidd yocto is not useful AFAICT. You can skip straight to flashing jubilinux from the Mac command line if you want.
Terri Lyman
@tatigger
Oct 12 2016 04:04
@scottleibrand, @danamlewis ran into some weirdness overnight from the loop - it was looping in my office on the desk. I would like to send a screenshot. The loop was setting a temp basal of Ithink 0.35 u/hr, then rapidly switching off the temp basal to let the standard basal run, over and over nearly every tic for about an hour.
Terri Lyman
@tatigger
Oct 12 2016 04:14
But I can do this later, done for a couple of days I think. See you soon
David Young
@wgs4
Oct 12 2016 04:16
after some serious battling with pebble and bluetooth on RPi, I FINALLY have them talking. However, I think I’m skipping some bigger issues, like generating json reports. is the github docs the only source of documentnation still?
Scott Leibrand
@scottleibrand
Oct 12 2016 04:18
@tatigger we see that a lot. I know why it happens, and it's mostly harmless, just looks funny.
Dana Lewis
@danamlewis
Oct 12 2016 04:19
I don't know what else you might be envisioning for documentation, yes github docs are it. It sounds like you may want to dig under the old manual directions for more detail on reports ...
Scott Leibrand
@scottleibrand
Oct 12 2016 04:20
If you can post a screenshot of one of the non-neutral temp basals it set, that might be slightly helpful in fixing it at some point.
David Young
@wgs4
Oct 12 2016 04:20
yes non of my reports are working, because i dont understand how to make them basically
Scott Leibrand
@scottleibrand
Oct 12 2016 04:20
@wgs4 are you trying to build it manually? Or using oref0-setup?
David Young
@wgs4
Oct 12 2016 04:21
My build was started manually, but then recently I ran a command from the new docs that took forever and is the new setup script
oh, you know, I’m working in my old instance director instead of the new one
maybe thats the problem, the new open.ini file is much longer than my old one
depening on the directory im in, will that affect the results of the command? so, if I’m in``` ~/old-manual-instance and try to run openaps reports show, I would get a different result than ~/new-script-instance and the same command?
Dana Lewis
@danamlewis
Oct 12 2016 04:27
Yes
David Young
@wgs4
Oct 12 2016 04:36
pi@rpi ~/myopenaps $ openaps device show
process://ns/nightscout/ns http://<hidden>.azurewebsites.net aa76b114de508d5e73ed06136afd6bc175523e3c
dexcom://cgm
process://ns-glucose/bash -c "curl -m 30 -s $NIGHTSCOUT_HOST/api/v1/entries/sgv.json?count=1000 | json -e \"this.glucose = this.sgv\""/
process://oref0/oref0/
process://iob/oref0/calculate-iob
process://meal/oref0/meal
process://get-profile/oref0/get-profile
process://detect-sensitivity/oref0/detect-sensitivity
process://determine-basal/oref0/determine-basal
process://pebble/oref0/pebble
timezones://tz
medtronic://pump
units://units
My nightscout site is live and working… should I be able to view / pull data from the NS site directly on my Pi, using this command
openaps use ns shell get $endpoint $query-params
This is the beginning of the error message when I run that command
pi@rpi ~/myopenaps $ openaps use ns shell get $endpoint $query-params
json: error: input is not JSON: Unexpected '<' at line 1, column 1:
        <head><title>Document Moved</title></head>
        ^
No JSON object could be decoded
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="https://<hidden>.azurewebsites.net/api/v1/-params?">here</a></body>
:tada: :tada: :tada:
Scott Leibrand
@scottleibrand
Oct 12 2016 04:51
@wgs4 looks like your NS hostname is wrong?
Maybe http when it should be https?
Ben West
@bewest
Oct 12 2016 07:19
sorry been away, wound up moving and don't have internet yet
C-Ville
@C-Ville
Oct 12 2016 07:22
@bewest good to see you
Matthias
@ceben80
Oct 12 2016 07:23
Hey hey Ben :star2:
Jason Calabrese
@jasoncalabrese
Oct 12 2016 07:26
:smile:
C-Ville
@C-Ville
Oct 12 2016 08:52
@scottleibrand I do have my personal goal to roughly get an idea what the loop is doing before I add a new feature. It seems to be about time to enable auto-sense and AMA. Could you point me in the right direction either the .js files I need to look at or some other comprehensive write up? I feel so left out without AMA and autosense. It seems to be such an improvement
Gina
@gclyon
Oct 12 2016 11:27
anyone have a link to latest docs? i bookmarked it a week ago, but link doesn't work anymore and my search has come up short
Oskar Pearson
@oskarpearson
Oct 12 2016 11:49
@danamlewis Moving things from the wiki into the actual docs is 100% fine with me. I encouraged the wiki up-front since I didn't want to fork the docs project - and it supported quick and fairly frictionless changes by anyone.
I'm happy to stick a big deprecation notice into the wiki, or put links to the docs instead :)
William Fallon
@inform880
Oct 12 2016 12:39
Does anyone have any idea what the loop time, or equivalent of loop time, for the new 670 is?
Dana Lewis
@danamlewis
Oct 12 2016 12:40
What do you mean by loop time?
William Fallon
@inform880
Oct 12 2016 12:41
I mean, how often does it pull data from
Dana Lewis
@danamlewis
Oct 12 2016 12:42
It likely updates every five minutes as it gets data from the CGM.
William Fallon
@inform880
Oct 12 2016 12:43
Sorry, on my phone. That's what i meant. Thanks
Hannah Crabtree
@lollydaggle
Oct 12 2016 13:42
@cben
^^ @ceben80 interested in what your diet is like...
because I feel like there's no way I'll hit 5.2 A1C unless I give up a lot of carbs
Matthias
@ceben80
Oct 12 2016 13:46
@lollydaggle No diet, I like to eat well and a lot :smile: ..... CGM and openAPS is the answer :star2:
Sandra Keßler
@SandraK82
Oct 12 2016 13:46
@ceben80 Unit of measurement for food is usually buckets ;) and the diet consist of everything that fits on a barbecue
Dana Lewis
@danamlewis
Oct 12 2016 13:46
@lollydaggle I eat carbs ;)
Matthias
@ceben80
Oct 12 2016 13:46
And sometimes discipline is also part of it
Dana Lewis
@danamlewis
Oct 12 2016 13:47
::gets on the eating soon approach soapbox:: ::gets off the soapbox::
Matthias
@ceben80
Oct 12 2016 13:47
Haha @SandraK82 ....yes :smile:
Hannah Crabtree
@lollydaggle
Oct 12 2016 13:48
@ceben80 @danamlewis you guys give me hope! I was about 6.2% A1C with my first loop and eating anything and everything I wanted, so no complaints there. Still had more small hills than flat lines. :smile:
Sandra Keßler
@SandraK82
Oct 12 2016 13:52
Without loop I'm around 7% today first sample after loop running, but only for two weeks. Will gave to wait until January to get a nice looped a1c
Dana Lewis
@danamlewis
Oct 12 2016 13:53
:+1:
Matthias
@ceben80
Oct 12 2016 13:57
:clap:
lukas-ondriga
@lukas-ondriga
Oct 12 2016 13:58
I entered 5g carbs into the bolus wizzard to prevent hypo and inform the loop about it. The loop reports COB: 45. Is it a known issue? When I entered both - the insulin and carbs it worked as I expected 60 in the BW was COB: 60.
Gina
@gclyon
Oct 12 2016 14:04
I'd like to start over. (and follow new docs) Best way to remove everything/flash sd card?
Dana Lewis
@danamlewis
Oct 12 2016 14:04
You don’t need to do that (unless you want to). You can just run the phase 2 section and go on from there
It will just create a new instance for you, based on what you name it. (and you can just comment out any existing crons if you made it that far before)
Gina
@gclyon
Oct 12 2016 14:08
I had tried that. After a long install from that first listed cmd to install openaps, it errors out....
E: Unable to correct problems, you have held broken packages.
Dana Lewis
@danamlewis
Oct 12 2016 14:13
Not sure how to fix that one. I’d wait and see if Scott when he wakes up on the west coast has a quicker fix than starting from scratch all over again on your sd card.
Gina
@gclyon
Oct 12 2016 14:19
:ok_hand:
Endo tomorrow. I sooooo wanted to show him this!!!
Dana Lewis
@danamlewis
Oct 12 2016 14:21
:) if we get you through step 1/fixed, you should be able to be up by end of day
Gina
@gclyon
Oct 12 2016 14:27
it's ok if not. we'll discuss either way. i'm pumped! ha! pun intended!
Dana Lewis
@danamlewis
Oct 12 2016 14:27
:) :fist: :raised_hands:
Gina
@gclyon
Oct 12 2016 14:29
btw, any chance you can tell "what number" openaps looper I am??
Matthias
@ceben80
Oct 12 2016 14:30
The most important thing....yeah
Dana Lewis
@danamlewis
Oct 12 2016 14:31
in theory - yes. in reality: i’m behind on catching up on the official list ;) so stay tuned
Gina
@gclyon
Oct 12 2016 14:32
yes! forget 26.2 bumper sticker... I want (n=1)*1xx
Also, if anyone can benefit from a dead G5 receiver, I'll send it out
Matthias
@ceben80
Oct 12 2016 14:35
Oh yes pls
Gina
@gclyon
Oct 12 2016 14:37
@ceben80 yes u want dead receiver? or bumper sticker
Matthias
@ceben80
Oct 12 2016 14:37
It is a Receiver or Transmitter?
Gina
@gclyon
Oct 12 2016 14:37
receiver
Matthias
@ceben80
Oct 12 2016 14:39
reading too fast :smile: ... thought a transmitter
Dana Lewis
@danamlewis
Oct 12 2016 14:47
@gclyon (n=1)118 @SandraK82 (n=1)119
coincidentally :)
that should be (n=1) 118 and (n=1 ) 119
doh. * between the 1) and the 118
Matthias
@ceben80
Oct 12 2016 14:49
yeaaaah @SandraK82 your number :star2: party :tada:
Gina
@gclyon
Oct 12 2016 14:50
Thank you Dana!!!
Matthias
@ceben80
Oct 12 2016 14:51
and Gina....congrats to you :clap:
@danamlewis Which is an exponential rise since February, awesome!
Gina
@gclyon
Oct 12 2016 14:52
btw,... my error is derived from this portion:
sudo apt-get install -y git python python-dev python-software-properties python-numpy python-pip nodejs-legacy npm watchdog
The following packages have unmet dependencies:
 nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is not going to be installed
Sandra Keßler
@SandraK82
Oct 12 2016 14:58
:tada: looping party
Dana Lewis
@danamlewis
Oct 12 2016 14:58
overall, DIY looper community at (n=1) * 121+ :)
Gina
@gclyon
Oct 12 2016 15:00
i seriously want a bumper sticker with my number! or... any cool design openaps logos in the works??
Dana Lewis
@danamlewis
Oct 12 2016 15:00
no official logos, but I recommend using the hashtag :) and happy to +1/“approve” any design ideas
Scott Leibrand
@scottleibrand
Oct 12 2016 15:10
@gclyon you might be able to google a fix for that. It's not an openaps-specific thing. Maybe apt-get install -f, or an apt-get remove of the problematic packages and re-running the script
If you can't figure out how to remove everything needed to let the script's apt-get run successfully, a re-image is also fine.
Gina
@gclyon
Oct 12 2016 15:11
okiedokie, thk u. i was searching on gitter and saw 2 others with same error but hadn't come across the fix.
Matthias
@ceben80
Oct 12 2016 15:11

@gclyon that's me and my loop number :+1:

https://twitter.com/ceben80/status/774288814621753345?lang=de

Sandra Keßler
@SandraK82
Oct 12 2016 15:14
with the nice club5 artwork
C-Ville
@C-Ville
Oct 12 2016 15:14
And @ceben80 is wearing that for bbq
Gina
@gclyon
Oct 12 2016 15:14
Cool! What is club 5? A1c of 5.x???
Matthias
@ceben80
Oct 12 2016 15:14
yeah
Gina
@gclyon
Oct 12 2016 15:14
jealous
Matthias
@ceben80
Oct 12 2016 15:15
gift from my german friends in https://gitter.im/LadyViktoria/germanLOOP
C-Ville
@C-Ville
Oct 12 2016 15:15
@ceben80 does a great Job in increasing the members :-)
Gina
@gclyon
Oct 12 2016 15:17
My Club-7 apron would look like something from Walking Dead
Matthias
@ceben80
Oct 12 2016 15:18
This will be significantly better by using this awesome openAPS :star2:
Sandra Keßler
@SandraK82
Oct 12 2016 15:19
yeah, i can tell how @ceben80 is doing that... i'm his latest victim who got loppinized... he mocks everybody not Looping with his great charts and nice images of working loops and how easy it is to get there ;)
C-Ville
@C-Ville
Oct 12 2016 15:19
@gclyon you will getan lower now that you are loopIng
PieterGit
@PieterGit
Oct 12 2016 15:19
i found a openaps compatible pump. I can connect with ti stick (openaps use pump model and the oref0-setup pump-loop loops fine. Unfortuately I keep getting "recieved":false (not enacted and an X in nightscout). Anybody knows if there is a pump setting I should be aware of? Is Temp Basal Type=Percent of Basal supported? Should I change Utilities > Remotes or Utilities > Other Devices somehow? It would be nice if this old pump works with openaps.
Gina
@gclyon
Oct 12 2016 15:21
@C-Ville Can't wait!!
Dana Lewis
@danamlewis
Oct 12 2016 15:22
@SandraK82 it’s so much easier now than it was even 3 days ago ;) or 3 months or 2 years ;)
Sandra Keßler
@SandraK82
Oct 12 2016 15:26
yeah i got a glimpse of it. But I'm not sure if it is all good they way it is now. Just running a script and giving some answers is really easy.. not reading the docs maybe very dangerous.. i jumpen the train with the setup-script and have yet to read 90% of the docs. I have only a basic understanding what is happening inside the loop and what can go wrong. This would be comfortable for comemrcial application, because there is someone responsible to ensure correctness of the system. This setuop is completly built on trust, not on understanding or transparency
Dana Lewis
@danamlewis
Oct 12 2016 15:30
did you read the readme? :)
Sandra Keßler
@SandraK82
Oct 12 2016 15:30
@danamlewis thats is some critique, yes. However not meant to destroy anything. I work for various industrial apllications and I have to lead my team of programmers through many code reviews, certtifications and stress tests of the software we are building. So i know how it is done in the Industrie and I know how high the price is to achieve good code..
no, of course not :) i read initiale some lines about presetup script, setup script and ... hm there i was Looping :D
Dana Lewis
@danamlewis
Oct 12 2016 15:31
feedback is good, PRs are also excellent for suggestions on how to make the docs better. this is polar opposite to the feedback I usually get about the docs about it being way too hard, too much fear, etc.
Sandra Keßler
@SandraK82
Oct 12 2016 15:32
I guess i'm a little bit different as usually have my very own mind about how to do things :D
Dana Lewis
@danamlewis
Oct 12 2016 15:33
did you do it from the setup script wiki testing page? or the actual docs?
(helps me contextualize your feedback)
Sandra Keßler
@SandraK82
Oct 12 2016 15:33
from testing
Dana Lewis
@danamlewis
Oct 12 2016 15:33
ok that’s the big difference
vs. the docs
Sandra Keßler
@SandraK82
Oct 12 2016 15:33
and i did not read it
Dana Lewis
@danamlewis
Oct 12 2016 15:33
here’s the docs overall where most people find setup info: http://openaps.readthedocs.org/en/latest/
Sandra Keßler
@SandraK82
Oct 12 2016 15:34
i scanned for todo 1) and saw that i need to do 0) first, after 1) the loop was running
only if i had failed with that i would have read the docs :)
at the moment i'm disecting my setup. looking what did the setup script do and what means every component.. thats for sure not the common way to do things, but it is mine
Dana Lewis
@danamlewis
Oct 12 2016 15:38
yea. that’s not usual, and you’re admitting responsibility for your setup process, which is key
Sandra Keßler
@SandraK82
Oct 12 2016 15:40
@danamlewis I saw the page ( http://openaps.readthedocs.org/en/latest/ ) , at least in an earlier version. However i decided thats way to much text for me to read before i lose interest in running my loop
Scott Leibrand
@scottleibrand
Oct 12 2016 15:42
You sound like @jasoncalabrese ;-)
@PieterGit no, percent mode is not supported. Need to change to U/hr. PR's welcome to make that more clear in the docs.
Matthias
@ceben80
Oct 12 2016 15:43
@SandraK82 and your loop is running and from now on your A1C is gonna stabilize, that's great
Jason Calabrese
@jasoncalabrese
Oct 12 2016 15:44
haha
Scott Leibrand
@scottleibrand
Oct 12 2016 15:45
@SandraK82 even if you just run the setup script without reading any docs, all you'll get is a loop that only does negative IOB. You have to read enough of the docs to understand what max_iob is and how to change it before I would be worried about you setting it up to do something less safe than using your pump without openaps.
Jason Calabrese
@jasoncalabrese
Oct 12 2016 15:46
I think the more technical of a background that longer it takes to start looping, and slower to upgrade, etc
Sandra Keßler
@SandraK82
Oct 12 2016 15:46
yeah, still there is no double net in place yet which takes care if something fails. I know that I'm in charge to put it up.. Ist some kind of conflict in me, one hand says ist way to easy (at least if you have a comperable tech background) to get it running, the other hand wants everybody to have this now
Diabetic_Dude
@diabetic_dude_twitter
Oct 12 2016 15:46
Hello good to be here
Dana Lewis
@danamlewis
Oct 12 2016 15:46
@SandraK82 story of the last 2 years of my life (the conflict)!
welcome @diabetic_dude_twitter
Sandra Keßler
@SandraK82
Oct 12 2016 15:47
@danamlewis good to know :+1:
Diabetic_Dude
@diabetic_dude_twitter
Oct 12 2016 15:48
I have been doing a lot of reading about the open APS system, it sounds outstanding
I currently use xdrip and a Dexcom I also have a Medtronic 722 pump
From what I gather it would be pretty easy for me to get this setup is that correct? What I mean by easy is that I it seems I have most of the hardware except for the Raspberry Pi
Dana Lewis
@danamlewis
Oct 12 2016 15:51
Yup. Get the rest of the hardware (Pi+a radio stick) & you’ll be ready to start
PieterGit
@PieterGit
Oct 12 2016 15:51
@scottleibrand : thanks, will try after dinner and when i get it working will work on a pr
Diabetic_Dude
@diabetic_dude_twitter
Oct 12 2016 15:52
Thanks
Could you please direct me to a link that would show me how to set the system up I found plenty of reading and three web pages worth of stuff but I have still not come across the exact link to set it up. Thank goodness I found loads of support information though which is how I found this chat room
Diabetic_Dude
@diabetic_dude_twitter
Oct 12 2016 15:54
Thanks
Dana Lewis
@danamlewis
Oct 12 2016 15:55
or, read the readme first: https://github.com/openaps/docs/blob/master/README.md then dive into the above link for easier navigating of the docs
jwedding
@jwedding
Oct 12 2016 15:56
Apologies for hitting multiple outlets. At @MilosKozak's suggestion, the Foundation reached out to JetBrains and now have a limted number of All Products licenses available for our community. If you are interested please let me know via the resource request page: http://www.nightscoutfoundation.org/resource-request/ This helps us keep track of the seat count.
Dana Lewis
@danamlewis
Oct 12 2016 15:57
and if you have any feedback @diabetic_dude_twitter on how to make sure people find the docs, let us know
Diabetic_Dude
@diabetic_dude_twitter
Oct 12 2016 16:06
Thank you I will, honestly I like that you'll cover the support first because really people should have that in place before they start anyways.
Now I just have to wait for my next paycheck so I can get one of the Raspberry Pi starter kits. Is there a reason why people tend to like the raspberry pi2 over the raspberry pi3
taylorfowler
@taylorfowler
Oct 12 2016 16:11
wifi and bluetooth are built in on the pi3
Diabetic_Dude
@diabetic_dude_twitter
Oct 12 2016 16:12
Good to know
Scott Leibrand
@scottleibrand
Oct 12 2016 16:27
Pi 2 uses less power, so if you plan to take it mobile you'll last longer on a given size battery. But most people build Edison rigs for mobile use now.
So Pi 3 is great for starting out. And we still use our Pi rig for bedside/overnight.
C-Ville
@C-Ville
Oct 12 2016 16:29
yes having a stationary rig for home use seems like a bright idea
my Edison just failed on me and apparently I had it drop often enough for the ERF to break from the Epoxy glue :-(
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Oct 12 2016 17:47
Anyone interested in my RPi2 + Carelink + Wifi + Battery + Cables OpenAPS Rig? I used it for about 2 months as a primer to OpenAPS and the community. I figure someone could get some use out of it as I am a full time iOS-Loop head.
IMG_5313.jpg
Tom Boudreau
@TomBoudr_twitter
Oct 12 2016 17:48
@jlucasvt If you don;t find a taker.... I turned my old Pi2 into a retro video game console emulator. Lots of fun!
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Oct 12 2016 17:49
ooh yes that’s not a bad idea.
Tom Boudreau
@TomBoudr_twitter
Oct 12 2016 17:50
@diabetic_dude_twitter - you may want to talk to @jlucasvt
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Oct 12 2016 17:51
Yes cause a Picade is looking very cool. https://shop.pimoroni.com/products/picade
Tom Boudreau
@TomBoudr_twitter
Oct 12 2016 17:52
That said if anyone needs otg cables I have a zillion that I no longer need
@jlucasvt thats expensive - I got a $8 USB SNES-esque controller and plugged it right into my TV.
Hannah Crabtree
@lollydaggle
Oct 12 2016 18:00
has anyone successfully used an OTG splitter to use their receiver with the Edison? This is not working for me at all. I'm thinking about re-flashing my trusty Pi3 tonight. :P
which would make a very short tiny rig jig for me
Tom Boudreau
@TomBoudr_twitter
Oct 12 2016 18:01
@lollydaggle you probably need a mini usb hub and not a splitter. splitters only pass power IIRC
diabeticgonewild
@diabeticgonewild
Oct 12 2016 18:01
I wouldn't expect an OTG splitter to work, at all with an Edison. Most smartphones don't even allow an OTG splitter to work on them.
Tom Boudreau
@TomBoudr_twitter
Oct 12 2016 18:02
diabeticgonewild
@diabeticgonewild
Oct 12 2016 18:02
And a mini USB hub probably wouldn't work on a device like an Edison.
POWER is the problem
I worked at Geek Squad for almost 3 years. And I am an electrical engineering student. I HIGHLY doubt that either an OTG splitter OR a mini USB hub would work—at all.
Hannah Crabtree
@lollydaggle
Oct 12 2016 18:04
@TomBoudr_twitter @diabeticgonewild Yeah, that looks like what I'm currently using.
definitely doesn't get enough power to the Ti stick (shuts off after a few cycles) and it wigs out my receiver
diabeticgonewild
@diabeticgonewild
Oct 12 2016 18:05
And that would be expected
Hannah Crabtree
@lollydaggle
Oct 12 2016 18:06
@TomBoudr_twitter did the pi zero have issues with the SD getting corrupted when it was shut down improperly?
that's my only beef with the Pi3
Mike
@libxmike
Oct 12 2016 18:13
@lollydaggle every Rpi my get corrupted SD if not shut down properly
Hannah Crabtree
@lollydaggle
Oct 12 2016 18:15
@libxmike that's what I figured...
Mike
@libxmike
Oct 12 2016 18:17
few minutes ago I had corrupted filesystem after cutting power to Zero, I'm setting just now openaps on Zero
Eric
@ecc1
Oct 12 2016 18:18
Here's a more fully-engineered version of what I started playing with yesterday (access to Edison or RPi console via Bluetooth from your phone): http://blog.dmaggot.org/2014/07/shell-access-to-your-raspberry-pi-over-bluetooth/
Scott Leibrand
@scottleibrand
Oct 12 2016 18:20
for whatever reason Edisons don't seem to have problems with corruption of their internal memory the way Pi's do with SD cards
David Young
@wgs4
Oct 12 2016 18:20
@scottleibrand I modified the NS link to be HTTPS, that did not fix my error message.
Scott Leibrand
@scottleibrand
Oct 12 2016 18:21
that error message was a redirect provided by Azure
David Young
@wgs4
Oct 12 2016 18:23
hmm… side note, what is this ios Loop app? is there a link someone could post for me?
nm found it
David Young
@wgs4
Oct 12 2016 18:24
thx
Tom Boudreau
@TomBoudr_twitter
Oct 12 2016 18:55
@lollydaggle Yes, but there was one command to add to the cron job that fixed it
Milos Kozak
@MilosKozak
Oct 12 2016 19:09
blob
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Oct 12 2016 19:12
@MilosKozak is that individual users = 66.
Milos Kozak
@MilosKozak
Oct 12 2016 19:14
66 devices
many are test devices, emulators etc ..... but still ...
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Oct 12 2016 19:20
very awsome.
Mike
@libxmike
Oct 12 2016 19:43
anyone have a clue whats wrong or how to fix it? just installed oref0-setup.sh, this is pump-loop.log
serial.serialutil.SerialException: Attempting to use a port that is not open
Error, retrying
monitor/temp_basal.json  raised  Attempting to use a port that is not open
pump://JSON/read_temp_basal/monitor/temp_basal.json
Traceback (most recent call last):
  File "/usr/local/bin/openaps-report", line 82, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/__init__.py", line 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 61, in before_main
    self.setup_medtronic( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 160, in setup_medtronic
    self.uart.open( )
  File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 874, in open
    log.info('%s' % self.product_info( ))
  File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 515, in product_info
    return self.query(ProductInfo)
  File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 509, in query
    return self.process( )
  File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 490, in process
    raw = self.send_force_read( )
  File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 606, in send_force_read
    self.link.write(reader.format( ))
  File "/usr/local/lib/python2.7/dist-packages/decocare/link.py", line 47, in write
    r = self.serial.write( string )
  File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 497, in write
    raise portNotOpenError
serial.serialutil.SerialException: Attempting to use a port that is not open
Starting pump-loop at Wed Oct 12 21:39:37 CEST 2016:
C-Ville
@C-Ville
Oct 12 2016 19:52
@libxmike raspberry typically uses serial dor console log. If you want to use serial you will need to change that
Mike
@libxmike
Oct 12 2016 19:53
@C-Ville change what and where? sorry, don't understand
Scott Leibrand
@scottleibrand
Oct 12 2016 20:05
@libxmike is this a Carelink plugged in over USB?
I would check lsusb before and after plugging it in, to make sure it's showing up as a device there. if not, it could be a bad USB extension cable, or bad Carelink stick.
Mike
@libxmike
Oct 12 2016 20:06
@scottleibrand yes, I just rebooted my Rpi and openaps use pump model works, no error in log
Scott Leibrand
@scottleibrand
Oct 12 2016 20:07
openaps use pump model works, but you get these errors in pump-loop.log?
or pump-loop is now working too?
Mike
@libxmike
Oct 12 2016 20:08
cant tell if pump-loop is working
no error in pump-loop.log
Scott Leibrand
@scottleibrand
Oct 12 2016 20:08
this error sometimes indicates that you have two processes trying to use the port at the same time. you should make sure to comment out the pump-loop cron entry, and make sure it's not running by rebooting or doing killall -g openaps, before you run anything manually that talks to the pump
Mike
@libxmike
Oct 12 2016 20:10
thats my cron, the error was just after running oref setup, after reboot was ok
* * * * * sudo wpa_cli scan
* * * * * killall -g --older-than 15m openaps
* * * * * cd /home/pi/myopenaps && oref0-reset-git
* * * * * cd /home/pi/myopenaps && ps aux | grep -v grep | grep -q 'openaps get-bg' || ( date; openaps get-bg ; cat cgm/glucose.json | json -a sgv dateString | head -1 ) | tee -a /var/log/openaps/cgm-loop.log
* * * * * cd /home/pi/myopenaps && ps aux | grep -v grep | grep -q 'openaps ns-loop' || openaps ns-loop | tee -a /var/log/openaps/ns-loop.log
* * * * * cd /home/pi/myopenaps && ps aux | grep -v grep | grep -q 'openaps autosens' || openaps autosens | tee -a /var/log/openaps/autosens-loop.log
* * * * * cd /home/pi/myopenaps && ( ps aux | grep -v grep | grep -q 'openaps pump-loop' || openaps pump-loop ) 2>&1 | tee -a /var/log/openaps/pump-loop.log
Scott Leibrand
@scottleibrand
Oct 12 2016 20:11
ok, not sure what would've caused two things to hit the pump at the same time initially, but if it doesn't occur again (and pump-loop is completing successfully after reboot) I wouldn't worry about it
Mike
@libxmike
Oct 12 2016 20:13
@scottleibrand but for me its still mystery why I dont get anything from openaps in NS
Screenshot 2016-10-12 22.13.12.png
this is my 4 installation in 2 days
Scott Leibrand
@scottleibrand
Oct 12 2016 20:17
are you getting BG data from NS when you don't have a CGM plugged in?
Mike
@libxmike
Oct 12 2016 20:18
I dont have CGM, just the data from NS, both glucose.json and ns-glucose.json have the latest BG
but the latest BG ist always at the file begin, not on the end which I dont understand, (I'm coming from oracle env)
Scott Leibrand
@scottleibrand
Oct 12 2016 20:22
yeah, that's just the way that API output is structured. doesn't really matter: you can reverse it very easily in code when you're working with it, but it's generally easier to refer to the 0th item in the array and always get the most recent data point (the one we care the most about)
Mike
@libxmike
Oct 12 2016 20:22
ok, got it
Scott Leibrand
@scottleibrand
Oct 12 2016 20:23
so if you're successfully able to get CGM data from NS, but can't upload it, then that either means the NIGHTSCOUT_HOST and API_SECRET in your crontab are correct (and likely don't match what's in ns.ini), or your API_SECRET doesn't match NS (so you have read-only access)
if you entered the already-hashed secret into oref0-setup, and it hashed it again, that would account for it...
there's also the trailing slash thing on the URL
or it could be something with your NS setup itself (I don't understand that part as well)
Mike
@libxmike
Oct 12 2016 20:25
no trailing slash and I entered clear text API_SECRET in oref0-setup
API_SECRET in crontab is hashed
Scott Leibrand
@scottleibrand
Oct 12 2016 20:26
you might want to start working on getting NS uploads set up the manual way then, using the ns device. that is something we don't yet do in oref0-setup, but want to, so if you get it working you can contribute your working config and we can get everyone up that way
Mike
@libxmike
Oct 12 2016 20:27
the problem is im in a labyrinth in a dark room right now
Scott Leibrand
@scottleibrand
Oct 12 2016 20:27
yeah, you need to reduce the problem down to much simpler components
openaps alias show etc. are your friends there
Mike
@libxmike
Oct 12 2016 20:28
API_SECRET in crontab and ns.ini are same and both hashed
Mike
@libxmike
Oct 12 2016 20:48
@scottleibrand upload to NS seams to work, I got in NS latest treatment that I entered in the pump after I changed hashed API_SECRET to clear text
C-Ville
@C-Ville
Oct 12 2016 21:11
@scottleibrand I know the information is somewhere out there but could you do me a favor and point me in the direction where to look to understand the logic behind autosense and AMA, the corresponding .js files would be fine
Dana Lewis
@danamlewis
Oct 12 2016 21:18
@C-Ville for a starter in background: openaps/oref0#68
You'll see some linked commits there too for breadcrumbs
(Checking out closed issues is useful, especially those on big features since often there's a plain language explanation of what we then attempt to code)
Mike
@libxmike
Oct 12 2016 21:21
what should be in /home/pi/myopenaps/settings/profile.json ? my is empty
C-Ville
@C-Ville
Oct 12 2016 21:34
@danamlewis thanks I will go study :-) and then apply
Scott Leibrand
@scottleibrand
Oct 12 2016 21:49
@libxmike your profile.json is generated by oref0-get-profile
dougtakeuti
@dougtakeuti
Oct 12 2016 22:14
Hey there Loopers, I need some advice adjusting pump parameters at night. I'm trying to keep up with all this growth spurt hormone craziness as puberty approaches - not easy, but I think (and our endo agrees) it would have been a lot worse without openaps.
Here is the story. Post dinner/bedtime around 140 mg/dL at 9:00 PM. BG is stable and starts going up after midnight, no idea why this happens and the endo doesn't know either - not food related IMO. Openaps (AMA+Autosens, loop created with oref0-setup.sh, running every 5 min) starts hi temping as usual, but BG reaches a plateau of 200 mg/dL at 1:00 AM and does not go down until 3:00. Then it starts a steep descend, down to 70ish at 4:00-5:00. This cannot be prevented by low temping, and it does not help that Enlites are not terribly accurate, so that one of these days a 70 was actually a 51. Sometimes there are no lows, but BG is kept around 80 by low temping, leading to breakfast with negative IOB (+ insulin resistance), followed by a spike and a loooong story during the day.
I've been trying to increase basal at 11 pm and lower it at 2 am but haven't touched ISF. However, I don't see the point of doing so when I think that the loop does exactly that kind of adjustment dynamically. Any suggestions, please?
Eric Jensen
@elnjensen
Oct 12 2016 22:20
Seems like your best bet would be to keep shifting (probably in modest steps) the underlying basal rates, just as you're doing. OpenAPS will continue to give you retrospective info about shifts you need, so hopefully you can converge faster.
I think I'm probably not telling you anything you don't already know...
Dana Lewis
@danamlewis
Oct 12 2016 22:21
What is dia? May even bump basal up as early as 10pm to get an edge on the upward rise...
dougtakeuti
@dougtakeuti
Oct 12 2016 22:21
@elnjensen I appreciate any comments, even for reassurance! :smile:
@danamlewis dia is 3 h. Yep, will try an earlier bump, thanks!
Dana Lewis
@danamlewis
Oct 12 2016 22:23
:+1: (and yes this stuff is hard! Just know you're not alone!)
dougtakeuti
@dougtakeuti
Oct 12 2016 22:24
:smile:
Gina
@gclyon
Oct 12 2016 22:29
my jaw is still on the floor. that new setup rocks! reeeally appreciate all "y'alls'" work. Yes, I'm from MS-- I can say that but not necessarily spell it
Dana Lewis
@danamlewis
Oct 12 2016 22:30
<3 for all ya'll references :D
Gina
@gclyon
Oct 12 2016 22:30
with the feedback, it felt like i was playing Beyond Zork!
Dana Lewis
@danamlewis
Oct 12 2016 22:30
Did you get all sorted?
Gina
@gclyon
Oct 12 2016 22:32
yes pretty much i believe. ...i feel like it's already Christmas...all my pillboxes in NS work :joy:
Dana Lewis
@danamlewis
Oct 12 2016 22:33
:+1: :clap: :confetti_ball:
Matthias
@ceben80
Oct 12 2016 22:37
@gclyon wow Christmas :astonished: ....the time has passed so quickly :smile:
Scott Leibrand
@scottleibrand
Oct 12 2016 22:59
@gclyon lol @ Zork - I never played that one, but I definitely was thinking back to the prompts we used for BBS games back in the day when I wrote those y/[N] things. ;-)
John Benjamin
@Bender1061
Oct 12 2016 23:36
is there anything out there that says where to cut the TI Stick antenna for the US Pumps? I want to give it a shot and see if it makes a difference.
Scott Leibrand
@scottleibrand
Oct 12 2016 23:39
I know Morgan is adding it to the silk-screen layer to be printed on the https://github.com/EnhancedRadioDevices/915MHzEdisonExplorer boards
not sure if that's the same location that would be ideal for the TI stick though
John Benjamin
@Bender1061
Oct 12 2016 23:49
20160913_202917.jpg
I know @ryanchen26 Posted a picture on Slack a month ago, but I don't know if it did make a difference or not.