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

11th
Dec 2017
Dana Lewis
@danamlewis
Dec 11 2017 00:09
Pushover is not the same thing as x12. Pushover is about alerts. X12 is asking if you have a 512 or 712 pump model, which you don't
alternateal
@alternateal
Dec 11 2017 00:15
not sure if it is an issue or not - had a slightly frustrating day trying to get dev branch working, I kept getting various errors around the same issue that meant pump-loop wouldn't complete successfully, switched to master and it works straight away. Anyway, extract from pump-loop-log below just in case it helps:
Preflight OK. Profile less than 60m old; Profile valid. Refreshed pumphistoryWarning: could not parse monitor/glucose.json
/root/src/oref0/lib/determine-basal/cob.js:8
    glucose_data = inputs.glucose_data.map(function prepGlucose (obj) {
                                      ^

TypeError: Cannot read property 'map' of undefined
    at detectCarbAbsorption (/root/src/oref0/lib/determine-basal/cob.js:8:39)
    at recentCarbs (/root/src/oref0/lib/meal/total.js:94:13)
    at generate (/root/src/oref0/lib/meal/index.js:20:19)
    at Object.<anonymous> (/root/src/oref0/bin/oref0-meal.js:97:23)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
Warning: could not parse monitor/glucose.json
/root/src/oref0/lib/determine-basal/cob.js:8
    glucose_data = inputs.glucose_data.map(function prepGlucose (obj) {
                                      ^

TypeError: Cannot read property 'map' of undefined
    at detectCarbAbsorption (/root/src/oref0/lib/determine-basal/cob.js:8:39)
    at recentCarbs (/root/src/oref0/lib/meal/total.js:94:13)
    at generate (/root/src/oref0/lib/meal/index.js:20:19)
    at Object.<anonymous> (/root/src/oref0/bin/oref0-meal.js:97:23)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
Couldn't refresh_pumphistory_and_meal
On the plus side - test site and spare pump now running in offline mode along with second g5 in my arm using xdrip-js-logger. Still need to get calibration sorted but it looks pretty close to prime g5.
annarosepasternak
@annarosepasternak
Dec 11 2017 00:38

@danamlewis
Do you have a 512 or 712 model pump? y/[N] n
You're using a different model pump. Got it.
What kind of CGM would you like to configure for offline use? Options are:
G4-upload: will use and upload BGs from a plugged in G4 receiver to Nightscout
G4-local-only: will use BGs from a plugged in G4, but will not upload them
G5: will use BGs from a plugged in G5, but will not upload them (the G5 app usually does that)
G5-upload: will use and upload BGs from a plugged in G5 receiver to Nightscout
MDT: will use and upload BGs from an Enlite sensor paired to your pump
xdrip: will work with an xDrip receiver app on your Android phone
Note: no matter which option you choose, CGM data will also be downloaded from NS when available.

What kind of CGM would you like to configure?: xdrip
Ok, xdrip it is.

Are you using an Explorer Board? y/[N] y
Ok, yay for Explorer Board!

Medtronic pumps come in two types: WW (Worldwide) pumps, and NA (North America) pumps.
Confusingly, North America pumps may also be used outside of North America.

USA pumps have a serial number / model number that has 'NA' in it.
Non-USA pumps have a serial number / model number that 'WW' in it.

When using MMeowlink, we need to know which frequency we should use:
Are you using a USA/North American pump? If so, just hit enter. Otherwise enter WW:
WW
Ok, If you have a TI USB stick and a WW pump and a Raspberry PI, you might want to reset the USB subsystem if it can't be found during a mmtune process. If so, enter Y. Otherwise just hit enter (default no):

Do you want to reset the USB system in case the TI USB stick can't be found during a mmtune proces?
WW it is

What is your Nightscout site? (i.e. https://mynightscout.herokuapp.com)? XXXXXXXXXXXXXXXXXXX
Ok, XXXXXXXXXXXXXXXXXXXit is.

Starting with oref 0.5.0 you can use token based authentication to Nightscout. This makes it possible to deny anonymous access to your Nightscout instance. It's more secure than using your API_SECRET, but must first be configured in Nightscout.
Do you want to use token based authentication? y/[N] y
What Nightscout access token (i.e. subjectname-hashof16characters) do you want to use for this rig? XXXXXXXXXXXXXXXXXXX
Ok, token=XXXXXXXXXXXXXXXXXXX it is.

Do you want to be able to set up BT tethering? y/[N] y
What is your phone's BT MAC address (i.e. AA:BB:CC:DD:EE:FF)? XXXXXXXXXXXXXXXXXXX

Ok, XXXXXXXXXXXXXXXXXXX it is. You will need to follow directions in docs to set-up BT tether after your rig is successfully looping.

What value would you like to set for your max_IOB? Context: max_IOB is a safety setting

It limits how much insulin OpenAPS can give you in addition to your manual boluses and pre-set basal rates.

max_IOB of 0 will make it so OpenAPS cannot provide positive IOB, and will function as "low glucose suspend" type mode.

If you are unsure of what you would like max_IOB to be, we recommend starting with either 0 or one hour worth of basals.

Read the docs for more tips on how to determine a max_IOB that is right for you. (You can come back and change this easily later).

Type a whole number (without a decimal) [i.e. 0] and hit enter: 3
Ok, 3 units will be set as your max_iob.

Enable automatic sensitivity adjustment? [Y]/n y
Ok, autosens will be enabled.

Enable autotuning of basals and ratios? [Y]/n y
Ok, autotune will be enabled. It will run around 4am.

Do you want to enable carbsReq Pushover alerts? y/[N] n
Ok, no Pushover for you.

annarosepasternak
@annarosepasternak
Dec 11 2017 01:11
@danamlewis - after a few hours, it looks as though it is now looping. Unsure what was resolved or why it took so long, but thank you for being so responsive before and if I will let you know if i run into additional troubles. Best,
Anna
Dana Lewis
@danamlewis
Dec 11 2017 01:41
:+1:
glenrob1940
@glenrob1940
Dec 11 2017 02:36
error 299 with cgm monitor in git-hub. Can automatically merge and don't know what to do (apparently issue is with a json file). How does one just completely kill a respository in git-hub and then clone the latest (assuming the latest won't have issues)
that should have said "can't automatically merge"
Dana Lewis
@danamlewis
Dec 11 2017 02:36
you can delete your fork and re-fork... it's probably the same package.json issue based on node, and katie's done approximately 4,518 PRs for people on it
so you may be able to go view one of her PR's and recreate the change, too, if you don't want to delete your repo and re-do
glenrob1940
@glenrob1940
Dec 11 2017 02:38
Okay I'll look at the PR's first and see if I can do it that way
Dana Lewis
@danamlewis
Dec 11 2017 02:41
it also looks like you did some PRs in the wrong direction
so try swapping the directions and see if you can merge on your side, and that might fix it, too
glenrob1940
@glenrob1940
Dec 11 2017 02:42
Okay, though I'm tempted to take the easy route and just delete and re-fork
Dana Lewis
@danamlewis
Dec 11 2017 02:42
if you don't have anything custom on your side, that's probably fine
glenrob1940
@glenrob1940
Dec 11 2017 02:43
I don't have anything custom, least not that I remember doing
Dana Lewis
@danamlewis
Dec 11 2017 02:44
should be fine then
Thacher
@thacherT1D
Dec 11 2017 03:28
I've updated nightscout, re-deployed, rebooted, OpenAPS status still isn't showing up on NS... next troubleshooting advice?
Brian Cadre
@DrCadre_twitter
Dec 11 2017 03:30
All: I just wanted to thank you all (especially @jdunn42, @danamlewis, and @scottleibrand) for helping me get my first rig up and running. You’re all a very wonderful group of people and I have no doubt I’ll be hitting you up for advice in the near future. I only hope that some day I can contribute as well. I think I’m ready to begin looping!
Dana Lewis
@danamlewis
Dec 11 2017 03:35
@thacherT1D heroku or azure?
philipgo
@philipgo
Dec 11 2017 04:13
@thacherT1D Could your database be full?
DaisyHK
@laurathiessen
Dec 11 2017 06:29
question about upgradeing to Dev branch, I wanted to update (as i thought it hadnt worked) but my rig says its on the dev branach but then it also says it is running the oref0.5.5,I thoght dev was 0.6.0? so confused :(
image.png
Dana Lewis
@danamlewis
Dec 11 2017 13:53
@laurathiessen master is 0.6.0 - we released a while back. No need to be on dev right now
cameronrenwick
@cameronrenwick
Dec 11 2017 15:33
@scottleibrand hi Scott.. thanks for the clarification re: rig goes down .. temp run to completion. That makes perfect sense... and I don't believe it should be any other way really.
ejoe132
@ejoe132
Dec 11 2017 15:44
Was having problems with overheating on Saturday and rig stopped working, didn't get a chance to look at it til work this morning, last entry in the logs was from Saturday and is numerous "rig is too hot..." tried rebooting but log is not continuing, Any tips?
RedCyclist1
@RedCyclist1
Dec 11 2017 17:09
I have put off going to 6.0 because I am not understanding the impact of removing bolus snooze. I am one of those who still enter carbs for meals into pump, because my BS still spike after eating. I eat high carb for training. It sounds like with 6.0 that I should create IFTTT buttons and only use those. Which we tried with dev but never got them to work. I also liked in current version my exercise buttons that are designed to maintain a higher BS. Sounds like with 6.0, I will need to determine what % reduction of basal I will need instead of target. Is that correct?
Dana Lewis
@danamlewis
Dec 11 2017 17:10
you can use the bolus wizard, but it will disable SMB's for 6 hours after the bolus wizard event unless you explicitly turn on the preference and acknowledge you're more likely to get A52 errors.
you won't notice the impact of bolus snooze being gone
RedCyclist1
@RedCyclist1
Dec 11 2017 17:12
@danamlewis gotcha
@danamlewis HOw many carb buttons do you use, basic 5, 10 or 20?
Dana Lewis
@danamlewis
Dec 11 2017 17:16
I previously had 8, 15, 30, 60 on my watch and phone. You might want to check out Workflow, which allows you to enter custom carb amounts from your phone: http://openaps.readthedocs.io/en/latest/docs/Customize-Iterate/ifttt-integration.html#workflow-to-custom-enter-carbs-and-temp-targets-from-today-widget-on-iphone
some people have 20+ buttons. whatever you prefer to do.
Thacher
@thacherT1D
Dec 11 2017 17:58
@danamlewis heroku -- @drnoname82 thanks -- just checked that, need to follow up with mLab as it won't seem to compress on it's own... thanks for the suggestion :)
cameronrenwick
@cameronrenwick
Dec 11 2017 18:07
@thacherT1D if you data's full...don't forget to donate it! Just like giving blood... only a whole lot better...
kallnap
@kallnap
Dec 11 2017 18:08
@scottleibrand @danamlewis what are your next projects for dev or are you almost finished with algo perks for now?
Scott Leibrand
@scottleibrand
Dec 11 2017 18:38
I think we're at a good place with the core algo for now. working on stuff like @cduarte's local display webpage we just merged to dev, and probably some autotune stuff soon.
Dave Acklam
@dcacklam
Dec 11 2017 18:45
@scottleibrand @danamlewis
Question for you guys:
As I find time to poke around in decocare with the command codes & such...
What specific functions (that presently do not work) are needed before you folks would consider the x12 series safe to test for SMB?
I acknowledge that I haven't been privvy to any of the past work & don't know how much effort has been put into this, or if it's even worth bothering with... But so far 2 of the 3 things I've tried to fix (status & mmtune) have turned out to be fixable by changing the command-code (the 3rd, bg_targets_raw, still errors out with an array-OOB)...
(Looking at this as a where-to-go-next, when I have the time to tinker with it, now that the command-code stuff allows me to run a more-or-less unmodified oref0)
Scott Leibrand
@scottleibrand
Dec 11 2017 18:48
at the very least, SMB needs to be able to tell if the pump is bolusing with a status check, and be able to check reservoir volume. more practically, we need to be able to move x12s away the old_main() function and use the same main() as all other pumps
Dave Acklam
@dcacklam
Dec 11 2017 18:49
@scottleibrand
Ok. I have the status fix already nailed down, it's a different command code for the x11/x12 than for the x15-and-up...
I'd have to check my sources, but I believe it's 131 instead of 206 or something like that. Works, fills the array properly, and the old bogus-status hack is no longer needed...
Scott Leibrand
@scottleibrand
Dec 11 2017 18:50
yeah, that looked promising. have you managed to make it backwards compatible with a model check first?
Dave Acklam
@dcacklam
Dec 11 2017 18:51
That is where my near-nonexistent python skills smack into a wall...
I could do it in bash in 20 seconds (say, if we had 2 different status functions in Python & called them at the shell level based on model).... But I may have to learn a bit more python, it seems...
Dana Lewis
@danamlewis
Dec 11 2017 18:54
@dcacklam thanks for tackling some of the x12 stuff by the way - regardless of SMB, it's been super helpful
kallnap
@kallnap
Dec 11 2017 18:55
@scottleibrand I think you came a long way to where you are at now regarding the code and the ease of setup. I did was not able to take all steps, but the steps from MA to MA to autosense and autotune was such a big improvement already. Thank you so much for the time and devotion. I sometimes wonder how you can still do anything else. I pretty much looks like you are giving support 24/7 and the other 24/7 you are pushing the boundaries. :-)
RedCyclist1
@RedCyclist1
Dec 11 2017 19:03
@danamlewis Thks! :)
Dave Acklam
@dcacklam
Dec 11 2017 19:17
@danamlewis No problem.

One more thought: With regard to x12 and the bg_targets_raw & basal schedule...
While it appears that at least for targets_raw, the pump really can't provide that info (or at least not in a format that the code allows us to use)... Most people tend to use OpenAPS in combo with Nightscout, and Nightscout, IIRC, can provide that data (if it were pulled from the ns-loop portion) from it's own configuration... That would provide a more user-friendly way to define those values than 'SSH & vi/pico' (yeah, I know it's called nano now... But it's still pico in my head)...

While this isn't the same as getting it from the pump, it reduces the number of places you have to input that info from 3 down to 2 - and eliminates the least-friendly UI of the 3...

Dana Lewis
@danamlewis
Dec 11 2017 19:22
there are a lot of people who'd probably prefer to be able to cross-update NS, or from NS to the rig, if you want to make that work ;) I think AAPS can update NS, or vice versa
someone was asking about percentag profile today for OpenAPS, which I think would also be a related doable thing after that
I asked them to create an issue and explain the use cae more, we'll see if they do
we'd also have to think through the confusion for taking NS-based targets given connectivity, etc. and the setup process.
Dave Acklam
@dcacklam
Dec 11 2017 19:26

My use-case, is getting rid of the 'Hi, welcome to pico, please manually input your bg targets & basal rates' part of setup (and making it easier to adjust these things after you are looping)...

My own ability to implement is limited by the fact that I need to learn the languages involved first & dust off some never-used-in-years coding skills (I'm a systems engineer... Bash is my 'briar patch', actual 'real' coding is a weak point on the resume)...

Dana Lewis
@danamlewis
Dec 11 2017 19:26
I don't think it would be ideal to require it, but it could be YetAnotherPreference to allow it to pull NS targets once you've got a working rig?
oh, that's just for x12s vs all the use cases, though
we could also script that into the x12 setup script, maybe
Dave Acklam
@dcacklam
Dec 11 2017 19:26
@danamlewis That would make sense, although I'd make it the default for 'Yes to x12'
Dana Lewis
@danamlewis
Dec 11 2017 19:26
that might be easier to do out of the gate
i'd rather script it in vs add more complexity w/ NS
Dave Acklam
@dcacklam
Dec 11 2017 19:27
Because user-friendly & pico do not go together, for the non-UNIX-literate crowd....
Agreed
Dana Lewis
@danamlewis
Dec 11 2017 19:27
script away, then ;)
btw you're more of an engineer than i am ;p so quit knocking yourself, please
Dave Acklam
@dcacklam
Dec 11 2017 19:27
Roger
I know Scott's background is similar to mine... What (if you don't mind) is your background?
Dana Lewis
@danamlewis
Dec 11 2017 19:29
Not similar at all :laughing: PR/digital comms
Cas Eliëns
@cascer1
Dec 11 2017 19:30

Hey guys! I'm having an issue with openaps where it doesn't seem to like the formatting of dates/times in the data read from my pump. I keep getting errors like this:

Warning: clock input Invalid Date is unzoned; please pass clock-zoned.json instead and meal.json

I'm running 0.6.0 (from master), using a 754 WW pump

Thacher
@thacherT1D
Dec 11 2017 19:38
all set @cameronrenwick :)
cameronrenwick
@cameronrenwick
Dec 11 2017 19:42
:sparkles: @thacherT1D :sparkles:
Scott Leibrand
@scottleibrand
Dec 11 2017 20:03
@dcacklam my first "real" job at the UW was supporting students and staff using pine, pico, and the UW Internet Connectivity Kit (back in the dial-up days). I think both of those still exist, but got forked to become alpine and nano by folks who wanted them to be truly open-source, not controlled/licensed by the UW. I don't recall what they objected to about the license, or any of the other details, though.
Cas Eliëns
@cascer1
Dec 11 2017 20:13

