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

7th
Jan 2018
Jeremy Cunningham
@jpcunningh
Jan 07 2018 01:19
Any tips for moving from one pump to another?
Our first pump is becoming the backup pump tonight. :smile:
kallnap
@kallnap
Jan 07 2018 01:23
I would always swap with a couple hours of the day left, just in case.
Jeremy Cunningham
@jpcunningh
Jan 07 2018 01:24
Thanks @kallnap . We are around the 2 hour mark now.
Dana Lewis
@danamlewis
Jan 07 2018 02:36
Just remember switching is going to wipe out your history, including iob, so be careful of you do it with a bunch of netiob on board
Jeremy Cunningham
@jpcunningh
Jan 07 2018 03:56
Thanks, @danamlewis ! We waited until the netiob was fairly low amount before swapping over as you suggested.
Dana Lewis
@danamlewis
Jan 07 2018 03:58
:+1:
reviloogel
@reviloogel
Jan 07 2018 11:24
heya NEWBIE alert please be gentle ! we started our openAPS journey 3 weeks ago but and as since advised by Scott (https://groups.google.com/forum/#!topic/openaps-dev/5sXWiAVIh7s) that Carelink - PI was not the best config to start with, so we now have a CC1111 EMK868-915 but I dont know what to do next. I have read TI-USB-stick#installation-steps on github, but am confused as to whether we also need a CC-Debugger or similar or whether we can just grab the current firmware and flash onto the TI stick ? Is there an idiots guide (says he in hope/desperation)?
live4sw
@live4sw
Jan 07 2018 14:56
Welcome to the club! Yes, Carelink + Pi is old and not really encouraged as the range is terrible. TI stick + Pi is much better but not nearly as well covered in the current docs as Edison + Explorer board.
You do need a CC-Debugger to flash it, as I recall from my experience a while back. But if you could get an Edison + Explorer board that would probably be preferable.
Size is much better, range is almost as good, power consumption also better.
kallnap
@kallnap
Jan 07 2018 15:16
@live4sw is correct, TI is currently not so well covered in the docs. @reviloogel I assume you already found https://github.com/oskarpearson/mmeowlink/wiki. I am not sure if it is possible to program the Pi in a way that you can use it as a firmware flash device. I thought there was a way, but I never followed up on that. I was fortunate enough to know someone with a debugger.
reviloogel
@reviloogel
Jan 07 2018 15:29
@live4sw , not sure Edison and Explorer was considered and now we PI and TI stick I am sure not sure we want to start over completely :-(
@kallnap yes read the wiki,
It confused me , hence my painful but honest request for an eejits guide :-)
Jon Cluck
@cluckj
Jan 07 2018 15:40
@reviloogel your best bet is to find someone locally who has a firmware flasher or buy one
Jon Cluck
@cluckj
Jan 07 2018 15:51
e.g., post your general location here, on twitter with hashtag #openaps, or in one of the facebook groups :)
reviloogel
@reviloogel
Jan 07 2018 16:16
UK, Richmond TW9
Tim Street
@tim2000s
Jan 07 2018 16:24
@reviloogel there are a couple of ways of flashing the stick. If you find the mmeowlink wiki, there’s a tool you can use on the Pi
If the worst comes to the worst, I’m in London.
Jon Cluck
@cluckj
Jan 07 2018 16:37
I haven't tried ccprog to flash USB firmware
reviloogel
@reviloogel
Jan 07 2018 16:56
Appreciate the feedback, but I am lost or maybe a little sensitive as when we started out on this openAPS the docmentation suggested PI and Carelink were good, knowing what we know now we should have gone explorer and Edison route, if only for the depth of the documentation. I know feedback here is well meant and with great intentions but I have read so many "directions" I really am lost on what to do next :-(
do I need a debugger or is there an alternative ?
cameronrenwick
@cameronrenwick
Jan 07 2018 19:11
anyone know if there's a problem with github? I'm trying to update a rig and get this:

fatal: unable to connect to github.com:
github.com: Name or service not known

Couldn't pull latest decocare 0.1.0-dev
root@cameront1d:~#

internet is good etc...
Dana Lewis
@danamlewis
Jan 07 2018 19:14
Ping google.com and confirm rig has the internet
@reviloogel hi - yes, you need a cc debugger to flash the TI stick, but a couple people here have offered to flash sticks for people if you mail it to them, or there might be someone local
There also might be one at a makerspace or similar in your town
silentium123
@silentium123
Jan 07 2018 19:36
Hello, please help me to firmware radio chip on explorer board ( radio diods not flashing) i using this manual and on lat 2 strings i have errors:
root@edison:~/src/ccprog# ./ccprog -p 19,7,36 erase
./ccprog: error while loading shared libraries: libmraa.so.0: cannot open shared object file: No such file or directory
root@edison:~/src/ccprog# ./ccprog -p 19,7,36 write spi1_alt2_EDISON_EXPLORER_US_STDLOC.hex
./ccprog: error while loading shared libraries: libmraa.so.0: cannot open shared object file: No such file or directory
silentium123
@silentium123
Jan 07 2018 20:33
When i running oref setup i got this error
Cloning mraa stable release v1.7.0. Cloning into 'mraa'...
fatal: unable to access 'https://github.com/intel-iot-devkit/mraa.git/': Could not resolve host: github.com
Couldn't clone mraa release v1.7.0
Dana Lewis
@danamlewis
Jan 07 2018 20:46
Usually means rig is not successfully online. Ping google.com to check connectivity
silentium123
@silentium123
Jan 07 2018 20:47
ping is OK
PING google.com (216.58.209.46) 56(84) bytes of data.
64 bytes from waw02s05-in-f14.1e100.net (216.58.209.46): icmp_seq=1 ttl=53 time=18.9 ms
64 bytes from waw02s05-in-f14.1e100.net (216.58.209.46): icmp_seq=2 ttl=53 time=50.2 ms
silentium123
@silentium123
Jan 07 2018 20:54
i install this code manualy
git clone https://github.com/intel-iot-devkit/mraa.git
mkdir mraa/build && cd $_
cmake .. -DBUILDSWIGNODE=OFF
make
bur error the same
root@edison:~/src/ccprog# ./ccprog -p 19,7,36 erase
./ccprog: error while loading shared libraries: libmraa.so.0: cannot open shared object file: No such file or directory
silentium123
@silentium123
Jan 07 2018 21:49
i found solution
sudo find / -name libmraa.so.0
i found library in /home/.rootfs/usr/local/lib/i386-linux-gnu/libmraa.so.0 directory
after that i copy this file to /home/.rootfs/usr/lib/libmraa.so.0
and successfully flash radio chip
Tim Street
@tim2000s
Jan 07 2018 22:24
Looks like there’s a few of us having issues with running a clean install of Dev @danamlewis Are you aware of any issues?
Scott Leibrand
@scottleibrand
Jan 07 2018 22:30
there seems to be a dependency issue where not all the files get created in the right order. running a report manually to create them usually fixes the issue, at which point the person investigating goes away and the root cause doesnt get fixed. :)
I haven't reproduced it yet myself
Dana Lewis
@danamlewis
Jan 07 2018 22:36
the only thing I've seen is someone having to manually run apt-get updates for a dev install
and then ^ that
Jon Cluck
@cluckj
Jan 07 2018 23:01
I'm about to run through 18 fresh installs this evening, so...I'll let you know if I come across it and I won't manually fix it :laughing:
oh look there it is :)
Scott Leibrand
@scottleibrand
Jan 07 2018 23:04
I just deleted ~/myopenaps from a rig and am running oref0-runagain to see if that reproduces it
Jon Cluck
@cluckj
Jan 07 2018 23:07
:thumbsup: I'll leave this rig alone for troubleshooting if you can't replicate it
Scott Leibrand
@scottleibrand
Jan 07 2018 23:08
what are the main symptoms you're seeing?
Jon Cluck
@cluckj
Jan 07 2018 23:08

