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

21st
Jan 2017
Aaron Michelson
@Aaybob
Jan 21 2017 00:00 UTC
just sent to sales at advanced radio devices:
Please accept my request for a special build of the new 900MHz Explorer Block.
An application by NightScout and OpenAPS has the boards and battery in as small a case as possible to carry in pocket. The system gets recharged every night. We would like to make a carry case from which the computer and battery would not require opening for ventilation during night charge. Data sheet shows three options for R2. The boards for sale now reach the maximum operating temperature of Edison during the second battery charging phase without ventilation. Replace R2 with one of the lab tested options, 10k or 68K please.
C-Ville
@C-Ville
Jan 21 2017 00:09 UTC
What is the max charge current on the explorer board?
Aaron Michelson
@Aaybob
Jan 21 2017 00:10 UTC
@SandraK82 the rig is big and the usb ports get dislodged and chords break. My biggest problem is everywhere I work is too poor internet or no cell.
Chris Oattes
@cjo20
Jan 21 2017 00:10 UTC
@Aaybob There aren't just 3 possible values for Rprog. The datasheet shows typical values at 3 different levels, and that the 2k option in ensured by the way it was designed (i.e. it's not possible given the design to exceed those limits). You can use any resistor value you like between 2k and 68k.
@C-Ville The way it's set up (and the maximum for the IC they use for charging) is 500mA
C-Ville
@C-Ville
Jan 21 2017 00:11 UTC
500 mA sounds reasonable
Chris Oattes
@cjo20
Jan 21 2017 00:12 UTC
It's not unreasonable, but it means the SOT-23-5 chip is dissipating > 1W, which makes things hot
Aaron Michelson
@Aaybob
Jan 21 2017 00:12 UTC
@C-Ville okay ya, that makes sense. Could you use a smaller resistor size if you put it in the freezer? yes
@cjo20 you shure answered my questions with those references, thanks
j4cbo
@j4cbo
Jan 21 2017 00:20 UTC
swapping out the resistor on an existing board is a "relatively easy" rework
Aaron Michelson
@Aaybob
Jan 21 2017 00:20 UTC
Regarding tuning basal: I take insulin for food and don't eat and my BG comes down and I forget to eat and OpenAPS gives me zero basal. So tuning has bad data.
Sandra Keßler
@SandraK82
Jan 21 2017 00:20 UTC
@Aaybob my dream is to abstract openaps and nightscout to have an truly system portable rig which can sync to a ns instance if available and can run on an Edi, pi, android, or iOS device (or pc of any kind)
Scott Leibrand
@scottleibrand
Jan 21 2017 00:56 UTC
@Aaybob that shouldn't affect autotune or autosens
ejoe132
@ejoe132
Jan 21 2017 05:54 UTC
setting up my edison, at the download image part, downloaded jubilinux, extracted it, then directions say open a terminal window? what is a terminal window like command prompt? and how do I get to cd jubilinux?
Scott Leibrand
@scottleibrand
Jan 21 2017 05:57 UTC
are you following the Mac directions?
if so, Terminal is the app on your Mac that gets you a shell command prompt, yes
ejoe132
@ejoe132
Jan 21 2017 06:06 UTC
@scottleibrand nope just windows
Scott Leibrand
@scottleibrand
Jan 21 2017 06:14 UTC
ok, then yeah, you'll need to open a command prompt in your jubilinux directory (where you extracted the zip file). you should be able to right-click and Open Command Prompt Here I think...
ejoe132
@ejoe132
Jan 21 2017 06:21 UTC
so your saying use windows explorer to find the folder Jubilinux and write click it? and select open with..?
Scott Leibrand
@scottleibrand
Jan 21 2017 06:22 UTC
right-click, and click Command Prompt Here. I don't think that's under Open With
ejoe132
@ejoe132
Jan 21 2017 06:25 UTC
I dont have that open, have open, open in new window, 7 zip, crc sha, scan with windows defender, share with, ......
Scott Leibrand
@scottleibrand
Jan 21 2017 06:25 UTC
if that doesn't do it, you might want to go find a quick tutorial on how to navigate around on the Windows command line
you need to be right-clicking a folder, not the zip file...
ejoe132
@ejoe132
Jan 21 2017 06:29 UTC
yes Im trying to right click the unzipped file Jubilinux, do I need to try this on the file directory?
@scottleibrand Im calling it a night sorry, gotta get up for work in a few hours, thanks for your help and time
Scott Leibrand
@scottleibrand
Jan 21 2017 06:47 UTC
@Aaybob I met up with Morgan today to test some USB OTG stuff, and he said your suggestion for fixing the overheating issue was a good one. We discussed options a bit, and it sounds like he'll either do something like you suggested and reduce the charging current from the current 500mA to something like 250mA (so a 2000mAh battery can still charge in about 8 hours), or perhaps switch the Edison over to preferentially operate off the battery whenever it's connected, which will eliminate the heat from the 5v to 3.7v LDO converted (I think that's what he called it) when the battery is charging. That'd be essentially the same as reducing the charging current from 500mA to 350-400mA or so (or whatever amount the Edison is drawing). He mentioned that, if anyone is having heat issues with existing boards and want to accomplish something like the latter, they can probably accomplish that with a single trace cut, with the side effect that the board would only be able to power the Edison when a lipo is plugged in. @cjo20 @bdr1177
Chris Oattes
@cjo20
Jan 21 2017 06:48 UTC
As a reference point, my edison is reporting 70C while charging with that trace cut (assuming that's the same trace as the 'fix the reboot loop' one)
Scott Leibrand
@scottleibrand
Jan 21 2017 06:48 UTC
for anyone who has been trying to get their Dexcom working over USB OTG, it looks like there will be some hardware modifications coming for that. It seems that the Edison doesn't quite behave the way it's documented, so he's following up with Intel on the details, but he gave me a board that bypasses the intelligent OTG switching IC and just bridges the 5V between the UART and OTG ports, and that seems to work for us
Chris Oattes
@cjo20
Jan 21 2017 06:49 UTC
That's inside my case
Scott Leibrand
@scottleibrand
Jan 21 2017 06:49 UTC
@cjo20 no, it's not the same trace
I thought so too, but he said it's a different one, at least on the beta and later boards
Chris Oattes
@cjo20
Jan 21 2017 06:49 UTC
ok
Scott Leibrand
@scottleibrand
Jan 21 2017 06:49 UTC
it's possible that cutting that trace on the alpha board accomplished the same thing there, though, so maybe 70C is correct for what we can expect
but it sounded like there were some other changes in the beta boards to that circuitry, so that the trace cut there would be different
Chris Oattes
@cjo20
Jan 21 2017 06:50 UTC
makes sense
Scott Leibrand
@scottleibrand
Jan 21 2017 06:52 UTC
I suspect he'll just change the resistor to reduce charge current from 500mA to 250mA, but we'll see
Chris Oattes
@cjo20
Jan 21 2017 06:56 UTC
I'd be tempted to try 350mA and see what that does
Scott Leibrand
@scottleibrand
Jan 21 2017 06:56 UTC
yeah...
Chris Oattes
@cjo20
Jan 21 2017 06:59 UTC
That or put a fan header connected to the 5v line so we could put a small fan in the case for when it's charging :P
Scott Leibrand
@scottleibrand
Jan 21 2017 06:59 UTC
ew...
Tim Street
@tim2000s
Jan 21 2017 09:21 UTC
It would be great if we could work out how to embed the code onto something hing like an arduino and power it off an AA....
Tim Street
@tim2000s
Jan 21 2017 12:42 UTC
Right - with a bit of fiddling, I've got pancreabble uploading to the Urchin watch face in a loop. I'm able to pass CGM data but my loop status data is not getting across.
glenrob1940
@glenrob1940
Jan 21 2017 12:42 UTC
@scottleibrand and @cjo20 Are the relevant trace cuts documented somewhere (for the beta boards) I'd like to make the mods on my board
Tim Street
@tim2000s
Jan 21 2017 12:45 UTC

My upload-pebble alias is:

upload-pebble = ! bash -c "~/src/oref0/bin/peb-urchin-status.sh && openaps report invoke upload/urchin-data.json && openaps use pebble send_urchin_data upload/urchin-data.json"

and my report is: urchin-data

[report "upload/urchin-data.json"]
use = format_urchin_data
reporter = JSON
cgm_clock = monitor/clock.json
report = upload/urchin-data.json
device = pebble
glucose_history = monitor/glucose-unzoned.json
status_text =
status_json = upload/urchin-status.json
action = add

with urchin-status containing:

{"message": "12:45: IOB: 2.692 - BasalIOB: 2.001"}
glenrob1940
@glenrob1940
Jan 21 2017 12:46 UTC
I will probably choose a resistor for 350mA
Tim Street
@tim2000s
Jan 21 2017 12:46 UTC
I'm not sure why the status isn't getting over...
glenrob1940
@glenrob1940
Jan 21 2017 13:05 UTC
@scottleibrand While I am mod'ng the board, is it worthwhile to cut the antenna trace to US length?
Tim Street
@tim2000s
Jan 21 2017 13:18 UTC
When it tries to add the status in, I get Msg Failed Code 2 on the pebble/urchin watchface
Tim Street
@tim2000s
Jan 21 2017 13:35 UTC
Any ideas @scottleibrand or @danamlewis ?
Tim Street
@tim2000s
Jan 21 2017 13:58 UTC
(I've been documenting the process, so will be able to add to the docs)
Tim Street
@tim2000s
Jan 21 2017 16:11 UTC
I've also opened an issue in the pancreabble GitHub repo to see what the response is.
C-Ville
@C-Ville
Jan 21 2017 16:17 UTC
i want to upgrade my old edison rig to the newer versions of oref0 and realized that my old .git has around 120 mb. Can I safely `` rm -rf``` that? I need that space to get the new setup running I believe
Tim Street
@tim2000s
Jan 21 2017 17:16 UTC
I rm -rf my .git files daily to keep my edison loop running
C-Ville
@C-Ville
Jan 21 2017 17:22 UTC
@tim2000s thanks I was not sure and the new oref0-git-truncate is not yet available
Tim Street
@tim2000s
Jan 21 2017 17:35 UTC
I'm reinstalling on a Pi. Prior to the reinstall, I deleted my old src/oref0 directory and repulled it all from git dev. Now, when I run oref0-setup.sh, I'm getting:
monitor-xdrip report invoke xdrip/glucose.json
Checking for BT Mac, BT Peb or Shareble
Removing any existing pump device:
Checking openaps dev installation
openaps 0.2.0-dev
Traceback (most recent call last):
  File "/usr/local/bin/openaps-device", line 35, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/__init__.py", line 47, in __call__
    self.configure_parser(self.parser)
  File "/usr/local/bin/openaps-device", line 21, in configure_parser
    self.commands = devices.configure_commands(parser, parent=self)
  File "/usr/local/lib/python2.7/dist-packages/openaps/devices/__init__.py", line 36, in configure_commands
    parent.devices = get_device_map(parent.config)
  File "/usr/local/lib/python2.7/dist-packages/openaps/devices/__init__.py", line 21, in get_device_map
    for device in Device.FromConfig(vendors, conf):
  File "/usr/local/lib/python2.7/dist-packages/openaps/devices/device.py", line 77, in FromConfig
    vendor = vendors.lookup(config.get(candidate, 'vendor').split('.').pop( ), config)
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/__init__.py", line 27, in lookup
    return get_map(config)[name]
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/__init__.py", line 22, in get_map
    vendors = all_vendors(config)
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/__init__.py", line 36, in all_vendors
    return get_vendors( ) + find_plugins(config)
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/__init__.py", line 16, in find_plugins
    return [ v.get_module( ) for v in vendors ]
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/plugins/vendor.py", line 19, in get_module
    return importlib.import_module(self.name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named timezones
Can't add pump
I know this works on Edison, so I'm not quite sure why it doesn't on the Pi!
mariano42
@mariano42
Jan 21 2017 17:39 UTC
I have been trying to flash my edison with Jubilinux, but keep getting an error when i run flashall.bat. I run the command, it starts, seems to find the DFU device 8087:0a99, I reboot. I can see it running from putty, but after a minute or so it finishes and i get a DFU device not found timeout error from the flashall cmd. I have did all of the virtual memory changes, and tried increasing it a few times, but still no luck.
i am using windows and running flashall from the cmd line... i assume thats what is meant by the "flash window" in the instructions, but perhaps thats where I am confused?
mariano42
@mariano42
Jan 21 2017 18:00 UTC
my flash.log is showing: Filter on vendor = 0x8087 product = 0x0a99
Opening DFU USB device... ID 8087:0a99
Did not find cached descriptor
Warning: Assuming DFU version 1.0
Run-time device DFU version 0100
Found DFU: [8087:0a99] devnum=0, cfg=1, intf=0, alt=7, name="rootfs"
Claiming USB DFU Interface...
Setting Alternate Setting #7 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Did not find cached descriptor
DFU mode device DFU version 0110
Device returned transfer size 4096
bytes_per_hash=32212254
Copying data from PC to DFU device
Starting download: [##################################################] finished!
can't detach
Sent a total of 1610612736 bytes
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
Flashing Edison Board Fri 01/20/2017 10:21:43.34
Flashing Edison Board Fri 01/20/2017 11:39:30.81
Flashing Edison Board Fri 01/20/2017 11:45:43.47
Flashing Edison Board Fri 01/20/2017 11:57:59.10
Flashing Edison Board Fri 01/20/2017 13:17:07.97
Flashing Edison Board Fri 01/20/2017 13:26:39.75
Flashing Edison Board Sat 01/21/2017 11:32:57.23
Flashing Edison Board Sat 01/21/2017 11:51:12.78
Flashing Edison Board Sat 01/21/2017 11:55:37.33
Flashing Edison Board Sat 01/21/2017 11:56:49.55
welp... looks like I tried again using a different usb port and not it reboots correctly.
Tim Street
@tim2000s
Jan 21 2017 18:11 UTC
Often ports and cables just need to be switched over.
mariano42
@mariano42
Jan 21 2017 18:13 UTC
yea.. shame on me for not trying it earlier. Its a port I always use on this machine so I assumed it wouldn't be a problem
mariano42
@mariano42
Jan 21 2017 18:19 UTC
blob
it doesnt seem like i have an /etc/network or /etc/hosts directory. There are directories in there, but neither of those exist.
mariano42
@mariano42
Jan 21 2017 18:25 UTC
correction..hosts is there, just no network
Ryan Dalisky
@rdalisky
Jan 21 2017 18:27 UTC
@scottleibrand I just tried to update to the latest auto tune dev branch using the setup script for the dev repositories, and I'm getting an error a la 'can't connect to github, connection refused'. Any ideas?
Jarred Yaw
@jyaw
Jan 21 2017 18:53 UTC
@ceben80 your case looks great! Would the 2000mah batt fit in that box as well? Like the idea of taking the JST connector off so you can put it to the side. I guess it wasn't too hard to remove?
Dana Lewis
@danamlewis
Jan 21 2017 19:23 UTC
@rdalisky is your rig online?
Dana Lewis
@danamlewis
Jan 21 2017 19:57 UTC
@tim2000s I saw your pr come in, so did you figure out what you were asking about a few hours ago?
Scott Leibrand
@scottleibrand
Jan 21 2017 19:58 UTC
@glenrob1940 I would wait a week until we know for sure from Intel what side effects the trace cut might have. If they're minimal, I'm sure Morgan will be happy to share detailed directions for modifying existing boards.
Matthias
@ceben80
Jan 21 2017 20:05 UTC
@jyaw thanks, quite easy the removal :wink: but I believe a 2000mA lipo won't fit into this case size regarding the height
Aaron Michelson
@Aaybob
Jan 21 2017 20:06 UTC
@scottleibrand "trace cut, with the side effect" tough choice...battery required and keep charge fast might be best.
tynbendad
@tynbendad
Jan 21 2017 20:11 UTC
ready for autotune class :)
Dana Lewis
@danamlewis
Jan 21 2017 20:12 UTC
@Aaybob or @tatigger or anyone else interested in Pancreabble want to give these docs a try and thumbs up this PR, or comment on it if something didn’t work for them? openaps/docs#558
@tynbendad :+1: :)
Scott Leibrand
@scottleibrand
Jan 21 2017 20:12 UTC
@tynbendad @amazaheri, Mikel, @mccgm, and anyone else interested in trying Autotune without an OpenAPS rig: let's walk through it here, and then start updating the OpenAPS docs page I'm creating now. :)
tynbendad
@tynbendad
Jan 21 2017 20:15 UTC
@scottleibrand yay!
as mentioned there, we want to spin up a new cloud VM, install oref0 there, create a profile (documented below), and run autotune on retrospective data from NS.
tynbendad
@tynbendad
Jan 21 2017 20:17 UTC
btw, have you considered calculating carb ratios per hour also? my kid seems to need less insulin for carbs around noon, at least when he's in school
Scott Leibrand
@scottleibrand
Jan 21 2017 20:17 UTC
there is an issue on that, yes: openaps/oref0#326. it will require a lot more data to tease out any real differences vs. just noise
tynbendad
@tynbendad
Jan 21 2017 20:17 UTC
great
Scott Leibrand
@scottleibrand
Jan 21 2017 20:18 UTC
so, first things first: do you have a Linux VM yet?
tynbendad
@tynbendad
Jan 21 2017 20:19 UTC
no, just have nightscout on azure
(well, i use linux at work, but ignoring that)
i have virtualbox here
actually, i have macos on virtualbox
Scott Leibrand
@scottleibrand
Jan 21 2017 20:20 UTC
ok, so you'll need to pick a cloud service you like, and set up a Linux VM to start with
tynbendad
@tynbendad
Jan 21 2017 20:20 UTC
and an old fedora
Scott Leibrand
@scottleibrand
Jan 21 2017 20:21 UTC
I would go with some form of Debian distro (Ubuntu is the most common) for consistency with the Raspbian and jubilinux environments we use on the Pi and Edison for OpenAPS
tynbendad
@tynbendad
Jan 21 2017 20:21 UTC
what are the cloud services, i'm not a web guy
Scott Leibrand
@scottleibrand
Jan 21 2017 20:21 UTC
I use DigitalOcean, and I hear Azure also will do it...
I think with AWS you might also be able to use their free tier (for the first year)
tynbendad
@tynbendad
Jan 21 2017 20:22 UTC
does digitalocean have a free tier?
Scott Leibrand
@scottleibrand
Jan 21 2017 20:22 UTC
no, DO is $5/mo
only free option I know about for sure so far is https://aws.amazon.com/free/
tynbendad
@tynbendad
Jan 21 2017 20:23 UTC
ok, if that works lets start there
creating account...
give one of those a shot, and hit me up if you hit any snags or once you have a VM up and running
I use Google Cloud; after my free trial ran out, I've been paying about $5/month
tynbendad
@tynbendad
Jan 21 2017 20:26 UTC
ok, starting on aws
Dana Lewis
@danamlewis
Jan 21 2017 20:27 UTC
@ecc1 :+1: thx for the info
Scott Leibrand
@scottleibrand
Jan 21 2017 20:28 UTC
once you have the VM up, you'll want to try http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-2/oref0-setup.html to install oref0 and do as much of the setup as is possible to do on a VM
at least steps 0 and 1
after that you'll need to install the oref0 dev branch. at this stage cd ~/src/oref0 and git checkout dev and npm run global-install might be the easiest way to do that.
tynbendad
@tynbendad
Jan 21 2017 20:33 UTC
ok, i've completed the free tier aws sign up, but waiting (up to 24 hours) for them to complete it. once its ready it looks like i can use this wizard "Launch a virtual machine
With EC2
~1 minutes"?
Ali Mazaheri
@amazaheri
Jan 21 2017 20:35 UTC
Alrighty
I am here
tynbendad
@tynbendad
Jan 21 2017 20:36 UTC
while i'm waiting for AWS i will download ubuntu to use on virtualbox, it should work there also?
@amazaheri scroll up to Scott's 13:12&later postings...
Dana Lewis
@danamlewis
Jan 21 2017 20:38 UTC
@amazaheri you may be caught up since you have your VM spun up - I am stubbing out the docs for next steps, you can create a profile.json or go find your old one
Scott Leibrand
@scottleibrand
Jan 21 2017 20:40 UTC
@amazaheri how much is an Azure Linux VM for a new user?
Ali Mazaheri
@amazaheri
Jan 21 2017 20:40 UTC
it depends how much u use
Scott Leibrand
@scottleibrand
Jan 21 2017 20:40 UTC
@tynbendad yes, running a Linux VM locally is a good option. maybe we should make that the preferred method?
tynbendad
@tynbendad
Jan 21 2017 20:41 UTC
i will prefer it for sure in 1 year (length of aws free tier :)
today it depends on whether download and install beats aws setup time
Ali Mazaheri
@amazaheri
Jan 21 2017 20:41 UTC
One I selected is $52/m assuming its running 24/7 but I will shut it down and there are cheaper options
@danamlewis I have the old one from 6 months ago
Scott Leibrand
@scottleibrand
Jan 21 2017 20:42 UTC
I know digitalocean is just about instant once you pay the $5
not sure about Google cloud
Let's #tryallthethingsatonce
Dana Lewis
@danamlewis
Jan 21 2017 20:43 UTC
(I’m updating the docs as we work: openaps/docs#560 is the PR and here’s where the docs are growing: https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-4/autotune.md#phase-c-futurecurrent-wip-running-autotune-more-easily-as-an-average-user )
Ali Mazaheri
@amazaheri
Jan 21 2017 20:43 UTC
awesome I update as we make progress
my VM is ready
I am running ubuntu 16.10
tynbendad
@tynbendad
Jan 21 2017 20:45 UTC
trying google cloud now... #tryallthethingsatonce
Tim Street
@tim2000s
Jan 21 2017 20:46 UTC
@danamlewis sadly not. I've opened an issue on the git.
Ali Mazaheri
@amazaheri
Jan 21 2017 20:47 UTC
going through steps
Dana Lewis
@danamlewis
Jan 21 2017 20:48 UTC
@tynbendad you’re learning ;)
@tim2000s k
tynbendad
@tynbendad
Jan 21 2017 20:54 UTC
google cloud looks like it might be ready - i'm going thru tutorial on how to create a vm :)
Ali Mazaheri
@amazaheri
Jan 21 2017 20:54 UTC
ok
had to do sudo npm run global-install
Scott Leibrand
@scottleibrand
Jan 21 2017 20:57 UTC
k. updated docs with sudo
Ali Mazaheri
@amazaheri
Jan 21 2017 20:58 UTC
updating the profile.json
tynbendad
@tynbendad
Jan 21 2017 20:58 UTC
can i choose the micro vcpu? (0.6GB f1-micro)
and debian boot image is default - there are lots of choices, any particular one better?
Scott Leibrand
@scottleibrand
Jan 21 2017 21:02 UTC
yes, a tiny VM and debian default is good
Ali Mazaheri
@amazaheri
Jan 21 2017 21:05 UTC
so refresh my memory I am adding sensitivities, basal profile, carbratio, what are we putting for sens and maxdailybasal
and "carb_ratio": 1000 is a typo right? I am putting 10 for Sam
tynbendad
@tynbendad
Jan 21 2017 21:08 UTC
got vm, starting oref0 step0...
btw, aws is free trial for 1 year, google cloud free trial appears to be $300 credit for 60 days

here are steps for google cloud vm create if you want to add:
google cloud create vm:
Start by navigating to the Compute Engine section:
Wait for Compute Engine initialization
Click the Create instance button
Change machine type to 1vCPU 0.6GB f1-micro (smallest/cheapest option)
In the Boot disk section, click Change to begin configuring your boot disk. (Keep Debian default selected)
In the Firewall section, select Allow HTTP traffic.

When the VM instance is created, click the SSH button on the right and follow the instructions to run a primitive HTTP server.

Dana Lewis
@danamlewis
Jan 21 2017 21:09 UTC
@amazaheri that’s a very obviously wrong profile on purpose so people put in their correct setttings
Ali Mazaheri
@amazaheri
Jan 21 2017 21:10 UTC
:)
Dana Lewis
@danamlewis
Jan 21 2017 21:13 UTC
(ideas/PRs welcome for how to make that more obvious, I also updated the text to be more clear but…can always be even more clear than that.)
Ali Mazaheri
@amazaheri
Jan 21 2017 21:13 UTC
ok I am all good with profile.json
suggestion
not pur numbers
carb_ratio: [Your current carb ratio]
Scott Leibrand
@scottleibrand
Jan 21 2017 21:15 UTC
PR please! :)
Ali Mazaheri
@amazaheri
Jan 21 2017 21:15 UTC
10 4
RosyRed
@RosyRed
Jan 21 2017 21:16 UTC
Hi all, I want to use autotune. I'm running Loop and have not built anything that has to do with Open APS. I built Loop mainly because it was easier for me to build. I require lots of hand holding. Can I do this?
tynbendad
@tynbendad
Jan 21 2017 21:16 UTC
@RosyRed i think you can
RosyRed
@RosyRed
Jan 21 2017 21:17 UTC
Thanks, I'll start reading. Do I have to own any hardware?
Dana Lewis
@danamlewis
Jan 21 2017 21:17 UTC
a computer to run this on, but i assume you’re typing on a computer rather than your phone already? (no other hardware needed)
tynbendad
@tynbendad
Jan 21 2017 21:18 UTC
on google cloud you need to use Ctrl-V to paste, wasn't obvious :)
RosyRed
@RosyRed
Jan 21 2017 21:18 UTC
ok, great
Dana Lewis
@danamlewis
Jan 21 2017 21:18 UTC
@RosyRed and @tynbendad pasted above the directions for doing the google cloud route, if that’s the VM you want to use.
RosyRed
@RosyRed
Jan 21 2017 21:18 UTC
ok
Ali Mazaheri
@amazaheri
Jan 21 2017 21:20 UTC
alright
lets go to Step 4 :)
tynbendad
@tynbendad
Jan 21 2017 21:20 UTC
i'm creating profile.json now, a step behind you :)
Dana Lewis
@danamlewis
Jan 21 2017 21:20 UTC
ha. just updated the docs ;) https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-4/autotune.md to keep ahead of @amazaheri
Ali Mazaheri
@amazaheri
Jan 21 2017 21:21 UTC
lol
tynbendad
@tynbendad
Jan 21 2017 21:21 UTC
first line in profile.json, max_iob - is that max bolus?
Dana Lewis
@danamlewis
Jan 21 2017 21:22 UTC
no.
tynbendad
@tynbendad
Jan 21 2017 21:22 UTC
is profile.json documented somewhere? :)
Dana Lewis
@danamlewis
Jan 21 2017 21:22 UTC
max_iob is an openaps safety setting
you can leave it at 0, or any number - won’t matter for this purpose
Ali Mazaheri
@amazaheri
Jan 21 2017 21:22 UTC
so we go with two weeks?
Scott Leibrand
@scottleibrand
Jan 21 2017 21:22 UTC
there are only a few things in profile.json that matter for autotune
Dana Lewis
@danamlewis
Jan 21 2017 21:22 UTC
start w 1 day
then 1 week
tynbendad
@tynbendad
Jan 21 2017 21:22 UTC
ah, thx
Dana Lewis
@danamlewis
Jan 21 2017 21:22 UTC
hold your horses @amazaheri updating the docs on that ;)
Ali Mazaheri
@amazaheri
Jan 21 2017 21:22 UTC
lol
Scott Leibrand
@scottleibrand
Jan 21 2017 21:22 UTC
@amazaheri is #wearenotwaiting personified
Ali Mazaheri
@amazaheri
Jan 21 2017 21:23 UTC
I missed Linux and OpenAPS
Dana Lewis
@danamlewis
Jan 21 2017 21:23 UTC
:)
tynbendad
@tynbendad
Jan 21 2017 21:23 UTC
lol
Dana Lewis
@danamlewis
Jan 21 2017 21:25 UTC
I also added a note to that last section as a reminder about it currently being optimized for one isf/carb ratio currently, with a link to the issue for people to follow about the work to do multiples in the future.
RosyRed
@RosyRed
Jan 21 2017 21:27 UTC
made my account on Google Cloud
Dana Lewis
@danamlewis
Jan 21 2017 21:27 UTC
:+1:
@amazaheri how’s your output from 1 day look?
Ali Mazaheri
@amazaheri
Jan 21 2017 21:29 UTC
ok so on linux I was missing the openaps directory
Dana Lewis
@danamlewis
Jan 21 2017 21:30 UTC
Ali Mazaheri
@amazaheri
Jan 21 2017 21:30 UTC
copying OpenAps dir
tynbendad
@tynbendad
Jan 21 2017 21:31 UTC
@scottleibrand what are the things that matter for autotune? i changed currentbasal, basalprofile, maxdailybasal, max_basal, isf_profile[].sensitivity, and carb_ratio - not sure what the rest is...
Rachel.
@Racheezy__twitter
Jan 21 2017 21:31 UTC
Both my Nightscout COB pill and my openAPS pill say I have 115g COB after eating most of those carbs well over 3 hours ago. I have autotune on, I looked around in
Ali Mazaheri
@amazaheri
Jan 21 2017 21:32 UTC
cp: cannot stat 'settings/pumpprofile.json': No such file or directory cp: cannot stat 'settings/autotune.json': No such file or directory cp: cannot stat 'autotune/profile.pump.json': No such file or directory
Rachel.
@Racheezy__twitter
Jan 21 2017 21:33 UTC
Oops... I looked in preferences.json and profile.json and I think I'm understanding carb absorption with openAPS incorrectly. Is doesn't get pulled from NS?
Dana Lewis
@danamlewis
Jan 21 2017 21:33 UTC
@Racheezy__twitter correct, does not get pulled from NS. carb absorption comes from observing the behavior of BGs and calculating decay based on the amount of carbs you enter
if you still have a lot of COB left, your BG is probably been going down and not up after a meal when it was expecting a lot of rise from the carbs
tynbendad
@tynbendad
Jan 21 2017 21:34 UTC
for step4, do we remove the "<" and ">" from the parameters?
Ali Mazaheri
@amazaheri
Jan 21 2017 21:34 UTC
yes
tynbendad
@tynbendad
Jan 21 2017 21:35 UTC
and what should --dir=myopenaps_directory be?
Ali Mazaheri
@amazaheri
Jan 21 2017 21:35 UTC
that is ur existing opens folder
but on new linux
we need to copy the content
Aaron Michelson
@Aaybob
Jan 21 2017 21:36 UTC
@danamlewis "interested in Pancreabble". My dog just ran away :worried: and I couldn't stop the car that took him away :fire: Its a family in the nei8ghboorhood so he's okay but I'm not. And I've started garden landscape projects :clap: and I have to get the doctor to tell the medical examiner I'm okay to work...my fasting blood test was 101, out of 65 to 99 range and Invokana puts sugar in my urine with everything else normal :smile: . And somehow preferences.conf had iob:0 and was temp basaling a decrease while bg over 200 steady. Not as good a night as I'm getting used to. Man, I am healthier physically...
Ali Mazaheri
@amazaheri
Jan 21 2017 21:36 UTC
@scottleibrand so still a dependency on openaps dir?
Rachel.
@Racheezy__twitter
Jan 21 2017 21:36 UTC
@danamlewis That makes a lot of sense as I didn't have my usual post eating spike today. Thanks!
Ali Mazaheri
@amazaheri
Jan 21 2017 21:37 UTC
@tynbendad looks like code looks for certain OpenAPS son files
tynbendad
@tynbendad
Jan 21 2017 21:37 UTC
so, i create an empty directory for this? /usr/local/bin/oref0-autotune: line 115: cd: /home/tynbendad/src/oref0/myopenaps_directory: No such file or directory
Ali Mazaheri
@amazaheri
Jan 21 2017 21:37 UTC
alongside the profile.json
tynbendad
@tynbendad
Jan 21 2017 21:37 UTC
yeah, i'm getting similar errors to Ali's above
Ali Mazaheri
@amazaheri
Jan 21 2017 21:37 UTC
wait a bit, as for this exercise we expect folks not running openaps
tynbendad
@tynbendad
Jan 21 2017 21:38 UTC
ok, lunchtime
Rachel.
@Racheezy__twitter
Jan 21 2017 21:38 UTC
For some reason both of my
Dana Lewis
@danamlewis
Jan 21 2017 21:38 UTC
ok, so we need to do a few things @tynbendad @amazaheri
Ali Mazaheri
@amazaheri
Jan 21 2017 21:38 UTC
looks like the command work when u run it on openaps rig :)
Rachel.
@Racheezy__twitter
Jan 21 2017 21:38 UTC
Hi! So
Dana Lewis
@danamlewis
Jan 21 2017 21:38 UTC
1) yes we need to have a myopenaps directory. and a setting directory in that. so create both of those directories.
tynbendad
@tynbendad
Jan 21 2017 21:38 UTC
fwiw, aws still not ready - its definitely not for the #wearenotwaiting crowd
Dana Lewis
@danamlewis
Jan 21 2017 21:38 UTC
2) move profile.json into myopenaps/settings
3) ALSO create a pumpprofile.json to go in myopenaps/settings
Ali Mazaheri
@amazaheri
Jan 21 2017 21:39 UTC
save it as profile.pump.json ?
Dana Lewis
@danamlewis
Jan 21 2017 21:39 UTC
so you should have two files (profile.json and pumpprofile.json) inside a settings folder inside a myopenaps folder
(::goes back to the docs to add this stuff in::)
Ali Mazaheri
@amazaheri
Jan 21 2017 21:40 UTC
what is inside pump profile.json
tynbendad
@tynbendad
Jan 21 2017 21:40 UTC
tynbendad@instance-1:~/src/oref0$ mkdir myopenaps_directory
tynbendad@instance-1:~/src/oref0$ mkdir myopenaps_directory/settings
tynbendad@instance-1:~/src/oref0$ cp profile.json myopenaps_directory/settings/
tynbendad@instance-1:~/src/oref0$ cp profile.json myopenaps_directory/settings/pumpprofile.json
cp: cannot stat ‘settings/autotune.json’: No such file or directory
Ali Mazaheri
@amazaheri
Jan 21 2017 21:40 UTC
also code nags about autotune.json
tynbendad
@tynbendad
Jan 21 2017 21:40 UTC
Error: carb_ratio undefined out of bounds
Ali Mazaheri
@amazaheri
Jan 21 2017 21:41 UTC
and autotune/profile.pump.json
tynbendad
@tynbendad
Jan 21 2017 21:41 UTC
almost worked
/home/tynbendad/src/oref0/lib/autotune/index.js:14
var ISF = isfProfile.sensitivities[0].sensitivity;
^
TypeError: Cannot read property 'sensitivities' of undefined
Dana Lewis
@danamlewis
Jan 21 2017 21:41 UTC
hold on :)
Ali Mazaheri
@amazaheri
Jan 21 2017 21:42 UTC
lol
Dana Lewis
@danamlewis
Jan 21 2017 21:46 UTC
cp profile.json autotune.jsonto create the autotune file
Ali Mazaheri
@amazaheri
Jan 21 2017 21:46 UTC
yeah did it
its running
Ali Mazaheri
@amazaheri
Jan 21 2017 21:46 UTC
:+1:
Dana Lewis
@danamlewis
Jan 21 2017 21:47 UTC
one days worth? let us know how it looks :)
@tynbendad not sure if you went to lunch or not ;) but see above for cp same to autotune.json
and per confusion about < > and other stuff, took that out of the phase C directions for one-off, so hopefully that makes it more clear about how to run the autotune command line
@RosyRed did you start step 2? stuck anywhere?
Ali Mazaheri
@amazaheri
Jan 21 2017 21:49 UTC

``
p50deviation: -0.76 p50BGI -3.39 p50ratios: 1.269 Old ISF: 39 fullNewISF: 49.491 newISF: 40.049
totalMealCarbs: 20 totalDeviations: 172.55000000000004 fullNewCSF: 8.63 newCSF: 4.373

Autotune pump profile recommendations:

Recommendations Log File: /home/alimaz/openaps/autotune/autotune_recommendations.log

/usr/local/bin/oref0-autotune-recommends-report: line 43: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 44: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 45: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 46: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 47: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 50: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 51: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 52: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 53: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 54: jq: command not found
/usr/local/bin/oref0-autotune-recommends-report: line 62: [: !=: unary operator expected
``

Dana Lewis
@danamlewis
Jan 21 2017 21:50 UTC
need to install jq. openaps setup normally does this
Ali Mazaheri
@amazaheri
Jan 21 2017 21:51 UTC
it ran successfully but choked at the end trying to figure out why
Dana Lewis
@danamlewis
Jan 21 2017 21:51 UTC
jq
Scott Leibrand
@scottleibrand
Jan 21 2017 21:51 UTC
sudo apt-get install jq
Ali Mazaheri
@amazaheri
Jan 21 2017 21:52 UTC
Parameter      | Current  | Autotune 
-------------------------------------
ISF            | 39.000   | 40.049   
CSF            | n/a      | 4.373    
Carb Ratio     | 10.000   | 9.158    
Basal Profile  |          |          
  00:00        | 0.900    | 0.900    
  00:30        |          |          
  01:00        |          | 0.924    
  01:30        |          |          
  02:00        |          | 0.924    
  02:30        |          |          
  03:00        |          | 0.994    
  03:30        |          |          
  04:00        |          | 1.017    
  04:30        |          |          
  05:00        | 1.000    | 1.117    
  05:30        |          |          
  06:00        |          | 1.047    
  06:30        |          |          
  07:00        |          | 0.948    
  07:30        | 1.1500000000000001|          
  08:00        |          | 1.034    
  08:30        |          |          
  09:00        |          | 1.060    
  09:30        |          |          
  10:00        |          | 1.116    
  10:30        |          |          
  11:00        |          | 1.176    
  11:30        |          |          
  12:00        |          | 1.150    
  12:30        |          |          
  13:00        |          | 1.150    
  13:30        |          |          
  14:00        |          | 1.150    
  14:30        |          |          
  15:00        |          | 1.150    
  15:30        |          |          
  16:00        |          | 1.150    
  16:30        |          |          
  17:00        |          | 1.150    
  17:30        |          |          
  18:00        | 1.150    | 1.150    
  18:30        |          |          
  19:00        |          | 1.150    
  19:30        |          |          
  20:00        |          | 1.150    
  20:30        |          |          
  21:00        |          | 1.105    
  21:30        |          |          
  22:00        |          | 1.105    
  22:30        |          |          
  23:00        |          | 1.105    
  23:30        |          |          
alimaz@OpenAps:~/openaps$
jaylagorio
@jaylagorio
Jan 21 2017 21:52 UTC
What is a Dexcom G4 receiver supposed to come up as in the /dev/ directory?
Ali Mazaheri
@amazaheri
Jan 21 2017 21:52 UTC
:clap:
mariano42
@mariano42
Jan 21 2017 21:52 UTC
does anyone know how to wipe the Edison to start over? I am not sure what happened but my flash must have had an issue. I have no sudo command, no apt-get, not /etc/network directory. I downloaded a fresh copy of Jubilinux, but re-flashing it doesn't seem to do anything.
Dana Lewis
@danamlewis
Jan 21 2017 21:52 UTC
@amazaheri !!! :confetti_ball: :D
Ali Mazaheri
@amazaheri
Jan 21 2017 21:53 UTC
ok going for week
Scott Leibrand
@scottleibrand
Jan 21 2017 21:53 UTC
@jaylagorio not sure, but it should show in lsusb without a name...
Not sure it ever enumerates as a /dev/ device.
jaylagorio
@jaylagorio
Jan 21 2017 21:54 UTC
@scottleibrand I'm getting the dreaded -99 message with lsusb
Scott Leibrand
@scottleibrand
Jan 21 2017 21:54 UTC
Is this with an Explorer board?
jaylagorio
@jaylagorio
Jan 21 2017 21:54 UTC
I thought it was supposed to be /dev/ttyUSB0.Dexcom or something like that
Yes
Explorer board, USBOTG cable that has been working with external power applied
Scott Leibrand
@scottleibrand
Jan 21 2017 21:54 UTC
There is a hardware issue there that we're working on with Morgan the board designer.
jaylagorio
@jaylagorio
Jan 21 2017 21:55 UTC
What's the issue? I was able to get data via USB earlier today but now it stopped and I'm not sure what I did.
The receiver shows that it's plugged in and I double checked the cables for data vs. power-only
Ali Mazaheri
@amazaheri
Jan 21 2017 21:57 UTC
wow
Parameter      | Current  | Autotune 
-------------------------------------
ISF            | 39.000   | 55.642   
CSF            | n/a      | 3.083    
Carb Ratio     | 10.000   | 18.048   
Basal Profile  |          |          
  00:00        | 0.900    | 1.049    
  00:30        |          |          
  01:00        |          | 1.003    
  01:30        |          |          
  02:00        |          | 0.918    
  02:30        |          |          
  03:00        |          | 1.007    
  03:30        |          |          
  04:00        |          | 0.948    
  04:30        |          |          
  05:00        | 1.000    | 1.187    
  05:30        |          |          
  06:00        |          | 1.127    
  06:30        |          |          
  07:00        |          | 1.047    
  07:30        | 1.1500000000000001|          
  08:00        |          | 0.962    
  08:30        |          |          
  09:00        |          | 0.949    
  09:30        |          |          
  10:00        |          | 0.959    
  10:30        |          |          
  11:00        |          | 1.203    
  11:30        |          |          
  12:00        |          | 1.126    
  12:30        |          |          
  13:00        |          | 1.290    
  13:30        |          |          
  14:00        |          | 1.136    
  14:30        |          |          
  15:00        |          | 1.141    
  15:30        |          |          
  16:00        |          | 0.893    
  16:30        |          |          
  17:00        |          | 0.915    
  17:30        |          |          
  18:00        | 1.150    | 1.082    
  18:30        |          |          
  19:00        |          | 1.244    
  19:30        |          |          
  20:00        |          | 1.204    
  20:30        |          |          
  21:00        |          | 1.139    
  21:30        |          |          
  22:00        |          | 1.264    
  22:30        |          |          
  23:00        |          | 1.271    
  23:30        |          |
two weeks of data
RosyRed
@RosyRed
Jan 21 2017 21:58 UTC
step 0 done. Says : openaps 0.1.5
Dana Lewis
@danamlewis
Jan 21 2017 21:58 UTC
@amazaheri do you normally have >1 isf and carb ratio, or all the same for the day?
@RosyRed awesome!
RosyRed
@RosyRed
Jan 21 2017 21:58 UTC
Do Step 1 now?
Dana Lewis
@danamlewis
Jan 21 2017 21:59 UTC
@RosyRed yup!
Ali Mazaheri
@amazaheri
Jan 21 2017 21:59 UTC
couple
but its mind blowing
carb ratio and sesitivity
Dana Lewis
@danamlewis
Jan 21 2017 21:59 UTC
@amazaheri :)
Ali Mazaheri
@amazaheri
Jan 21 2017 21:59 UTC
ok putting it to test!
Dana Lewis
@danamlewis
Jan 21 2017 22:00 UTC
so will be better once we get it so it’ll work with multiple ISF and carb ratios - see the note linking to the issue if you have ideas for how to best address that w/ autotune
tynbendad
@tynbendad
Jan 21 2017 22:00 UTC
i needed to install jq also
and my profile.json got corrupted sometime before copying it, recreated it
@danamlewis between step3 and step4 you need to cd ../..
got one day results!
Dana Lewis
@danamlewis
Jan 21 2017 22:02 UTC
you shouldn’t need to since you specify the directory in the autotune line?
@tynbendad woot!! :)
tynbendad
@tynbendad
Jan 21 2017 22:02 UTC
oh, i guess you could put dir=../../myopenaps?
Dana Lewis
@danamlewis
Jan 21 2017 22:03 UTC
(make sure you refresh the docs page, I’ve been making lots of updates) https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-4/autotune.md
tynbendad
@tynbendad
Jan 21 2017 22:03 UTC
very intereseting result too, changed isf instead of basal... hmm, trying one week now
RosyRed
@RosyRed
Jan 21 2017 22:03 UTC
What would you like to call your loop directory? Anything here?
Dana Lewis
@danamlewis
Jan 21 2017 22:04 UTC
@RosyRed did you go on to step 2? you don’t do step 2 on the phase 2 page.
tynbendad
@tynbendad
Jan 21 2017 22:04 UTC
@danamlewis just refreshed again, earlier you added cd myopenaps/settings but not ../..
RosyRed
@RosyRed
Jan 21 2017 22:04 UTC
ah...
I think I did
Dana Lewis
@danamlewis
Jan 21 2017 22:04 UTC
@tynbendad forgot a ~/, fixing now
RosyRed
@RosyRed
Jan 21 2017 22:04 UTC
I did
tynbendad
@tynbendad
Jan 21 2017 22:04 UTC
ah
Dana Lewis
@danamlewis
Jan 21 2017 22:04 UTC
@RosyRed no worries. cancel out of it by control C
Aaron Michelson
@Aaybob
Jan 21 2017 22:04 UTC
I have all the advanced features running. I haven't had any lows but OpenAPS is acting like my goal is like 180. I've long used wizard for every bolus.
RosyRed
@RosyRed
Jan 21 2017 22:05 UTC
@danamlewis now what?
Dana Lewis
@danamlewis
Jan 21 2017 22:05 UTC
RosyRed
@RosyRed
Jan 21 2017 22:06 UTC
k
tynbendad
@tynbendad
Jan 21 2017 22:07 UTC
@danamlewis you should probably just copy the 2 lines from the phase2 page into the autotune page, its only 2 lines (assuming using the script)
Dana Lewis
@danamlewis
Jan 21 2017 22:07 UTC
@tynbendad i was just thinking about that
tynbendad
@tynbendad
Jan 21 2017 22:09 UTC
wow, a week takes a long time.. would it be faster if i didn't choose "micro" vCPU, or used my own virtualBox?
RosyRed
@RosyRed
Jan 21 2017 22:11 UTC
@danamlewis I'm at step 3 now. Not positive what to do?
Dana Lewis
@danamlewis
Jan 21 2017 22:11 UTC
@RosyRed great! so first, copy and paste that mkdir -p myopenaps/settings. (anytime you see that grey text, that’s what you want to copy and paste in)
Scott Leibrand
@scottleibrand
Jan 21 2017 22:12 UTC
@amazaheri or @tynbendad can you try this and see if it runs cleanly for you? oref0-setup --dir=~/test --serial=12345 --cgm=G4 --ns-host=https://mynightscout.azurewebsites.net --api-secret=myplaintextsecret --enable=autotune
tynbendad
@tynbendad
Jan 21 2017 22:13 UTC
i can after my current command finishes
Scott Leibrand
@scottleibrand
Jan 21 2017 22:14 UTC
or you can open a new ssh window and #doallthethingsatonce. :)
tynbendad
@tynbendad
Jan 21 2017 22:14 UTC
lol, #wishiknewhowtodothesethings
Dana Lewis
@danamlewis
Jan 21 2017 22:14 UTC
you’re learning the same way we did :)
tynbendad
@tynbendad
Jan 21 2017 22:14 UTC
it finished, what is CSF btw, and how can i use that for Loop?\
Scott Leibrand
@scottleibrand
Jan 21 2017 22:14 UTC
should just be able to re-do whatever you did to connect to your VM in a new window
Dana Lewis
@danamlewis
Jan 21 2017 22:14 UTC
CSF is a ratio of carbs to ISF - probably not useful for Loop
Scott Leibrand
@scottleibrand
Jan 21 2017 22:14 UTC
for your purposes, CSF is just used to calculate I:C ratio
Dana Lewis
@danamlewis
Jan 21 2017 22:14 UTC
carb ratio is more pertinent
tynbendad
@tynbendad
Jan 21 2017 22:15 UTC
ok, thx
running Scott's command...
weekly #'s are very interesting also
Dana Lewis
@danamlewis
Jan 21 2017 22:16 UTC
@tynbendad if you have multiple isf/carb ratios throughout the day, remember that’s going to influence what you see - autotune is running from the first value.
tynbendad
@tynbendad
Jan 21 2017 22:16 UTC
i just entered one value
@scottleibrand do i need to change cgm to g5 for g5?
Dana Lewis
@danamlewis
Jan 21 2017 22:16 UTC
ya, that’s fine - just saying the values will reflect that, so may be out of sync with your typical practices if IRL you use multiple throughout day
tynbendad
@tynbendad
Jan 21 2017 22:17 UTC
and what is serial#?
Ali Mazaheri
@amazaheri
Jan 21 2017 22:17 UTC
lol
Dana Lewis
@danamlewis
Jan 21 2017 22:17 UTC
@amazaheri btw, your tweet totally deserves a unicorn emoji ;)
Scott Leibrand
@scottleibrand
Jan 21 2017 22:18 UTC
@tynbendad don't worry about G4 and serial
those are dummy values, that would only matter if this were a real openaps rig
tynbendad
@tynbendad
Jan 21 2017 22:18 UTC
i didn't give it my apisecret
Scott Leibrand
@scottleibrand
Jan 21 2017 22:19 UTC
that might be fine
tynbendad
@tynbendad
Jan 21 2017 22:19 UTC
Attempting to communicate with pump:
pump://JSON/read_temp_basal/monitor/temp_basal.json
monitor/temp_basal.json raised [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 82, in <module>
Scott Leibrand
@scottleibrand
Jan 21 2017 22:19 UTC
I think autotune only needs read-only access
that's fine, no pump in the Google datacenter :)
tynbendad
@tynbendad
Jan 21 2017 22:19 UTC
it ended here:
OSError: [Errno 2] No such file or directory
Scott Leibrand
@scottleibrand
Jan 21 2017 22:19 UTC
ok, nevermind that then, I'll do a different approach
tynbendad
@tynbendad
Jan 21 2017 22:20 UTC
oh wait, its not done yet:
OSError: [Errno 2] No such file or directory
Scott Leibrand
@scottleibrand
Jan 21 2017 22:20 UTC
too much confusing output
tynbendad
@tynbendad
Jan 21 2017 22:20 UTC
Schedule openaps in cron? y/[N]
jaylagorio
@jaylagorio
Jan 21 2017 22:20 UTC
@scottleibrand I switched oref0 back to master but it looks like I'm still on openaps 0.2.0 dev. How do I switch that one back to master?
@tynbendad just say n
tynbendad
@tynbendad
Jan 21 2017 22:20 UTC
and its done :)
Scott Leibrand
@scottleibrand
Jan 21 2017 22:20 UTC
@jaylagorio you can try sudo pip install git+https://github.com/openaps/openaps.git@dev
Dana Lewis
@danamlewis
Jan 21 2017 22:20 UTC
@tynbendad thanks for being the guinea pig on that.
tynbendad
@tynbendad
Jan 21 2017 22:20 UTC
sure... what was it?
Scott Leibrand
@scottleibrand
Jan 21 2017 22:20 UTC
or cd ~/src/oref and git checkout devand npm run global-install
Dana Lewis
@danamlewis
Jan 21 2017 22:20 UTC
too confusing to do it that way, but I did go ahead and update the docs to bring steps 0 and 1 in to the docs to simplify things
jaylagorio
@jaylagorio
Jan 21 2017 22:21 UTC
@scottleibrand Except use @master?
Because I want to go from dev to master
Dana Lewis
@danamlewis
Jan 21 2017 22:21 UTC
@tynbendad it was seeing if we could make all of step 2 in the autotune docs as a single line command to run, vs the 4 bullet point steps
Scott Leibrand
@scottleibrand
Jan 21 2017 22:21 UTC
@jaylagorio oh, ok
jaylagorio
@jaylagorio
Jan 21 2017 22:21 UTC
Yeah, going the other way this time
Scott Leibrand
@scottleibrand
Jan 21 2017 22:22 UTC
you might need to pip uninstall oref0 first
but you can try it with @master first
jaylagorio
@jaylagorio
Jan 21 2017 22:22 UTC
Just did, now it's openaps 0.1.6 dev
Dana Lewis
@danamlewis
Jan 21 2017 22:22 UTC
@RosyRed how is step 3 going? need any clarification?
RosyRed
@RosyRed
Jan 21 2017 22:22 UTC
ya, lost
I'm on the third bullet and don't know what to do
Dana Lewis
@danamlewis
Jan 21 2017 22:23 UTC
ok. what you want to do is create a profile file. you’ll do nano profile.json to open the file. then we may need some input from @tynbendad to see his profile to see if the example is too messy and needs fixing
tynbendad
@tynbendad
Jan 21 2017 22:24 UTC
what does this mean: "Limiting ISF of 67.47 to 61.43 (which is pump ISF of 43 / 0.7 )"... do i need to convert that ISF back by multiplying by 0.7 for Loop use?
Dana Lewis
@danamlewis
Jan 21 2017 22:24 UTC
no
that’s a safety limit
RosyRed
@RosyRed
Jan 21 2017 22:24 UTC
@danamlewis I did that. Now I make changes to what is in there?
Dana Lewis
@danamlewis
Jan 21 2017 22:24 UTC
so it’s comparing to the pump isf and making sure it’s not more than 30% different, @tynbendad
I would NOT change anything on the pump beyond what it’s calculating - those safety caps are in there for a reason.
and you may not even want to change as much as it’s calculating, to start
Scott Leibrand
@scottleibrand
Jan 21 2017 22:25 UTC
@RosyRed yes, if you pasted in the example profile.json, you'll want to adjust it to match your settings
Dana Lewis
@danamlewis
Jan 21 2017 22:26 UTC
@RosyRed yes, you’ll want the profile.json to have your settings, so make sure it’s got your ISF, DIA, basal rates, etc.
tynbendad
@tynbendad
Jan 21 2017 22:26 UTC
hmm, my profile.json was overwritten again, with "{ "error": "Could not parse input data" }"
but autotune.json and pumpprofile.json are still ok
Scott Leibrand
@scottleibrand
Jan 21 2017 22:28 UTC
did you answer yes to scheduling stuff in cron in oref0-setup?
tynbendad
@tynbendad
Jan 21 2017 22:28 UTC
i copy/pasted the example and only changed these lines:
current_basal, basalprofile[].rate, max_daily_basal, max_basal, isfProfile.sensitivities[].sensitivity, and carb_ratio
@scottleibrand i answered N
Scott Leibrand
@scottleibrand
Jan 21 2017 22:29 UTC
something you're running is overwriting profile.json then. not sure if that would be autotune or something else
did you have an autotune run that failed?
tynbendad
@tynbendad
Jan 21 2017 22:30 UTC
yes, i can try again with a successful run
jaylagorio
@jaylagorio
Jan 21 2017 22:31 UTC
The G4 receiver shows that it's plugged in with the icon in the corner and the USB OTG cable is connected to the OTG port on the Edison. lsusb returns the -99 error and /dev/ttyACM0 doesn't show up on the Edison like it does on the Pi 2. Is there something else I can check to see why the receiver isn't being recognized? The OTG cable has worked before with openaps use cgm iter_glucose 1.
Scott Leibrand
@scottleibrand
Jan 21 2017 22:32 UTC
@jaylagorio those are the exact same symptoms as we see. I suspect you're seeing the same hardware issue.
RosyRed
@RosyRed
Jan 21 2017 22:32 UTC
@danamlewis - so I copy that code like into word or something and change it then paste it in?
@danamlewis I don't understand what goes here:"i": 0,
"start": "00:00:00",
"rate": 0.1,
"minutes": 0
Scott Leibrand
@scottleibrand
Jan 21 2017 22:33 UTC
@RosyRed nano is a command-line text editor, like Word except you can't use your mouse
jaylagorio
@jaylagorio
Jan 21 2017 22:33 UTC
...crap. Is this a hardware failure that's coming out after the boards are made or something?
RosyRed
@RosyRed
Jan 21 2017 22:33 UTC
@danamlewis sorry, hand holding part
Scott Leibrand
@scottleibrand
Jan 21 2017 22:33 UTC
@RosyRed you'll want to edit the file in nano. use your computer's arrow keys to get around
jaylagorio
@jaylagorio
Jan 21 2017 22:33 UTC
*hardware failure that's coming out over time after the boards are made ?
RosyRed
@RosyRed
Jan 21 2017 22:33 UTC
@scottleibrand ok, so change right in the nano page
Dana Lewis
@danamlewis
Jan 21 2017 22:33 UTC
@RosyRed no need to apologize - you’re helping us fix the most confusing part of the docs. trying to make a list of what needs to be changed in the example
Scott Leibrand
@scottleibrand
Jan 21 2017 22:34 UTC
@jaylagorio I don't think anything is failing after the fact. the boards are just unreliable as designed, due to some stuff the Edison does that doesn't match its documentation
Morgan is working on a fix for new boards, and will probably have a workaround you can do to fix existing boards, like via a trace cut or something, but we'll see
tynbendad
@tynbendad
Jan 21 2017 22:34 UTC
@danamlewis using --dir=~/myopenaps didn't work, since i had created it under src/oref0/...
RosyRed
@RosyRed
Jan 21 2017 22:34 UTC
@danyocom Glad I'm good for something! I can see how to move around but don't understand what to change espacially since Loop terms are slightly different.
Dana Lewis
@danamlewis
Jan 21 2017 22:34 UTC
@tynbendad can you paste your profile.json? or pm it to me if you prefer - want to see something
Scott Leibrand
@scottleibrand
Jan 21 2017 22:34 UTC
@tynbendad that's not a good place for the myopenaps directory. I would mv ~/src/oref0/myopenaps ~/myopenaps
jaylagorio
@jaylagorio
Jan 21 2017 22:35 UTC
That's a real shame. But thank you (and to @danamlewis ) for getting us this far.
tynbendad
@tynbendad
Jan 21 2017 22:35 UTC
step3 needs to cd to ~ if it should be there
Dana Lewis
@danamlewis
Jan 21 2017 22:35 UTC
@RosyRed yep - hold on for a second, want to see what to specifically change - so give me a few min and may be able to list specifically what to change.
jaylagorio
@jaylagorio
Jan 21 2017 22:35 UTC
Is there an issue somewhere I can watch where it's being discussed?
tynbendad
@tynbendad
Jan 21 2017 22:35 UTC
@danamlewis {
"max_iob": 4,
"type": "current",
"max_daily_safety_multiplier": 4,
"current_basal_safety_multiplier": 4,
"autosens_max": 1.2,
"autosens_min": 0.7,
"autosens_adjust_targets": true,
"override_high_target_with_low": false,
"bolussnooze_dia_divisor": 2,
"min_5m_carbimpact": 3,
"carbratio_adjustmentratio": 1,
"dia": 3,
"model": {},
"current_basal": 0.5,
"basalprofile": [
{
"i": 0,
"start": "00:00:00",
"rate": 0.5,
"minutes": 0
}
],
"max_daily_basal": 24,
"max_basal": 1.5,
"min_bg": 100,
"max_bg": 100,
"sens": 100,
"isfProfile": {
"units": "mg/dL",
"sensitivities": [
{
"i": 0,
"start": "00:00:00",
"sensitivity": 43,
"offset": 0,
"x": 0,
"endOffset": 1440
}
],
"first": 1
},
"carb_ratio": 14
}
Scott Leibrand
@scottleibrand
Jan 21 2017 22:36 UTC
@jaylagorio to date it's been me and Morgan in the same physical room. :)
jaylagorio
@jaylagorio
Jan 21 2017 22:36 UTC
BRB, booking a flight, haha!
Dana Lewis
@danamlewis
Jan 21 2017 22:37 UTC
thx @tynbendad
there’s “sens” twice, @tynbendad - need to change it in both places. the first one (main list) is still at 100 but the sub one you have it as 43
Scott Leibrand
@scottleibrand
Jan 21 2017 22:38 UTC
@jaylagorio lol. if you want to open an issue in the https://github.com/EnhancedRadioDevices/915MHzEdisonExplorer repo we can track it there
Dana Lewis
@danamlewis
Jan 21 2017 22:38 UTC
do come to seattle though, we’re a fun crowd :)
tynbendad
@tynbendad
Jan 21 2017 22:38 UTC
ah, ok - didn't know what "sens" was, "sensitivity" is more obvious
Dana Lewis
@danamlewis
Jan 21 2017 22:38 UTC
@tynbendad you can try by taking the first one out, and see what happens. clearly, the example needs to be cleaned up!
RosyRed
@RosyRed
Jan 21 2017 22:39 UTC
@danamlewis Ok, I'll wait until you message me with instructions.
jaylagorio
@jaylagorio
Jan 21 2017 22:39 UTC
@scottleibrand Will do! @danamlewis I'll keep that in mind next time I get sent out there!
Scott Leibrand
@scottleibrand
Jan 21 2017 22:40 UTC
:+1: if you give us enough warning, we could probably do an OpenAPS meetup while you're here. :)
Dana Lewis
@danamlewis
Jan 21 2017 22:41 UTC
@RosyRed I think what you need to change is 1) DIA 2) basal profile - put in your first basal rate ; 3) “sens” should be your ISF; 4) also add ISF for “sensitivity” 5) carb_ratio should be your carb ratio
tynbendad
@tynbendad
Jan 21 2017 22:41 UTC
@danamlewis took the "sens" out and it still completed/worked
Dana Lewis
@danamlewis
Jan 21 2017 22:41 UTC
try those, and that might be everything you need.
ok great! @tynbendad thanks. will pull it out of the example.
tynbendad
@tynbendad
Jan 21 2017 22:41 UTC
where is DIA?
oh, duh... i see it
Dana Lewis
@danamlewis
Jan 21 2017 22:41 UTC
before basal profile
:+1:
tynbendad
@tynbendad
Jan 21 2017 22:41 UTC
does autotune use it?
Scott Leibrand
@scottleibrand
Jan 21 2017 22:41 UTC
yes
Dana Lewis
@danamlewis
Jan 21 2017 22:42 UTC
@RosyRed try changing those, and if it works then I’ll update the docs with that info!
tynbendad
@tynbendad
Jan 21 2017 22:42 UTC
oops then i need to change that
Dana Lewis
@danamlewis
Jan 21 2017 22:42 UTC
ya, re-read that list
Scott Leibrand
@scottleibrand
Jan 21 2017 22:42 UTC
autotune doesn't try to tune DIA, but it needs to match what you use in your pump or in Loop or whatever
jaylagorio
@jaylagorio
Jan 21 2017 22:43 UTC
Sounds good to me!
Chris Oattes
@cjo20
Jan 21 2017 22:43 UTC
wow, copied my aps directory to one of my linux servers and ran autotune there. Soooooo much faster.
Scott Leibrand
@scottleibrand
Jan 21 2017 22:43 UTC
:+1:
Dana Lewis
@danamlewis
Jan 21 2017 22:44 UTC
@cjo20 nice :)
tynbendad
@tynbendad
Jan 21 2017 22:44 UTC
cool, i'll have to try it on ubuntu
Chris Oattes
@cjo20
Jan 21 2017 22:44 UTC
quad core intel i5 vs edison atom, no contest :P
RosyRed
@RosyRed
Jan 21 2017 22:45 UTC
@danamlewis Ok, changed. How do I make it run?
Scott Leibrand
@scottleibrand
Jan 21 2017 22:45 UTC
well, it can only use one core, but still :-)
Dana Lewis
@danamlewis
Jan 21 2017 22:45 UTC
now you need to copy that to become the pumpprofile.json - move on to the next bullet in step 3! @RosyRed
mariano42
@mariano42
Jan 21 2017 22:46 UTC
been flashing an Edison from a windows PC for over 40 minutes now. Doc says it will look like its stuck in a loop, but could it actually be stuck in a loop?
Scott Leibrand
@scottleibrand
Jan 21 2017 22:46 UTC
if anyone is seeing the weekly / monthly runs going considerably slower (per 5m) than the daily run, there is one optimization we could have someone make to the autotune code to pull a different treatments file for each day's run instead of trying to iterate over all of them every time
@mariano42 how many times has it run through the boot sequence on console?
Dana Lewis
@danamlewis
Jan 21 2017 22:48 UTC
@tynbendad I added some more notes about basal profile - look at the sub bullets and let me know if that language makes sense? https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-4/autotune.md#phase-c-futurecurrent-wip-running-autotune-more-easily-as-an-average-user
ditto @RosyRed , feedback welcome or PRs welcome
RosyRed
@RosyRed
Jan 21 2017 22:49 UTC

@danamlewis oref0-autotune --dir=~/myopenaps --ns-host=https://mynightscout.azurewebsites.net --start-date=YYYY-MM-DD

That goes in the nano page I'm on?

Dana Lewis
@danamlewis
Jan 21 2017 22:49 UTC
nope, that will go in the command line - so exit out of the nano page
RosyRed
@RosyRed
Jan 21 2017 22:49 UTC
after changing night scout and date?
k, add that to the instructions
Dana Lewis
@danamlewis
Jan 21 2017 22:49 UTC
but yes change nightscout to be your URL, and date (start with yesterday
k
Scott Leibrand
@scottleibrand
Jan 21 2017 22:49 UTC
ctrl-x to exit nano, and hit yes to save
Dana Lewis
@danamlewis
Jan 21 2017 22:50 UTC
@RosyRed before running that command line, though - did you do the cp’s?
RosyRed
@RosyRed
Jan 21 2017 22:50 UTC
cp's?
mariano42
@mariano42
Jan 21 2017 22:50 UTC
@scottleibrand i honestly have no clue.. its been running through that sequence just about the whole time for the last 45 mins
Dana Lewis
@danamlewis
Jan 21 2017 22:51 UTC
"* Create a pumpprofile.json that is the same as your settings.json: cp profile.json pumpprofile.json
  • Do a third file: cp profile.json autotune.json” (from the docs - don’t skip over those in step 3)
@RosyRed ^
RosyRed
@RosyRed
Jan 21 2017 22:51 UTC
I see what you mean. I think so. I just copied that into the nano
Dana Lewis
@danamlewis
Jan 21 2017 22:51 UTC
ok - those don’t go into nano, so i’ll update the docs to be more clear
tynbendad
@tynbendad
Jan 21 2017 22:51 UTC
fyi, autotune runs that fail overwrite profile.json with an error message. probably because i'm cd'd into the setting dir
Scott Leibrand
@scottleibrand
Jan 21 2017 22:51 UTC
@mariano42 which sequence?
@tynbendad what is causing the runs to fail?
tynbendad
@tynbendad
Jan 21 2017 22:52 UTC
bad command lines :). just trying to see why profile.json got overwritten
Scott Leibrand
@scottleibrand
Jan 21 2017 22:52 UTC
where you start shouldn't matter, if you have --dir=~/myopenaps on the command line
Dana Lewis
@danamlewis
Jan 21 2017 22:52 UTC
@RosyRed refresh your docs page, or click here: https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-4/autotune.md#phase-c-futurecurrent-wip-running-autotune-more-easily-as-an-average-user step 3 should be more clear now :+1: thanks to your input
mariano42
@mariano42
Jan 21 2017 22:52 UTC
blob
@ @scottleibrand
tynbendad
@tynbendad
Jan 21 2017 22:53 UTC
does profile.json matter or are autotune.json and pumpprfile.json the real ones?
Dana Lewis
@danamlewis
Jan 21 2017 22:53 UTC
it matters
Scott Leibrand
@scottleibrand
Jan 21 2017 22:53 UTC
@tynbendad but we could have you do cd ~/myopenaps/settings/ && cp pumpprofile.json profile.json before each run
tynbendad
@tynbendad
Jan 21 2017 22:54 UTC
yea, that'd be best for now
i make a lot of errors
Scott Leibrand
@scottleibrand
Jan 21 2017 22:54 UTC
if you don't cp over pumpprofile, each new run will make changes from the already-tuned profile.json
depending on what you're doing, you might or might not want that
RosyRed
@RosyRed
Jan 21 2017 22:54 UTC
@danamlewis So do I just start step 3 over following the new instructions?
Dana Lewis
@danamlewis
Jan 21 2017 22:55 UTC
@RosyRed I think you successfully created your profile file, but it sounds like you might have added the cp lines to it? I would just go into (nano again) your profile and delete those lines; exit out and save; then go do the cp lines from the command line
RosyRed
@RosyRed
Jan 21 2017 22:56 UTC
ok
tynbendad
@tynbendad
Jan 21 2017 22:56 UTC
@danamlewis step 2 had you cd to src/oref0, so you may have created your directory under that - step3 needs to use ~/ in the mkdir and cd...
Dana Lewis
@danamlewis
Jan 21 2017 22:57 UTC
@RosyRed - refresh your docs page again (https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-4/autotune.md#phase-c-futurecurrent-wip-running-autotune-more-easily-as-an-average-user), I just added letters to help make walking through Step 3 more easily. (Should see A, B, C, etc. at start of bullets)
tynbendad
@tynbendad
Jan 21 2017 22:57 UTC
that was for @RosyRed also
@danamlewis so current_basal, max_daily_basal, max_basal don't matter then?
Dana Lewis
@danamlewis
Jan 21 2017 22:57 UTC
@tynbendad you may be looking at older version? we updated step 2 since then
@tynbendad fixed though for the “if it doesn’t work” instructions now
tynbendad
@tynbendad
Jan 21 2017 22:58 UTC
oh, i was looking at the "If that doesn't work" part, didn't read close enough
Dana Lewis
@danamlewis
Jan 21 2017 22:58 UTC
no worries - just fixed that too :) thanks!
Scott Leibrand
@scottleibrand
Jan 21 2017 22:59 UTC
that part used to be the only way we had documented, before I added the pip stuff
not sure if anyone has tried the pip method yet
Dana Lewis
@danamlewis
Jan 21 2017 22:59 UTC
@tynbendad and correct, the max doesn’t matter for this, but do you want to test running without to see if we can scrap them?
tynbendad
@tynbendad
Jan 21 2017 22:59 UTC
can i just remove everything from profile.json except for the parts that matter?
Dana Lewis
@danamlewis
Jan 21 2017 23:00 UTC
hold on, let me check the list...
try taking everything out except for what I listed in the docs, and let’s see what happens? (maybe copy and paste a version to a text editor before you do this, so you can always paste back in easily)
tynbendad
@tynbendad
Jan 21 2017 23:01 UTC
ok, i cp'd a backup
Dana Lewis
@danamlewis
Jan 21 2017 23:01 UTC
I think there may be a few we need to add back in - but let’s try to see if it defaults as-is
(and if we end up w/ a streamlined one that’s much shorter, I’ll add it directly to the Phase C section of the docs - because for phase A, people do need the other stuff in there if they have an oref0 setup)
Ali Mazaheri
@amazaheri
Jan 21 2017 23:04 UTC
Doc looks great
Scott Leibrand
@scottleibrand
Jan 21 2017 23:04 UTC
I think if someone already has an openaps setup, they'll just be editing their real profile.json anyway, so if something is not required to run autotune, we can probably remove it from the example entirely
mariano42
@mariano42
Jan 21 2017 23:04 UTC
@scottleibrand starting over.. but can you tell me if that is the part that looks like its in a loop during the install? I have had a bunch of issues so far and had to delete basically all of my root directory in my first install because of a bad image that didn't have basic things like sudo, network folder, apt-get, etc. I am worried that I still have the Edison in a corrupt state which is stopping this from working
Scott Leibrand
@scottleibrand
Jan 21 2017 23:05 UTC
@mariano42 it won't start looking like it's in a loop until after you've successfully flash and it's booting up and starting services
@mariano42 you might need to "hit any key to stop boot" and then run do_flash manually or something. see the troubleshooting section
mariano42
@mariano42
Jan 21 2017 23:07 UTC
@scottleibrand yea, i tried that but unforunately it doesnt even recognize sudo as a command so I cant do those steps
Dana Lewis
@danamlewis
Jan 21 2017 23:07 UTC
@RosyRed how goes it? Need help?
RosyRed
@RosyRed
Jan 21 2017 23:07 UTC
Invaild date
I entered 2017-01-20
Dana Lewis
@danamlewis
Jan 21 2017 23:08 UTC
did you keep —start-date= in front of it?
RosyRed
@RosyRed
Jan 21 2017 23:08 UTC
yes
Scott Leibrand
@scottleibrand
Jan 21 2017 23:08 UTC
or try leaving the --start flag off entirely for the first run? it will default to yesterday
RosyRed
@RosyRed
Jan 21 2017 23:08 UTC
ok
tynbendad
@tynbendad
Jan 21 2017 23:08 UTC

@danamlewis Recommendations Log File: /home/tynbendad/myopenaps/autotune/autotune_recommendations.log

/usr/local/bin/oref0-autotune-recommends-report: line 65: printf: null: invalid number
/usr/local/bin/oref0-autotune-recommends-report: line 67: printf: null: invalid number

Parameter | Current | Autotune

ISF | 43.000 | -713.800
CSF | n/a | 0.000
Carb Ratio | 14.000 | 0.000
Basal Profile | |
00:00 | 0.500 | 0.509
00:30 | |
01:00 | | 0.500
01:30 | |

lol ISF
Scott Leibrand
@scottleibrand
Jan 21 2017 23:09 UTC
heh
Dana Lewis
@danamlewis
Jan 21 2017 23:09 UTC
wow.
show us what your file looked like for that?
tynbendad
@tynbendad
Jan 21 2017 23:09 UTC
clearly needs something i removed
Dana Lewis
@danamlewis
Jan 21 2017 23:09 UTC
might be easier to spot what to add back in
ya
tynbendad
@tynbendad
Jan 21 2017 23:09 UTC
{
"dia": 4.5,
"basalprofile": [
{
"i": 0,
"start": "00:00:00",
"rate": 0.5,
"minutes": 0
}
],
"isfProfile": {
"sensitivities": [
{
"i": 0,
"sensitivity": 43
}
]
},
"carb_ratio": 14
}
Dana Lewis
@danamlewis
Jan 21 2017 23:10 UTC
option a) add back in the time and other stuff from the sensitivities clause…or option b) add back in "min_5m_carbimpact": 3
those are my hunches
tynbendad
@tynbendad
Jan 21 2017 23:10 UTC
i'll start with (b)
RosyRed
@RosyRed
Jan 21 2017 23:10 UTC
@danamlewis it ran something but I'm not sure what
Dana Lewis
@danamlewis
Jan 21 2017 23:11 UTC
@RosyRed great! can you copy and paste - or screenshot - what you got?
@tynbendad also need "autosens_max": 1.2,
"autosens_min": 0.7,
tynbendad
@tynbendad
Jan 21 2017 23:11 UTC

(b) worked, but this is way different #'s than what i got before
Recommendations Log File: /home/tynbendad/myopenaps/autotune/autotune_recommendations.log

Parameter | Current | Autotune

ISF | 43.000 | 43.000
CSF | n/a | 3.020
Carb Ratio | 14.000 | 14.238
Basal Profile | |
00:00 | 0.500 | 0.509

also adding back in (a)
RosyRed
@RosyRed
Jan 21 2017 23:12 UTC

@danamlewis It is long. Here is part of it: :52:28 GMT+0000 (UTC) dev: 0.75 avgDelta: 3.50 csf
~/src/oref0/bin/oref0-autotune-core.js autotune.1.2017-01-20.json profile.js
on profile.pump.json > newprofile.1.2017-01-20.json
Could not parse input data: { [Error: ENOENT, no such file or directory 'pr
ofile.pump.json']
errno: 34,
code: 'ENOENT',
path: 'profile.pump.json',
syscall: 'open' }

Autotune pump profile recommendations:

Recommendations Log File: /home/g17thomptes/myopenaps/autotune/autotune_reco
mmendations.log
jq: /home/g17thomptes/myopenaps/autotune/profile.pump.json: No such file or
directory

Scott Leibrand
@scottleibrand
Jan 21 2017 23:12 UTC
Could not parse input data: { [Error: ENOENT, no such file or directory 'profile.pump.json'] is a problem we need to fix
tynbendad
@tynbendad
Jan 21 2017 23:13 UTC
(a) didn't help
Scott Leibrand
@scottleibrand
Jan 21 2017 23:13 UTC
@RosyRed try ls -la ~/myopenaps/settings for me?
@tynbendad I suspect it's (c) the autosens min max
RosyRed
@RosyRed
Jan 21 2017 23:14 UTC
@scottleibrand Huh?
@scottleibrand sorry!
Scott Leibrand
@scottleibrand
Jan 21 2017 23:14 UTC
@RosyRed try running that command and pasting the output
RosyRed
@RosyRed
Jan 21 2017 23:15 UTC
ok
Scott Leibrand
@scottleibrand
Jan 21 2017 23:15 UTC
it'll let me see if any of your input files are messed up or missing
RosyRed
@RosyRed
Jan 21 2017 23:15 UTC
No such file
Scott Leibrand
@scottleibrand
Jan 21 2017 23:15 UTC
apparently you didn't put your profile.json in the right place then
RosyRed
@RosyRed
Jan 21 2017 23:16 UTC
Ok, how do I fix?
Or where do I start over at?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:16 UTC
try this first: find ~/myopenaps/ -ls
that will show us where you did put it, assuming it's somewhere in ~/myopenaps
tynbendad
@tynbendad
Jan 21 2017 23:16 UTC

@scottleibrand (c) didn't help either... here's what i get with the full profile.json:

Parameter | Current | Autotune

ISF | 43.000 | 59.374
CSF | n/a | 3.116
Carb Ratio | 14.000 | 19.055
Basal Profile | |
00:00 | 0.500 | 0.494
00:30 | |
01:00 | | 0.500
01:30 | |

Scott Leibrand
@scottleibrand
Jan 21 2017 23:17 UTC
@tynbendad what's wrong with that?
RosyRed
@RosyRed
Jan 21 2017 23:17 UTC
same no file or director
tynbendad
@tynbendad
Jan 21 2017 23:17 UTC

@scottleibrand here's what i get with the stripped down profile.json
Recommendations Log File: /home/tynbendad/myopenaps/autotune/autotune_recommendations.log

Parameter | Current | Autotune

ISF | 43.000 | 43.000
CSF | n/a | 3.020
Carb Ratio | 14.000 | 14.238
Basal Profile | |
00:00 | 0.500 | 0.509
00:30 | |
01:00 | | 0.500
01:30 |

Scott Leibrand
@scottleibrand
Jan 21 2017 23:17 UTC
@RosyRed ok, one last try before we start over: find . | grep profile.json
@tynbendad are those two run on the same number of days' worth of data?
RosyRed
@RosyRed
Jan 21 2017 23:18 UTC
@scottleibrand g17thomptes@instance-1:~/src/oref0/myopenaps/settings/myopenaps/settings/myo
penaps/settings/myopenaps/settings$ find . | grep profile.json
./pumpprofile.json
./profile.json
g17thomptes@instance-1:~/src/oref0/myopenaps/settings/myopenaps/settings/myo
penaps/settings/myopenaps/settings$
I don't know how to copy very well
hopefully that works
Scott Leibrand
@scottleibrand
Jan 21 2017 23:18 UTC
that's fine
there are tricks with ``` to paste prettier, but no worries
so we need to go back and re-do the mkdir step that you missed
and then we can just cp those files into the right place
RosyRed
@RosyRed
Jan 21 2017 23:19 UTC
On the birght side one of my teens just looked in and was impressed with me. haha
Dana Lewis
@danamlewis
Jan 21 2017 23:19 UTC
:)
tynbendad
@tynbendad
Jan 21 2017 23:19 UTC
@scottleibrand yes same command line
RosyRed
@RosyRed
Jan 21 2017 23:19 UTC
ok, back to mkdir step
Scott Leibrand
@scottleibrand
Jan 21 2017 23:20 UTC
so you'll want to do steps A and B there in step 3
RosyRed
@RosyRed
Jan 21 2017 23:20 UTC
ok
Scott Leibrand
@scottleibrand
Jan 21 2017 23:20 UTC
and then instead of C, just do cp ~/profile.json ~/myopenaps/settings/
then you should be able to do D and E
or, you could just re-do C too if you're not sure you did it right
RosyRed
@RosyRed
Jan 21 2017 23:24 UTC
On basal profile do I need to put start time or leave 00
Dana Lewis
@danamlewis
Jan 21 2017 23:24 UTC
you can leave 00
Scott Leibrand
@scottleibrand
Jan 21 2017 23:25 UTC
before using its recommendations to change anything you'll probably want to come back and enter your full basal schedule, but for now we just want to get it running. :)
C-Ville
@C-Ville
Jan 21 2017 23:25 UTC
@danamlewis @scottleibrand I assume that you need to have very consistent meal entries over several weeks/months to use autotune?
RosyRed
@RosyRed
Jan 21 2017 23:25 UTC
I'm not seeing "sens" Did that change?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:26 UTC
@RosyRed correct, we took that out
Dana Lewis
@danamlewis
Jan 21 2017 23:26 UTC
@RosyRed I pulled that out because it’s not needed.
RosyRed
@RosyRed
Jan 21 2017 23:26 UTC
ok
Dana Lewis
@danamlewis
Jan 21 2017 23:26 UTC
Perks - and perils - of helping with the real-time figuring things out :) (= refresh often)
Scott Leibrand
@scottleibrand
Jan 21 2017 23:26 UTC
@C-Ville correct. If you don't enter meals, it will try to raise your basals at those times of day to compensate
you could still look at the overnight basal recommendations and probably even the ISF recommendations though
and if you have been putting some meals in but not all, maybe the I:C recommendations would be ok too
RosyRed
@RosyRed
Jan 21 2017 23:27 UTC
hit save - file name to write to - just leave as is?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:27 UTC
@C-Ville we haven't really tested that, so if you have data to do so, please do
@RosyRed yes, just hit enter there
RosyRed
@RosyRed
Jan 21 2017 23:28 UTC
ok, back to the first screen.
Do the last two bullets in step 3?
C-Ville
@C-Ville
Jan 21 2017 23:28 UTC
@scottleibrand I have been running with AMA and autosense at home mostly and did out of home looping with a fairly old setup not having autosense and AMA and therefore did not really enter meals at daytime but you are correct the overnite looping may be worth checking
Dana Lewis
@danamlewis
Jan 21 2017 23:29 UTC
@RosyRed yes do D and E in step 3
tynbendad
@tynbendad
Jan 21 2017 23:30 UTC
ok, here's the min profile.json that worked for me (with same result as full profile.json):
{
"min_5m_carbimpact": 3,
"dia": 4.5,
"basalprofile": [
{
"i": 0,
"start": "00:00:00",
"rate": 0.5,
"minutes": 0
}
],
"isfProfile": {
"sensitivities": [
{
"i": 0,
"start": "00:00:00",
"sensitivity": 43,
"offset": 0,
"x": 0,
"endOffset": 1440
}
]
},
"carb_ratio": 14
}
Dana Lewis
@danamlewis
Jan 21 2017 23:30 UTC
@tynbendad ok great, thanks! I’ll add that simple example back in.
tynbendad
@tynbendad
Jan 21 2017 23:31 UTC
what is "min_5M_carbimpact"?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:31 UTC
that tells autotune how fast to decay carbs when your BG isn't rising
tynbendad
@tynbendad
Jan 21 2017 23:32 UTC
so 3 carbs per 5M, or 36/hr?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:32 UTC
the default value means to assume 3mg/dL per 5m of carb absorption, even when your BG is falling or rising less than that
tynbendad
@tynbendad
Jan 21 2017 23:32 UTC
oh
Scott Leibrand
@scottleibrand
Jan 21 2017 23:32 UTC
it's not 3g carbs, it's 3mg/dL
RosyRed
@RosyRed
Jan 21 2017 23:32 UTC
Sorry guys, it looks like I got the same result. I must be missing something
Scott Leibrand
@scottleibrand
Jan 21 2017 23:32 UTC
@rosyred try those commands I had you run earlier to make sure the files got into the right places this time?
RosyRed
@RosyRed
Jan 21 2017 23:32 UTC
ok
Scott Leibrand
@scottleibrand
Jan 21 2017 23:33 UTC
@tynbendad so 36 mg/dL per hour would be 12 g/hour if your CSF is 3 mg/dL per gram (i.e. for an ISF of 42 and I:C of 14)
RosyRed
@RosyRed
Jan 21 2017 23:34 UTC
@scottleibrand g17thomptes@instance-1:~/src/oref0/myopenaps/settings/myopenaps/settings/myo
penaps/settings/myopenaps/settings/myopenaps/settings/myopenaps/settings$ ls
-la ~/myopenaps/settings
ls: cannot access /home/g17thomptes/myopenaps/settings: No such file or dire
ctory
g17thomptes@instance-1:~/src/oref0/myopenaps/settings/myopenaps/settings/myo
penaps/settings/myopenaps/settings/myopenaps/settings/myopenaps/settings$
Scott Leibrand
@scottleibrand
Jan 21 2017 23:34 UTC
do steps 3A and 3B again and paste the output this time?
RosyRed
@RosyRed
Jan 21 2017 23:34 UTC
ok
tynbendad
@tynbendad
Jan 21 2017 23:34 UTC
thanks for the explanation @scottleibrand ! now i get CSF also :)
Scott Leibrand
@scottleibrand
Jan 21 2017 23:35 UTC
@tynbendad if you'd like to PR in an explanation of CSF, I'm sure that would help lots of others
RosyRed
@RosyRed
Jan 21 2017 23:35 UTC
g17thomptes@instance-1:~/src/oref0/myopenaps/settings/myopenaps/settings/myo
penaps/settings/myopenaps/settings/myopenaps/settings/myopenaps/settings$
tynbendad
@tynbendad
Jan 21 2017 23:35 UTC
how do i PR?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:35 UTC
@RosyRed lol ok. you got a lot of subdirectories there somehow! :)
Scott Leibrand
@scottleibrand
Jan 21 2017 23:36 UTC
@RosyRed let's do a cd first to get back to your home dir
RosyRed
@RosyRed
Jan 21 2017 23:36 UTC
I see that.
Scott Leibrand
@scottleibrand
Jan 21 2017 23:36 UTC
we're fixing 3A and 3B to avoid that in the future
RosyRed
@RosyRed
Jan 21 2017 23:37 UTC
you have to tell me how to get to my dir...
Scott Leibrand
@scottleibrand
Jan 21 2017 23:37 UTC
just type cd and hit enter
RosyRed
@RosyRed
Jan 21 2017 23:38 UTC
@danamlewis fixed as in I should use the new instructions?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:38 UTC
@RosyRed and then let's do all of step 3 again to make sure it's correct now
yes, just refresh your page and do the (updated) step 3
Dana Lewis
@danamlewis
Jan 21 2017 23:38 UTC
@RosyRed keep doing what @scottleibrand is suggesting, but you may want to refresh that page so we’re all looking at same thing :)
RosyRed
@RosyRed
Jan 21 2017 23:38 UTC
@danamlewis ok
@scottleibrand This is what I see: autotune.1.2017-01-20.json ns-entries.2017-01-20.json
autotune.2017-01-21-233113.log ns-treatments.json
autotune.json profile.1.2017-01-20.json
myopenaps profile.json
newprofile.1.2017-01-20.json pumpprofile.json
g17thomptes@instance-1:~/src/oref0/myopenaps/settings/myopenaps/settings/myo
penaps/settings/myopenaps/settings/myopenaps/settings/myopenaps/settings$
Scott Leibrand
@scottleibrand
Jan 21 2017 23:39 UTC
@RosyRed yeah, I see why you got that. so if you do cd it should change back to g17thomptes@instance-1:~/$
and then you can re-run step 3 from there
RosyRed
@RosyRed
Jan 21 2017 23:40 UTC
just type cd and start at 3 with new instructions
Scott Leibrand
@scottleibrand
Jan 21 2017 23:40 UTC
yes
ahanuban
@ahanuban
Jan 21 2017 23:40 UTC
sorry to butt in, I'm trying to configure my edison with explorer board and am stuck with wlan0 config issues. afaict I configured /etc/network/interfaces and wpa_supplicant.conf correctly. Can anyone help?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:40 UTC
@ahanuban what are the symptoms?
RosyRed
@RosyRed
Jan 21 2017 23:40 UTC
I feel like an idiot. Thanks so much guys
Dana Lewis
@danamlewis
Jan 21 2017 23:41 UTC
@ahanuban that’s what this channel is for :)
@RosyRed nope! you’re helping us write directions, this is great!
ahanuban
@ahanuban
Jan 21 2017 23:41 UTC
ifup wlan0 gives the following error:
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0.
Scott Leibrand
@scottleibrand
Jan 21 2017 23:41 UTC
@RosyRed you were just doing what we told you. thanks for helping us catch the things that are too easy for us to miss. :)
@ahanuban probably a syntax error in the wpa_supplicant.conf file then
usually that is due to curly apostrophes in the wifi network names
make sure that you have " around all of them to start with
ahanuban
@ahanuban
Jan 21 2017 23:42 UTC
@scottleibrand I have " where they belong, one of my ssids has underscores
Scott Leibrand
@scottleibrand
Jan 21 2017 23:43 UTC
@ahanuban want to paste your wpa_supplicant.conf with passwords redacted?
RosyRed
@RosyRed
Jan 21 2017 23:43 UTC
on basal profile I'm changing rate - correct?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:43 UTC
correct
ahanuban
@ahanuban
Jan 21 2017 23:43 UTC

