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

21st
May 2016
Dana Lewis
@danamlewis
May 21 2016 00:00
:)
Scott Leibrand
@scottleibrand
May 21 2016 00:02
the qualifications for contributing are simple: "Can you make it better?" :-)
ddaniels1
@ddaniels1
May 21 2016 00:03
also any direction on setting up eating soon mode? is it triggered from NS?
dougtakeuti
@dougtakeuti
May 21 2016 00:03
I'd be more than ok you if say it needs improvement - I'm a teacher :smile:
Dana Lewis
@danamlewis
May 21 2016 00:04
@ddaniels1 yes, triggered in NS
It's in the drop down of care portal
ddaniels1
@ddaniels1
May 21 2016 00:04
@danamlewis any idea how I can pull the AMA branch though I don't have a SRC directory?
I set up the original using the package manager
Dana Lewis
@danamlewis
May 21 2016 00:04
@ddaniels1 I don't :/
Paul Martin
@Spazholio
May 21 2016 00:16
I was wondering what people think about the filenames most of us have setup in OpenAPS - like monitor/profile.json and settings/basal_profile.json. What does everyone think about making those an “established standard” so that when we find different versions in the docs, we can change them to be what we’ve all agreed upon? I ask specifically because I’ve noticed two times that the same thing in the docs is referred to by two different filenames and that can get confusing.
Paul Martin
@Spazholio
May 21 2016 00:17
Pfft. I’ve created nearly all naming conventions we use at work. It’s my mutant power or something. =)
Scott Leibrand
@scottleibrand
May 21 2016 00:18
Yes, we should standardize. Ben had some ideas around that, and his template tools will help as well.
Paul Martin
@Spazholio
May 21 2016 00:20
@bewest I’d love to hear some of your ideas on this, as I think it can be one of the simpelst sources of confusion when getting started: “Why is there current_temp_basal.json and temp_basal.json? Is there s difference between isf and insulin_sensitivities?"
Also, @scottleibrand - I’m game to help out with the PasswordAuthentication doc as welll, but I’ll wait until @dougtakeuti gives it first crack. No need to duplicate work.
dougtakeuti
@dougtakeuti
May 21 2016 00:21
@scottleibrand @danamlewis I'm done but I'm not sure how to submit it though. Do I create a new PR or somehow open/tag #151?
Paul Martin
@Spazholio
May 21 2016 00:24
Along those lines - I know @scottleibrand gave me some pointers earlier, but - if I fork a repo and do some work on it, only to find out that the source branch changed while I was doing the work, how - specifically, please - do I update my fork in order to continue working on it without having to re-fork?
Scott Leibrand
@scottleibrand
May 21 2016 00:25
You want to do a PR back the other direction.
Dana Lewis
@danamlewis
May 21 2016 00:25
@dougtakeuti start a new PR from you to openaps/docs/dev
dougtakeuti
@dougtakeuti
May 21 2016 00:25
ok
Dana Lewis
@danamlewis
May 21 2016 00:25
:+1:
thanks for the quick work!
dougtakeuti
@dougtakeuti
May 21 2016 00:27
Sick in bed and impatient...
Dana Lewis
@danamlewis
May 21 2016 00:27
bummer. hope you feel better soon!
Scott Leibrand
@scottleibrand
May 21 2016 00:28
@Spazholio LMK if that is specific enough or not.
Paul Martin
@Spazholio
May 21 2016 00:36
So basically I would follow the “My First PR” doc, but in the reverse direction?
Dana Lewis
@danamlewis
May 21 2016 00:36
yep. you want to PR from dev to you again
Paul Martin
@Spazholio
May 21 2016 00:37
What if it can’t be cleanly merged? I think that happened last time - “Can’t be cleanly merged, but don’t worry, you can still submit the PR!”
Dana Lewis
@danamlewis
May 21 2016 00:37
you can do command line cherry picking to make it happen, review the conflicts. ::she says, with the confidence of someone who’s never done that part and always delegates to ben or scott on this particular thing::
Paul Martin
@Spazholio
May 21 2016 00:40

you can do command line cherry picking to make it happen

I love your confidence in my abilities when it comes to git. =)

dougtakeuti
@dougtakeuti
May 21 2016 00:41
Ok, @danamlewis @scottleibrand just submitted the PR. I hope I've done the right way.
Dana Lewis
@danamlewis
May 21 2016 00:41
Yep, saw it come through @dougtakeuti - thanks! :)
@Spazholio ;)
Shane Mitchell
@Stavrosnco
May 21 2016 00:43
Anyone ever had a problem where you can manually upload to nightscout but using the same command in an alias doesn't work?
Shane Mitchell
@Stavrosnco
May 21 2016 00:50

Specifically I'm trying to make an alias called status upload like so:
status-upload = ! bash -c "openaps report invoke monitor/entries.json && ns-upload-entries monitor/entries.json"