It looks like my vanilla setup is having more issues than just the timezone issue; It can't find the enact/smb-enacted.json file even after I create it, and all pump loops fail. No temp is being set on my pump either :(

cp: cannot stat 'enact/smb-enacted.json': No such file or directory
enact/smb-enacted.json: cat: enact/smb-enacted.json: No such file or directory

If anyone could help me out I would really appreciate it. Wouldn't want to downgrade and revert to my old setup if I can help it at all

Chris Oattes
@cjo20
Dec 11 2017 20:14
@cascer1 ignore the Invalid Date is unzoned error for now
Cas Eliëns
@cascer1
Dec 11 2017 20:15
Yeah, I (and cluckj) think that's not the core issue right now because all the calculations seem to be working fine
Chris Oattes
@cjo20
Dec 11 2017 20:15
can you put a full set of loop output in here for one whole loop?
Cas Eliëns
@cascer1
Dec 11 2017 20:15
Sure thing, lemme just clear it and allow it to run
Cas Eliëns
@cascer1
Dec 11 2017 20:23
Chris Oattes
@cjo20
Dec 11 2017 20:26
Can you copy + paste it in here directly? From Warning: Autotune has not been run. All microboluses will be disabled until you manually run autotune or add it to run nightly in your loop. to oref0-pump-loop failed. find: ‘/tmp/systemd-private-ceb1ecd7db024c698557bab3eb563c5e-ngrok.service-Jh2WkR’: Permission denied
Easier to read with proper formatting
@cascer1 ^
Cas Eliëns
@cascer1
Dec 11 2017 20:28
Sure
Warning: Autotune has not been run. All microboluses will be disabled until you manually run autotune or add it to run nightly in your loop.
{"carbs":45,"nsCarbs":45,"bwCarbs":0,"mealCOB":5,"currentDeviation":-2,"maxDeviation":6.52,"minDeviation":5.09,"slopeFromMaxDeviation":-2.38,"slopeFromMinDeviation":0,"allDeviations":[5,6,7,5,6,6,6,5],"lastCarbTime":1513019402000,"bwFound":false}
{"iob":1.344,"activity":0.0229,"basaliob":-0.027,"bolusiob":1.371,"netbasalinsulin":-0.4,"bolusinsulin":6.55,"time":"2017-12-11T20:18:28.000Z","iobWithZeroTemp":{"iob":1.344,"activity":0.0229,"basaliob":-0.027,"bolusiob":1.371,"netbasalinsulin":-0.4,"bolusinsulin":6.55,"time":"2017-12-11T20:18:28.000Z"},"lastBolusTime":1513019402000,"lastTemp":{"rate":0.575,"timestamp":"2017-12-11T19:27:31+01:00","started_at":"2017-12-11T18:27:31.000Z","date":1513016851000,"duration":30}}
{"delta":-4,"glucose":162,"short_avgdelta":-3,"long_avgdelta":-0.66,"date":1513023300000}
Autosens ratio: 1; Basal unchanged: 0.6; ISF unchanged: 43.2; CR: 5
currenttemp: { duration: 0, rate: 0.575, temp: 'absolute' } lastTempAge: 111 m tempModulus: 21 m
SMB disabled (!microBolusAllowed)
Last carbs 69 minutes ago; remainingCATime: 4.7 hours; 89% carbs absorbed
Carb Impact: 1 mg/dL per 5m; CI Duration: 4.7 hours; remaining CI (~2h peak): 0.5 mg/dL per 5m
predCIs (mg/dL/5m): 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
remainingCIs:       0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
UAM Impact: 1 mg/dL per 5m; UAM Duration: 0 hours
minPredBG: 130 minIOBPredBG: 117 minZTGuardBG: 115 minCOBPredBG: 130 avgPredBG: 135 COB: 5 / 45
BG projected to remain above 5.5 for 240 minutes
naive_eventualBG: 104 bgUndershoot: -34.5 zeroTempDuration: 240 zeroTempEffect: 104 carbsReq: -16
Checking deliverAt: 2017-12-11T20:18:40.612Z is within 1m of current time: Mon Dec 11 21:18:40 CET 2017
and that smb-suggested.json is less than 1m old
enact/smb-suggested.json: {"temp":"absolute","bg":162,"tick":-4,"eventualBG":152,"insulinReq":0.72,"reservoir":"151.9","deliverAt":"2017-12-11T20:18:40.612Z","sensitivityRatio":1,"predBGs":{"IOB":[162,158,154,150,147,143,140,137,134,131,128,126,123,121,119,117],"ZT":[162,157,152,148,144,140,136,133,130,127,124,122,120,118,117,115],"COB":[162,158,154,151,148,145,142,139,137,135,133,131,130,129,127,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,142,143,144,145,146,146,147,148,148,149,150,150,151,151,152]},"COB":5,"IOB":1.344,"reason":"COB: 5, Dev: 0.3, BGI: -0.3, ISF: 2.4, CR: 5, Target: 5.5, minPredBG 7.2, minGuardBG 7.1, IOBpredBG 6.5, COBpredBG 8.4; Eventual BG 8.4 >= 5.5, no temp, setting 2.05U/hr. ","duration":30,"rate":2.05}
Temp refreshed: monitor/temp_basal.json: {"duration":0,"rate":0.575,"temp":"absolute"}
openaps-report invoke: error: argument report: invalid choice: 'enact/smb-enacted.json' (choose from u'cgm/cgm-glucose.json', u'cgm/ns-glucose.json', u'enact/enacted.json', u'enact/suggested.json', u'monitor/battery.json', u'monitor/carbhistory.json', u'monitor/cgm-glucose.json', u'monitor/cgm-mm-glucosedirty.json', u'monitor/cgm-mm-glucosetrend.json', u'monitor/clock-zoned.json', u'monitor/clock.json', u'monitor/glucose.json', u'monitor/iob.json', u'monitor/meal.json', u'monitor/mmtune.json', u'monitor/pumphistory-zoned.json', u'monitor/pumphistory.json', u'monitor/reservoir.json', u'monitor/status.json', u'monitor/temp_basal.json', u'nightscout/glucose.json', u'nightscout/recent-missing-entries.json', u'nightscout/uploaded-entries.json', u'raw-cgm/raw-entries.json', u'settings/autosens.json', u'settings/basal_profile.json', u'settings/bg_targets.json', u'settings/bg_targets_raw.json', u'settings/carb_ratios.json', u'settings/insulin_sensitivities.json', u'settings/insulin_sensitivities_raw.json', u'settings/model.json', u'settings/profile.json', u'settings/pumphistory-24h-zoned.json', u'settings/pumphistory-24h.json', u'settings/settings.json', u'settings/temptargets.json', u'upload/pebble.json', u'xdrip/glucose.json')
grep: enact/smb-enacted.json: No such file or directory
openaps-report invoke: error: argument report: invalid choice: 'enact/smb-enacted.json' (choose from u'cgm/cgm-glucose.json', u'cgm/ns-glucose.json', u'enact/enacted.json', u'enact/suggested.json', u'monitor/battery.json', u'monitor/carbhistory.json', u'monitor/cgm-glucose.json', u'monitor/cgm-mm-glucosedirty.json', u'monitor/cgm-mm-glucosetrend.json', u'monitor/clock-zoned.json', u'monitor/clock.json', u'monitor/glucose.json', u'monitor/iob.json', u'monitor/meal.json', u'monitor/mmtune.json', u'monitor/pumphistory-zoned.json', u'monitor/pumphistory.json', u'monitor/reservoir.json', u'monitor/status.json', u'monitor/temp_basal.json', u'nightscout/glucose.json', u'nightscout/recent-missing-entries.json', u'nightscout/uploaded-entries.json', u'raw-cgm/raw-entries.json', u'settings/autosens.json', u'settings/basal_profile.json', u'settings/bg_targets.json', u'settings/bg_targets_raw.json', u'settings/carb_ratios.json', u'settings/insulin_sensitivities.json', u'settings/insulin_sensitivities_raw.json', u'settings/model.json', u'settings/profile.json', u'settings/pumphistory-24h-zoned.json', u'settings/pumphistory-24h.json', u'settings/settings.json', u'settings/temptargets.json', u'upload/pebble.json', u'xdrip/glucose.json')
cp: cannot stat 'enact/smb-enacted.json': No such file or directory
enact/smb-enacted.json: cat: enact/smb-enacted.json: No such file or directory
Temp refreshed: monitor/temp_basal.json: {"duration":0,"rate":0.575,"temp":"absolute"}
Checking pump status (suspended/bolusing): {"status":"normal","bolusing":false,"suspended":false}
Temp refreshed: monitor/temp_basal.json: {"duration":0,"rate":0.575,"temp":"absolute"}
Couldn't smb_enact_temp
oref0-pump-loop failed. find: ‘/tmp/systemd-private-ceb1ecd7db024c698557bab3eb563c5e-ngrok.service-Jh2WkR’: Permission denied
Chris Oattes
@cjo20
Dec 11 2017 20:31
openaps-report invoke: error: argument report: invalid choice: 'enact/smb-enacted.json' implies that oref0-setup didn't run correctly
Cas Eliëns
@cascer1
Dec 11 2017 20:31
hmm
I guess the first step is running oref0-runagain.sh again?
Thacher
@thacherT1D
Dec 11 2017 20:31
@danamlewis @drnoname82 ...and we're back... thank you so much for your help!!!!
Chris Oattes
@cjo20
Dec 11 2017 20:31
@cascer1 I'd start from scratch
Cas Eliëns
@cascer1
Dec 11 2017 20:31
Alright
Chris Oattes
@cjo20
Dec 11 2017 20:31
make a backup of your folder somewhere
@cascer1 also, make sure you run it as root
Cas Eliëns
@cascer1
Dec 11 2017 20:33
Oh, I wasn't aware it needed to be run as root
I'll give that a try
the interactive setup is different when running as root 0.o
Both are on 0.6.0 though
Cas Eliëns
@cascer1
Dec 11 2017 20:38
I didn't get the question about whether or not I was running a 512/712 when running as the pi user
Dana Lewis
@danamlewis
Dec 11 2017 20:41
sounds like http://openaps.readthedocs.io/en/latest/docs/Build%20Your%20Rig/pi-install.html needs a PR to clarify that after setup, you should be logging in as root moving forward. Can you PR that?
Cas Eliëns
@cascer1
Dec 11 2017 20:43
Would that be the Run openaps-install.sh part?
Cas Eliëns
@cascer1
Dec 11 2017 20:57
Alright setup is done (it was re-installing oref0 for some reason), currently checking if it's working
Looks like it's looping again!
I guess my problem was caused by me not running oref0-setup as root?
Chris Oattes
@cjo20
Dec 11 2017 21:04
quite possibly
ig888ack
@ig888ack
Dec 11 2017 21:04
@scottleibrand Sorry I had to run the other day. I ran the du command you suggested with the following results:
118M ./root/src/decocare
270M ./root/src
344M ./root
126M ./var/log/openaps
686M ./var/log
179M ./var/cache/apt
183M ./var/cache
951M ./var
1.4G .
Cas Eliëns
@cascer1
Dec 11 2017 21:05
There's still one more issue I see that isn't urgent for me but might be interesting: The trend arrows (indicating how fast I'm changing) are almost always incorrect for me. For example: I just went down 0.2 mmol and I have two arrows pointing up
Chris Oattes
@cjo20
Dec 11 2017 21:05
can you post a picture of the graph for the last 20-30 mintues?
ig888ack
@ig888ack
Dec 11 2017 21:08
@scottleibrand I see the other option in the troubleshoot doc about the ncdu tool. But I'm not able to install it. In fact, I can't even get on wifi anymore. I don't know if that's a separate issue or if it's related to the fact that my disk space is 100% full
Five minutes ago I had the two arrows up
Chris Oattes
@cjo20
Dec 11 2017 21:10
image.png
The reason you had two up arrows
Cas Eliëns
@cascer1
Dec 11 2017 21:11
I did a CGM calibration there
Chris Oattes
@cjo20
Dec 11 2017 21:11
there was a 2-up arrow worthy jump at that point
Cas Eliëns
@cascer1
Dec 11 2017 21:11
For sure
Chris Oattes
@cjo20
Dec 11 2017 21:11
so...why would you expect anything else? :P
Cas Eliëns
@cascer1
Dec 11 2017 21:11
I'll wait for it to show up when I don't have a jump in the graph and post a picture of that instead :P
I understand why you would think it's caused by that jump now
Chris Oattes
@cjo20
Dec 11 2017 21:12
ok
Jon Cluck
@cluckj
Dec 11 2017 21:14
it was showing 188 :doubleup: arrows a minute ago
Chris Oattes
@cjo20
Dec 11 2017 21:17
yes, because of the jump with calibration
Cas Eliëns
@cascer1
Dec 11 2017 21:18
I know it's hard to believe but the arrows man
I've gone all caps over them in the past
I ain't no crazy man
Scott Leibrand
@scottleibrand
Dec 11 2017 21:19
@ig888ack looks like your logs dir is too big: you may want to go find and rm the biggest log files.
Chris Oattes
@cjo20
Dec 11 2017 21:20
the example you've posted is the expected behaviour. It looks at the change in BG reading over the last 15 minutes and calculates the average change. If it changes by more than 3 mg/dl/min, you get double up arrows
Cas Eliëns
@cascer1
Dec 11 2017 21:24
I found this example in my Nightscout history, it was today around noon
Going down but double up arrows
Dana Lewis
@danamlewis
Dec 11 2017 21:25
the arrows are a nightscout/cgm data thing, not an OpenAPS thing, btw if that's not clear
Cas Eliëns
@cascer1
Dec 11 2017 21:26
I guess so
Chris Oattes
@cjo20
Dec 11 2017 21:27
those arrows are generated by oref0-mdt-trend.js
If you can give me any more examples now you're running on the main openaps and not a custom thing that gives weird timezone errors, then I'll take a closer look
Cas Eliëns
@cascer1
Dec 11 2017 21:29
I'm still getting weird timezone errors :eyes:
Chris Oattes
@cjo20
Dec 11 2017 21:30
what weird timezone errors are you getting?
Cas Eliëns
@cascer1
Dec 11 2017 21:31
Lemme login to the rig real quick
Chris Oattes
@cjo20
Dec 11 2017 21:32
and if it's Warning: clock input Invalid Date is unzoned; please pass clock-zoned.json instead and meal.json, i've already told you to ignore that if it's still looping properly :P
Cas Eliëns
@cascer1
Dec 11 2017 21:32
retreats to lair
Chris Oattes
@cjo20
Dec 11 2017 21:33
When I say weird, I mean that "BG data read -13m ago" stuff you were seeing before
Cas Eliëns
@cascer1
Dec 11 2017 21:33
oh hah
I'll keep that in mind
Chris Oattes
@cjo20
Dec 11 2017 21:35
If you've got data that's randomly giving you 15 minute-or-so errors in time, you're not going to get accurate calculations looking at a 15 minute window :P
Cas Eliëns
@cascer1
Dec 11 2017 21:36
The most extreme case of that timezone issue I've seen is "BG data read -78m ago"
Martin Haeberli
@mhaeberli
Dec 11 2017 22:04
probably posted already - but props Dana http://www.al.com/news/huntsville/index.ssf/2017/05/daniel_lewis_built_her_own_art.html even though link says ‘daniel’
Dana Lewis
@danamlewis
Dec 11 2017 22:24
heh thanks - ya, the reporter's computer auto-completed when he was typing the title and he didn't notice it until I pointed it out, but at that point the URL was fixed and had been shared so much they didn't want to change it. ::shrug::
ig888ack
@ig888ack
Dec 11 2017 22:24
@scottleibrand ok, i'll see what i can find!
Niels Hartvig
@hartvig
Dec 11 2017 23:03
Wooohooo - got G5 working offline. Stable nights here we go! Is it possible to adjust how often the rig will connect online if you're not on wifi but tether via bluetooth? Ie. then report every 10 min instead of every minute'ish?
Martin Haeberli
@mhaeberli
Dec 11 2017 23:06
@danamlewis :+1:
Dave Acklam
@dcacklam
Dec 11 2017 23:09

@hartvig
I don't think there is 'backlog' support built in yet...

When I go offline, all the OpenAPS data recorded during that period does NOT get pushed up to NS (but openAPS does continue to loop/function).

Uploading every 10min would require some form of backlog support (kind of like how xD can take watch backlog data and 'fill in' gaps)...
philipgo
@philipgo
Dec 11 2017 23:14
@thacherT1D Great 👍