module.js:427
throw err;
^

SyntaxError: /root/myopenaps/settings/profile.json: Unexpected end of input
at Object.parse (native)
at Object.Module._extensions..json (module.js:424:27)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/root/src/oref0/bin/oref0-calculate-iob.js:44:22)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)

Couldn't calculate IOB

Scott Leibrand
@scottleibrand
Jan 07 2018 23:08
k
Jon Cluck
@cluckj
Jan 07 2018 23:14
it happens during the first couple loops, but doesn't go away
Scott Leibrand
@scottleibrand
Jan 07 2018 23:33

I think this is the real problem:
Old settings: ls: cannot access settings/profile.json: No such file or directory
Profile invalid: ls: cannot access settings/profile.json: No such file or directory
Couldn't refresh_old_profile

are you seeing that too?

Jon Cluck
@cluckj
Jan 07 2018 23:35
yes
Scott Leibrand
@scottleibrand
Jan 07 2018 23:37
k, adding debugging to see what's preventing it from refreshing
Jon Cluck
@cluckj
Jan 07 2018 23:49
hmm
self-resolved after about an hour
dburren
@dburren
Jan 07 2018 23:52

Pump compatibility question: Is anyone aware of a Medtronic 515 pump with firmware 1.2A?
I have one here that refuses to respond to mmtune or "use pump model" (on an Edison/Explorer). The 522 and 554 pumps I have here are responding OK, and the 515/2.3A pumps I’ve seen previously also worked.

All the documentation says that all x15 firmware versions work, but I suspect not. The 1.2A version number certainly looks strange. Even the x12 models that have come through here have had 2.0 as the earliest.
Would it be safer to say that ver 2.x will work but 1.x is unknown?

Scott Leibrand
@scottleibrand
Jan 07 2018 23:53
I think I found the profile issue: I'm now testing this fix: openaps/oref0#894