The first report runs correctly and generates entries.json but nothing happens with the second command

If I run each individually from the command line instead of trying to use an alias they both work.

Scott Leibrand
@scottleibrand
May 21 2016 01:22
@Spazholio ^^
Paul Martin
@Spazholio
May 21 2016 01:23
I absolutely despise how accurate that is.
Paul Martin
@Spazholio
May 21 2016 01:29
So, I have a new carrying case for my APS (Pi3 + huge battery) and it seems like it’s getting warm. However, I read that until it goes to 85C it’s not a concern. Does anyone else ever notice their rig getting warm? Possibly hot?
David Cintron
@loudestnoise
May 21 2016 01:31
that just means it’s working well
Paul Martin
@Spazholio
May 21 2016 01:37
Yeah, just don’t want it to work TOO well, y’know? =)
Dana Lewis
@danamlewis
May 21 2016 01:38
;p mine gets warm sometime, especially when it’s zipped in a not-well-ventilated-carrying-case and shoved in the bottom of my bag.
JaysonEwer
@JaysonEwer
May 21 2016 01:38
@loudestnoise :-). Yes @Spazholio mine gets warm, boarders on hot, but I'm not sure I've crossed the hot threshold yet.
Paul Martin
@Spazholio
May 21 2016 01:38
Yeah, I just found a nice camera carrying case that fits everything all nice and roomy. And - apparently - toasty. =)
But hey, I live in Michigan. This could come in useful 8 months out of the year...
David Cintron
@loudestnoise
May 21 2016 01:41
free hand warmer!
JaysonEwer
@JaysonEwer
May 21 2016 02:34
@Stavrosnco do you have your PATH, API_SECRET AND NIGHTSCOUT_HOST defined in your crontab file?
` ``PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
NIGHTSCOUT_HOST
API_SECRET```
Dana Lewis
@danamlewis
May 21 2016 02:39
added the “Can I do OpenAPS with my pump?” image to the hardware page: https://github.com/openaps/docs/blob/dev/docs/docs/walkthrough/phase-0/hardware.md
Also thinking the dev-to-master-PR is ready to roll, unless any objections pop up: openaps/docs#135
Jim is CrushingT1D
@CrushingT1D
May 21 2016 02:54
I've got a few extra boxes of 7xx (3ml) reservoirs that I am looking to trade for some of the 1.8ml or something else. If anyone is interested please send me a private message
jaylagorio
@jaylagorio
May 21 2016 03:08
@danamlewis The image size makes the text pretty small, do you have a higher res image you can use?
Jason Curry
@mccgm
May 21 2016 04:15
Can anyone point me to some documentation on using a TI Stick ?
Jason Curry
@mccgm
May 21 2016 04:18
The OpenAPS docs point to https://giter.im/oskarpearson/mmeowlink
Shane Mitchell
@Stavrosnco
May 21 2016 04:28
blob
@JaysonEwer Thanks for the help! Yes I have them defined. I was kind of able to work around the problem by calling ns-upload-entries from the crontab. I'm still doing something a bit wrong though because I'm able to get my sensor readings to show up on nightscout but not any of the temps being set or boluses being administered. The maddening thing is that I was in the reverse situation earlier and looking through my history I still can't figure out what changed. I'm using 0.9.0 beta 2 for nightscout, which I'm not positive is correct
Dana Lewis
@danamlewis
May 21 2016 04:29
@mccgm yes, it's in the wiki there
Saskia
@Missdazzle
May 21 2016 04:30
Good morning! Is there anybody out there willing to tell a noob how to get NS to show what the loop is doing? I can see on my pump that it is working and the iob pill box shows a negative number, but in the basal pill box is doesn´t show T: 1,58 instead of the running basal and the basal line (default) doesn´t have any changes. So what do I have to do?
Dana Lewis
@danamlewis
May 21 2016 04:33
Saskia
@Missdazzle
May 21 2016 04:41
@danamlewis Yes I did - after working my way through the German gitbook roundabout two months ago, but maybe I missed something!? I´ll try again...
Dana Lewis
@danamlewis
May 21 2016 04:44
That might have been German Nightscout, but not sure if it includes the OpenAPS instructions (I assume not but maybe @ceben80 can confirm)? What I linked to above is specific about NS and OpenAPs setup inside the OpenAPS docs.
Scott Leibrand
@scottleibrand
May 21 2016 04:45
And if you get stuck, just speak up with specific questions.
Shane Mitchell
@Stavrosnco
May 21 2016 04:53

I thought I followed the walkthrough document pretty closely but I can't seem to get information other than sensor readings to show up.

I have a device:
[device "ns-status"]
vendor = openaps.vendors.process
extra = ns-status.ini

And it's ns-status.ini
[device "ns-status"]
fields = clock iob suggested enacted battery reservoir status
cmd = ns-status
args =

