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

30th
Nov 2016
Neal
@tnharvey
Nov 30 2016 03:52
I noticed the explorer boards are sold out on myshopify, and redirecting to groupgets. That's just for new orders, right? I haven't heard any updates about the existing orders that are supposed to ship still, just checking.
Dana Lewis
@danamlewis
Nov 30 2016 04:02
He's supposed to be sending out an update, but correct that's for any additional orders
Darrell Wright
@beached
Nov 30 2016 04:02
Still end of Nov shipping?
fiberfan
@fiberfan
Nov 30 2016 04:53
:-)
woodtrevor
@woodtrevor
Nov 30 2016 05:55
Hi all. By way of introduction, T1 for 25 years, been using NS for about a year. I've been quietly following openaps since diyps, went to a meetup, and am now working on my pi/carelink based rig. I'm currently on Phase 2, step 2, on the cusp of running oref0-setup.sh. So far so good. I'm familiar with linux, bash, python, version control, etc. My question at the moment is, is there somewhere a diagram or description of the system architecture that shows how all of the software pieces work together? I think I sort of understand what nodejs & json are. In step 0 quick_packages.sh installs openaps & openaps-contrib python packages. Then it installs json & oref0 from NPM. Then step 1 pulls oref0 source from github. I'm trying to understand how all of these work together. How is the oref0 from step 1 related to oref0 package from NPM? Thanks!
Scott Leibrand
@scottleibrand
Nov 30 2016 05:59
They're the same thing, just oref0-setup requires a newer unreleased version for now. Was hoping to fix that this week with an oref0 release, but now am waiting on someone to test an insulin activity calculation bug fix before we merge oref0 dev to master.
Morgan Redfield
@mogar
Nov 30 2016 06:08
The first ten Explorer boards rolled off the assembly line this afternoon. I'll be getting them tomorrow morning, and if there are no problems we should be shipping by the end of the week.
I'll send out a full update to everyone who's ordered on after checking out the boards tomorrow.
eyim
@eyim
Nov 30 2016 06:09
Thank you Morgan. We all appreciate your efforts on this.
Dana Lewis
@danamlewis
Nov 30 2016 06:09
:+1: :clap:
@beached @tnharvey and everyone else :smile:
Darrell Wright
@beached
Nov 30 2016 06:18
:sparkles: :)
fiberfan
@fiberfan
Nov 30 2016 06:35
@mogar Thanks for the update!
cococay
@cococay
Nov 30 2016 06:52
AWESOME!!! Can't wait! :)
Neal
@tnharvey
Nov 30 2016 07:17
@mogar @danamlewis thanks for update! I didn't want to pester so much as make sure the getgroups didn't mean a change to the process and time frame.
Tim Street
@tim2000s
Nov 30 2016 07:29
:+1: :smile:
Colin Lennon
@colinlennon
Nov 30 2016 08:26
:smile:
Tim Street
@tim2000s
Nov 30 2016 10:29
I've got "OPENAPS_FIELDS" enabled on Nightscout, with meal-assist set as the option. What should I see in Nightscout? I know that autosens is running as I can see ISF when I hover over the OpenAPS pill, but nothing regarding Meal Assist.
live4sw
@live4sw
Nov 30 2016 12:47
I got there with "SHOW_FORECAST" "ar2"
to get the purple line (3 after a meal)
Tim Street
@tim2000s
Nov 30 2016 13:04
It's not the purple lines. It's what AMA is thinking that I'm interested in.
live4sw
@live4sw
Nov 30 2016 14:09
oh ok. I don't see anything either, I agree it would be nice for it to explain how AMA is deciding what to do. I've had AMA set up for two days now and the only main change i've noticed is that it doesn't low-temp after i bolus for a meal anymore
Tim Street
@tim2000s
Nov 30 2016 14:40
So can anyone answer what "OPENAPS_FIELDS" meal-assist does?
OrlaWilson
@OrlaWilson
Nov 30 2016 15:04
for the last 12 hours, my NS site wont show either my basal profile changing with openaps or my temp basals. Any ideas whats gone wrong? Thnx.
OrlaWilson
@OrlaWilson
Nov 30 2016 15:19
No worries - I figured it out. The tz was off on my pi!
bschrag620
@bschrag620
Nov 30 2016 16:14
Quick question, I first installed openaps about 4-5 weeks ago but didn't have a compatible pump at the time. When I first installed it I could pull data from nightscout without issue. Fast forward to this week, and now have a compatible pump. So I reran the setup script but now can't get data from nightscout. First line of the error says "Cannot GET // api/v1/entries". Is there something I'm overlooking in the setup?
Colin Lennon
@colinlennon
Nov 30 2016 16:18
That double forward slash doesn't look correct - maybe you don't have the environment variable set correctly for your Nightscout site?
bschrag620
@bschrag620
Nov 30 2016 16:23
I looked in the ns.ini and the site address seems to be correct. Is there a different place too check?
Colin Lennon
@colinlennon
Nov 30 2016 16:35
Maybe someone who has used the new setup script can confirm, but with the old manual setup, you also need to specify an environment variable in your crontab - NIGHTSCOUT_HOST I think
You could execute crontab -l and see if you have a line in there that sets a value for NIGHTSCOUT_HOST
Dana Lewis
@danamlewis
Nov 30 2016 16:36
@bschrag620 did you enable everything on the NS side?
Colin Lennon
@colinlennon
Nov 30 2016 16:38
My suspicion is that you've possibly got a / character at the end of the URL - e.g. https://yoursitename.azurewebsites.net/
If you do, try removing that trailing slash, so that it looks like this - https://yoursitename.azurewebsites.net
Matthias
@ceben80
Nov 30 2016 16:45
Unfortunately that's a typical error with the trailing slash. Quickly done by paste and copying the URL from the browser :worried:
bschrag620
@bschrag620
Nov 30 2016 16:45
I'm thinking about it and I simply did a copy/paste from the browser address bar into the setup script. The browser doesn't show "http:" at the beginning and I bet the variable is missing that as well. I'll double check for a trailing slash as well.
Matthias
@ceben80
Nov 30 2016 16:47
my last setup containted this trainling slash in cron and nothing happened
kenstack
@kenstack
Nov 30 2016 16:49
@scottleibrand could you post your /etc/network/interfaces file for your edison? I seem t have broken something in my wifi …. thanks!
bschrag620
@bschrag620
Nov 30 2016 16:49
@danamlewis yes I believe so simply because a few weeks ago I could pull data from it and haven't changed anything with nightscout since then. I think my issue will be a missing http: at the beginning of the nightscout variable.
cpressnall
@cpressnall
Nov 30 2016 17:50
Hello! I have a question about BG targets. I often see that the target shown in the Open APS pill on our NS site doesn't match what's set in her pump. For example, her BG target might be 100-100 and the OpenAPS pill in NS shows Target: 91;. Why would those differ? FYI - when we set a temporary target (eating soon, for example) we do not see this - they match up in that case.
bschrag620
@bschrag620
Nov 30 2016 17:53
Thanks @ceben80 @colinlennon and @danamlewis , trailing slash was the culprit.
Matthias
@ceben80
Nov 30 2016 17:58
:tada:
Matthias
@ceben80
Nov 30 2016 18:45
@cpressnall autosens feature is adjusting the target if set in preferences.json
cpressnall
@cpressnall
Nov 30 2016 19:04
Thanks @ceben80! @logichammer - can you check out preferences.json and see how thatt's set?
Neal
@tnharvey
Nov 30 2016 19:19
Left my edison inside when I went out to my office in the garage to work for the day. Apparently XRF can get comms through walls at the range :D
C-Ville
@C-Ville
Nov 30 2016 19:20
@tnharvey that is nice, for me I have not seen any range better than what TI can achieve
Dana Lewis
@danamlewis
Nov 30 2016 19:21
Ask: how can we make people go to the troubleshooting page (that clearly says, check trailing slash, etc. ) more easily? Here’s the page (http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-2/oref0-setup.html) where people are running through…there’s a link in the text somewhere, plus at bottom of page to the next page (http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-2/troubleshoot-oref0-setup.html)
C-Ville
@C-Ville
Nov 30 2016 19:22
@danamlewis if I remember correctly even the script says that
Dana Lewis
@danamlewis
Nov 30 2016 19:23
yea..but people keep pasting in with the trailing slash
oceantragic
@oceantragic
Nov 30 2016 19:23
Just a quickie...is there only one type of edison? I don't want to purchase the wrong one and have seen slightly different codes on pictures of similar Edisons. I've looked at Intel's site, can't find anything stating there's more than one model
Dana Lewis
@danamlewis
Nov 30 2016 19:23
wondering if we can check for that @scottleibrand in the script and either take it out, or throw an error and make them check it there?
or maybe just spit back what they pasted in and ask them to check for the /
@oceantragic I think there are technically two and I believe it doesn’t matter, either work
oceantragic
@oceantragic
Nov 30 2016 19:26
cool, just found someone who's bought a job lot by mistake
Dana Lewis
@danamlewis
Nov 30 2016 19:30
Whoop whoop! Email about explorer boards for anyone who ordered them via the pre-order batch ;)
Neal
@tnharvey
Nov 30 2016 19:31
@danamlewis I noticed that, the first time I ran through the script, I didn't realize I needed to go all the way down past the Manual Installation section to the steps (1-3). I wonder if the "be prepared to enter..." can either be copied above to the Automated Installation Script section, or some other rearranging to make it clear that the same information is needed.
Dana Lewis
@danamlewis
Nov 30 2016 19:31
would love a PR if you have ideas on how to improve the page :)
Neal
@tnharvey
Nov 30 2016 19:32
I'll definitely do a PR, just wondered if understood the intended sequence correctly. It seems like the headers for the Steps 1-3 are larger, meaning higher, than the Manual Installation. Is that the case?
Scott Leibrand
@scottleibrand
Nov 30 2016 19:32
Should be easy enough to strip the trailing / if someone wants to remind me. :-)
(Opening an issue would be a good start)
Neal
@tnharvey
Nov 30 2016 19:33
@scottleibrand oohh, nifty, just adding it to the script =]
Scott Leibrand
@scottleibrand
Nov 30 2016 19:34
sed to the rescue. ;-)
oceantragic
@oceantragic
Nov 30 2016 19:43
@danamlewis whoop whoop indeed, I've got mail :D
C-Ville
@C-Ville
Nov 30 2016 19:44
getting feeling stupid that I missed out on preorder, so no X-mas present for me
Morgan Redfield
@mogar
Nov 30 2016 19:47
The pre-order is closed, but you can still order boards through GroupGets: https://groupgets.com/campaigns/273-900mhz-explorer-board-for-edison
Neal
@tnharvey
Nov 30 2016 19:50
@danamlewis woohoo! Staring at my inbox waiting for it =] Thanks Morgan!
oceantragic
@oceantragic
Nov 30 2016 19:53
@danamlewis just reading about OpenAPS in The Lancet. Seen it? http://www.thelancet.com/journals/landia/article/PIIS2213-8587(16)30397-7/fulltext
C-Ville
@C-Ville
Nov 30 2016 19:55
ah, needs registration
oceantragic
@oceantragic
Nov 30 2016 19:59
yh but it's free and quick
Dana Lewis
@danamlewis
Nov 30 2016 20:02
@oceantragic yes I saw :) been busy at day job and juggling all the things so will get around to shouting that one from the rooftops later :D
thank you for making sure though :) :)
@C-Ville groupgets (the next batch) should ship by end of January? so not that long off in the grand scheme of things..and you could always setup up an Edison/other board/with a TI in the meantime if you were really hungry for a smaller rig, then just swap to the Explorer Board once it gets to you
C-Ville
@C-Ville
Nov 30 2016 20:04
@danamlewis you still have time for another job rather than supporting people here :-)
Dana Lewis
@danamlewis
Nov 30 2016 20:04
most days yes ;)
fiberfan
@fiberfan
Nov 30 2016 20:06
Received email!!!!!
Dana Lewis
@danamlewis
Nov 30 2016 20:11
ICYMI. And ICY really wanted me to shout. as promised. https://twitter.com/danamlewis/status/804054725251371008
Matthias
@ceben80
Nov 30 2016 20:11
:+1:
live4sw
@live4sw
Nov 30 2016 20:12
blob
Trying to understand logic - is there a place in the docs that helps decipher the decisionmaking process here?
live4sw
@live4sw
Nov 30 2016 20:13
I would have thought it would want to high temp here
maxiob is 0
live4sw
@live4sw
Nov 30 2016 20:14
ahhhhh
live4sw
@live4sw
Nov 30 2016 20:15
Of course. That makes so much sense. Figured the setup script was going to just set it up like I had done manually way back when. What was the default maxiob in the original preferences?
Note to self to RTFM again tonight, thought I already knew my stuff.
Dana Lewis
@danamlewis
Nov 30 2016 20:16
;D
GreatEscape
@GreatEscape
Nov 30 2016 20:18
So excited everything is coming together for APS. Board is about to ship, found myself a pump at a great price, just need to buy a battery I think. I've come across three battery links - any thoughts on which to go for?
Adafruit: https://www.adafruit.com/products/2011
Sparkfun: https://www.sparkfun.com/products/8483
Robotshop: http://www.robotshop.com/en/37v-2000mah-5c-lipo-battery.html
Jason Wittmer
@jbwittmer
Nov 30 2016 20:19
@GreatEscape We use the batteries from Adafruit and have found them reliable, but I should think any of these should be fine.
diabeticgonewild
@diabeticgonewild
Nov 30 2016 20:22
I had a battery one time from one of those distributors listed—and one time one of the wires came loose and disconnected from the battery. I recommend you order a couple extra.
They all probably come from the same sources in China
Matthias
@ceben80
Nov 30 2016 20:31
As long as they do not explode, they are all good :smile: :smile: :smile:
diabeticgonewild
@diabeticgonewild
Nov 30 2016 20:33
Pretty much yeah
Andrew Baugh
@baughaw
Nov 30 2016 21:17
Is there anyway to make the "Show OpenAPS Forecasts" checked by default in NS? Every time I reload the page it is unchecked.
Dana Lewis
@danamlewis
Nov 30 2016 21:17
it should be saved…are you saving?
Andrew Baugh
@baughaw
Nov 30 2016 21:20
I wasnt saving.. I didnt think it was "save-able" since it wasnt in the fly out right menu... I will give it a try, thx
no luck :(
Scott Leibrand
@scottleibrand
Nov 30 2016 21:22
do you have SHOW_FORECAST="openaps ar2" in your environment variables?
Andrew Baugh
@baughaw
Nov 30 2016 21:24
ah, that might be it.. I only have ar2
that worked, thanks Scott :thumbsup:
Scott Leibrand
@scottleibrand
Nov 30 2016 21:26
:+1:
someone asked last night about my /etc/network/interfaces. The relevant portion is:
auto wlan0
iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
R. Dennis Steed
@rdsteed
Nov 30 2016 21:30
Respect the lithium rechargeable, this could be an OpenAPS rig: https://www.youtube.com/watch?v=en8X80l-cvw
PieterGit
@PieterGit
Nov 30 2016 21:37
does anybody has a picture how to connect an antenna to a slice of radio? the supplier page is offline unfortuately
GreatEscape
@GreatEscape
Nov 30 2016 21:55
@rdsteed - I had just been thinking about a scenario like that as I packed our homemade xDrip bridge in a tic-tac case into my 4 year-old's fannypack.
@jbwittmer @diabeticgonewild @ceben80 - thanks for the thoughts on batteries
Peter Miller
@ochenmiller
Nov 30 2016 21:59
Battery fires are real: https://goo.gl/photos/kHgL52YoDGBVQ5d36
GreatEscape
@GreatEscape
Nov 30 2016 22:12
@ochenmiller - did something (a puncture/dent) cause that?
Tim Street
@tim2000s
Nov 30 2016 22:13
Hi @scottleibrand & @danamlewis - I wonder if you saw my earlier question. I've been playing with NS with OpenAPS and can't see that the OPENAPS_FIELDS meal-assist setting does anything.
What is it supposed to do?
Scott Leibrand
@scottleibrand
Nov 30 2016 22:15
Where?
I'm not familiar with that.
Tim Street
@tim2000s
Nov 30 2016 22:15
It's one of the Nightscout settings. I wondered if anyone used it?
Scott Leibrand
@scottleibrand
Nov 30 2016 22:15
Might be a @jasoncalabrese question
Peter Miller
@ochenmiller
Nov 30 2016 22:22
@GreatEscape - this incident was entirely my own fault. I was not careful with the battery and had forced it into the enclosure against some elements that dented the battery. The fire occurred when the enclosure was dropped on the floor from table height.
GreatEscape
@GreatEscape
Nov 30 2016 22:26
@ochenmiller - what a great learning opportunity for us all, thanks for sharing
Paul Martin
@Spazholio
Nov 30 2016 22:43
I’m looking at Sculpteo for professional 3D printing since what I have at work is just not working out. They offer several materials: plastic, resin (polyjet), resin (CLIP), alumide, and multicolor. Multicolor and polyjet seems out since the design has fine details and it’s saying I should NOT use those. CLIP, alumide, and plastic seem fine though. Unsure if the alumide (since it has metal in it) would be contraindicated due to the possible interference with the antenna. Any thoughts or recommendations?
Tim Mecklem
@tmecklem
Nov 30 2016 22:48
I just found out that my library has 4 3D printers including a resin one. Ridiculously cheap, only cost of materials.
Paul Martin
@Spazholio
Nov 30 2016 22:50
So I’m assuming resin is better than plastic? Is it stronger/more durable? The clips on both the cases I have snapped off pretty much first day.
Tim Mecklem
@tmecklem
Nov 30 2016 22:50
Watching the 3D object rise out of the resin liquid gave me a brief Terminator style freak out moment.
Paul Martin
@Spazholio
Nov 30 2016 22:50
hehe
Tim Mecklem
@tmecklem
Nov 30 2016 22:51
I don't know. It looked smoother, like a not 3D printed thing. The TED talk on resin printers showed a flexible bouncy material. The stuff I saw today was stiffer and more rigid.
Paul Martin
@Spazholio
Nov 30 2016 22:52
I really like the idea of the alumide for durability, but I worry about the whole metal-content-with-a-device-that-has-an-antenna thing.
Neal
@tnharvey
Nov 30 2016 23:08
@PieterGit Not sure if you've already looked over in the mmeowlink room, but @garykidd was looking for the same information, and I think @tazitoo had a little information.
Tim Street
@tim2000s
Nov 30 2016 23:24
So everyone. Any ideas why a cloned SD card can't talk to my pump via mmeowlink?
Mike Stebbins
@mikestebbins
Nov 30 2016 23:26
@Spazholio resin isn't "better" than plastic, different type of print, each has it's own pros and cons. Generally speaking, resin is capable of much finer detail without the ridges inherent to an FDM (traditional 3d printer that most people think of) process. Some FDM plastics are stiff (PLAs), while others are a bit flexible and stronger (ABS, like legos). Some resins are flexible, others are stiff, some are strong....there are a lot of variables. I wouldn't use the alumide unless you really need it, metal is just going to cost money and complicate antenna performance. Do you have a link or pictures of the part to print (sorry if I missed that above)? FWIW, I'm a mechanical engineer who deals with 3d printers frequently at work and built my own reprap many years ago, so I'm fairly familiar with the processes.
Tim Street
@tim2000s
Nov 30 2016 23:26
My slice of radio tells me it flashes okay.
Paul Martin
@Spazholio
Nov 30 2016 23:28
@mikestebbins I just took the RL designs from Github and uploaded them to Sculpteo. Didn’t make ‘em public though. I might be able to do that after the fact. And I think the alumide cost an extra buck per part. Not a deal-breaker. I figured with the hole cut out for the antenna on the RL case, that the metal content in the alumide might not be TOO bad, but I really don’t know much. Hence my asking, I suppose. =)
Mel Clegg
@mel2095
Nov 30 2016 23:56
I have been running openaps on a pi3 with slice of radio just overnight for a couple of weeks - most nights works great, but have a few nights where the pi becomes unresponsive (cant ssh into it to shutdown) and the 2 leds both turn red. If I pull power and restart everything starts working again. Has anyone had similar? Are the particular logs I can look in? thanks
Tim Street
@tim2000s
Nov 30 2016 23:59

This is the issue I'm getting but I'm not sure why.
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Nov 30 22:42:21 2016
pi@raspberrypi:~ $ tail -f /var/log/openaps/pump-loop.log
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/reports/invoke.py", line 40, in main
output = task.method(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/uses/use.py", line 45, in call
output = self.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/vendors/medtronic.py", line 333, in main
return getattr(self.pump.model, name)(**self.get_params(args))
AttributeError: 'Pump' object has no attribute 'model'
Error, retrying