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

24th
Aug 2016
Eric Jensen
@elnjensen
Aug 24 2016 00:58
FYI re the earlier discussion today on the Adafruit LiPo charging boards, one of the advertised features of the 500c and 1000c is load-balancing between battery and input. I searched the Adafruit support forums and found that the chip in the micro-lipo and mini-lipo does not have that feature. It's possible that the load from the Edison is low enough that that's not an issue, but just FYI. There's this one mentioned in that post that does load-balancing at 3.7V. Oddly, though, while the 500c and 1000c are advertised as having "smart load-sharing", they use the MCP73871, which that forum post says is the less-smart chip. I'm going to post a forum question there to ask.
Pete Schwamb
@ps2
Aug 24 2016 03:12
Anyone know what manufacturing date (or rough timeframe) that 523’s started having 2.5 version firmware on them?
Dana Lewis
@danamlewis
Aug 24 2016 03:15
@mhaeberli ^ have you come up with a guesstimate?
Peter Miller
@ochenmiller
Aug 24 2016 03:17
@dramageek , I have openxshareble working on edison/g4/share/ubilinux . Following instructions from Adafruit seemed to do it.
Martin Haeberli
@mhaeberli
Aug 24 2016 03:19
@danamlewis would love more data from any loopers here who can proffer manufacture date from original box and firmware version... @ps2 for sure by 2013-08 firmware is 2.5A :-(
And I have an unverified data point that excludes 2012 possibly
Eric Jensen
@elnjensen
Aug 24 2016 03:20
And I think my 522 2.3A was 2010-06? I sent Martin the data but don't have it in front of me. Just to bracket on the other side a little.
Sorry, mine is a 523 with 2.3A firmware, not 522.
Pete Schwamb
@ps2
Aug 24 2016 03:21
Hah, the pump I’m wondering about has a manufacture date of 2013-08, so that answers my question. Thanks!
garykidd
@garykidd
Aug 24 2016 04:01
Hi everyone. any ideas why this isn't working?
openaps use cgm oref0_glucose --no-raw --hours 2.0
usage: openaps-use cgm [-h] USAGE ...
openaps-use cgm: error: argument USAGE: invalid choice: 'oref0_glucose' (choose from 'DescribeClocks', 'GetFirmwareHeader', 'ReadBatteryLevel', 'ReadBatteryState', 'ReadBlindedMode', 'ReadChargerCurrentSetting', 'ReadClockMode', 'ReadDeviceMode', 'ReadDisplayTime', 'ReadDisplayTimeOffset', 'ReadGlucoseUnit', 'ReadHardwareBoardId', 'ReadLanguage', 'ReadManufacturingData', 'ReadRTC', 'ReadSetupWizardState', 'ReadSystemTime', 'ReadSystemTimeOffset', 'ReadTransmitterId', 'UpdateTime', 'WriteChargerCurrentSetting', 'battery', 'calibrations', 'glucose', 'insertion_time', 'iter_calibrations', 'iter_calibrations_hours', 'iter_glucose', 'iter_glucose_hours', 'iter_insertion_time', 'iter_insertion_time_hours', 'iter_meter_data', 'iter_meter_data_hours', 'iter_sensor', 'iter_sensor_hours', 'iter_sensor_insertions', 'iter_sensor_insertions_hours', 'iter_user_event_data', 'iter_user_event_data_hours', 'meter_data', 'scan', 'sensor', 'sensor_insertions', 'user_event_data')
Scott Leibrand
@scottleibrand
Aug 24 2016 04:06
@garykidd old openaps version?
Dana Lewis
@danamlewis
Aug 24 2016 04:07
You're passing it something it doesn't know how to deal with. Check that list for hints if what it expects to see - there are some glucose options listed...
garykidd
@garykidd
Aug 24 2016 04:08
sure... I can see that openaps use cgm iter_glucose works fine.
it wasnt clear to me what oref0_glucose was
i searched rtd but still confused on that actually
Scott Leibrand
@scottleibrand
Aug 24 2016 04:38
The oref0_glucose one is new in newer versions of the openaps toolkit. It includes more fields that oref0 can use, including raw sensor values.
garykidd
@garykidd
Aug 24 2016 04:48
what's the easiest way to update then @scottleibrand ...thx
sorry the toolkit that is.
?
Ben West
@bewest
Aug 24 2016 05:24
sudo pip install -U openaps
for oref0: sudo npm install -g git://github.com/openaps/oref0.git#dev
Brandon Faloona
@bfaloona
Aug 24 2016 05:28
how does one determine which version they have, and which version they would get if they run that?
Ben West
@bewest
Aug 24 2016 05:37
in theory package maintainers sign off on versions that go through lifecycles
openaps has tried fairly hard to do that
so openaps --version is pretty good at that
npm is a bit trickier, if you have npm link'd you have to check the git repo with something like git rev-parse HEAD
otherwise npm show oref0 gitHead or npm show oref0 version works
for the "released" versions (on npm.org for example)
in practice, maintaining versions takes time that few but me have had :/
Brandon Faloona
@bfaloona
Aug 24 2016 05:41
Yeah, releasing is a lot of work! Thanks for the details.
Ben West
@bewest
Aug 24 2016 05:42
tools like npm make it a lot easier
Brandon Faloona
@bfaloona
Aug 24 2016 05:43
@scottleibrand mentioned having oref0 dev before i tested his setup.sh script. npm show oref0 version shows 0.2.0
Should I have run sudo npm install -g git://github.com/openaps/oref0.git#dev to update to dev globally before running his script?
Ben West
@bewest
Aug 24 2016 05:44
sudo npm install -g git://github.com/openaps/oref0.git#dev always updates the installed/used version to the dev branch
Scott Leibrand
@scottleibrand
Aug 24 2016 05:44
Doesn't matter for this. You just need that json file.
Brandon Faloona
@bfaloona
Aug 24 2016 05:44
Ok, great.
Scott Leibrand
@scottleibrand
Aug 24 2016 05:45
The script does an openaps import of a json file in the oref0 repo.
If that file exists where the script expects it, you're good.
Brandon Faloona
@bfaloona
Aug 24 2016 05:45
The script results look good. I'm planning to tweak it bit by bit to become our new loop. Are there specific types of feedback you want? So far, it seems to have constructed a working loop (although I have not call it yet)
Brandon Faloona
@bfaloona
Aug 24 2016 05:51
Here's what it created: https://github.com/bfaloona/openaps-lp3
Ben West
@bewest
Aug 24 2016 06:37
preferences.json doesn't look right
compare with output of:
oref0 mint-max-iob 2 or
oref0 get-profile --exportDefaults
Brandon Faloona
@bfaloona
Aug 24 2016 06:43
the first works fine, the latter ouputs usage.
pi@openaps-lp:~/openaps-lp3 $ oref0 get-profile --exportDefaults
usage:  [ 'node', '/usr/local/bin/oref0-get-profile' ] <pump_settings.json> <bg_targets.json> <insulin_sensitivities.json> <basal_profile.json> [<preferences.json>] [<carb_ratios.json>]
pi@openaps-lp:~/openaps-lp3 $ npm show oref0 version
0.2.0

pi@openaps-lp:~/openaps-lp3 $ npm show oref0 gitHead
63999a760b8e81f66b29ef57b5cbd0b92ff874ca

pi@openaps-lp:~/openaps-lp3 $ git rev-parse HEAD
a9368d656af0982584629545584d514939e9044c
Ben West
@bewest
Aug 24 2016 06:47
$ oref0 get-profile --exportDefaults
{
        "max_iob": 0,
        "type": "current",
        "max_daily_safety_multiplier": 3,
        "current_basal_safety_multiplier": 4,
        "autosens_max": 1.5,
        "autosens_min": 0.7,
        "autosens_adjust_targets": true,
        "override_high_target_with_low": false
}
John Sjolund
@sjolundjohn
Aug 24 2016 13:35

I have a working OpenAPS loop running on a PI which is backed up to a private repository on Git.

  • I have now built a Edison rig and looking to copy the installation from Git.

1) Should I copy into a new branch on Git first or bring it down to the Edison?
2) Is Clone the right Git command to use?

