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

12th
Jun 2016
Scott Leibrand
@scottleibrand
Jun 12 2016 02:18
Check what files you're passing to oref0-meal, whether they match the expected order, and whether they contain the expected data.
@flutelynne_twitter yes that should work fine.
Lynne Butts
@flutelynne_twitter
Jun 12 2016 02:18
@scottleibrand Thanks. The cc1111 or cc1110?
Garrett Webb
@garetis
Jun 12 2016 02:21
I created a device (my pump) and called it Pump712. Then I decided I didn't want it capitalized and deleted it and called it pump712. When I list the files in my openaps instance, it still has Pump712.ini and Pump712-session.json. That's going to annoy me... Can I remove those files? Should I really care that much, or is it user prerogative, and some people might choose to leave them?
Scott Leibrand
@scottleibrand
Jun 12 2016 02:22
I would remove the device, remove the file, and re-add the device.
not sure how it deals with changes in case, so easier to start it over.
Garrett Webb
@garetis
Jun 12 2016 02:24
I removed the device, but the files are still there. What will remove the .ini files? I could probably go through the GUI, but we are watching a movie at the moment
Scott Leibrand
@scottleibrand
Jun 12 2016 02:25
rm
Garrett Webb
@garetis
Jun 12 2016 02:25
Ok, thanks. I remember seeing that somewhere earlier.
Garrett Webb
@garetis
Jun 12 2016 02:36
What is the oref0-mint-max-iob tool, and how do I use it?
When I click on the link for the tool on this page (https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-2/Using-oref0-tools.md) it takes me to some computer script that I don't know what to do with
Scott Leibrand
@scottleibrand
Jun 12 2016 02:40
If you run it, it will output json that you can put into preferences.json to set your max IOB.
Garrett Webb
@garetis
Jun 12 2016 02:40
How would I go about running it?
Scott Leibrand
@scottleibrand
Jun 12 2016 02:40
Type in the script name. Add a -h to get usage help.
Garrett Webb
@garetis
Jun 12 2016 02:41
oref0-mint-max-iob -h?
Scott Leibrand
@scottleibrand
Jun 12 2016 02:41
It will want a second argument after the script name I think: the number of U you want to set max_iob to.
Yeah, that is standard Linux way of getting help on a command.
Garrett Webb
@garetis
Jun 12 2016 02:42
I didn't realize that "oref0-mint-max-iob" was a command...
Scott Leibrand
@scottleibrand
Jun 12 2016 02:43
Tab completion is also useful there. Typing oref0-mint<tab> will make it autocomplete. If one tab doesn't work, two tabs will give you the various options.
Dana Lewis
@danamlewis
Jun 12 2016 02:44
Tab tab @aemazaheri ;)
Garrett Webb
@garetis
Jun 12 2016 02:45
Is 1 a typical value for max_iob? What's a reasonable number for someone that has been looping properly without problems for a while?
*2
Dana Lewis
@danamlewis
Jun 12 2016 02:49
Yes. Each person is different, but 1-2 is very reasonable after people have been looping and understand what the system is doing and why
Scott Leibrand
@scottleibrand
Jun 12 2016 02:50
1 may be sufficient. I would start low and raise it if you start to see in the reason field in the OpenAPS pill in NS that it isn't high-temping more due to max_iob.
Garrett Webb
@garetis
Jun 12 2016 03:42
If I'm currently using Medtronic as my CGM for my initial build and usage, when I add my CMG device, would I use $ openaps device add <my_medtronic_cgms_name> medtronic instead of $ openaps device add <my_dexcom_name> dexcom? I'm referring to instruction on this page: https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-2/using-openaps-tools.md
Never mind, my question may be addressed later on in the instructions. I'll ask it again later if I'm still having issues. Thanks.
Dana Lewis
@danamlewis
Jun 12 2016 04:06
:+1:
Garrett Webb
@garetis
Jun 12 2016 04:15
Ok, so I added glucosetools (https://github.com/loudnate/openaps-glucosetools), and at this point I'd assume that I should have gone ahead and set up the CGM as a Dexcom device, and now the glucosetools is going to conform my Medtronic CMG for the "dexcom" device that I set up. Is that correct?
Garrett Webb
@garetis
Jun 12 2016 04:31
Actually, looking at this (https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-2/using-openaps-tools.md#add-dexcom-cgm-receiver-as-device) it says adding a Medtronic CGM device is not necessary, but at no point have I made a cgm device, so when I try to build the determine-basal process (https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-2/Using-oref0-tools.md#the-determine-basal-process), I'm unable to add the glucose argument because it requires a cgm device...?
Ben West
@bewest
Jun 12 2016 04:54
@garetis the solution for medtronic is a slightly different there
for medtronic, you need to use the iter_glucose_hours 2 or similar as a report for raw-cgm/glucose-raw.json
Ben West
@bewest
Jun 12 2016 05:02
then, something like mm-format-ns-glucose --oref0 needs to reformat the glucose info from medtronic to become interoperable/compatible
so something like oref0 device-helper mm-format-ns-glucose 'mm-format-ns-glucose --oref0 $*' should create a new device in openaps called mm-format-ns-glucose
once a device is created in openaps, wecan feed it the raw glucose from MM like: openaps use mm-format-ns-glucose raw-cgm/glucose-raw.json
save that as raw-cgm/reformatted-glucose.json
finally, use the tz device from openapscontrib.timezones to add timezone data to the stream with openaps use tz rezone raw-cgm/reformatted-glucose.json
Matthias
@ceben80
Jun 12 2016 05:33
Good morning and greetings from Germany, awesome overnight looping :tada:
blob
Jim is CrushingT1D
@CrushingT1D
Jun 12 2016 05:51
:+1:
kstdennis
@kstdennis
Jun 12 2016 05:53
just wanted to drop in and say "hello world"
pi@raspberrypi:~/openaps-20160611/my_openaps$ openaps use pump model "722"
w00t!
kstdennis
@kstdennis
Jun 12 2016 06:07
pi+dex+TIusb+mm pump.
Ali Mazaheri
@amazaheri
Jun 12 2016 06:17
@danamlewis first tab on linux happened 3
370 days ago lol
kstdennis
@kstdennis
Jun 12 2016 07:52
so, I've run into a snag, but it was stated as fixed in the latest release of dexcom-reader
I haven't posted this to the issue yet as I wanted to drop it here and see if there were any insights.

I've pull the latest from the dexcom-reader repo, 1.10 and am still seeing errors for G5 (upgraded G4 with share). I can pull some system items, like clock, battery, firmware header, etc., but nothing from the readings;
error:

... File "/usr/local/lib/python2.7/dist-packages/dexcom_reader-0.1.10-py2.7.egg/dexcom_reader/database_records.py", line 42, in __init__ self.check_crc() File "/usr/local/lib/python2.7/dist-packages/dexcom_reader-0.1.10-py2.7.egg/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

info:
$ pip list | grep dexcom dexcom-reader (0.1.10)

I realize there is this
bewest/dexcom_reader#1
but it doesn't seem to be fixed in my case?
tyia.
kstdennis
@kstdennis
Jun 12 2016 08:44
huh. it just came up ok, with no changes.
pretty odd.
John Males
@johnmales
Jun 12 2016 09:44
Great to see all the information about DData in tweets and so forth. Excellent progress it seems. Congrats :)
PieterGit
@PieterGit
Jun 12 2016 13:25
does anybody got a Pi Zero setup working with openaps? Perhaps @oskarpearson and @colinlennon ? I just ordered a HubPiWi HAT extension for wifi with USB hub (see http://referencedesigner.com/blog/pre-order-hubpiwi/3140/ ) and wonder if this would be an alternative to a Edison.
Oskar Pearson
@oskarpearson
Jun 12 2016 13:26
@PieterGit Hey there. We have two running. One over USB to the TI stick, and one over serial port to the ERF.
They are fixed locations though - we don't carry them around
I'm not sure of how heavy/light they are on batteries
Matt Walker
@walker0
Jun 12 2016 13:28
@PieterGit I have a pi zero with a slice of radio as a secondary rig, It draws about 1W once wifi and the slice of radio are running so it will use a fair amount of battery
PieterGit
@PieterGit
Jun 12 2016 13:28
what's the best radio for a Pi Zero rig with a EU medtronic pump: TI, Slice or Radio (pi zero compatible?) or ERF. I can start with Medtronic USB stick, but smaller and better radio would be preferred i guess.
Oskar Pearson
@oskarpearson
Jun 12 2016 13:29
@PieterGit Unfortunately the ERF is no longer produced. You might be able to find a provider that sells them still - but occasionally you'll end up with the older version of the ERF, which we don't have support for yet.
Can you solder?
And: What's your use case? Is it something you want to carry around in a pocket with the smallest possible size, or something you're happy to stick in a backpack?
PieterGit
@PieterGit
Jun 12 2016 13:30
a bit. most of the stuff i see you guys do here, seems out of my league :smile:
Matt Walker
@walker0
Jun 12 2016 13:31
@oskarpearson I have one of these sitting around, it works fine and would be an appropriate fairly easy to solder substitute to the erf stick
Jarred Yaw
@jyaw
Jun 12 2016 13:32
The 3* max basal rate rule.... is this the actual Max basal rate setting on the pump or the max(basal rates in profile)? I believe it's the latter based on my experience but I just wanted to confirm
PieterGit
@PieterGit
Jun 12 2016 13:33
i have a https://www.kiwi-electronics.nl/pibow-zero-voor-raspberry-pi-zero (Pimoroni PIBOW case for the Pi Zero)
Oskar Pearson
@oskarpearson
Jun 12 2016 13:35
@PieterGit If you want to avoid soldering altogether, the simplest small option will be the pi zero with a "on the go" converter and a TI stick. The battery life will be better than a pi2, I'm sure. Not really sure how long it'll last though.
If you're willing to do some soldering, then I'd suggest the next best option would be to use a TI stick, some of these wires (from your local store - nothing special about the adafruit ones): https://www.adafruit.com/product/266 and connecting it over serial.
There are some photos about what to connect and how in the oskarpearson/mmeowlink chat room
The other alternative would be to solder all the pins onto the pi zero (hopefully pretty easy to do) and then use a slice of pi
Slice of pi is nice because it's cheap. But the downside is that it's a bit of a pain to write the firmware to. And the range isn't as good as the TI stick. Not bad, but not as good
PieterGit
@PieterGit
Jun 12 2016 13:39
you mean slice of radio? what's the difference between the slice of pi/radio and xrf radio?
Scott Leibrand
@scottleibrand
Jun 12 2016 13:39
@jyaw it's not max_basal. It's max_daily_basal. So yes, the latter.
Matt Walker
@walker0
Jun 12 2016 13:40
@PieterGit just the form factor, the slice of radio just plugs in easily to the raspberry pi header
PieterGit
@PieterGit
Jun 12 2016 13:43
what are the experience with ranges, e.g. carelink stick 30-50cm, xrf/slice of radio 1meter?, ti stick 5meter?
Matt Walker
@walker0
Jun 12 2016 13:44
I found about 50cm-1m was about standard with the slice of radio stock, I changed the aerial to a wire whip though and get 5meters + now
PieterGit
@PieterGit
Jun 12 2016 13:55
@oskarpearson : you mean the http://www.ti.com/tool/cc1111emk868-915 TI stick (and use cables / soldering to connect to the pi zero via serial?).
live4sw
@live4sw
Jun 12 2016 14:12
@PieterGit Just to put in my 2 cents - I went 3 months with just the Carelink and at best I would get 10-12 feet range under optimal conditions, and usually much shorter. With the TI stick I routinely get more like 30-40 feet. Even better, you can run multiple rigs with TI sticks so that you can effectively cover the entire house/apartment.
It’s so much of an improvement that it’s almost like it’s a completely different system, previously it was mostly just for nights.
Jarred Yaw
@jyaw
Jun 12 2016 14:31
@scottleibrand it sounds like I'm with the crowd that wants an increase. Since my basal profile is relatively flat 4*current never gets implemented, and that rate doesn't seem aggressive enough. I did up my max_iob.json amount and that seemed to help.
Thanks for clarifying!
Dana Lewis
@danamlewis
Jun 12 2016 14:37
@jyaw :+1:
C-Ville
@C-Ville
Jun 12 2016 18:21
@danamlewis thank you for sharing your poster. I hope all pump manufaturers showed up and tried to learn :-)
jaylagorio
@jaylagorio
Jun 12 2016 18:39
@bewest I have some weird behavior on a 522. Using the OpenAPS command (version 0.1.5) I can suspend and resume, bolus, and get basal schedules successfully. When I try to set a temp the pump doesn't do anything and OpenAPS shows that the temp didn't take. The temp.json file I'm using is a copy/paste from the openaps use pump set_temp_basal -h command. What should I look at next?
Oskar Pearson
@oskarpearson
Jun 12 2016 19:00
@jaylagorio so So far as I know that's a longstanding bug.
Are you using mmeowlink?
Please make sure thay you're running a 100% up to date decoding-carelink library
easy_install -ZU decocare
live4sw
@live4sw
Jun 12 2016 19:03
Has anyone else gotten a “BATT OUT LIMIT” when changing to a new lithium battery? I see @JaysonEwer did back in January, but this is the first time I’ve experienced it
Seems to be working fine now but had never seen that before. I know it’s an error indicating the old battery has been out too long, but it had only been out about 30 seconds before putting in the new one.
On the positive side, only had to reset the date and time, the basals and all other history appear to be there
Dana Lewis
@danamlewis
Jun 12 2016 19:10
Thanks @C-Ville :) we all (@scottleibrand and @bewest and I) had some great conversations with multiple pump manufacturers
jaylagorio
@jaylagorio
Jun 12 2016 19:15
@oskarpearson I'm using a CareLink USB stick, I should have specified that. I did my pull two weeks ago but I'll run that command too.
Dragan Maksimovic
@dm61
Jun 12 2016 19:33
@jaylagorio make sure on your pump Temp Basal Type is set as "Insulin Rate (U/H)"
jaylagorio
@jaylagorio
Jun 12 2016 19:47
@dm61 Ding ding ding! That was the problem. Thank you!
Dragan Maksimovic
@dm61
Jun 12 2016 19:47
:+1:
evilism
@evilism
Jun 12 2016 19:51
support for omnipod?
jaylagorio
@jaylagorio
Jun 12 2016 19:55
Does anyone have a link to the most recent setup walk through needing to be vetted? If it's useful I can follow that and note any inconsistencies in the directions for changes/PRs/etc.
@bewest You mentioned wanting to add Windows support for the CareLink USB stick to decocare - well now you can: https://github.com/jaylagorio/CareLink-USB-for-Windows-Apps/tree/master/CareLink%20USB%20Driver
The Nightscout Foundation bought a kernel code signing certificate so now we have a signed driver.
That means all Windows platforms, including x64, can install the driver and use the device without Medtronic's proprietary interface
Paul Martin
@Spazholio
Jun 12 2016 20:29
Out of nowhere, I’m getting this error fairly consistently - any ideas?
pump://JSON/set_temp_basal/enact/enacted.json
Traceback (most recent call last):
  File "/usr/local/bin/openaps-report", line 82, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/usr/local/bin/openaps-report", line 75, in run
    output = app(args, self)
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in __call__
    return self.method.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 40, in main
    output = task.method(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/uses/use.py", line 45, in __call__
    output = self.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 431, in main
    results = self.upload_program(program)
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 524, in upload_program
    return self.pump.model.set_temp_basal(**program)
  File "/usr/local/lib/python2.7/dist-packages/decocare/models/__init__.py", line 225, in set_temp_basal
    result.update(**self.read_temp_basal( ))
  File "/usr/local/lib/python2.7/dist-packages/decocare/models/__init__.py", line 26, in __call__
    self.validate( )
  File "/usr/local/lib/python2.7/dist-packages/decocare/models/__init__.py", line 17, in validate
    data = self.response.getData( )
  File "/usr/local/lib/python2.7/dist-packages/decocare/commands.py", line 1202, in getData
    temp = { 0: 'absolute', 1: 'percent' }[self.data[0]]
IndexError: bytearray index out of range
Garrett Webb
@garetis
Jun 12 2016 20:40
How do you paste in a screenshot of the terminal?
C-Ville
@C-Ville
Jun 12 2016 20:42
@danamlewis @scottleibrand @bewest great to hear that you got great feedback.
Paul Martin
@Spazholio
Jun 12 2016 20:43
You have to put three backticks on one line, then hit SHIFT+ENTER, paste your code, hit SHIFT+ENTER again, then three more backticks.
Garrett Webb
@garetis
Jun 12 2016 20:44
Thanks! I'll give it a shot shortly.
Garrett Webb
@garetis
Jun 12 2016 20:56
I remember reading somewhere that when using a model there are additional steps that need to be done. Also, looking at my 712, I think it might have come out before medtronic had released its CGM, because I don't see about adding a CGM transmitter. Is that right? The pump is on hardware version 1.2C
...when using a model 712 there are additional steps...
Colin Lennon
@colinlennon
Jun 12 2016 21:12
Hi @PieterGit , I have a Pi Zero rig with a Slice of Radio. Using a USB bluetooth dongle to tether to my phone and a 2500 mah lipo battery, I get around 13-14 hours. I'm working on a second Pi Zero rig at the moment which will use a 3500mah battery. I've used an ERF stick and am planning to hook up a bluetooth dongle this way to minimise size - http://hackaday.com/2015/11/28/first-raspberry-pi-zero-hack-piggy-back-wifi/
Also considering including an xdrip in the same box as the new pi zero rig
The Adafruit 1000C is great for powering the zero from a lipo or li-ion battery
tazitoo
@tazitoo
Jun 12 2016 21:25
@garetis - does openaps pull your basal profile from the 712? If not, that's the extra step - you need to create a basal profile JSON by hand.
Garrett Webb
@garetis
Jun 12 2016 21:27
I'm not sure, but going to lean towards no. This is what I am getting now...
pi@raspberrypi:~/openaps1 $ openaps use pump read_basal_profile_std
Traceback (most recent call last):
  File "/usr/local/bin/openaps-use", line 4, in <module>
    __import__('pkg_resources').run_script('openaps==0.1.5', 'openaps-use')
  File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 719, in run_script
  File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 1504, in run_script
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-use", line 63, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-use", line 57, in run
    output = app(args, self)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/uses/__init__.py", line 92, in __call__
    return self.method.selected(args)(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/uses/__init__.py", line 31, in __call__
    return self.method(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/uses/use.py", line 45, in __call__
    output = self.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/vendors/medtronic.py", line 333, in main
    return getattr(self.pump.model, name)(**self.get_params(args))
AttributeError: 'PumpModel' object has no attribute 'read_basal_profile_std'
PieterGit
@PieterGit
Jun 12 2016 21:29
@colinlennon , @oskarpearson and @live4sw thanks for the input. i already ordered some antennes, but still doubting TI or a wirelessthings.net solution. The programming of the cc-chip doesn't seem to be an easy job for normal people like me
Colin Lennon
@colinlennon
Jun 12 2016 21:34
It's really not too bad @PieterGit . The flashing process is easier for the TI stick than for the ERF / Slice of Radio. Where are you based?
tazitoo
@tazitoo
Jun 12 2016 21:34
@garetis - you can drop running that report - and insstead create one manually that looks like:

  {
    "i": 0, 
    "start": "00:00:00", 
    "rate": 1.1500000000000001, 
    "minutes": 0
  }, 
  {
    "i": 1, 
    "start": "03:00:00", 
    "rate": 0.9, 
    "minutes": 180
  }, 
  {
    "i": 2, 
    "start": "07:30:00", 
    "rate": 1.0, 
    "minutes": 450
  }, 
  {
    "i": 3, 
    "start": "10:30:00", 
    "rate": 0.8, 
    "minutes": 630
  }, 
  {
    "i": 4, 
    "start": "13:30:00", 
    "rate": 1.2000000000000002, 
    "minutes": 810
  }, 
  {
    "i": 5, 
    "start": "16:00:00", 
    "rate": 0.7000000000000001, 
    "minutes": 960
  }, 
  {
    "i": 6, 
    "start": "21:00:00", 
    "rate": 1.0, 
    "minutes": 1260
  }
]
Paul Martin
@Spazholio
Jun 12 2016 21:35
So, are there any tricks to flashing an Edison on OSX? I’m using the Intel Edison Setup Tool, because I think that’s how you get Yocto installed…?
The Edison is never detected, no matter which USB port I use...
Garrett Webb
@garetis
Jun 12 2016 21:36
How would I go about creating a JSON file by hand? I've heard something about nano? Is that the best/only/easiest choice?
tazitoo
@tazitoo
Jun 12 2016 21:37
I'll let some others chime in - I'm pretty old school and use 'vi' but that's not the friendliest editor around
PieterGit
@PieterGit
Jun 12 2016 21:38
i'm based in the netherlands
tazitoo
@tazitoo
Jun 12 2016 21:39
@garetis - do you ssh in to the pi? Or do you have a display attached?
Paul Martin
@Spazholio
Jun 12 2016 21:41
Yeah, I saw that. Was hoping to use the automated tool, but it’s not recognizing the device. =/
Andrew Dodd
@Entropy512
Jun 12 2016 21:42
@tazitoo nano is MUCH easier than vi!!!!
nano -w <filename> - pretty self-explanatory from there
since unlike vi, it has a list of basic commands at the bottom
Colin Lennon
@colinlennon
Jun 12 2016 21:43
@PieterGit I'm in the UK and I have a spare TI stick. I'd be happy for you to borrow it until you decide on your ideal setup? I can flash it with whatever firmware you need (the firmware varies depending on whether you're connecting it via USB or serial)
You can PM me if interested - postage from the UK to the Netherlands shouldn't take too long :smile:
Andrew Dodd
@Entropy512
Jun 12 2016 21:44
note, the above needs to be done from a command line shell
I am assuming most pumpers aren't using the pi's GUI and are sshing in
tazitoo
@tazitoo
Jun 12 2016 21:45
see - I knew there would be someone with an easier option :+1:
Garrett Webb
@garetis
Jun 12 2016 21:47
I SSH, but have a display attached to my TV on one of the hdmi ports on my TV. So nano is a software program? Would I need to install anything? I've read a little on google/wikipedia, but not sure what all of it was saying
tazitoo
@tazitoo
Jun 12 2016 21:49
I found this about Raspian text editors:
https://www.raspberrypi.org/documentation/linux/usage/text-editors.md
...made me feel old.
:smile:
Garrett Webb
@garetis
Jun 12 2016 21:50
Haha, that's humorous, but perfect info for me. Thank you.
GeoffWyche
@GeoffWyche
Jun 12 2016 21:51
I know all the text editors mentioned there, but none of the graphical ones.
"know" as in: use on a daily basis.
You can even use 'ed' if you want... it's embedded inside vi after all :)
tazitoo
@tazitoo
Jun 12 2016 21:53
...now that is old school!
PieterGit
@PieterGit
Jun 12 2016 21:55
@colinlennon i'll send an email or pm tomorrow. thanks for the option of sending a flashed ti stick.
Oskar Pearson
@oskarpearson
Jun 12 2016 22:00
@Spazholio So far as I know, nobody here's successfully flashed an Edison from a mac. It should work - but doesn't.
Let us know if you succeed!
Paul Martin
@Spazholio
Jun 12 2016 22:01
Well, CLI worked just fine.
The GUI worked when I got the Edison out of the box, but not after. =/
Garrett Webb
@garetis
Jun 12 2016 22:05
So, as someone that didn't even realize a text editor was what I needed, which one would you suggest that I use to create my basal json file by hand? Would I be fine with just learning/using nano?
Colin Lennon
@colinlennon
Jun 12 2016 22:05
@PieterGit :+1:
tazitoo
@tazitoo
Jun 12 2016 22:05
@garetis - yup - nano would suit you fine
good luck - gotta step out for a bit.
Garrett Webb
@garetis
Jun 12 2016 22:06
Awesome, thank you!
Andrew Dodd
@Entropy512
Jun 12 2016 22:40
@garetis If your pi runs some debian-based distro (Raspbian, ubuntu, etc)
sudo apt-get install nano
that is
if nano isn't already installed - try running it
oh, I need to read complete history before I reply. :P
Paul Martin
@Spazholio
Jun 12 2016 23:00
So is anyone familiar with installing opkg packages when running Yocto? Got a question...
Jason Calabrese
@jasoncalabrese
Jun 12 2016 23:11
@bewest or anyone using openxshareble is there some way to adjust the disconnect timeout? seems like it waits too long, I think it might be better to not disconnect at all, but I think the adafruit ble doesn't give us that option
Paul Martin
@Spazholio
Jun 12 2016 23:18
@bewest You ever attempt openxshareble on an Edison/Yocto system? I think I almost have it working, but I’m having issues getting (what I think is) a required package installed...
Garrett Webb
@garetis
Jun 12 2016 23:40
@Entropy512 Yeah, I'm running Raspbian. I think nano is installed already, but if it isn't, thanks
Jason Calabrese
@jasoncalabrese
Jun 12 2016 23:51
@Spazholio I'd expect it to work on yocto, I'm working on getting it smoother now but running on Ubi
I'm running a separate loop for monitoring the cgm, in a different directory, then have the main loop cp the file from there
Paul Martin
@Spazholio
Jun 12 2016 23:53
I can’t get it running on Ubi, but I’m having different results on Yocto - it seems to actually be getting close to pairing...
Here:
root@edison-yocto:~/openaps# openaps use share iter_glucose 1
Traceback (most recent call last):
  File "/usr/bin/openaps-use", line 63, in <module>
    app( )
  File "/usr/lib/python2.7/site-packages/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/usr/bin/openaps-use", line 57, in run
    output = app(args, self)
  File "/usr/lib/python2.7/site-packages/openaps/uses/__init__.py", line 92, in __call__
    return self.method.selected(args)(args, app)
  File "/usr/lib/python2.7/site-packages/openaps/uses/__init__.py", line 31, in __call__
    return self.method(args, app)
  File "/home/root/src/openxshareble/openxshareble/__init__.py", line 79, in __call__
    self.setup_ble( )
  File "/home/root/src/openxshareble/openxshareble/app.py", line 25, in setup_ble
    self.ble = Adafruit_BluefruitLE.get_provider()
  File "/home/root/src/Adafruit_Python_BluefruitLE/Adafruit_BluefruitLE/platform.py", line 38, in get_provider
    from .bluez_dbus.provider import BluezProvider
  File "/home/root/src/Adafruit_Python_BluefruitLE/Adafruit_BluefruitLE/bluez_dbus/provider.py", line 31, in <module>
    from gi.repository import GObject
ImportError: No module named repository
root@edison-yocto:~/openaps#
Jason Calabrese
@jasoncalabrese
Jun 12 2016 23:55
I haven't seen that before, but does look like something else needs to be installed
Paul Martin
@Spazholio
Jun 12 2016 23:56
Pretty much. I think I’m missing some component of Python, and I can’t seem to find what it is to install it. I’m not familiar enough with Python...
GeoffWyche
@GeoffWyche
Jun 12 2016 23:57
What is 'gi' there?
Paul Martin
@Spazholio
Jun 12 2016 23:58
It seems to be related to “GObject”.
Which is installed.
I found that, but…python-gobject seems to be installed.
GeoffWyche
@GeoffWyche
Jun 12 2016 23:59
The second reply in that link you sent seemed to be more applicable