I used that to create a report called upload-status:
[report "monitor/upload-status.json"]
suggested = enact/suggested.json
status = monitor/status.json
use = shell
reservoir = monitor/reservoir.json
reporter = JSON
battery = monitor/battery.json
clock = monitor/clock-zoned.json
json_default = True
device = ns-status
remainder =
iob = monitor/iob.json
enacted = enact/enacted.json

I am able to invoke the report and it creates the upload-status.json output.

Matthias
@ceben80
May 21 2016 04:53
@danamlewis good morning Dana, OpenAPS is not included yet in the German book
Saskia
@Missdazzle
May 21 2016 04:53
Oh, okay I see what you mean. Our German gitbook tells you a lot about the general setup and this is how mine looks. But I must have been missing something in your OpenAPS instructions, so I just try again! Thank you!
NS.PNG
Shane Mitchell
@Stavrosnco
May 21 2016 04:56
blob
I then try to test with ^^
It even changes the openAPS pillbox timer but doesn't seem to plot anything
Dana Lewis
@danamlewis
May 21 2016 05:00
@ceben80 morning, thanks for confirming! (Makes sense, especially since we keep changing the OpenAPS docs so much, not to necessarily incorporate it in the German version, and perhaps link over to OpenAPS docs instead?)
Saskia
@Missdazzle
May 21 2016 05:00
@stavrosnco [device "ns-status"]
fields = clock iob suggested enacted battery reservoir status
cmd = ns-status
vendor = openaps.vendors.process
args =
The only difference to mine I see is the vendor stuff in the ns-status.ini...
Dana Lewis
@danamlewis
May 21 2016 05:02
@Stavrosnco try searching in gitter for some of the previous setup walk throughs to see if any of that helps. (And the Nightscout portion of the docs needs more work - as you can tell - so once you get it figured out, perhaps you'll consider a PR to help us improve that section?)
Shane Mitchell
@Stavrosnco
May 21 2016 05:05
Thank you both. I'll search around some more and see if I can find anything. I'll try to keep good notes too so I can attempt to give back even slightly :smile:
Dana Lewis
@danamlewis
May 21 2016 05:07
Excellent :) thank you!
(And my one other random but obvious thought as I am falling asleep on my phone, is to make sure you have it enabled in NS
Shane Mitchell
@Stavrosnco
May 21 2016 05:11
Always good to check the simple things! I have pump and openaps both checked
ddaniels1
@ddaniels1
May 21 2016 05:16
@Stavrosnco in my openaps.ini my ns-status device looks like this
Matthias
@ceben80
May 21 2016 05:17
@Stavrosnco btw.....you are low on pump battery, I see in your treatments you have posted
1,19 v that is very low
ddaniels1
@ddaniels1
May 21 2016 05:17
[device "ns-status"]
fields = clock iob suggested enacted battery reservoir status
cmd = ns-status
vendor = openaps.vendors.process
args =
See vendor line
Shane Mitchell
@Stavrosnco
May 21 2016 05:28
@ceben80 Thanks, yeah I was just about to change it out
@ddaniels1 Thank you I tried adding that line but still no luck
Scott Leibrand
@scottleibrand
May 21 2016 05:51
@Stavrosnco sounds like you set up status upload but not treatments.
ddaniels1
@ddaniels1
May 21 2016 05:52
@scottleibrand any idea how I can pull the AMA branch though I don't have a SRC directory?
I set up the original using the package manager
No SRC directory, found /usr/local/lib/node_modules/oref0 but git command doesn't work in there
Scott Leibrand
@scottleibrand
May 21 2016 05:57
Do quick-src first, or clone it manually.
Geoffrey Beardslee
@Geoff1313_twitter
May 21 2016 06:10
Looking to get started with openAPS. But I have a Tslim any ideas on how I can squire a compatable pump? Email me at Geoffrey.beardslee@outlook.com
ddaniels1
@ddaniels1
May 21 2016 06:12
@scottleibrand not sure how to do that. Will do some searching
@Geoff1313_twitter got mine on craigslist
ddaniels1
@ddaniels1
May 21 2016 06:53
Are you saying to run:
sudo easy_install -ZU openaps
Not sure how to get the AMA branch though.
Scott Leibrand
@scottleibrand
May 21 2016 06:55
No, run quick-src.sh.
"Installing from source"
that will get you ~/src/oref0, and then you can switch branches
ddaniels1
@ddaniels1
May 21 2016 06:58
:)
Ben West
@bewest
May 21 2016 06:59
sudo npm install -g git://github.com/openaps/oref0.git'#advanced-meal-assist
but, I think scott needs to merge dev in to that feature branch
or I can do it
usually the owner of the feature branch does it
@scottleibrand let me know if you want help merging dev into advanced-meal-assist looks like there are some conflicts
ddaniels1
@ddaniels1
May 21 2016 07:02
OK that worked. So @bewest does that mean I can still follow http://openaps.readthedocs.io/en/dev/docs/walkthrough/phase-1/visualization.html#configuring-and-uploading-openaps-status to set up AMA? Are the conflicts your talking about for installing via NPM?
Ben West
@bewest
May 21 2016 07:03
no
yeah, probably
the conflicts likely have to do with some changes to determine-basal to make errors a bit more obvious
ah, has to do with usage/help messages
there's some changes in lib/determine-basal/determine-basal.js I'm not sure about
joannestevens
@joannestevens
May 21 2016 11:38
pi@raspberrypi ~ $ script 210516
Script started, file is 210516
pi@raspberrypi ~ $ cd
pi@raspberrypi ~ $ openaps init my_openaps
Traceback (most recent call last):
File "/usr/local/bin/openaps", line 4, in <module>
import('pkg_resources').run_script('openaps==0.1.0', 'openaps')
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 2927, in <module>
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 2913, in _call_aside
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 2940, in _initialize_master_working_set
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 635, in _build_master
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 943, in require
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 829, in resolve
pkg_resources.DistributionNotFound: The 'gitpython' distribution was not found and is required by openaps
Can anyone give me a clue as to what has gone wrong here? I thought I had set up git? Thanks Jo
Jarred Yaw
@jyaw
May 21 2016 12:20
I've still not transitioned to using my 722 so it's in an error state. Any reason that would cause me to get an empty upload-status.json? I do upload data but the pill status never changes. Is there another diagnostic method here for debug besides looking through all the reports and scanning through the report code for upload-status.json?
Kate Farnsworth
@ELUTE
May 21 2016 12:38
@bewest sorry if this feels likes kick in the teeth. Certainly was not intended as such. That chip reader request could be fufilled by the foundation I am sure. i would love that bounty to end up in your pocket.
John Benjamin
@Bender1061
May 21 2016 13:24
Well I've made it my 3rd Night Looping! Now it's time to start looking at some better Hardware!
Hristina Dimova
@xpucuto
May 21 2016 13:32
@Bender1061 welcome in the club !!! :clap: looping is very addictive by my opinion ;) you can't stop wanting more and more hardware :smile:
John Benjamin
@Bender1061
May 21 2016 13:43
yeah, and the amount of time it's been taking as well, but I for several years stopped tinkering with most electronics at home, cause it felt too much like what I do for a living (I'm a Robotics Engineer) so it's getting me back into a hobby I used to enjoy. Plus I've already had some pretty big complications due to not taking care of my diabetes when I was younger. The past 8 years or so have drastically improved. This is just one very important tool that will really help with maintaining it. I only discovered Nightscout about 6 weeks ago, and then a couple weeks after that I heard about OpenAPS. Funny thing is now, my normal feeds about diabetes I would read started showing stories about this. So I imagine the community is going to start growing pretty fast.
Hristina Dimova
@xpucuto
May 21 2016 14:13
:+1:
JaysonEwer
@JaysonEwer
May 21 2016 14:57
@Bender1061 Great Job! Congratulations!
John Benjamin
@Bender1061
May 21 2016 15:25
so is the TI cc1111 still probably the best option for replacing the Carelink stick? can we even get the ERF Radios anymore? (still not clear about how well they work with US Pumps) Cause Smaller is better, I carry too much stuff around in my pockets anyways (typical Boyscout/Engineer/Survivalist). Yeah the Carelink stick works, but I have to reboot my PI every couple hours to fix preflight fails
Scott Leibrand
@scottleibrand
May 21 2016 15:37
I recommend the TI, because it can do either USB or be wired in with a ribbon cable. ERFs are getting really hard to find since they discontinued them.
John Benjamin
@Bender1061
May 21 2016 15:55
@scottleibrand Thanks!
ddaniels1
@ddaniels1
May 21 2016 15:57
Set up AMA and now getting an error with meal.json, doesn't breal loop, but meal assist not working. Any ideas?
meal://text/shell/monitor/meal.json
4 0 '2016-05-21T07:44:07-07:00'

