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

1st
Jun 2016
Ben West
@bewest
Jun 01 2016 00:08
it shouldn't be any harder than getting the bluetooth tethering working :-)
Paul Martin
@Spazholio
Jun 01 2016 00:20
Alright, I think I’m missing something silly. How do I install pip on an Edison? I’m following some docs, and not only did they not give me pip, I think they installed Python3 instead of Python2...
Dan Piessens
@dpiessens
Jun 01 2016 00:23
@Spazholio Which edison OS do you have Yocto to Ubilinux?
Paul Martin
@Spazholio
Jun 01 2016 00:24
Ubilinux.
Dan Piessens
@dpiessens
Jun 01 2016 00:25
sudo apt-get install python-setuptools python-dev build-essential
then
sudo easy_install pip
JaysonEwer
@JaysonEwer
Jun 01 2016 00:26
@morsen my pi is uploading treatments and Openaps temp basal information to NS, but I'm using a directly connected Dexcom Share receiver. not using any of the awesome new foo @bewest has worked very hard on in the last release or so. Oh and when I'm out of my house, I have my pi connect to my mobile hotspot to send the data to NS.
Paul Martin
@Spazholio
Jun 01 2016 00:27
Which foo are you referencing?
@dpiessens I was missing the easy_install bit. Thanks.
Dan Piessens
@dpiessens
Jun 01 2016 00:29
np, which hardware do you have for the edison? The prototype board (green) or the Sparkfun board (red)
JaysonEwer
@JaysonEwer
Jun 01 2016 00:29
The auto configure stuff.
Paul Martin
@Spazholio
Jun 01 2016 00:35
Both. But currently working on the Sparkfun, as I don’t want to solder just yet. =)
ryanchen26
@ryanchen26
Jun 01 2016 00:49
@bewest Cool stuff. I just got home from work and tried option 2. It works! Thanks.
Paul Martin
@Spazholio
Jun 01 2016 00:49
@JaysonEwer How’s it working for you, not having the receiver connected all the time? I do that with the Pi, so I’m apprehensive about switching to the Edison. I like having the thing connected all the time. =)

"but I'm using a directly connected Dexcom Share receiver”

I misread that. Disregard. =)

Scott Leibrand
@scottleibrand
Jun 01 2016 01:06
@colinlennon no, the PR to merge AMA to dev is still open: openaps/oref0#125
Paul Martin
@Spazholio
Jun 01 2016 01:15
Does anyone have any details on using Network-Manager on the Edison? I can’t use wicd or wpa_supplicant - it HAS to be Network-Manager. I’ve copied the configs that work on my Pi, but it’s not working quite yet...
live4sw
@live4sw
Jun 01 2016 01:36
Hey, is there a good way people periodically clear up free space on their Edison? Mine is only about a week old and 86% of the space on /dev/root is used
Would love to have something that can just be run as a periodic job
especially the bits on "expanding" the file system
Paul Martin
@Spazholio
Jun 01 2016 02:39
So apparently updating the Edison from Wheezy to Jessie can result in…problems. Hrmm.
schulzedj
@schulzedj
Jun 01 2016 06:54
Getting some odd errors...although maybe not so odd. Anyone have any feedback or suggestions?