@scottleibrand

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="FBI_Surveillance_HQ"
psk="PASSWORDHERE"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN

Scott Leibrand
@scottleibrand
Jan 21 2017 23:43 UTC
is there a } at the end?
ahanuban
@ahanuban
Jan 21 2017 23:43 UTC
yes sorry I left that off
Scott Leibrand
@scottleibrand
Jan 21 2017 23:44 UTC
try removing everything except the ssid and psk lines from the network={} stanza
ahanuban
@ahanuban
Jan 21 2017 23:44 UTC
I did that, no luck
ifconfig -a brings up wlan0 with HWaddr 00:00:00:00:00:00 which certainly doesn't seem right
Scott Leibrand
@scottleibrand
Jan 21 2017 23:45 UTC
mine has a update_config=1 on the 2nd line, dunno if that matters
ahanuban
@ahanuban
Jan 21 2017 23:45 UTC
I tried it with that, too, didn't help
Scott Leibrand
@scottleibrand
Jan 21 2017 23:45 UTC
k, want to paste /etc/network/interfaces too?
RosyRed
@RosyRed
Jan 21 2017 23:45 UTC
On D. is that two entries or one? Hard to tell since the line breaks there for us who don't know what it means.
Scott Leibrand
@scottleibrand
Jan 21 2017 23:46 UTC
@RosyRed cp profile.json pumpprofile.json is the command
you can copy and paste things like that straight from the docs, and it will put line breaks if they're required, or not if not (as in this case)
ahanuban
@ahanuban
Jan 21 2017 23:46 UTC