/home/pi/src/oref0/lib/profile/basal.js:10
    var basalRate = basalprofile_data[basalprofile_data.length-1].rate
                                                       ^
TypeError: Cannot read property 'length' of undefined
    at Object.basalLookup (/home/pi/src/oref0/lib/profile/basal.js:10:56)
    at detectSensitivityandCarbAbsorption (/home/pi/src/oref0/lib/determine-basal/cob-autosens.js:52:50)
    at /home/pi/src/oref0/lib/meal/total.js:41:39
    at Array.forEach (native)
    at diaCarbs (/home/pi/src/oref0/lib/meal/total.js:32:16)
    at generate (/home/pi/src/oref0/lib/meal/index.js:20:19)
    at Object.<anonymous> (/home/pi/src/oref0/bin/oref0-meal.js:81:21)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
reporting monitor/meal.json
Scott Leibrand
@scottleibrand
May 21 2016 16:08
You have to provide some additional information to oref0-meal in your device and report.
Still WIP, but maybe helpful: openaps/docs#176
ddaniels1
@ddaniels1
May 21 2016 16:12
OK, also I am having monitor/upload-status.json fail a lot now. Error is:
ns-status://JSON/shell/monitor/upload-status.json
Could not parse input data:  [TypeError: Cannot read property 'duration' of undefined]
No JSON object could be decoded