```pi@eatmorepi:~/daps $ bash loop.sh
Hey Dane...want to see the log file? Run tail -f /home/pi/daps/logs/log.txt in another window

-rw-r--r-- 1 pi pi 0 May 31 23:48 /home/pi/daps/lockfile.txt
/home/pi/daps/lockfile.txt exists
pi@eatmorepi:~/daps $ bash loop.sh
Hey Dane...want to see the log file? Run tail -f /home/pi/daps/logs/log.txt in another window

Let's delete stale data so we are using the freshest stuff around

Get Dane's BG
cgm://JSON/iter_glucose/monitor/glucose.json

reporting monitor/glucose.json

Get latest pump data
pump://JSON/read_clock/monitor/clock.json
monitor/clock.json raised Attempting to use a port that is not open
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 4, in <module>
import('pkg_resources').run_script('openaps==0.0.7', 'openaps-report')
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 745, in run_script
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 1670, in run_script
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.7-py2.7.egg/EGG-INFO/scripts/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.7-py2.7.egg/openaps/cli/init.py", line 44, in call
self.run(self.args)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.7-py2.7.egg/EGG-INFO/scripts/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.7-py2.7.egg/openaps/cli/subcommand.py", line 50, in call
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.7-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.0.7-py2.7.egg/openaps/uses/use.py", line 38, in call
self.before_main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.7-py2.7.egg/openaps/vendors/medtronic.py", line 60, in before_main
self.setup_medtronic( )
File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.7-py2.7.egg/openaps/vendors/medtronic.py", line 137, in setup_medtronic
self.uart.open( )
File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.19-py2.7.egg/decocare/stick.py", line 869, in open
log.info('%s' % self.product_info( ))
File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.19-py2.7.egg/decocare/stick.py", line 510, in product_info
return self.query(ProductInfo)
File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.19-py2.7.egg/decocare/stick.py", line 504, in query
return self.process( )
File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.19-py2.7.egg/decocare/stick.py", line 485, in process
raw = self.send_force_read( )
File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.19-py2.7.egg/decocare/stick.py", line 601, in send_force_read
self.link.write(reader.format( ))
File "/usr/local/lib/python2.7/dist-packages/decocare-0.0.19-py2.7.egg/decocare/link.py", line 45, in write
r = self.serial.write( string )
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 466, in write
if not self._isOpen: raise portNotOpenError
ValueError: Attempting to use a port that is not open
cat: monitor/iob.json: No such file or directory
cat: monitor/pumphistory.json: No such file or directory

cat: monitor/temp_basal.json: No such file or directory

Let a magic algo figure out if we need anything done
determine-basal://text/shell/enact/suggested.json

module.js:340
throw err;
^
Error: Cannot find module '/home/pi/daps/monitor/temp_basal.json'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/oref0/bin/oref0-determine-basal.js:34:23)
at Module._compile (module.js:456:26)
at Object.Modul

Of course I can never seem to copy and paste correctly...
Colin Lennon
@colinlennon
Jun 01 2016 08:09
@scottleibrand thanks. In that case, I don't know where I got that impression from!
Hichame Yessou
@hichameyessou
Jun 01 2016 08:31
Has anyone implemented an alias to upload the BG's from OpenAPS to NS? I use the Enlite sensor
Ben West
@bewest
Jun 01 2016 08:33
ah for enlite
there's a tool called
hmm
mm-format-ns-glucose --oref0 enlite.json or similar
hmm
so
oref0 device-helper format-enlite 'mm-format-ns-glucose --oref0 $1' | openaps import
that should add a device called format-enlite
Ben West
@bewest
Jun 01 2016 08:46
are you already using something similar?
David Cintron
@loudestnoise
Jun 01 2016 09:01
Running ns-upload $NIGHTSCOUT_HOST $API_SECRET devicestatus.json monitor/upload-status.json should return me the content of devicestatus.json & update my Nightscout from what I’m reading on the docs. It’s not doing either. Hmph!
Hichame Yessou
@hichameyessou
Jun 01 2016 11:17
Actually no, @bewest . I have no idea of how I should structure the work. Because in most of the docs, the get-bg process is pulling the BG from ns or using the cgm (dexcomm).
With mm-format-ns-glucose is showing me the correct format, how I get the report of it? And to which tool (ns-upload ?) I should give this report?
Andrew Baugh
@baughaw
Jun 01 2016 13:25
This message was deleted
@hichameyessou you need to use the mm-format-ns-glucose. The first parameter is the glucose data you want to format and the second parameter is the output. Here is how mine looks
 mm-format-ns-glucose upload/cgm-ns-raw.json upload/cgm-ns.json
Tom Boudreau
@tomasboudr
Jun 01 2016 13:58
@ryanchen26 i have the cron commands figured out. You need to include the SHELL=/bin/bash
and PATH= <paste your path here> in your cron or I did it by having cron reference a runscript.sh file which had those two lines in it plus the cd tom2_openaps && OpenAPS runset (which is my master alias) let me know if you have Qs
i'm running 0.1 if that matters
ryanchen26
@ryanchen26
Jun 01 2016 14:36
@tomasboudr Thanks for the info. I got mine going last night after @bewest told me to add my nightscout url and API_Secret above the SHELL and PATH. Turns out it was in the docs the entire time in Phase 1 at the very bottom of "Uploading Latest Treatments to Nightscout." Everything is running and now we're just going to observe and test this thing for a while(not connected to a human, just on my desk with water in the reservoir) to see that it continually pulls the data and updates my NS, and sends the basal commands to the pump (testing the pump too). Thanks to everyone who made this possible.
Tom Boudreau
@tomasboudr
Jun 01 2016 14:37
Awesome @ryanchen26 ! @bewest knows it all.
xxReaper
@xxReaper
Jun 01 2016 14:41
Good day, reading the openaps site here, i am trying to get all the hardware requirements, i am planning to go on edison pc, however the "Carelink USB" is hard to get, on web site i've read "such as" do we have a complete list of compatible USB dongles ? Thank you
Tom Boudreau
@tomasboudr
Jun 01 2016 14:43
Are Carelink USB dongles in demand?
David Cintron
@loudestnoise
Jun 01 2016 14:44
maybe all us OpenAPS-ers are buying them up
xxReaper
@xxReaper
Jun 01 2016 14:44
I've seen them on sale, but overseas, just wondering if i can get something near me
David Cintron
@loudestnoise
Jun 01 2016 14:45
you may see if someone near you using OpenAPS has moved on to something like the TI Stick
and has a CareLink they’re not using
xxReaper
@xxReaper
Jun 01 2016 14:46
I am in France
i can get it from US, but it will take longer that's all
Paul Martin
@Spazholio
Jun 01 2016 14:48
Personally, I'd recommend a TI stick over a Carelink, if you can get it.
xxReaper
@xxReaper
Jun 01 2016 14:49
Do you have an example of the product ? as TI stick is too generic for google, thank you
David Cintron
@loudestnoise
Jun 01 2016 14:50
TI = Texas Instruments
xxReaper
@xxReaper
Jun 01 2016 14:51
something like this http://www.ti.com/tool/ez430-f2013 can connect to the pump ?
David Cintron
@loudestnoise
Jun 01 2016 14:51
I believe this is the one - http://www.ti.com/tool/cc1111emk868-915
ericmtx
@ericmtx
Jun 01 2016 14:51
correct that's it
xxReaper
@xxReaper
Jun 01 2016 14:52
ok, got it
David Cintron
@loudestnoise
Jun 01 2016 14:52
all the documentation is on mmeowlink/wiki
ericmtx
@ericmtx
Jun 01 2016 14:53
As you will also need this for flashing the TI stick: http://www.ti.com/tool/cc-debugger it's documented here https://github.com/oskarpearson/mmeowlink/wiki/TI-USB-stick
David Cintron
@loudestnoise
Jun 01 2016 14:55
Makes that setup a bit more pricey, but I understand the range is much better
xxReaper
@xxReaper
Jun 01 2016 14:55
That count a lot
David Cintron
@loudestnoise
Jun 01 2016 14:56
and unfortunately for @xxReaper all that stuff still probably ships from the US
ericmtx
@ericmtx
Jun 01 2016 14:56
yes - covers a good sized room. I plan to have 3 around my house to have almost full coverage
@ericmtx There is a repeater mode ?
ericmtx
@ericmtx
Jun 01 2016 14:58
No, I'm building 3 separate OpenAPS rigs. One is PI + TI stick, and the other right now is Edison+TI stick. Not sure what #3 will be
xxReaper
@xxReaper
Jun 01 2016 14:58
@ericmtx interesting idea, how do you manage to share the history between them ?
ericmtx
@ericmtx
Jun 01 2016 14:59
The only catch with the breakourt to that is you plan to plug the TI stick in via the USB/OTG port, the other port (console) doesn't supply power. Instead you have to power it by connecting power to pins on the breakout board. I ended up also getting the red sparkfun board listed in the Wiki link above because I can connect via USB/OTG and the second port on there I connect a portable battery or wall charger via micro-usb to power the system.
It all gets pushed to Nightscout site, and the pump stores the main history of bolus/carb activity. So as the pump users wanders around which ever rig will pick up the pump and send the data to nightscout. This also assumes those 3 rigs will be able to pull the BG values from nightscout. In my case, the Nightscout site is using the Dexcom/nightscout bridge piece to pull the BG values from the dexcom cloud.
xxReaper
@xxReaper
Jun 01 2016 15:02
I wonder if i should build two from start, get the second one allways charged
Scott Leibrand
@scottleibrand
Jun 01 2016 15:04
there are also batteries listed in the hardware section of the docs that can do pass-through charging, if that helps...
xxReaper
@xxReaper
Jun 01 2016 15:04
I have not yet finished my documentation read, thank you for the help
@scottleibrand Roger
Scott Leibrand
@scottleibrand
Jun 01 2016 15:06
generally we encourage people to use a Raspberry Pi for their first rig, either using a carelink if available, or a TI stick if not. then, for their second rig, many people switch to an Edison with a second TI stick, either via USB OTG with the sparkfun board, or directly wired to the Intel board
xxReaper
@xxReaper
Jun 01 2016 15:08
I went to edison as it is more portable, hardware is not a problem in any case
Scott Leibrand
@scottleibrand
Jun 01 2016 15:16
Yeah, for mobile use Edison is better, but the Pi is far easier to set up, and makes a good bedside rig once you do build your Edison one.
xxReaper
@xxReaper
Jun 01 2016 15:19
Sure i understand
How do you handle the switch between rigs ? shut down the one, power up another ?
Dana Lewis
@danamlewis
Jun 01 2016 15:23
Not needed, you can have multiple running at once.
Scott Leibrand
@scottleibrand
Jun 01 2016 15:25
There is a feature in mmeowlink you can use that makes it wait until the other rig is done communicating before it starts trying.
Andrew Baugh
@baughaw
Jun 01 2016 15:30
@scottleibrand Is the feature enabled by default or is that something you need to turn on?
Scott Leibrand
@scottleibrand
Jun 01 2016 15:35
it's a new thing, and probably won't be enabled by default, since it delays the start of the loop while it waits to see if another rig is communicating
Paul Martin
@Spazholio
Jun 01 2016 15:36
@scottleibrand Is there anything in the docs on how to enable or test it out? I've almost got my second right ready to play with and I suspect this is going to be invaluable.
Scott Leibrand
@scottleibrand
Jun 01 2016 15:43
mmeowlink-any-pump-comms.py -h
Paul Martin
@Spazholio
Jun 01 2016 15:44
Do you just tend to throw that command in front of the existing preflight?
David Cintron
@loudestnoise
Jun 01 2016 15:48
So I’m not sure what I’m doing wrong, but trying to update Nightscout using ns-upload $NIGHTSCOUT_HOST $API_SECRET devicestatus.json monitor/upload-status.json doesn’t seem to do anything. It doesn’t return any errors.
but it also isn’t "return the content of the Nightscout devicestatus.json file, which you can examine to see what status information is sent to Nightscout.” as the Visualization page says it should
Chris Oattes
@cjo20
Jun 01 2016 15:49
did anyone try the voltage command on the edison? Did it work?
Pete Schwamb
@ps2
Jun 01 2016 15:51
Yes, the voltage command on yocto works.
Chris Oattes
@cjo20
Jun 01 2016 16:03
does it give an accurate percentage too?
ericmtx
@ericmtx
Jun 01 2016 16:23
@loudestnoise I had that issue and the reason was the $NIGHTSCOUT_HOST $API_SECRET variables weren't properly listed in my user profile per the docs. I fiddled with that a bit and restarted my Pi and then it was able to pick them up. I think the "env" command would show you what your current environment variables are, and those should both be listed correctly after the restart in order for it to be picked up by the ns-upload command
David Cintron
@loudestnoise
Jun 01 2016 16:25
Hmm, env shows both NIGHTSCOUT_HOST and API_SECRET
Pete Schwamb
@ps2
Jun 01 2016 16:26
@cjo20 I wouldn’t expect to get any real %-wise estimate of remaining battery time just based on voltage (which I think is what the % is indicating).
But if you watch voltage over your usual battery usage & charging behavior cycles, you should be able to figure out some meaning.
David Cintron
@loudestnoise
Jun 01 2016 16:29
@ericmtx Ah, I think I figured it out. The example I used to set those variables had https:// for the Nightscout site, but I’m not using HTTPS!
Nathan Morse
@morsen
Jun 01 2016 16:30
@JaysonEwer I guess that’s what I’m referring to, is using a 3g/4g/lte radio plugged into the edison so that everything can happen on one device. ultimately i would imagine some sort of integrated xDrip, but I don’t know the issues involved for that project yet. I think we all want to get size down as much as possible. :) My son is 5 years old, so if I can possibly ditch the uploader phone and/or the dexcom receiver, it’s going to be !@#$ing magical. :-D
David Cintron
@loudestnoise
Jun 01 2016 16:35
Yay, that was the trick. I can upload to Nightscout now!
Screen Shot 2016-06-01 at 11.34.38 AM.png
Paul Martin
@Spazholio
Jun 01 2016 16:37
Anyone familiar with systemd on the Edison? When upgrading to Jessie, it appears as though things are...off.
Jarred Yaw
@jyaw
Jun 01 2016 16:55
@morsen this is why I like the pebble core. Its android, so I figure xDrip presumably would run just fine, it takes a 3G sim card, and the battery life appears to be acceptable-ish, and its just a bit bigger than a pebble watchface... Not shipping for awhile though unfortunately.
Sarah Hodson Grady
@shgrady
Jun 01 2016 17:01
Ok, I was going to wait to say hi until I was having issues, but I am so excited that the last piece of hardware arrived at my house today that I can hardly focus on work, hope I do not need to much help:) Hi Everybody!
JaysonEwer
@JaysonEwer
Jun 01 2016 17:04
Hi @shgrady 😃. It is super addicting! Be careful! Welcome!
David Cintron
@loudestnoise
Jun 01 2016 17:06
Hi @shgrady ! It’s a lot of fun putting all the pieces together
Nathan Morse
@morsen
Jun 01 2016 17:06
@jyaw I backed it for one of each device: core, pebble 2, time 2 :-D
So xDrip is presumably Java? I’ll check out the project in-depth soon! Thanks!
Dana Lewis
@danamlewis
Jun 01 2016 17:15
Welcome @shgrady! :)
Jarred Yaw
@jyaw
Jun 01 2016 17:23
@morsen I'm not certain that we even need xdrip for the upload if you're running openaps... Can anyone answer that question? If you could technically BLE to your dexcom and the pebble core, there'd be no need to use it unless you use the alarms or something (I think)
ericmtx
@ericmtx
Jun 01 2016 17:41
Hello @shgrady
Jarred Yaw
@jyaw
Jun 01 2016 17:41
hey @shgrady !
Paul Martin
@Spazholio
Jun 01 2016 18:13
Has anyone managed to get a stripped-down version of any sort of X running on the Edison? I'm reading about something called "Galileo" but am having no luck with it...
Strike the bit about Galileo, but I'd still like to get X running, even if just for a few minutes...
ssaint1
@ssaint1
Jun 01 2016 18:25
Hello everyone! I'm new to the group here. Got all my stuff a week or so ago. Got my first enact/suggestion last night! Here comes the scary part.....
Dana Lewis
@danamlewis
Jun 01 2016 18:43
Welcome @ssaint1 !
Kevin Wells
@wkcwells
Jun 01 2016 18:45
Hi @ssaint1 !
Scott Leibrand
@scottleibrand
Jun 01 2016 18:49
@jyaw yes, you can use an openaps rig as your uploader if you want. Someone still needs to document that part, though.
Tom Boudreau
@tomasboudr
Jun 01 2016 18:50
@ssaint1 just did that 3-4 days ago myself. Let us know if you run into problems. I'm running a vanilla setup RPi with all Medtronic gear without anything from Dev if that's the boat you are also coming in on.
Jarred Yaw
@jyaw
Jun 01 2016 18:56
@scottleibrand cool, I have enjoyed the send to pebble xDrip feature for when I don't have the loop during the day for the last few days... will keep track of things in case I have something to add down the road...
Scott Leibrand
@scottleibrand
Jun 01 2016 19:07
Thx. We could definitely use a few PRs on that kind of thing.
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:19
@tomasboudr How are you getting your info to Nightscout? I was able to manually update May 28, and I tried the same steps today. It just gives me info from May 28. I have a 515, carelink stick, G5 (using the bridge--nightscout for 2 years).
actually manually load the pump info to the site, I meant for May 28
Tom Boudreau
@tomasboudr
Jun 01 2016 19:21
I'm not using nightscout so I can't really help. Someone should be able to help though!
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:21
ok Thanks.
David Cintron
@loudestnoise
Jun 01 2016 19:22
@flutelynne_twitter are you talking about getting your BG into Nightscout? Or info from openaps?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:23
info from openaps
Paul Martin
@Spazholio
Jun 01 2016 19:23
So, every once in a while when I'm consoled into the Edison and reboot it, once I get to a login prompt, the character set appears to go to garbage. And this seems to pretty much break the Edison:
[  OK  ] Started Login Service.
         Starting Hostname Service...
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting Load/Save RF Kill Switch Status of rfkill3...
[  OK  ] Reached target Bluetooth.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
         Starting Serial Getty on ttyMFD2...
[  OK  ] Started Serial Getty on ttyMFD2.
[  OK  ] Reached target Login Prompts.
`�f�̞�̞f?�̘�f���f�����fÆ�~3���fÆ����f�`fØ���f?�̘�f��󘀞0`3f0f0�怘�`0f<<����f?������fff``�<f���怘�f<`<��?����0`3f0f0��0`3f0�f0�~x�~~x�~
David Cintron
@loudestnoise
Jun 01 2016 19:23
ah, well I just got that working this morning @flutelynne_twitter
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:24
how did you do it?
Paul Martin
@Spazholio
Jun 01 2016 19:24
Any ideas? I'd prefer not to have to re-flash it AGAIN, since I just - JUST! - got it working with the fairly complicated wireless setup here at work.
David Cintron
@loudestnoise
Jun 01 2016 19:24
@flutelynne_twitter Do you have a monitor/upload-status.json report?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:26
@loudestnoise These are my reports: openaps report show
pump://JSON/read_bg_targets/raw-pump/bg-targets-raw.json
units://JSON/bg_targets/settings/bg-targets.json
pump://JSON/read_insulin_sensitivities/raw-pump/insulin-sensitivities-raw.json
units://JSON/insulin_sensitivities/settings/insulin-sensitivities.json
pump://JSON/read_clock/raw-pump/clock-raw.json
pump://JSON/read_clock/monitor/clock.json
pump://JSON/read_temp_basal/monitor/temp-basal-status.json
determine-basal://text/shell/oref0-predict/oref0.json
pump://JSON/iter_pump_hours/raw-pump/pump-history-raw.json
tz://JSON/rezone/monitor/pump-history.json
pump://JSON/model/model.json
pump://JSON/reservoir/monitor/reservoir.json
pump://JSON/read_status/monitor/status.json
pump://JSON/read_battery_status/monitor/battery.json
pump://JSON/set_temp_basal/oref0-enacted/enacted-temp-basal.json
oref0://JSON/shell/settings/settings.json
pump://JSON/read_settings/raw-pump/settings.json
oref0://JSON/shell/settings/selected-basal-profile.json
pump://JSON/read_selected_basal_profile/raw-pump/selected-basal-profile.json
pump://JSON/read_temp_basal/raw-pump/temp-basal-status.json
pump://JSON/reservoir/raw-pump/reservoir.json
pump://JSON/read_status/raw-pump/status.json
pump://JSON/read_battery_status/raw-pump/battery.json
get-profile://text/shell/oref0-monitor/profile.json
calculate-iob://text/shell/oref0-monitor/iob.json
ns://JSON/shell/nightscout/recent-treatments.json
ns://JSON/shell/nightscout/uploaded.json
nightscout-status://JSON/shell/monitor/upload-status.json
tz://JSON/clock/monitor/clock-zoned.json
ns://JSON/shell/nightscout/recently-uploaded-treatments.json
units://JSON/bg_targets/settings/bg_targets.json
Clark://JSON/read_insulin_sensitivities/settings/insulin_sensitivities_raw.jsn
Clark://JSON/read_basal_profile_std/settings/basal_profile.json
get-profile://text/shell/settings/profile.json
calculate-iob://JSON/shell/monitor/iob.json
pump://JSON/read_temp_basal/monitor/temp_basal.json
determine-basal://text/shell/enact/suggested.json
ns://JSON/shell/nightscout/upload-entries.json
Clark://JSON/iter_pump_hours/last_four_pump_hours.json
ns://JSON/shell/nightscout/recently-uploaded-trtreatments.json
pi@raspberrypi:~/abouttime $
David Cintron
@loudestnoise
Jun 01 2016 19:30
Hmm, so it looks like you do. I see nightscout-status://JSON/shell/monitor/upload-status.json
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:30
I think Im doing some stuff ok.
Jarred Yaw
@jyaw
Jun 01 2016 19:30
funny dialog at work today...
co-worker: how is your pancreas?
me: its great! worked well all night. left it at home today though since the 4G reception is terrible here
David Cintron
@loudestnoise
Jun 01 2016 19:31
@flutelynne_twitter Assuming you have all the right stuff inside that monitor/upload-status.json the next step is to use ns-upload
were you able to add $NIGHTSCOUT_HOST and $API_SECRET to your ~/.profile
Ben West
@bewest
Jun 01 2016 19:32
not ns-upload
she already has ns device
so once file is prepped: openaps use ns shell upload devicestatus.json monitor/upload-status.json or similar
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:33
Do I prepare it by invoking the report as before?
David Cintron
@loudestnoise
Jun 01 2016 19:34
@bewest so is it bad to use both ns and ns-upload
Paul Martin
@Spazholio
Jun 01 2016 19:34
Ok, I figured out what's going on with the serial output. I connected at 115200, but once it hits a certain level, it changes to 9600. I have no idea. I think something got corrupted on the drive, but am unsure how to fsck the Edison...
David Cintron
@loudestnoise
Jun 01 2016 19:34
I think that’s what I’m doing
Ben West
@bewest
Jun 01 2016 19:34
openaps report add nightscout/uploaded-status.json JSON ns shell upload devicestatus.json monitor/upload-status.json
first add it, then invoke: openaps report invoke nightscout/uploaded-status.json
@loudestnoise no, it's fine, ns-upload predates the ns device... the ns device makes all those ns-* tools available as a proper openaps device
the main difference is that openaps use ns.... remembers your hostname and api secret thanks to the ns.ini file
so it always knows your hostname and secret and actually uses ns-upload under the hood
but eliminates needing to remember to munge variables and set up environment
if you go the direct ns-upload route, it's extra work to set up the devices and stuff, and some people are using aliases instead, which causes "random" failures when the environment isn't set up properly
so basically the ns device eliminates that problem
David Cintron
@loudestnoise
Jun 01 2016 19:38
Ah, yeah I was rolling a combo of the docs instructions, and also openaps/docs#129 to pull glucose
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:38
I got ValueError: No JSON object could be decoded
Ben West
@bewest
Jun 01 2016 19:38
@flutelynne_twitter I think your monitor/upload-status.json is not ready yet
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:39
ok, Ben, I will try to find that part again.
David Cintron
@loudestnoise
Jun 01 2016 19:40
@bewest and that makes sense because I setup ns using autoconfigure-device-crud
so it already knows about my Nightscout site and API secret
Paul Martin
@Spazholio
Jun 01 2016 19:43
So is the Edison incredibly prone to data corruption? In less than 15 hours, I've pretty much had to re-flash it twice due to it corrupting data. I can't figure out how to safely fsck the thing because I can't actually get into it via serial and actually see anything. I don't know what speed to connect at (and 115200 or 9600 aren't it once things go wonky).
Ben West
@bewest
Jun 01 2016 19:50
@flutelynne_twitter cat monitor/upload-status.json
my guess is you'll get an error, probably something about file does not exist/could not be found
openaps report invoke monitor/upload-status.json to try pulling the data in, but it looks at quite a few files in order to generate the data
Lynne Butts
@flutelynne_twitter
Jun 01 2016 19:56
openaps report invoke monitor/upload-status.json
nightscout-status://JSON/shell/monitor/upload-status.json
monitor/upload-status.json raised [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/init.py", line 51, in call
self.run(self.args)
File "/usr/local/bin/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in call
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 40, in main
output = task.method(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/use.py", line 45, in call
output = self.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/process.py", line 98, in main
proc = subprocess.Popen(command, stdout=PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
pi@raspberrypi:~/abouttime $
The cat....could not be found.
I also tried to add that report.
openaps report add monitor/upload-status.json
usage: openaps-report add [-h] report {base,text,stdout,JSON} device ...
openaps-report add: error: too few arguments
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:06
I don't know. Maybe I just don't have the brains for this...
David Cintron
@loudestnoise
Jun 01 2016 20:21
I think it’s saying monitor/upload-status.json doesn’t exist
so from your openaps directory type ls monitor
should look something like this
(pi @ raspberrypi): ~/openaps
⇢  ls monitor
total 40K
-rw-r--r-- 1 pi   44 Jun  1 13:47 battery.json
-rw-r--r-- 1 pi   21 Jun  1 13:47 clock.json
-rw-r--r-- 1 pi   27 Jun  1 13:47 clock-zoned.json
-rw-r--r-- 1 pi 1.2K Jun  1 13:47 glucose.json
-rw-r--r-- 1 pi  121 Jun  1 13:47 iob.json
-rw-r--r-- 1 pi  593 Jun  1 13:47 pumphistory.json
-rw-r--r-- 1 pi    3 Jun  1 13:47 reservoir.json
-rw-r--r-- 1 pi   68 Jun  1 13:47 status.json
-rw-r--r-- 1 pi   58 Jun  1 13:47 temp_basal.json
-rw-r--r-- 1 pi 1.7K Jun  1 13:47 upload-status.json
if you don’t have upload-status.json you may have not added the report yet
Ben West
@bewest
Jun 01 2016 20:23
need to figure out what the arguments are and why they aren't there
openaps report show --cli monitor/upload-status.json
Dan Piessens
@dpiessens
Jun 01 2016 20:23
@Spazholio I've had mine running for a week now on the Edison with no issues, what specifically is getting corrupted
David Cintron
@loudestnoise
Jun 01 2016 20:24
@bewest oooh —cli that’s helpful!
Ben West
@bewest
Jun 01 2016 20:24
@flutelynne_twitter try openaps report show --cli monitor/upload-status.json
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:25
Thanks!
Ben West
@bewest
Jun 01 2016 20:26
can you copy that here?
that's to show us what the expected inputs are so we can test it out
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:26
Yes, I did that.
openaps report show --cli monitor/upload-status.json
openaps use nightscout-status shell monitor/clock-zoned.json monitor/iob.json enacted/suggested.json enact/enacted.json monitor/battery.json monitor/reservoir.json monitor/status.json
Ben West
@bewest
Jun 01 2016 20:27
ah great
ls monitor/clock-zoned.json monitor/iob.json enacted/suggested.json enact/enacted.json monitor/battery.json monitor/reservoir.json monitor/status.json
openaps use nightscout-status shell monitor/clock-zoned.json monitor/iob.json enacted/suggested.json enact/enacted.json monitor/battery.json monitor/reservoir.json monitor/status.json to test it out
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:29
ls monitor/clock-zoned.json monitor/iob.json enacted/suggested.json enact/enacted.json monitor/battery.json monitor/reservoir.json monitor/status.json
ls: cannot access monitor/clock-zoned.json: No such file or directory
ls: cannot access enacted/suggested.json: No such file or directory
ls: cannot access enact/enacted.json: No such file or directory
ls: cannot access monitor/battery.json: No such file or directory
ls: cannot access monitor/reservoir.json: No such file or directory
ls: cannot access monitor/status.json: No such file or directory
monitor/iob.json
pi@raspberrypi:~/abouttime $ openaps use nightscout-status shell monitor/clock-zoned.json monitor/iob.json enacted/suggested.json enact/enacted.json monitor/battery.json monitor/reservoir.json monitor/status.json
Traceback (most recent call last):
File "/usr/local/bin/openaps-use", line 63, 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-use", line 57, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/init.py", line 92, in call
return self.method.selected(args)(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/init.py", line 31, in call
return self.method(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/use.py", line 45, in call
output = self.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/process.py", line 98, in main
proc = subprocess.Popen(command, stdout=PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
pi@raspberrypi:~/abouttime $
So I need to go back and add and invoke each of those?
Using <my pump name> or <ns shell>?
Reading back, I saw the "curl" part. Should I do something there?
David Cintron
@loudestnoise
Jun 01 2016 20:34
@flutelynne_twitter I’ll chime in with what happened to me in this situation
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:34
Thank you @loudestnoise
I feel so dumb...
Ben West
@bewest
Jun 01 2016 20:35
yes, invoke each of those
David Cintron
@loudestnoise
Jun 01 2016 20:35
no, you’re doing great from what it looks like
Ben West
@bewest
Jun 01 2016 20:35
I think you have an alias which is removing files
David Cintron
@loudestnoise
Jun 01 2016 20:35
I did the same thing, invoke all those reports
Ben West
@bewest
Jun 01 2016 20:35
and it's causing you more trouble
David Cintron
@loudestnoise
Jun 01 2016 20:35
yes @bewest
that’s what happened to me
Ben West
@bewest
Jun 01 2016 20:35
crontab -l to list the crontab
openaps alias show to list the aliases
David Cintron
@loudestnoise
Jun 01 2016 20:36
I had to add those reports to my monitor-pump alias
Ben West
@bewest
Jun 01 2016 20:36
we can temporarily stop the cron job from doing anything
David Cintron
@loudestnoise
Jun 01 2016 20:36
because in my gather alias I was using rm -f monitor/*
Ben West
@bewest
Jun 01 2016 20:36
figure out how things should work, then re-enable the cron job
yeah, that's making things much harder on you
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:36
crontab -l
no crontab for pi
pi@raspberrypi:~/abouttime $ openaps alias show
last_four_hours report invoke last_four_pump_hours.json last_four_cgm_hours.json
nightscout-status report invoke last_four_pump_hours.json last_four_cgm_hours.json
loop !bash -c "openaps monitor-cgm 2>/dev/null/ && (openaps preflight && openaps gather && openaps enact) || echo No CGM data."
preflight ! bash -c "rm -f monitor/clock.json && openaps report invoke monitor/clock.json 2>/dev/null && grep -q T monitor/clock.json && echo PREFLIGHT OK || (mm-stick warmup || sudo oref0-reset-usb; echo PREFLIGHT FAIL; sleep 120; exit 1)"
gather-profile report invoke settings/settings.json settings/bg_targets_raw.json settings/bg_targets.json settings/insulin_sensitivities_raw.json settings/insulin_sensitivities.json settings/basal_profile.json settings/profile.json
pi@raspberrypi:~/abouttime $
I should crawl under a bucket.
Sarah Hodson Grady
@shgrady
Jun 01 2016 20:36
@flutelynne_twitter I would go with brave, not dumb :)
Bill Stackpole
@billstackpole
Jun 01 2016 20:37
Hi All! Can anyone address where the upload-recent-treatments alias shoudl be getting (or creating? or storing?) the upload/latest-treatments.json file?
David Cintron
@loudestnoise
Jun 01 2016 20:37
Yeah, and you can get into that situation without having your crontab setup yet
I haven’t got that far
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:37
Thanks, @shgrady
David Cintron
@loudestnoise
Jun 01 2016 20:37
the key for me was just making sure my monitor-pump alias invoked all the proper reports
@flutelynne_twitter run openaps alias show
Ben West
@bewest
Jun 01 2016 20:38
let's see openaps report show --cli
she just did that one
David Cintron
@loudestnoise
Jun 01 2016 20:38
oh jk
listen to @bewest :wink:
Bill Stackpole
@billstackpole
Jun 01 2016 20:39
pi@baps:~/billopenaps $ openaps report show --cli
usage: openaps-report [-h] [--version] {add,remove,show,invoke} ...
openaps-report: error: unrecognized arguments: --cli
and monitor-pump
monitor-pump report invoke monitor/clock.json monitor/temp_basal.json monitor/pumphistory.json monitor/pumphistory-zoned.json monitor/iob.json monitor/clock-zoned.json monitor/battery.json monitor/reservoir.json monitor/status.json
message I'm getting is "no recent treatments to upload"
(when I try to openaps upload-recent-treatmemts
)
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:41
openaps report show --cli
openaps use pump read_bg_targets
openaps use units bg_targets --to "mg/dL" raw-pump/bg-targets-raw.json
openaps use pump read_insulin_sensitivities
openaps use units insulin_sensitivities --to "mg/dL" raw-pump/insulin-sensitivities-raw.json
openaps use pump read_clock
openaps use pump read_clock
openaps use pump read_temp_basal
openaps use determine-basal shell oref0-monitor/iob.json monitor/temp-basal-status.json monitor/glucose.json oref0-monitor/profile.json
openaps use pump iter_pump_hours 8.0
openaps use tz rezone --adjust "missing" --date "timestamp dateString start_at end_at created_at" raw-pump/pump-history-raw.json
openaps use pump model
openaps use pump reservoir
openaps use pump read_status
openaps use pump read_battery_status
openaps use pump set_temp_basal oref0-predict/oref0.json
openaps use oref0 shell copy-fresher raw-pump/settings.json
openaps use pump read_settings
openaps use oref0 shell copy-fresher raw-pump/selected-basal-profile.json
openaps use pump read_selected_basal_profile
openaps use pump read_temp_basal
openaps use pump reservoir
openaps use pump read_status
openaps use pump read_battery_status
openaps use get-profile shell settings/settings.json settings/bg-targets.json settings/insulin-sensitivities.json settings/selected-basal-profile.json max-iob.json
openaps use calculate-iob shell monitor/pump-history.json oref0-monitor/profile.json monitor/clock.json
openaps use ns shell format-recent-history-treatments monitor/pump-history.json model.json
openaps use ns shell upload-non-empty-treatments nightscout/recent-treatments.json
openaps use nightscout-status shell monitor/clock-zoned.json monitor/iob.json enacted/suggested.json enact/enacted.json monitor/battery.json monitor/reservoir.json monitor/status.json
openaps use tz clock --adjust "missing" --date "None" monitor/clock.json
openaps use ns shell upload-non-empty-treatments nightscout/recent-treatments.json
openaps use units bg_targets --to "mg/dL" settings/bg_targets_raw.json
openaps use Clark read_insulin_sensitivities
openaps use Clark read_basal_profile_std
openaps use get-profile shell settings/settings.json settings/bg_targets_raw.json settings/insulin_sensitivities_raw.json settings/basal_profile.json preferences.json
openaps use calculate-iob shell monitor/pumphistory.json settings/profile.json monitor/clock.json
openaps use pump read_temp_basal
openaps use determine-basal shell monitor/iob.json monitor/temp_basal.json monitor/glucose.json settings/profile.json
openaps use ns shell upload entries.json nightscout/recent-missing-entries.json
openaps use Clark iter_pump_hours 4.0
openaps use ns shell upload-non-empty-treatments
openaps use ns shell upload devicestatus.json monitor/upload-status.json
pi@raspberrypi:~/abouttime $
Ben West
@bewest
Jun 01 2016 20:42
:)
Bill Stackpole
@billstackpole
Jun 01 2016 20:42
when I upload-status l get the openaps pill on the nightscout screen and it updates for about 5 sec then goes to "unknown"
Ben West
@bewest
Jun 01 2016 20:43
ok
Bill Stackpole
@billstackpole
Jun 01 2016 20:43
and why is my --cli unknown while @flutelynne_twitter is working? am I on the wrong branch?
Ben West
@bewest
Jun 01 2016 20:43
@billstackpole yeah, openaps --version to see
Bill Stackpole
@billstackpole
Jun 01 2016 20:43
0.0.10
Ben West
@bewest
Jun 01 2016 20:43
if you have an ls ~src/openaps the instructions are different
ah sounds like not
great
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:44
Yeah. Husband just came back from a walk...I said back already? He said he was gone for 2 hours. I've been here..
Ben West
@bewest
Jun 01 2016 20:44
sudo pip install -U openaps openaps-contrib for @billstackpole
Bill Stackpole
@billstackpole
Jun 01 2016 20:44
tnk you!
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:45
@billstackpole my openaps pill shows unknown since day 1
Ben West
@bewest
Jun 01 2016 20:45
@flutelynne_twitter oref0 template mint device oref0 | openaps import
Bill Stackpole
@billstackpole
Jun 01 2016 20:45
ha - failure for @billstackpole
pi@baps:~/billopenaps $ sudo pip install -U openaps openaps-contrib
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement openaps in /usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg
Downloading/unpacking openaps
Cleaning up...
No distributions at all found for openaps in /usr/local/lib/python2.7/dist-packages/openaps-0.0.10-py2.7.egg
Storing debug log for failure in /root/.pip/pip.log
pi@baps:~/billopenaps $
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:45
oref0 template mint device oref0 | openaps import
process://oref0/oref0/
process://detect-sensitivity/oref0/detect-sensitivity
process://get-profile/oref0/get-profile
process://calculate-iob/oref0/calculate-iob
process://determine-basal/oref0/determine-basal
Ben West
@bewest
Jun 01 2016 20:46
oref0 template mint reports oref0-inputs | openaps import
oref0 template mint reports medtronic-pump | openaps import
oref0 template mint alias common | openaps import
Bill Stackpole
@billstackpole
Jun 01 2016 20:47
Output of /var/log/syslog when my loop is running:
Jun  1 16:46:10 billopenaps1 openaps-loop: reporting enact/suggested.json
Jun  1 16:46:13 billopenaps1 openaps-loop: pump://JSON/set_temp_basal/enact/enacted.json
Jun  1 16:46:13 billopenaps1 openaps-loop: subg_rfspy status: OK
Jun  1 16:46:13 billopenaps1 openaps-loop: Version: subg_rfspy 0.8
Jun  1 16:46:13 billopenaps1 openaps-loop: reporting enact/enacted.json
Jun  1 16:46:13 billopenaps1 rsyslogd-2007: action 'action 17' suspended, next retry is Wed Jun  1 16:47:43 2016 [try http://www.rsyslog.com/e/2007 ]
Jun  1 16:46:17 billopenaps1 openaps-loop: ns-status://JSON/shell/monitor/upload-status.json
Jun  1 16:46:17 billopenaps1 openaps-loop: reporting monitor/upload-status.json
Jun  1 16:46:17 billopenaps1 openaps-loop: cat: entries.json: No such file or directory
Jun  1 16:46:17 billopenaps1 logger: Unable to upload to devicestatus.json
Jun  1 16:46:20 billopenaps1 openaps-loop: bash: upload/latest-treatments.json: No such file or directory
Jun  1 16:46:20 billopenaps1 openaps-loop: No recent treatments to upload
Jun  1 16:46:20 billopenaps1 openaps-loop: woot!
looks like "unable to upload to devicestatus.json" - does this mean my APIsecret is incorrect?
Ben West
@bewest
Jun 01 2016 20:48
no entries.json, there's an issue with one of the reports, probably monitor/upload-status.json or maybe upload/latest-treatments.json
it says no entries.json which is sometimes an error from the upload part
Bill Stackpole
@billstackpole
Jun 01 2016 20:48
K - I'll have a look
Ben West
@bewest
Jun 01 2016 20:48
what's doing the upload?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:49
oref0 template mint device oref0 | openaps import
process://oref0/oref0/
process://detect-sensitivity/oref0/detect-sensitivity
process://get-profile/oref0/get-profile
process://calculate-iob/oref0/calculate-iob
process://determine-basal/oref0/determine-basal
pi@raspberrypi:~/abouttime $ oref0 template mint reports oref0-inputs | openaps import
get-profile://text/shell/oref0-monitor/profile.json
calculate-iob://text/shell/oref0-monitor/iob.json
determine-basal://text/shell/oref0-predict/oref0.json
pi@raspberrypi:~/abouttime $ oref0 template mint reports medtronic-pump | openaps import
pump://JSON/read_bg_targets/raw-pump/bg-targets-raw.json
units://JSON/bg_targets/settings/bg-targets.json
pump://JSON/read_insulin_sensitivities/raw-pump/insulin-sensitivities-raw.json
units://JSON/insulin_sensitivities/settings/insulin-sensitivities.json
pump://JSON/read_clock/raw-pump/clock-raw.json
tz://JSON/clock/monitor/clock.json
pump://JSON/read_temp_basal/monitor/temp-basal-status.json
determine-basal://text/shell/oref0-predict/oref0.json
pump://JSON/iter_pump_hours/raw-pump/pump-history-raw.json
tz://JSON/rezone/monitor/pump-history.json
pump://JSON/model/model.json
pump://JSON/reservoir/monitor/reservoir.json
pump://JSON/read_status/monitor/status.json
pump://JSON/read_battery_status/monitor/battery.json
pump://JSON/set_temp_basal/oref0-enacted/enacted-temp-basal.json
oref0://JSON/shell/settings/settings.json
pump://JSON/read_settings/raw-pump/settings.json
oref0://JSON/shell/settings/selected-basal-profile.json
pump://JSON/read_selected_basal_profile/raw-pump/selected-basal-profile.json
pump://JSON/read_temp_basal/raw-pump/temp-basal-status.json
pump://JSON/reservoir/raw-pump/reservoir.json
pump://JSON/read_status/raw-pump/status.json
pump://JSON/read_battery_status/raw-pump/battery.json
pi@raspberrypi:~/abouttime $ oref0 template mint alias common | openaps import
rm-warmup ! bash -c "rm -f model.json monitor/clock.json > /dev/null"
warmup report invoke model.json raw-pump/clock-raw.json monitor/clock.json
fail-warmup ! bash -c "echo PREFLIGHT FAIL; exit 1"
preflight ! bash -c "(openaps rm-warmup; echo PREFLIGHT ) && openaps warmup 2>&1 >/dev/null && grep -q T monitor/clock.json && echo PREFLIGHT OK || openaps fail-warmup"
monitor-cgm report invoke monitor/glucose-raw.json monitor/glucose.json
monitor-pump-history report invoke monitor/pump-history-raw.json monitor/pump-history.json
get-basal-status report invoke monitor/temp-basal-status.json
get-pump-details report invoke monitor/reservoir.json monitor/status.json monitor/battery.json
get-settings report invoke settings/bg-targets-raw.json settings/bg-targets.json settings/insulin-sensitivities-raw.json settings/insulin-sensitivities.json settings/selected-basal-profile.json settings/settings.json
gather-pump-data ! bash -c "openaps get-basal-status; openaps get-pump-details; openaps monitor-pump-history; openaps get-settings"
gather-clean-data ! bash -c "openaps monitor-cgm && openaps gather-pump-data"
do-oref0 report invoke oref0-monitor/profile.json oref0-monitor/iob.json oref0-predict/oref0.json
enact-oref0 report invoke oref0-enacted/enacted-temp-basal.json
do-everything ! bash -c "openaps preflight && openaps gather-clean-data && openaps do-oref0 && openaps enact-oref0"
pi@raspberrypi:~/abouttime $
Ben West
@bewest
Jun 01 2016 20:49
:)
openaps gather-clean-data
oh
hmmmm
sorry
your pump name is Clark?
Bill Stackpole
@billstackpole
Jun 01 2016 20:50
I think I have two uploads - status-upload and upload-recent-treatments
upload-recent-treatments = ! bash -c "openaps format-latest-nightscout-treatments && test $(json -f upload/latest-treatments.json -a created_at eventType | wc -l ) -gt 0 && (ns-upload $NIGHTSCOUT_HOST $API_SECRET treatments.json upload/latest-treatments.json ) || echo \"No recent treatments to upload\""
status-upload = ! bash -c "openaps report invoke monitor/upload-status.json && ns-upload $NIGHTSCOUT_HOST $API_SECRET devicestatus.json monitor/upload-status.json"
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:50
@bewest My pump name is Clark
Do I do the gather clean?
Ben West
@bewest
Jun 01 2016 20:50
oref0 template mint reports medtronic-pump --pump Clark | openaps import
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:51
oref0 template mint reports medtronic-pump --pump Clark | openaps import
pump://JSON/read_bg_targets/raw-pump/bg-targets-raw.json
units://JSON/bg_targets/settings/bg-targets.json
pump://JSON/read_insulin_sensitivities/raw-pump/insulin-sensitivities-raw.json
units://JSON/insulin_sensitivities/settings/insulin-sensitivities.json
pump://JSON/read_clock/raw-pump/clock-raw.json
tz://JSON/clock/monitor/clock.json
pump://JSON/read_temp_basal/monitor/temp-basal-status.json
determine-basal://text/shell/oref0-predict/oref0.json
pump://JSON/iter_pump_hours/raw-pump/pump-history-raw.json
tz://JSON/rezone/monitor/pump-history.json
pump://JSON/model/model.json
pump://JSON/reservoir/monitor/reservoir.json
pump://JSON/read_status/monitor/status.json
pump://JSON/read_battery_status/monitor/battery.json
pump://JSON/set_temp_basal/oref0-enacted/enacted-temp-basal.json
oref0://JSON/shell/settings/settings.json
pump://JSON/read_settings/raw-pump/settings.json
oref0://JSON/shell/settings/selected-basal-profile.json
pump://JSON/read_selected_basal_profile/raw-pump/selected-basal-profile.json
pump://JSON/read_temp_basal/raw-pump/temp-basal-status.json
pump://JSON/reservoir/raw-pump/reservoir.json
pump://JSON/read_status/raw-pump/status.json
pump://JSON/read_battery_status/raw-pump/battery.json
pi@raspberrypi:~/abouttime $
Ben West
@bewest
Jun 01 2016 20:52
ok now, yeah, openaps gather-clean-data
Paul Martin
@Spazholio
Jun 01 2016 20:52
@dpiessens Man, I wish I knew. I flash the Edison, get it running, update it to Jessie, do everything in the docs. The only thing I was doing was mucking with the wireless settings, changing between network-manager and wpa_supplicant. But after something like 15-20 reboots, then garbage starts to com across the serial port, always at the same point I pasted. I’ve tried going into rescue mode to fsck it, but that seems to be doing no good.
Ben West
@bewest
Jun 01 2016 20:52
actually
darn
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:53
I think that I need to invoke it first, or add it first for the gather-clean?
Paul Martin
@Spazholio
Jun 01 2016 20:54
The first time, I may have shut it down poorly, which should absolutely not cause problems on an ext4 filesystem, but on the second go-round, it’s doing the same thing, even with all shutdowns being proper shutdowns.
Ben West
@bewest
Jun 01 2016 20:54
hmm
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:55
openaps gather-clean-data
usage: openaps-report invoke [-h]
Bill Stackpole
@billstackpole
Jun 01 2016 20:56
going to hvae to drop out for a bit and drive home. Will work more on this later and will look into my monitor/upload-status.json report or the upload/recent-treatments.json (looks like I don't have an upload directory - creating one and then re-running my loop to see if the recent-treatments.json will be placed there once the directory exists...)
Ben West
@bewest
Jun 01 2016 20:56
openaps report show --json | json -g | json -c 'this[this.name].device == "pump"' | json -e "this[this.name].device = 'Clark'" | openaps import
I made a mistake earlier, @flutelynne_twitter I forgot your device was named Clark, this bit should fix it
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:57
Ok
Ben West
@bewest
Jun 01 2016 20:57

@billstackpole

upload-recent-treatments = ! bash -c "openaps format-latest-nightscout-treatments && test $(json -f upload/latest-treatments.json -a created_at eventType | wc -l ) -gt 0 && (ns-upload $NIGHTSCOUT_HOST $API_SECRET treatments.json upload/latest-treatments.json ) || echo \"No recent treatments to upload\""
status-upload = ! bash -c "openaps report invoke monitor/upload-status.json && ns-upload $NIGHTSCOUT_HOST $API_SECRET devicestatus.json monitor/upload-status.json"

is the problem

you should have an ns device, and set up a report similar to what we're doing here
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:58
openaps report show --json | json -g | json -c 'this[this.name].device == "pump"' | json -e "this[this.name].device = 'Clark'" | openaps import
Clark://JSON/read_bg_targets/raw-pump/bg-targets-raw.json
Clark://JSON/read_insulin_sensitivities/raw-pump/insulin-sensitivities-raw.json
Clark://JSON/read_clock/raw-pump/clock-raw.json
Clark://JSON/read_temp_basal/monitor/temp-basal-status.json
Clark://JSON/iter_pump_hours/raw-pump/pump-history-raw.json
Clark://JSON/model/model.json
Clark://JSON/reservoir/monitor/reservoir.json
Clark://JSON/read_status/monitor/status.json
Clark://JSON/read_battery_status/monitor/battery.json
Clark://JSON/set_temp_basal/oref0-enacted/enacted-temp-basal.json
Clark://JSON/read_settings/raw-pump/settings.json
Clark://JSON/read_selected_basal_profile/raw-pump/selected-basal-profile.json
Clark://JSON/read_temp_basal/raw-pump/temp-basal-status.json
Clark://JSON/reservoir/raw-pump/reservoir.json
Clark://JSON/read_status/raw-pump/status.json
Clark://JSON/read_battery_status/raw-pump/battery.json
Clark://JSON/read_temp_basal/monitor/temp_basal.json
Ben West
@bewest
Jun 01 2016 20:58
great
openaps gather-clean-data
Lynne Butts
@flutelynne_twitter
Jun 01 2016 20:59
openaps gather-clean-data
usage: openaps-report invoke [-h] again
Ben West
@bewest
Jun 01 2016 20:59
hmm
Bill Stackpole
@billstackpole
Jun 01 2016 20:59
K - tnx @bewest
Ben West
@bewest
Jun 01 2016 21:00
openaps device show cgm
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:01
openaps device show cgm
usage: openaps-device show [-h] [--ini] [--json]
[{Clark,Maxim,calculate-iob,detect-sensitivity,determine-basal,get-profile,howdy,nightscout-status,ns,ns-status,oref0,pump,tz,units,}]
openaps-device show: error: argument name: invalid choice: 'cgm' (choose from u'Clark', u'Maxim', u'calculate-iob', u'detect-sensitivity', u'determine-basal', u'get-profile', u'howdy', u'nightscout-status', u'ns', u'ns-status', u'oref0', u'pump', u'tz', u'units', '
')
I use the G5 bridge. should i plug in the receiver to the pi?
Ben West
@bewest
Jun 01 2016 21:01
aha
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:02
Yay, I guess
ssaint1
@ssaint1
Jun 01 2016 21:03
@tomasboudr Thanks, yes I am running a very straight forward setup for now. I have very little experience with this sort of thing, so I thought I would give myself the best chance of success to start with.
@danamlewis Thanks Dana. Will you be at ADA this year?
Ben West
@bewest
Jun 01 2016 21:04
ah, ok, @flutelynne_twitter were you getting CGM data from somewhere?
@flutelynne_twitter I scrolled back up towards the top to see your older reports and I noticed you didn't have any CGM data coming into openaps
only pump data
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:05
I had listed the G5 receiver at first, going each step.
Ben West
@bewest
Jun 01 2016 21:05
ah, via usb cable?
is Maxim the cgm?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:05
I don't recall that part. Seems like years ago
I could plug it back in
Ben West
@bewest
Jun 01 2016 21:06
openaps device show Maxim
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:06
openaps device show Maxim
dexcom://Maxim
Ben West
@bewest
Jun 01 2016 21:06
aha, great that's the cgm
openaps use Maxim config
it's a G5?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:07
Yes.
Ben West
@bewest
Jun 01 2016 21:07
openaps use Maxim config --G5
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:08
openaps use Maxim config --G5
{
"model": "G5"}
Dana Lewis
@danamlewis
Jun 01 2016 21:09
@ssaint1 yes! We’ll have a poster from the OpenAPS community, too :)
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:09
I read that you added more dexcom stuff...was afraid to try it
David Cintron
@loudestnoise
Jun 01 2016 21:11
@bewest how can I tell if the version of openaps I’m using has that G5 part? I’m doing what I think @flutelynne_twitter is doing right now. I’m using my G5 via Bridge to Nightscout, but I’d like to explore using USB to the receiver
Ben West
@bewest
Jun 01 2016 21:11
openaps use Maxim GetFirmwareHeader
this tests to see if we can talk to the G5
the usb cable needs to be plugged in
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:12
ok
ssaint1
@ssaint1
Jun 01 2016 21:13
@danamlewis Cool, I'll say Hi at some point! d-Data?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:15
turned on the receiver, plugged it in now "my host is down"
Dana Lewis
@danamlewis
Jun 01 2016 21:19
@ssaint1 sounds great! that too! @scottleibrand will be there as well
David Cintron
@loudestnoise
Jun 01 2016 21:21
@danamlewis You going to listen in on that FDA webinar thing tomorrow? Someone needs to just shout #WeAreNotWaiting at the right time
Dana Lewis
@danamlewis
Jun 01 2016 21:22
:) @loudestnoise I know @bewest and @scottleibrand & others will be tuned in. I’ll be participating in a White House workshop on patients as research partners, so will be doing the #WeAreNotWaiting shout over there ;)
David Cintron
@loudestnoise
Jun 01 2016 21:22
I’m gonna go ahead and guess #OpenAPS is not mentioned during the call
I’ll just shout at my computer screen
Dana Lewis
@danamlewis
Jun 01 2016 21:23
probably not by name, but they’ll likely make some general references to it. They gave a great presentation at the last d-data about their goals for regulating, and how they want to point out red flags and not be full of red tape. I imagine there might be similar language shared as they talk about their priorities for working with the manufacturers to get things approved as they’re submitted
David Cintron
@loudestnoise
Jun 01 2016 21:24
:+1:
Scott Leibrand
@scottleibrand
Jun 01 2016 21:24
not sure how much patient involvement there'll be, or focus on any patient-driven stuff, but it should be interesting to get their perspective on getting the first and second gen commercial AP systems approved.
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:24
I have tried restarting my ssh. I get as far as the password, enter "raspberry", then nothing. tried unplugging usb's and then plugging them in again.
Looking forward to listening tomorrow.
Dana Lewis
@danamlewis
Jun 01 2016 21:24
one of the areas of conversation I think we need to be having with manufacturers and FDA alike as we look toward the future gens of APs (beyond first gen): interoperability, and continued data access.
just like we can do amazing things now that we didn’t really realize was possible 5 years ago…we now realize a lot more about how patients can (and want to) have more ability to control our devices. That needs to be part of the conversation for future gen devices/products. This is one of the areas @bewest is really good about speaking/writing to, so glad he is free to tune in tomorrow :)
David Cintron
@loudestnoise
Jun 01 2016 21:26
no no no @danamlewis it all goes inside the black box and it doses as it sees fit
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:27
I removed the G5 receiver usb, and was able to ssh. Now to try plugging the receiver usb back in
David Cintron
@loudestnoise
Jun 01 2016 21:28

MyBG #MyData !!!

Dana Lewis
@danamlewis
Jun 01 2016 21:28
:+1:
i love when Gitter does that :)
David Cintron
@loudestnoise
Jun 01 2016 21:28
ha that was a fun markdown
thanks John Gruber
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:32
I am getting "broken pipe" in my terminal for ssh
Ben West
@bewest
Jun 01 2016 21:32
hmmm
ssaint1
@ssaint1
Jun 01 2016 21:32
@danamlewis Cool, see you guys there.
Ben West
@bewest
Jun 01 2016 21:32
guess it's a power hungry reciever
Dana Lewis
@danamlewis
Jun 01 2016 21:33
@ssaint1 *not a guy, but yes, see you there! :)
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:33
It is not fully charged. About 3/4
Dana Lewis
@danamlewis
Jun 01 2016 21:33
@flutelynne_twitter is your receiver fully charged?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:33
Should I charge it, come back, and try again?
David Cintron
@loudestnoise
Jun 01 2016 21:33
Perfect use of the word y’all. Gender neutral :clap:
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:34
@danamlewis No. I guess that's the problem
Dana Lewis
@danamlewis
Jun 01 2016 21:34
@flutelynne_twitter ah, perhaps. yes, try charging it for a few minutes and see if that helps - that’s known to distract the Pi
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:36
@bewest Have to make dinner for the husband and grandkids, will charge my receiver fully, and be back. Thank you for your help so far today. I was almost to the point of giving up, but feel like almost there and can taste it!
Dana Lewis
@danamlewis
Jun 01 2016 21:37
:+1: you’re making awesome progress!
Lynne Butts
@flutelynne_twitter
Jun 01 2016 21:41
@danamlewis Thank you! This 57 yr old brain along with T1D 36yrs is chugging along slowly. "I think I can...I think I can..."
Dana Lewis
@danamlewis
Jun 01 2016 21:42
That’s the way it goes!! :) :clap:
ssaint1
@ssaint1
Jun 01 2016 21:46
@danamlewis touché
Paul Martin
@Spazholio
Jun 01 2016 21:51
@bewest Should sudo pip install -U openaps pull in oref0?
Oh wait, it wouldn’t. It’s a nodejs app. Nevermind. =)
JaysonEwer
@JaysonEwer
Jun 01 2016 22:00
@flutelynne_twitter Definitely don't give up...it's appropriate to walk away for a time, but don't give up. You can do it and you ARE doing it! 🙂
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:07
cannot find search textbox in chat, maybe this was already answered :(
I have just updated to last version of openaps/oref0
i mean dev branch
determine-basal returns me an error about auto-sens
it cannot find file that has auto-sens data
my openaps.ini looks like: ```
Scott Leibrand
@scottleibrand
Jun 01 2016 22:09
error or warning? I've been fixing some of the errors that should be warnings, but some of them indicate misconfiguration and should indeed be errors.
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:09
[report "enact/suggested.json"]
profile = settings/profile.json
use = shell
temp_basal = monitor/temp_basal.json
reporter = text
json_default = True
iob = monitor/iob.json
device = determine-basal
offline = online
remainder = []
meal = monitor/meal.json
glucose = monitor/glucose.json
what I receive is:
determine-basal://text/shell/enact/suggested.json
{"carbs":0,"boluses":0,"mealCOB":9}
Optional feature Auto Sensitivity enabled.  Could not find specified auto-sens: online
{ [Error: ENOENT, no such file or directory 'online'] errno: 34, code: 'ENOENT', path: 'online', syscall: 'open' }
reporting enact/suggested.json
[
    {
        "error": {
            "code": "ENOENT",
            "errno": 34,
            "path": "online",
            "syscall": "open"
        },
        "msg": "Optional feature Auto Sensitivity enabled.  Could not find specified auto-sens: online"
    }
]
in determine-basal I can see that in case -a is not provided autosens file is taken from positional argument
and I think it gets another option - "online" instead of autosens.json file
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:11
@bewest openaps use Maxim GetFirmwareHeader
{
"DexBootVersion": "3",
"BLESoftwareVersion": "1.0.0.76/1.0.1",
"RFVersion": "1",
"ApiVersion": "3.0.0.0",
"ProductName": "Dexcom G5 Mobile Receiver",
"SoftwareNumber": "SW10617",
"TestApiVersion": "2.10.0.0",
"BLEHardwareVersion": "HW004A",
"SchemaVersion": "1",
"ProductId": "G5MobileReceiver",
"PortVersion": "4.6.4.62",
"FirmwareVersion": "4.0.1.030",
"BLEDeviceAddress": "C2444E7C73C1"
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:12
I don't know how openaps calls oref0 so that I can understand how these parameters are represented
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:13
@JaysonEwer Thank you. I am realizing that I need to take breaks. Just want to keep going until I get it right. Feel like a kid down a well...no disrepect to the children that have been in a well.
Scott Leibrand
@scottleibrand
Jun 01 2016 22:22
@ktomy the arguments provided to oref0-determine-basal are determined by what is specified in your determine-basal device and the report you pasted. the offline/online stuff is deprecated, so if it's causing you issues, you should remove it.
Ben West
@bewest
Jun 01 2016 22:23
@flutelynne_twitter ah great
@flutelynne_twitter curl -s https://gist.githubusercontent.com/bewest/d3db9ca1c144b845382c885138a8f66e/raw/5ce0bab22c2f6513265ed5003e9cf3b68b6d3c61/cgm-export-reports-template.json | json -e "this[this.name].device = 'Maxim'" | openaps import
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:24
curl -s https://gist.githubusercontent.com/bewest/3db9ca1c144b845382c885138a8f66e/raw/5ce0bab22c2f6513265ed5003e9cf3b68b6d3c61/cgm-export-reports-template.json | json -e "this[this.name].device = 'Maxim'" | openaps import
Traceback (most recent call last):
File "/usr/local/bin/openaps-import", line 89, 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-import", line 83, in run
self.config.save( )
File "/usr/local/lib/python2.7/dist-packages/openaps/config.py", line 20, in save
self.write(configfile)
File "/usr/lib/python2.7/ConfigParser.py", line 413, in write
fp.write("%s\n" % (key))
IOError: [Errno 28] No space left on device
pi@raspberrypi:~/abouttime $
Ben West
@bewest
Jun 01 2016 22:25
hmm, well, it's like 2 steps forward and 1 step back
df -h
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:25
It is a political year
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:25
@scottleibrand please excuse me, I was completely out of date, was looking for device description and didn't notice determine-basal.ini
:)
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:26
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.0G 6.0G 0 100% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 6.4M 457M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p6 63M 20M 44M 32% /boot
tmpfs 93M 0 93M 0% /run/user/1000
Ben West
@bewest
Jun 01 2016 22:26
yeah
hmm
is the sd card 6G? you might need a bigger one
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:27
Whatever came with the Cana kit
So what are my options at this point?
Ben West
@bewest
Jun 01 2016 22:31
sudo apt-get remove supercollider
we can try to free up some space removing some packages we don't need
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:33
Includes Raspberry Pi 2 (RPi2) Model B Quad-Core 900 MHz 1 GB RAM
8 GB Micro SD Card (Class 10) - Raspberry Pi Recommended Micro SD Card pre-loaded with NOOBS
CanaKit WiFi Adapter 150 Mbps - Supports Access Point Mode (AP) to allow for WiFi Hotspot hosting
CanaKit 2.5A USB Power Supply with Micro USB Cable and Noise Filter - Specially designed for the Raspberry Pi 2 (UL Listed)
High Quality Raspberry Pi 2 Case, Premium Quality HDMI Cable, Heat Sink, GPIO Quick Reference Card, CanaKit Full Color Quick-Start Guide
ok
sudo apt-get remove supercollider
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libasn1-8-heimdal libboost-atomic1.55.0 libboost-filesystem1.55.0
libboost-program-options1.55.0 libboost-regex1.55.0 libboost-thread1.55.0
libcwiid1 libfftw3-single3 libgssapi3-heimdal libhcrypto4-heimdal
libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libjs-prettify
libkrb5-26-heimdal libqscintilla2-11 libqscintilla2-l10n libqt4-network
libqt4-xmlpatterns libqtwebkit4 libroken18-heimdal libruby1.9.1
libruby1.9.1-dbg libruby2.1 libscsynth1 libtcltk-ruby1.9.1 libwind0-heimdal
libxfce4ui-1-0 libyaml-0-2 ri1.9.1 ruby ruby1.9.1 ruby1.9.1-dev
ruby1.9.1-examples ruby1.9.1-full ruby1.9.3 ruby2.1 rubygems-integration
supercollider-common supercollider-ide supercollider-language
supercollider-server supercollider-supernova xfce-keyboard-shortcuts
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
sonic-pi supercollider
0 upgraded, 0 newly installed, 2 to remove and 10 not upgraded.
After this operation, 98.8 MB disk space will be freed.
Do you want to continue? [Y/n]
Ben West
@bewest
Jun 01 2016 22:34
Y
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:35
sudo apt-get remove supercollider
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libasn1-8-heimdal libboost-atomic1.55.0 libboost-filesystem1.55.0
libboost-program-options1.55.0 libboost-regex1.55.0 libboost-thread1.55.0
libcwiid1 libfftw3-single3 libgssapi3-heimdal libhcrypto4-heimdal
libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libjs-prettify
libkrb5-26-heimdal libqscintilla2-11 libqscintilla2-l10n libqt4-network
libqt4-xmlpatterns libqtwebkit4 libroken18-heimdal libruby1.9.1
libruby1.9.1-dbg libruby2.1 libscsynth1 libtcltk-ruby1.9.1 libwind0-heimdal
libxfce4ui-1-0 libyaml-0-2 ri1.9.1 ruby ruby1.9.1 ruby1.9.1-dev
ruby1.9.1-examples ruby1.9.1-full ruby1.9.3 ruby2.1 rubygems-integration
supercollider-common supercollider-ide supercollider-language
supercollider-server supercollider-supernova xfce-keyboard-shortcuts
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
sonic-pi supercollider
0 upgraded, 0 newly installed, 2 to remove and 10 not upgraded.
After this operation, 98.8 MB disk space will be freed.
Do you want to continue? [Y/n] Y
dpkg: unrecoverable fatal error, aborting:
unable to fill /var/lib/dpkg/updates/tmp.i with padding: No space left on device
E: Sub-process /usr/bin/dpkg returned an error code (2)
E: IO Error to output - fwrite (28: No space left on device)
pi@raspberrypi:~/abouttime $
Ben West
@bewest
Jun 01 2016 22:36
heh
bummer
ok we try harder
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:36
ok
Ben West
@bewest
Jun 01 2016 22:37
ls ~/
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:38
ls ~/
abouttime June1C mkdir oref0-enacted raw-pump
Clark.ini June1D monitor oref0-monitor settings
crontab JuneB Music oref0-predict setuptools-21.2.1.zip
Desktop Maxim.ini nightscout Pictures Templates
Documents May29 npm-debug.log Public Videos
Downloads May30B ns-status.ini python_games
June1 May31 openaps.ini raw-cgm
The dates are the name of each script when i start
Ben West
@bewest
Jun 01 2016 22:41
ah great
rm -Rf ~/setuptools-21.2.1.zip ~/npm-debug.log ~/python_games
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:42
ok
done
Scott Leibrand
@scottleibrand
Jun 01 2016 22:43
have you expanded your FS?
there is an option to expand filesystem in raspi-config
Ben West
@bewest
Jun 01 2016 22:43
looks expanded, looks like other 2 gigs are on partitions for eg /boot
sudo apt-get remove -y supercollider
Scott Leibrand
@scottleibrand
Jun 01 2016 22:44
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n is neat
gets you a list of all your installed packages sorted by size
so you know which ones are worth removing
Ben West
@bewest
Jun 01 2016 22:45
I happen to know supercollider is installed by default and is huge and not needed
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:45
sudo apt-get remove -y supercollider
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
sonic-pi supercollider
0 upgraded, 0 newly installed, 2 to remove and 10 not upgraded.
After this operation, 98.8 MB disk space will be freed.
(Reading database ... 123469 files and directories currently installed.)
Removing sonic-pi (1:2.10.0-1) ...
Removing supercollider (1:3.6.6~repack-2-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
pi@raspberrypi:~/abouttime $
Ben West
@bewest
Jun 01 2016 22:45
alright
we're on our way back
sudo apt-get autoremove -y
df -h
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:45
wolfram-engine is the biggest
Scott Leibrand
@scottleibrand
Jun 01 2016 22:45
yeah, you can safely remove any wolfram stuff
Ben West
@bewest
Jun 01 2016 22:46
is that also on there?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:46
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.0G 5.9G 0 100% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 6.4M 457M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p6 63M 20M 44M 32% /boot
tmpfs 93M 0 93M 0% /run/user/1000
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:46
:) it was a hint, at least on my pi this one is the biggest, I have a default install
Ben West
@bewest
Jun 01 2016 22:46
sudo apt-get autoremove -y
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:47
sudo apt-get autoremove -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Ben West
@bewest
Jun 01 2016 22:47
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:47
i did that before the df -h
Ben West
@bewest
Jun 01 2016 22:47
ah, nice :-)
still need to get more space back
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:48
do the dpkg one?
Ben West
@bewest
Jun 01 2016 22:48
that last one should print biggest 10 packages
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:48
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail
44684 nuscratch
45673 scratch
47401 libpython3.4-dev
55920 pypy-upstream
75760 libreoffice-common
94821 libreoffice-core
96369 sonic-pi
112603 raspberrypi-bootloader
168481 oracle-java8-jdk
642352 wolfram-engine
Ben West
@bewest
Jun 01 2016 22:49
ah yes :-)
sudo apt-get remove -y nuscratch scratch libreoffice-core libreoffice-common oracle-java8-jdk wolfram-engine
Scott Leibrand
@scottleibrand
Jun 01 2016 22:50
might be worth adding that to the docs
Ben West
@bewest
Jun 01 2016 22:50
also sudo apt-get remove -y sonic-pi as well
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:50
whici command "compiles" oref0 ? I mean which command copies <files>.js to .bin ? As I understand npm install -g doesn't do that.
Ben West
@bewest
Jun 01 2016 22:50
also another round of sudo apt-get autoremove -y
@ktomy that's what npm install -g does
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:51
hm, ok, will try again, maybe (sure) I missed something :)
Ben West
@bewest
Jun 01 2016 22:51
specifically sudo npm install -g oref0 does that
while npm install does not
@flutelynne_twitter when all those remove commands are done, let's see what df -h says again
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 22:55
nevermind, I was editing a wrong file and was expecting results :)
Ben West
@bewest
Jun 01 2016 22:55
@ktomy if you're editing files, you can link them in place with sudo npm link followed by npm link oref0
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:55
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.0G 4.9G 796M 87% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 6.4M 457M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p6 63M 20M 44M 32% /boot
tmpfs 93M 0 93M 0% /run/user/1000
Ben West
@bewest
Jun 01 2016 22:56
ah yes
we freed some space
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:56
whew thank you
Ben West
@bewest
Jun 01 2016 22:56
let's look for any other big ones we can remove
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:56
ok
Ben West
@bewest
Jun 01 2016 22:56
you should be able to go "up" arrow a few times to get back to that one without typing it all inagain
Lynne Butts
@flutelynne_twitter
Jun 01 2016 22:57
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail
44684 nuscratch
45673 scratch
45744 openjdk-7-jre-headless
47401 libpython3.4-dev
55920 pypy-upstream
75760 libreoffice-common
94821 libreoffice-core
96369 sonic-pi
112603 raspberrypi-bootloader
642352 wolfram-engine
i copied it. inlaws on phone, too : )
not sure what they're talking about i am focused here...
Ben West
@bewest
Jun 01 2016 23:02
dpkg-query -Wf '${Status} ${Installed-Size}\t${Package}\n' | grep "install ok installed" | sort -n | tail
hmmm we'll see if that one says something different
oh
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:03
dpkg-query -Wf '${Status} ${Installed-Size}\t${Package}\n' | grep "install ok installed" | sort -n | tail
install ok installed 985 openssl
install ok installed 9930 aptitude-common
install ok installed 995 lxsession
install ok installed 998 libasound2
install ok installed 99 libdrm-radeon1
install ok installed 99 libxfce4util6
install ok installed 99 libxmu6
install ok installed 9 build-essential
install ok installed nodered
install ok installed wiringpi
Ben West
@bewest
Jun 01 2016 23:03
dpkg-query -Wf '${Status} ${Installed-Size}\t${Package}\n' | grep "install ok installed" | cut -f 4- -d ' ' | sort -n | tail
sorry sans bugs this time
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:04
dpkg-query -Wf '${Status} ${Installed-Size}\t${Package}\n' | grep "install ok installed" | cut -f 4- -d ' ' | sort -n | tail
26095 libwebkitgtk-3.0-0
26531 libicu52
27472 libqtwebkit4
32846 libllvm3.7
32971 libraspberrypi-doc
33224 freepats
45744 openjdk-7-jre-headless
47401 libpython3.4-dev
55920 pypy-upstream
112603 raspberrypi-bootloader
Ben West
@bewest
Jun 01 2016 23:04
nice
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:04
bugs? step on em
Ben West
@bewest
Jun 01 2016 23:05
sudo apt-get remove -y freepats openjdk-7-jre-headless libqtwebkit4 libwebkitgtk-3.0-0
followed by another round of sudo apt-get autoremove -y && df -h
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:09
do you want me to post the last bit of it
Ben West
@bewest
Jun 01 2016 23:09
yeah, from df -h would be great
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:09
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.0G 5.0G 769M 87% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 6.4M 457M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p6 63M 20M 44M 32% /boot
tmpfs 93M 0 93M 0% /run/user/1000
Ben West
@bewest
Jun 01 2016 23:10
let's do one more round
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:10
sure
Ben West
@bewest
Jun 01 2016 23:10
dpkg-query -Wf '${Status} ${Installed-Size}\t${Package}\n' | grep "install ok installed" | cut -f 4- -d ' ' | sort -n | tail
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:11
dpkg-query -Wf '${Status} ${Installed-Size}\t${Package}\n' | grep "install ok installed" | cut -f 4- -d ' ' | sort -n | tail
21367 g++-4.9
22684 libgtk-3-common
24828 libpython2.7-dev
26531 libicu52
32846 libllvm3.7
32971 libraspberrypi-doc
47401 libpython3.4-dev
55920 pypy-upstream
112603 raspberrypi-bootloader
150547 oracle-java7-jdk
Ben West
@bewest
Jun 01 2016 23:12
sudo apt-get remove -y oracle-java7-jdk
ok, that should get us back to where we were
curl -s https://gist.githubusercontent.com/bewest/d3db9ca1c144b845382c885138a8f66e/raw/5ce0bab22c2f6513265ed5003e9cf3b68b6d3c61/cgm-export-reports-template.json | json -e "this[this.name].device = 'Maxim'" | openaps import
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:14
ok! did both things
Ben West
@bewest
Jun 01 2016 23:15
openaps gather-clean-data
bewest @bewest crosses fingers
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:15
openaps gather-clean-data
[Errno 2] No such file or directory
openaps: 'gather-clean-data' is not an openaps command. See 'openaps --help'.
Ben West
@bewest
Jun 01 2016 23:16
hmm, thought we had that from the alias import
openaps alias show
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:16
openaps alias show
usage: openaps-alias show [-h] [--ini] [--json] [{}]
openaps-alias show: error: argument name: invalid choice: '*' (choose from )
pi@raspberrypi:~ $
did they get lost?
Ben West
@bewest
Jun 01 2016 23:17
ls
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:17
ls
abouttime June1 May30B ns-status.ini Pictures Videos
Clark.ini June1C May31 oldconffiles Public
crontab June1D mkdir openaps.ini raw-cgm
Desktop JuneB monitor oref0-enacted raw-pump
Documents Maxim.ini Music oref0-monitor settings
Downloads May29 nightscout oref0-predict Templates
pi@raspberrypi:~ $
Ben West
@bewest
Jun 01 2016 23:17
hmm
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:17
i dont know what pictures videos would be
Ben West
@bewest
Jun 01 2016 23:18
oref0 template mint alias common | openaps import
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:19
oref0 template mint alias common | openaps import
rm-warmup ! bash -c "rm -f model.json monitor/clock.json > /dev/null"
warmup report invoke model.json raw-pump/clock-raw.json monitor/clock.json
fail-warmup ! bash -c "echo PREFLIGHT FAIL; exit 1"
preflight ! bash -c "(openaps rm-warmup; echo PREFLIGHT ) && openaps warmup 2>&1 >/dev/null && grep -q T monitor/clock.json && echo PREFLIGHT OK || openaps fail-warmup"
monitor-cgm report invoke monitor/glucose-raw.json monitor/glucose.json
monitor-pump-history report invoke monitor/pump-history-raw.json monitor/pump-history.json
get-basal-status report invoke monitor/temp-basal-status.json
get-pump-details report invoke monitor/reservoir.json monitor/status.json monitor/battery.json
get-settings report invoke settings/bg-targets-raw.json settings/bg-targets.json settings/insulin-sensitivities-raw.json settings/insulin-sensitivities.json settings/selected-basal-profile.json settings/settings.json
gather-pump-data ! bash -c "openaps get-basal-status; openaps get-pump-details; openaps monitor-pump-history; openaps get-settings"
gather-clean-data ! bash -c "openaps monitor-cgm && openaps gather-pump-data"
do-oref0 report invoke oref0-monitor/profile.json oref0-monitor/iob.json oref0-predict/oref0.json
enact-oref0 report invoke oref0-enacted/enacted-temp-basal.json
do-everything ! bash -c "openaps preflight && openaps gather-clean-data && openaps do-oref0 && openaps enact-oref0"
pi@raspberrypi:~ $
Ben West
@bewest
Jun 01 2016 23:19
openaps gather-clean-data
not sure what happened, it's possible the disk going full wiped something out earlier
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:20
openaps gather-clean-data
usage: openaps-report invoke [-h]
{cgm-vendor.json,monitor/glucose-raw.json,monitor/upload-status.json,raw-cgm/calibrations.json,raw-cgm/entries.json,raw-cgm/glucose-raw.json}
[{cgm-vendor.json,monitor/glucose-raw.json,monitor/upload-status.json,raw-cgm/calibrations.json,raw-cgm/entries.json,raw-cgm/glucose-raw.json} ...]
openaps-report invoke: error: argument report: invalid choice: 'monitor/glucose.json' (choose from u'cgm-vendor.json', u'monitor/glucose-raw.json', u'monitor/upload-status.json', u'raw-cgm/calibrations.json', u'raw-cgm/entries.json', u'raw-cgm/glucose-raw.json')
pi@raspberrypi:~ $
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 23:21
hm..... in my determine-basal.ini I have: fields = iob temp_basal glucose profile meal
when diong console.error(process.argv) in oref0-determine-basal.js I can see:
determine-basal://text/shell/enact/suggested.json
[ 'node',
  '/usr/local/bin/oref0-determine-basal',
  'monitor/iob.json',
  'monitor/temp_basal.json',
  'monitor/glucose.json',
  'settings/profile.json',
  'monitor/meal.json',
  '[]' ]
WHY i have last '[]' ?? :)
will research more
...
Ben West
@bewest
Jun 01 2016 23:22
@ktomy try openaps report show enact/suggested.json --ini
it's because you have remainder = []
also compare that with openaps report show enact/suggested.json --cli, and what happens when you make it remainder =
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 23:23
does it have another sense but an extra argument? I mean can I just omit it in openaps.ini ?
yes, didn't know about --cli :) thank you, will try without reminder
Bill Stackpole
@billstackpole
Jun 01 2016 23:25
model.json
Ben West
@bewest
Jun 01 2016 23:26
@flutelynne_twitter curl -s https://gist.githubusercontent.com/bewest/d3db9ca1c144b845382c885138a8f66e/raw/a0fb7f4ae2fbeb9cbe35b5fa29beb1c10c0d245d/cgm-export-reports-template.json | json -e "this[this.name].device = 'Maxim'" | openaps import
just updated that url to include monitor/glucose.json
@ktomy it has to do with a bug that has been fixed
@ktomy older versions of openaps added the [] and other bugs
@ktomy fix it to remove it by hand, or if you re-add, it won't do that again
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:27
curl -s https://gist.githubusercontent.com/bewest/d3db9ca1c144b845382c885138a8f66e/raw/a0fb7f4ae2fbeb9cbe35b5fa29beb1c10c0d245d/cgm-export-reports-template.json | json -e "this[this.name].device = 'Maxim'" | openaps import
Maxim://JSON/iter_glucose/monitor/glucose-raw.json
Maxim://JSON/GetFirmwareHeader/cgm-vendor.json
Maxim://JSON/oref0_glucose/raw-cgm/glucose-raw.json
Maxim://JSON/oref0_glucose/raw-cgm/entries.json
Maxim://JSON/iter_calibrations/raw-cgm/calibrations.json
Maxim://JSON/rezone/monitor/glucose.json
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 23:27
it seems that in short time I will update openaps configs :)
Ben West
@bewest
Jun 01 2016 23:29
@ktomy openaps report show --json |json -g | json -c "this[this.name].remainder == '[]'" | json -e "delete this[this.name].remainder" | openaps import should fix all of them in one sweep
@flutelynne_twitter openaps gather-clean-data
bewest @bewest crosses fingers again
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:30
openaps gather-clean-data
Maxim://JSON/iter_glucose/monitor/glucose-raw.json
monitor/glucose-raw.json raised Could not parse EGVRecord
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/init.py", line 51, in call
self.run(self.args)
File "/usr/local/bin/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in call
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 40, in main
output = task.method(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/use.py", line 45, in call
output = self.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/dexcom.py", line 297, in main
for item in self.dexcom.iter_records(self.RECORD_TYPE):
File "/usr/local/lib/python2.7/dist-packages/dexcom_reader/readdata.py", line 301, in iter_records
records = list(self.ReadDatabasePage(record_type, x))
File "/usr/local/lib/python2.7/dist-packages/dexcom_reader/readdata.py", line 267, in GenericRecordYielder
yield record_type.Create(data, x)
File "/usr/local/lib/python2.7/dist-packages/dexcom_reader/database_records.py", line 60, in Create
return cls(unpacked_data, raw_data)
File "/usr/local/lib/python2.7/dist-packages/dexcomreader/databaserecords.py", line 42, in __init
self.check_crc()
File "/usr/local/lib/python2.7/dist-packages/dexcom_reader/database_records.py", line 47, in check_crc
raise constants.CrcError('Could not parse %s' % self.class.name)
dexcom_reader.constants.CrcError: Could not parse EGVRecord
pi@raspberrypi:~ $
Ben West
@bewest
Jun 01 2016 23:30
hmm
oh
hmm
openaps use Maxim config
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:31
done
Ben West
@bewest
Jun 01 2016 23:31
no print out about model: "G5" or something?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:31
openaps use Maxim config is all i got back
Ben West
@bewest
Jun 01 2016 23:32
ah, openaps use Maxim config --G5
JaysonEwer
@JaysonEwer
Jun 01 2016 23:32
@Pazoles Hi Matt, did you receive the email I sent with the address for tonight's meet-up?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:33
openaps use Maxim config
{}pi@raspberrypi:~ $ openaps use Maxim config --G5
{
"model": "G5"}
scrolled back and got it, too. Thanks
do the header one, too?
openaps use Maxim GetFirmwareHeader ?
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:40
openaps use Maxim GetFirmwareHeader
{
"DexBootVersion": "3",
"BLESoftwareVersion": "1.0.0.76/1.0.1",
"RFVersion": "1",
"ApiVersion": "3.0.0.0",
"ProductName": "Dexcom G5 Mobile Receiver",
"SoftwareNumber": "SW10617",
"TestApiVersion": "2.10.0.0",
"BLEHardwareVersion": "HW004A",
"SchemaVersion": "1",
"ProductId": "G5MobileReceiver",
"PortVersion": "4.6.4.62",
"FirmwareVersion": "4.0.1.030",
"BLEDeviceAddress": "C2444E7C73C1"
Alin Artiom Kenibasov
@ktomy
Jun 01 2016 23:40
ok, now it works, thanks a lot, have a very nice day!
@bewest @scottleibrand and other devs, you are the best!
ah, just one more question? which is last version of subg_rfspy / mmeowlink and does it deserve to upgrade from 0.6 to last ones? Thank you.
Lynne Butts
@flutelynne_twitter
Jun 01 2016 23:54
@bewest OMG I just saw that I forgot to use my cd! Should I back up and do all of this under the cd <myopenaps> ? Crap!
Go back to the time of 18:12 with the curl part?