@scottleibrand

auto lo
iface lo inet loopback

auto usb0
iface usb0 inet static
address 192.168.2.15
netmask 255.255.255.0

auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

everything below that is commented out
Scott Leibrand
@scottleibrand
Jan 21 2017 23:47 UTC
@ahanuban that all looks correct, not sure
ahanuban
@ahanuban
Jan 21 2017 23:47 UTC
my suspicion with the "0" mac address is hardware issue or improperly configured firmware...?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:47 UTC
I would save those files somewhere else and start over in case there's a stray character messing you up that we can' t see with human eyes
RosyRed
@RosyRed
Jan 21 2017 23:47 UTC
@scottleibrand g17thomptes@instance-1:~/myopenaps/settings$ cp profile.json autotune.j
sonoref0-autotune --dir=~/myopenaps --ns-host=https://t1djess.azurewebs
ites.net
cp: unrecognized option '--dir=~/myopenaps'
Try 'cp --help' for more information.
g17thomptes@instance-1:~/myopenaps/settings$
Scott Leibrand
@scottleibrand
Jan 21 2017 23:48 UTC
yeah, the mac address is suspicious
@RosyRed you strung together two different commands there
ahanuban
@ahanuban
Jan 21 2017 23:48 UTC
@scottleibrand alright-- I tried checking everything for unintentional spaces or invalid characters and I am 99.999% sure it's all correct so I'm extremely confused
should I begin with re-flashing?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:48 UTC
@ahanuban wouldn't hurt, if you're out of other ideas
ahanuban
@ahanuban
Jan 21 2017 23:49 UTC
@scottleibrand ok thanks, one more question for you-- heard about an option to transmit xDrip+ data direct to edison via BLE, what was that referring to? I'm using G5 direct to xDrip+ and would prefer not to have to use a receiver or always have data connection to nightscout.
Dana Lewis
@danamlewis
Jan 21 2017 23:50 UTC
@ahanuban you can pester @ceben80 for info, and then help him get that into the docs :D
RosyRed
@RosyRed
Jan 21 2017 23:50 UTC
Sucess!!!!!
Dana Lewis
@danamlewis
Jan 21 2017 23:50 UTC
@RosyRed yea!!!! :confetti_ball:
RosyRed
@RosyRed
Jan 21 2017 23:51 UTC
So how do I add more than 1 basal and carb ratio and ISF?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:51 UTC
@ahanuban that option is in the dev branch of oref0
RosyRed
@RosyRed
Jan 21 2017 23:51 UTC
talk about complicating things, huh
Dana Lewis
@danamlewis
Jan 21 2017 23:51 UTC
@RosyRed nah
Scott Leibrand
@scottleibrand
Jan 21 2017 23:51 UTC
more than 1 basal is supported (required, really, to get accurate adjustments), but not multiple ISF or carb ratios yet
RosyRed
@RosyRed
Jan 21 2017 23:52 UTC
ok, should I add our other basals now?
Scott Leibrand
@scottleibrand
Jan 21 2017 23:52 UTC
yeah
RosyRed
@RosyRed
Jan 21 2017 23:52 UTC
Instructions please
Scott Leibrand
@scottleibrand
Jan 21 2017 23:53 UTC
use nano to edit the profile.json again as in step 3C