Traceback (most recent call last):
  File "/usr/local/bin/openaps-report", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/pi/src/openaps/bin/openaps-report", line 82, in <module>
    app( )
  File "/home/pi/src/openaps/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/home/pi/src/openaps/bin/openaps-report", line 75, in run
    output = app(args, self)
  File "/home/pi/src/openaps/openaps/cli/subcommand.py", line 52, in __call__
    return self.method.main(args, app)
  File "/home/pi/src/openaps/openaps/reports/invoke.py", line 48, in main
    reporters.Reporter(report, device, task)(output)
  File "/home/pi/src/openaps/openaps/reports/reporters/__init__.py", line 27, in __call__
    self.blob = self.serialize(data)
  File "/home/pi/src/openaps/openaps/reports/reporters/__init__.py", line 25, in serialize
    return self.method.serialize(render(data), self)
  File "/home/pi/src/openaps/openaps/vendors/process.py", line 56, in prerender_json
    return json.loads(data)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Loop Fail..
What is the property 'duration' refer to?
Scott Leibrand
@scottleibrand
May 21 2016 16:14
It is expecting a rate and duration field in your suggested or enacted.json. We probably need to update AMA to not require that, like we did dev...
in the mean time it should still upload when a temp is actually enacted, just not when no action is required.
I should have time on the plane today to merge dev into AMA to fix a lot of these issues.
ddaniels1
@ddaniels1
May 21 2016 16:18
Ok thanks. in the mean I'll try to figure out what is going on with meal.json fields. Was working in meal assist but stopped working so must be some fields missing. Saw on the latest Ama doc in dev there is a call for a carbhistory.json but I don't have that report and the configuration is not spelled out in that doc. Could that be the issue?
Scott Leibrand
@scottleibrand
May 21 2016 16:20
No, that one is optional: you can leave it nonexistent.
You need to add things like basal profile to the meal.json report that were only used by get-profile before.
I think @logichammer's PR covers that.
ddaniels1
@ddaniels1
May 21 2016 16:30
Ok thanks
Jarred Yaw
@jyaw
May 21 2016 17:06
Hey does upload-status.json have to have suggested and enacted available to be generated? Just trying to get a status sent successfully...
Scott Leibrand
@scottleibrand
May 21 2016 17:12
Probably. Doesn't need to be recent, but IIIRC each file does need to exist with valid data.
Ben West
@bewest
May 21 2016 17:27
@ELUTE, thanks, I'm not proud of my response earlier :-$, sorry
Jarred Yaw
@jyaw
May 21 2016 17:32
Thanks @scottleibrand, will give it another try
live4sw
@live4sw
May 21 2016 19:20
This is a very basic question, but as I am setting up my second rig, I was wondering if there is a very easy way to copy my settings from my first rig. Is it as simple as 'git clone' on my repo URL, and then manually adding the pump.ini (since I exclude that from my repo)?
Scott Leibrand
@scottleibrand
May 21 2016 19:21
Yes, that is one very easy way to do it, assuming you've been pushing your config updates.
There is also an openaps import tool that lets you import configs written out with the --json option.
live4sw
@live4sw
May 21 2016 19:30
Thanks @scottleibrand !
joannestevens
@joannestevens
May 21 2016 20:09
Sorry for posting this for a second time:
pi@raspberrypi ~ $ script 210516
Script started, file is 210516
pi@raspberrypi ~ $ cd
pi@raspberrypi ~ $ openaps init my_openaps
Traceback (most recent call last):
File "/usr/local/bin/openaps", line 4, in <module>
import('pkg_resources').run_script('openaps==0.1.0', 'openaps')
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 2927, in <module>
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 2913, in _call_aside
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 2940, in _initialize_master_working_set
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 635, in _build_master
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 943, in require
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 829, in resolve
pkg_resources.DistributionNotFound: The 'gitpython' distribution was not found and is required by openaps
Can anyone give me a clue as to what has gone wrong here? I thought I had set up git? Thanks Jo
Lukasz Kaniowski
@lukasz-kaniowski
May 21 2016 20:13
@joannestevens seems that you are missing 'gitpython'. Are you fallowing https://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-0/openaps.html ?
joannestevens
@joannestevens
May 21 2016 20:14
Yes, that's exactly what I did .. have redone twice
Lukasz Kaniowski
@lukasz-kaniowski
May 21 2016 20:15
are you going with the manual installation?
joannestevens
@joannestevens
May 21 2016 20:17
No I used the package manager
Lukasz Kaniowski
@lukasz-kaniowski
May 21 2016 20:18
try manual route, should help
joannestevens
@joannestevens
May 21 2016 20:19
I am not very tech savy and I'm worried that I might get lost in that
Lukasz Kaniowski
@lukasz-kaniowski
May 21 2016 20:20
don't worry, just cut&paste
joannestevens
@joannestevens
May 21 2016 20:20
OK, I'll give it a go
Lukasz Kaniowski
@lukasz-kaniowski
May 21 2016 20:20
:+1:
Lukasz Kaniowski
@lukasz-kaniowski
May 21 2016 20:30
@joannestevens any progress?
Scott Leibrand
@scottleibrand
May 21 2016 20:31
Curious why gitpython isn't getting installed by the other packages. Does anything fail when running quick-packages or quick-src?
joannestevens
@joannestevens
May 21 2016 20:31
Yes, think that has worked thanks
Not sure but the manual install seems to have worked
Hristina Dimova
@xpucuto
May 21 2016 20:32
Has anyone been able to setup pancreabble . I can't seem to figure what the command should be so the last temp basal and iob to be displayed ? I suppose I have to add it to cron then?
Hristina Dimova
@xpucuto
May 21 2016 21:14
@danamlewis Hi Dana . I just checked that we are already 8 persons for the London meeting + 1 maybe . As I am leaving tomorrow I was wondering if I will be notified by whozin if you change the place ? I will probably have I-net most of the time but I dont want to miss it :) it's the event of the year !!!
Dana Lewis
@danamlewis
May 21 2016 21:15
@xpucto it will be at at Niche for sure. @oskarpearson booked a second 4-person table so we can fit everyone :)
I will send a link later too withh location details for the lunch time meetup with @timomer, too :)
Hristina Dimova
@xpucuto
May 21 2016 21:18
Great idea ;) . I'm already counting the days :dancer:
Dana Lewis
@danamlewis
May 21 2016 21:19
:) looking forward to meeting everyone!
Dana Lewis
@danamlewis
May 21 2016 22:31
Here is the daytime meetup link for anyone getting into London early and wants to hangout and meet @timomer on 26 May around lunchtime :) http://whoozin.com/MMC-3Y3-74MV
@andrew-warrington @oskarpearson @xpucuto @colinlennon and anyone else in the UK/London area :) or is visiting ;) that day
Dana Lewis
@danamlewis
May 21 2016 22:51
Also, just merged dev docs over to master again. Here’s what changed if you want to check it out: openaps/docs#135
Dana Lewis
@danamlewis
May 21 2016 23:15
Throwing something out there - looking for volunteers. @scottleibrand /I are getting stretched with work & all the things, and want to make sure the development of new features & cleanup of what exists (aka, automation and making the process easier) doesn’t get bogged down. We’re hoping some volunteers are interested in helping out (could be project management-type stuff, could be doing the dev work, could be documenting, etc. - a variety of small tasks and larger project work). Thoughts? Anyone interested in taking on some new, specific projects with some guidance from the core developer team?
(Don’t want to overlook, some people have already been stepping up & doing things like this already :) but want to put out a call for volunteers so everyone is aware of the opportunity to help out, and then we can more clearly frame up what needs to be done & all work together to make these projects happen more quickly!)
Paul Martin
@Spazholio
May 21 2016 23:18
@danamlewis I’m game to help out, but I feel I’m so new that I’m not sure how much I’d be good for, other than documentation and such. Matter of fact, I have some additions I’d like to make to the docs hopefully later on tonight.
ryanchen26
@ryanchen26
May 21 2016 23:18
I'm following the Openaps docs, currently on Configuring and Uploading OpenAPS Status section. Everything was find until I tried sending the test file to Nightscout website using ( $ ns-upload $NIGHTSCOUT_HOST $API_SECRET devicestatus.json monitor/upload-status.json ) . Error: Input file monitor/upload-status.json does not exist.
Dana Lewis
@danamlewis
May 21 2016 23:19
@Spazholio that’d be great to PR to the docs (target dev), but we might still be able to use you for some other things in partnership with someone else if you’re game! :)
hi @ryanchen26 -we moved that section to earlier in the docs, you may need to work further in the docs and then come back so you have the files to be able to upload them to NS
Paul Martin
@Spazholio
May 21 2016 23:20
@danamlewis Oh, absolutely. I’m gonna need some guidance (obviously) but I’m definitely game to help out.
Dana Lewis
@danamlewis
May 21 2016 23:20
(We need to fix that section of the docs, for example, as one of the things that needs fixed!)
:+1: awesome, thanks @Spazholio
also, you went from zero to looping pretty quickly, so don’t underestimate yourself, too :)
Paul Martin
@Spazholio
May 21 2016 23:22
Oh, I’m a neophyte to this stuff, but I tend to pick things up very quickly. In something like this though, experience goes REALLY far. =)
Dana Lewis
@danamlewis
May 21 2016 23:23
context: we’ve only been doing this a year and a half. there’s not anyone around here with much more than that in years of experiences! so I think willingness to dig in and try is more important than experience ;)
Paul Martin
@Spazholio
May 21 2016 23:25
This is very true. =)
So, is there a page in the docs that shows what all the commonly used files are, how they’re generated, what they’re dependent on, etc? Because speaking from experience, that would have REALLY helped me out when getting started. If it exists and I missed it, my bad. If it doesn’t exist, I’m happy to create it. Curious where in the docs it should go though...
Dana Lewis
@danamlewis
May 21 2016 23:27
Good Q. @bewest created a section to add to the docs, need to figure out if it is good as-is or needs additions/edits, and if it should be moved UP somewhere in the overall structure, and/or if it should instead be more clearly linked to throughout the main docs
But, look at the overall flow of the docs outline here: and you’ll see there’s a bunch of guides he added down there
http://openaps.readthedocs.io/en/latest/ (beginning with “guide” to openaps)
Scott Leibrand
@scottleibrand
May 21 2016 23:28
that is the kind of thinking we need. And then recruiting even more people to help. Or you could go even higher level and start working on automating a lot of the "plumbing" to eliminate the need for a lot of the detailed stuff. In particular, we need someone to go through a brand new setup using Ben's new template stuff, and figure out how to streamline everything.
Dana Lewis
@danamlewis
May 21 2016 23:29
and then he has a PR lingering about moving it up, so feedback/ideas would be good. Here’s that PR: openaps/docs#134
jaylagorio
@jaylagorio
May 21 2016 23:29
@danamlewis I'm down to help. Is there a central location of task lists and things like that? Filing issues is one thing, but a roadmap or planning document would be helpful to see where direct contributions could be made. I for one am still down to do RE and in addition to the Windows 10 uploader am working on the Minimed Connect device to get data into Nightscout.
Scott Leibrand
@scottleibrand
May 21 2016 23:30
In my ideal world, we could completely automate the initial read-only upload-to-NS parts with templates and dramatically simplify that part of setup.
Dana Lewis
@danamlewis
May 21 2016 23:30
He has a philosophical difference of opinion about what’s a guide vs. documentation vs. tutorial. I am…less sure about the need to separate everything. I think most people will get confused if it’s separate, so I’m thinking about integration, but would love your thoughts @Spazholio as you look through that section and then holistically at the rest of the docs.
Paul Martin
@Spazholio
May 21 2016 23:30
Well, in the “reports” doc I was thinking of, it was something along the lines of: here’s the filename of the report, as well as where it’s generally stored. Here’s what it’s used for, and here’s what other files it needs to be be generated properly. Here’s issues we run into when the report gets run sometimes. Is it a critical file, or will the loop run without it? Here’s what it should look like when properly run. Here’s a opens report add line to add the requisite report. All of that for each report.
Dana Lewis
@danamlewis
May 21 2016 23:30
@jaylagorio cool! we’re getting volunteers for now, then I was talking with @scottleibrand about that roadmap/list so people can tackle..(but no, we don’t have that yet)
Paul Martin
@Spazholio
May 21 2016 23:31
The way I learn is by example. So being able to see the end result and work backwards works WONDERS for me.
Scott Leibrand
@scottleibrand
May 21 2016 23:31
:+1:
Paul Martin
@Spazholio
May 21 2016 23:31
@danamlewis I’m going to read those tonight, and after the rugrats go to bed, I’ll see if I can either improve upon what’s there, or just create from scratch.
Dana Lewis
@danamlewis
May 21 2016 23:32
excellent, sounds good @Spazholio
Paul Martin
@Spazholio
May 21 2016 23:32
If I submit a PR in a certain location, can you guys say, “Yeah, this is good, but it should go here, so when we merge it, it’ll go to a different location”? How granular can you get with that sort of thing?
Dana Lewis
@danamlewis
May 21 2016 23:32
and you can also takes bits and pieces, or all, or nothing - do whatever you think and put forth the PR and we can go from there :)
jaylagorio
@jaylagorio
May 21 2016 23:32
@danamlewis Good deal, put me on the list. As you've seen I'm down to do walk-throughs complete with screenshots and details so if you want more of that I'm your guy too.
Dana Lewis
@danamlewis
May 21 2016 23:33
@Spazholio yep, we get granular. for example, @logichammer just submitted a PR and we said good content! should be 3 separate pages, though. so he can re-submit with it split as 3 pages.
and if you want to discuss as you go, we can do that, too
@jaylagorio :) thank you!
Scott Leibrand
@scottleibrand
May 21 2016 23:33
You/we can also do PRs "for" people as well, for example to retarget to a different branch.
Git is quite flexible: you can do most anything you want with a commit once it's pushed to a public repo.
So if @logichammer got too busy with work, we could do a new PR to merge his stuff to a new branch, and then modify it appropriately before merging to dev. Or we could merge it to dev locally with command line git and make all the changes before pushing to GitHub dev branch to complete the merge there.
We've done that a few times when contributors didn't have the time to get everything squared away perfectly.
Paul Martin
@Spazholio
May 21 2016 23:39
Ok, cool. I truly wish I grokked git better than I do.
I’ve tried before, but one of my ears started bleeding, so I had to stop.
Scott Leibrand
@scottleibrand
May 21 2016 23:41
Haha. It mostly just takes practice, and lots of googling. ;-)
Paul Martin
@Spazholio
May 21 2016 23:47
Ok, really important question (and I apologize for any fights this may start) - tabs or spaces in reference docs?
Dana Lewis
@danamlewis
May 21 2016 23:47
not sure I understand the question.
I don’t think we’ve done any fancy (read: standardized) formatting…?
Scott Leibrand
@scottleibrand
May 21 2016 23:48
In the code it's all spaces.
Paul Martin
@Spazholio
May 21 2016 23:48
Ok, and do you care when it comes to docs?
Scott Leibrand
@scottleibrand
May 21 2016 23:49
Generally tabs are a big pain, but not sure it matters as much in docs.
Paul Martin
@Spazholio
May 21 2016 23:49
@danamlewis In programming circles, it’s a really hot-button topic if indentation should be accomplished with spaces or tabs. =)
Scott Leibrand
@scottleibrand
May 21 2016 23:49
Also, hitting the tab key in the browser takes you out of the edit box, so most people using that do spaces.
jaylagorio
@jaylagorio
May 21 2016 23:50
@Spazholio AKA, a holy war
Scott Leibrand
@scottleibrand
May 21 2016 23:50
My .vimrc autoindents with spaces, fwiw
Dana Lewis
@danamlewis
May 21 2016 23:51
the only hot button here is the one you press when your rig gets warm and you need to power cycle...
Paul Martin
@Spazholio
May 21 2016 23:51
@jaylagorio It’s as bad as the “toilet-paper-goes-over-vs-under” argument.
@danamlewis HAH!
Dana Lewis
@danamlewis
May 21 2016 23:51
probably the closest I understand is which way the basals should be rendered in nightscout - normally, or opposite logic ;)
tazitoo
@tazitoo
May 21 2016 23:52
ah - even @scottleibrand brings up the venerable vi vs. emacs battle! :smile:
Paul Martin
@Spazholio
May 21 2016 23:52
@scottleibrand I have a co-worker who uses emacs. I used the standard, “Emacs is a great OS. Shame it doesn’t have a good editor to go with it.” He wasn’t amused. =)
tazitoo
@tazitoo
May 21 2016 23:52
@Spazholio - nice!
Scott Leibrand
@scottleibrand
May 21 2016 23:53
we should get one of our anthropologist friends to study the default vs. icicle preference and see if your PWD vs parent idea holds. ;-)
Paul Martin
@Spazholio
May 21 2016 23:53
@danamlewis Ah! I had a question about the purple dots in NS, btw. Can they possibly be different colors? Or can we maybe get a legend indicating what different things mean? =)
Dana Lewis
@danamlewis
May 21 2016 23:53
No. They MUST be purple! #theonlyrule
(sort of kidding)
but @logichammer ’s PR just started explaining what the lines are, take a look and provide some feedback :)
openaps/docs#176
Scott Leibrand
@scottleibrand
May 21 2016 23:54
FWIW, his explanation isn't quite right. Usually the 10mg/dL/5m one is on top.
Unless your current carb absorption is higher than that.
Dana Lewis
@danamlewis
May 21 2016 23:56

addittothePR

Scott Leibrand
@scottleibrand
May 21 2016 23:56
Hehe
Dana Lewis
@danamlewis
May 21 2016 23:56
;) that’s supposed to be a hashtag
Scott Leibrand
@scottleibrand
May 21 2016 23:57
now that dev is merged to master, maybe we should merge that one to dev and have people iterate on it?
Martin Haeberli
@mhaeberli
May 21 2016 23:59
@loudnate - very nice to meet you today at #MakerFaire ! - Forgot to ask - it’s GREAT that you figured out the G5 protocol, but can we use your iOS App, etc, just with a G4 transmitter? (maybe using a G4 receiver just for graphing?)