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

25th
Oct 2015
Ben West
@bewest
Oct 25 2015 00:16
ah
@tghoward close
@tghoward the alias works same way as git's alias....
this means you can start it with a bang ! and it means "execute this as shell code..."
so... openaps alias add mySuiteA "! bash -c 'openaps first-alias && openaps second-alias'"
something like that
Tim Howard
@tghoward
Oct 25 2015 00:22
@bewest excellent, thank you!
Ali Mazaheri
@amazaheri
Oct 25 2015 00:45
@jasoncalabrese I assume we are not calculating the iob still, correct
Capture.PNG
Capture.PNG Oct 24 17:46:03 raspberrypi openaps-loop: IOB: -0.21, Bolus IOB: 0.00
Oct 24 17:46:03 raspberrypi openaps-loop: Avg. Delta: -6.0, BGI: 1.6
Ali Mazaheri
@amazaheri
Oct 25 2015 00:50
Did I say it already how much I love the overlay? lol
Ben West
@bewest
Oct 25 2015 00:53
yeah, I'm loving it
blob
Ali Mazaheri
@amazaheri
Oct 25 2015 01:02
Nice nice nice!
oref0 hard at work for you sith Ben
Almost done with Windows 10 Universal App for NightScout, feels so good to write once and run on multiple form factor(PC, Surface, XBOX and Phone!) with push notification support. Should be out in store soon.
Ben West
@bewest
Oct 25 2015 01:07
nice
Jason Calabrese
@jasoncalabrese
Oct 25 2015 01:44
Need to make iceicle style an option in the settings
And get the iob calculations in sync
Ali Mazaheri
@amazaheri
Oct 25 2015 01:53
YEAH!
it looks gorgeous on my Surface Universal App @jasoncalabrese :)
Jason Calabrese
@jasoncalabrese
Oct 25 2015 02:00
I think a good first step is to get something simple in nightscout/dcalc and then setup the dependencies from oref0 and crm
Ben West
@bewest
Oct 25 2015 03:41
blob
oskarpearson @oskarpearson thinks he's found another unit conversion error.
Oskar Pearson
@oskarpearson
Oct 25 2015 10:06
cat read_insulin_sensitivies.json
{
  "sensitivities": [
    {
      "i": 0,
      "start": "00:00:00",
      "sensitivity": 22,
      "offset": 0,
      "x": 0
    }
  ],
  "action_type": "Regular",
  "first": 2
}
If you look at the pump UI, the sensitivity is 2.2mmol/l per unit
So it looks like something is dropping the '.' and losing track of the fact that it's mmol/l instead of mg/dl
Oskar Pearson
@oskarpearson
Oct 25 2015 10:12
(It should be 39.6)
Oskar Pearson
@oskarpearson
Oct 25 2015 10:49
@bewest I'm guessing that this is a bug in decocare, since openaps doesn't really do any manipulation of the values: https://github.com/openaps/openaps/blob/master/openaps/vendors/medtronic.py#L279-L280
I've worked around it for the moment - I'm going to add an issue to decocare for it
Oskar Pearson
@oskarpearson
Oct 25 2015 10:59
bewest/decoding-carelink#142 created
I'm wondering what the 'first' value that they return is. In https://github.com/bewest/openaps-example/blob/master/monitor/insulin-sensitivities.json it's '1' but in mine it's '2'. I'm interested whether that's an indicator of whether the result should be in mg/dl or mmol/l.
Ben West
@bewest
Oct 25 2015 17:55
great
@oskarpearson so looks like 1 is mg, 2 is mmol?
oh, it's that per Unit
can add units