copy and paste:

{
"i": 0,
"start": "00:00:00",
"sensitivity": 43,
"offset": 0,
"x": 0,
"endOffset": 1440
},

on the line immediately after "sensitivities": [

ahanuban
@ahanuban
Jan 21 2017 23:55 UTC
@scottleibrand thanks.. where in oref0-dev would I find it?
RosyRed
@RosyRed
Jan 21 2017 23:55 UTC
sorry, I don't know how to edit. Just use arrows to go find it in nano?
Boris and Kayley Raskin
@boryanvbu
Jan 21 2017 23:56 UTC

@scottleibrand @danamlewis Hey guys, anyone seen this error before. Any idea what it could be? Corrupt Git repository maybe? ·Starting pump-loop at Sat Jan 21 18:12:24 EST 2017:
pump://JSON/read_temp_basal/monitor/temp_basal.json
reporting monitor/temp_basal.json
Old pumphistory: Refreshed pumphistory

/usr/local/lib/node_modules/oref0/node_modules/yargs/node_modules/yargs-parser/index.js:475
function applyDefqultsAndAliases (obj,
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/oref0/node_modules/yargs/yargs.js:5:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
determine-basal://text/shell/enact/suggested.json
reporting enact/suggested.json
{"bg":94,"temp":"absolute","snoozeBG":95,"recieved":true,"predBGs":{"IOB":[94,91,89,86,85,84,83,83,83,83,84,85,87,88,90,91,93,94,96,97,98,99,100,101,102,102,103,104,104,104,105,105,105,105,106]},"rate":0,"reason":"COB: 0, Dev: -22, BGI: 0.46, ISF: 28, Target: 111; Eventual BG 95 < 107, setting -1.25U/hr","COB":0,"eventualBG":95,"timestamp":"2017-01-20T13:41:04.527890","duration":30,"tick":-2,"IOB":-0.832}
Old pumphistory-24h refresh
---------------------------------·

Scott Leibrand
@scottleibrand
Jan 21 2017 23:57 UTC
@boryanvbu that looks like actual corruption in the source code maybe?
applyDefqultsAndAliases was probably called applyDefaultsAndAliases originally
you might need to re-install things to fix
@ahanuban if you checkout the dev branch of oref0 and run oref0-setup it should give you xdrip as an option
@RosyRed let me work up an example profile.json with multiple basal schedules
ahanuban
@ahanuban
Jan 21 2017 23:58 UTC
@scottleibrand oh I see.. great thanks