Matthew Williams
@mwilliams
Aug 24 2016 15:03
Building up my BOM for my OpenAPS setup - anyone using a RPi Zero with this stackable hub? https://amzn.com/B01K9IVUYM - I'll be running a Minimed + Carelink (using Medtronic's CGM, which, I believe the data is accessible over Carelink? I will otherwise go back to Dexcom). Happy I held onto my old Minimed as well!
Kelly S. Watson
@KellyIsWorking_twitter
Aug 24 2016 16:26
I realize this is probably not the best place to ask - but throwing it out there. Does anyone have an extra omnipod pdm? My husband's started eating batteries last Friday - a set will last 48 hours - we think it's because of a meter error 4 that just started to pop up constantly. I'd rather buy one from someone here and keep our insurance options open (out of warranty and insurance covers 1x every 5 years) as this is just going to be a back up to Loop.
Andy Sharrow
@dramageek
Aug 24 2016 17:30
@ochenmiller Are you on ubi or yacto? I've started from scratch the times already with ubi, but at this point I've messed around with so many little things trying to get it to work that I'll probably start fresh again.
Eric Luhrs
@eluhrs
Aug 24 2016 19:45
@eluhrs
FYI, I just uploaded the final version of the smaller Edison/ERF case I was working on. More info here: http://www.thingiverse.com/thing:1716181
IMG_2475.JPG
Should be easy enough to adapt it for XRF.
Paul Martin
@Spazholio
Aug 24 2016 19:51
That…is a thing of beauty. May just have to give it a shot. =)
Eric Luhrs
@eluhrs
Aug 24 2016 19:51
Glad you like it @Spazholio!
Paul Martin
@Spazholio
Aug 24 2016 19:52
Hey, I’ve been rocking your old one for months. This might make me make the switch to the ERF module. I think I got rid of the right-angle header pins on the ERF itself, but that shouldn’t be an issue.
Martin Haeberli
@mhaeberli
Aug 24 2016 19:52
@Spazholio cool - where to find more ERFs?
Eric Luhrs
@eluhrs
Aug 24 2016 19:52
That is the problem. :worried:
Paul Martin
@Spazholio
Aug 24 2016 19:53
No clue. I’ve only got the two, and one of them is the old-style that no one’s seemed to get working.
Eric Luhrs
@eluhrs
Aug 24 2016 19:55
Yea, I need to get back to debugging the older one. I have one or two sitting around....
Matthias
@ceben80
Aug 24 2016 20:04
@eluhrs awesome your case :star2:
C-Ville
@C-Ville
Aug 24 2016 20:09
@eluhrs I fully concur, awesome and so small
Eric Luhrs
@eluhrs
Aug 24 2016 20:11
Thanks to both of you!
C-Ville
@C-Ville
Aug 24 2016 20:49
I think Intel should change the slogan from "Intel Edison: What will you make?" to "Intel edison: When will you loop?" :-)
lmaguire
@lmaguire
Aug 24 2016 21:31
Hi everyone, I'm new to the OpenAPS discussions and am just finishing Phase 1. I'm using Nightscout with the bridge to Dexcom G4, IOS, but when I input bridge and openaps, the openaps plugin does not appear on the Nightscout site. Has anybody experienced this problem before?
Martin Haeberli
@mhaeberli
Aug 24 2016 21:34
@lmaguire I don’t know for sure that this is your problem, but I understand that you need to be running the dev branch of cgm-remote-monitor to have the openaps plugin work ...
(I should say I believe and understand)
lmaguire
@lmaguire
Aug 24 2016 21:35
Thank you very much! I'm just beginning to understand all of this so much appreciated!