-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR for dev to master in prep for 0.5.0 release #424
Commits on Apr 27, 2017
-
Merge branch 'autosens-site-change' into floating-carbs
Conflicts: lib/determine-basal/cob-autosens.js lib/profile/index.js
Configuration menu - View commit details
-
Copy full SHA for 3f8e3db - Browse repository at this point
Copy the full SHA 3f8e3dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79f36f3 - Browse repository at this point
Copy the full SHA 79f36f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23e908a - Browse repository at this point
Copy the full SHA 23e908aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5dbef4 - Browse repository at this point
Copy the full SHA e5dbef4View commit details
Commits on Apr 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 721853e - Browse repository at this point
Copy the full SHA 721853eView commit details -
Merge branch 'adj-target-when-high' into floating-carbs
Conflicts: lib/determine-basal/determine-basal.js lib/profile/index.js
Configuration menu - View commit details
-
Copy full SHA for 1ee9533 - Browse repository at this point
Copy the full SHA 1ee9533View commit details -
Configuration menu - View commit details
-
Copy full SHA for f186f88 - Browse repository at this point
Copy the full SHA f186f88View commit details -
Configuration menu - View commit details
-
Copy full SHA for c05097c - Browse repository at this point
Copy the full SHA c05097cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5883356 - Browse repository at this point
Copy the full SHA 5883356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9d7fd - Browse repository at this point
Copy the full SHA 2e9d7fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b3bdbe - Browse repository at this point
Copy the full SHA 7b3bdbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7d4a02 - Browse repository at this point
Copy the full SHA f7d4a02View commit details
Commits on Apr 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c7feaa4 - Browse repository at this point
Copy the full SHA c7feaa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3433fdb - Browse repository at this point
Copy the full SHA 3433fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 692cf06 - Browse repository at this point
Copy the full SHA 692cf06View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcbc7ab - Browse repository at this point
Copy the full SHA fcbc7abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d506e - Browse repository at this point
Copy the full SHA 35d506eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 687edb8 - Browse repository at this point
Copy the full SHA 687edb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dec29d - Browse repository at this point
Copy the full SHA 1dec29dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54c9b73 - Browse repository at this point
Copy the full SHA 54c9b73View commit details -
Configuration menu - View commit details
-
Copy full SHA for ace6639 - Browse repository at this point
Copy the full SHA ace6639View commit details -
Revert "if carb_ratio is null buy we have a valid carb_ratios object,…
… use that" This reverts commit 687edb8.
Configuration menu - View commit details
-
Copy full SHA for 1d31ee7 - Browse repository at this point
Copy the full SHA 1d31ee7View commit details -
Revert "if carb_ratio is null buy we have a valid carb_ratios object,…
… use that" This reverts commit 35d506e.
Configuration menu - View commit details
-
Copy full SHA for a008358 - Browse repository at this point
Copy the full SHA a008358View commit details -
Merge branch 'carb_ratio_null' into floating-carbs
Conflicts: bin/oref0-pump-loop.sh
Configuration menu - View commit details
-
Copy full SHA for 873709c - Browse repository at this point
Copy the full SHA 873709cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90f9aa1 - Browse repository at this point
Copy the full SHA 90f9aa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f3f0d0 - Browse repository at this point
Copy the full SHA 9f3f0d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8569ed0 - Browse repository at this point
Copy the full SHA 8569ed0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2ba220 - Browse repository at this point
Copy the full SHA f2ba220View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6171582 - Browse repository at this point
Copy the full SHA 6171582View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0562440 - Browse repository at this point
Copy the full SHA 0562440View commit details -
Reset autosens on site change (#451)
* comment * remove unused code from autotune debugging (3c34aa0) * #447: if rewind_resets_autosens, use BG data since lastSiteChange * only do padding in autosens mode, not COB calc mode * don't do lastSiteChange stuff for oref0-meal * Add explanation of preferences var * Explanatory comments for preferences items
Configuration menu - View commit details
-
Copy full SHA for 2c887f3 - Browse repository at this point
Copy the full SHA 2c887f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c512ee - Browse repository at this point
Copy the full SHA 2c512eeView commit details -
Merge branch 'dev' into floating-carbs
Conflicts: lib/determine-basal/cob-autosens.js lib/profile/index.js
Configuration menu - View commit details
-
Copy full SHA for ea03e7f - Browse repository at this point
Copy the full SHA ea03e7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f79421 - Browse repository at this point
Copy the full SHA 3f79421View commit details -
Configuration menu - View commit details
-
Copy full SHA for c343094 - Browse repository at this point
Copy the full SHA c343094View commit details
Commits on Apr 30, 2017
-
Configuration menu - View commit details
-
Copy full SHA for b0f8ed0 - Browse repository at this point
Copy the full SHA b0f8ed0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c6b9c5 - Browse repository at this point
Copy the full SHA 8c6b9c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9612e7b - Browse repository at this point
Copy the full SHA 9612e7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23147b2 - Browse repository at this point
Copy the full SHA 23147b2View commit details
Commits on May 1, 2017
-
Adjust target when high (#441)
* adjust target BG if needed to safely bring down high BG faster without causing lows * start at 85 for safety, which implies 100->130 * don't use adjustedTargetBG if it's above target_bg * add adjust_targets_when_high preference (default true) * fix variable name * fix variable name * formula fix * adjust min_bg and max_bg too * consolidate output onto single lines * consolidate output onto single lines * debugging * debugging * debugging * Change name of preference value to adv_target_adjustments * test 80 for minimum adjustedTargetBG * only lower adjustedTarget to 80 when BG >~ 160, not >~140 * default adv_target_adjustments: false * don't do redundant JSON parsing (#442) * syntax * wait on glucose data that is newer than last action (#438) * wait on glucose data that is newer than last action * revert move of timestamp updating outside of oref0-pump-loop * un-revert the change that actually checks pump_loop_completed * break if monitor/pump_loop_completed doesn't yet exist * consider pump_loop_completed even if no bolus needed * print basal and sens when unchanged * differentiate autosens adjustments from adjust_targets_when_high ones * log when not Adjusting targets for high BG * whitespace * Reset autosens on site change (#451) * comment * remove unused code from autotune debugging (3c34aa0) * #447: if rewind_resets_autosens, use BG data since lastSiteChange * only do padding in autosens mode, not COB calc mode * don't do lastSiteChange stuff for oref0-meal * Add explanation of preferences var * Explanatory comments for preferences items * fix logic to do cgm-loop stuff for g4-upload, not g4-local (#449)
Configuration menu - View commit details
-
Copy full SHA for 9272ded - Browse repository at this point
Copy the full SHA 9272dedView commit details -
Merge branch 'dev' into floating-carbs
Conflicts: lib/determine-basal/determine-basal.js lib/profile/index.js
Configuration menu - View commit details
-
Copy full SHA for 3fa06fb - Browse repository at this point
Copy the full SHA 3fa06fbView commit details -
use average of naive_eventualBG and minIOBPredBG to calculate worstCa…
…seInsulinReq this will allow it to stop zero temping sooner when it's not longer really needed.
Configuration menu - View commit details
-
Copy full SHA for 0c0cbf2 - Browse repository at this point
Copy the full SHA 0c0cbf2View commit details -
autotune carb_ratio null check (#450)
* if carb_ratio is null buy we have a valid carb_ratios object, use that * if carb_ratio is null buy we have a valid carb_ratios object, use that * if profile.json contains null carb_ratio use profile.pump.json * Revert "if carb_ratio is null buy we have a valid carb_ratios object, use that" This reverts commit 687edb8. * Revert "if carb_ratio is null buy we have a valid carb_ratios object, use that" This reverts commit 35d506e. * check for carb_ratio==null if oref0-autotune-core fails
Configuration menu - View commit details
-
Copy full SHA for 7134baf - Browse repository at this point
Copy the full SHA 7134bafView commit details -
Configuration menu - View commit details
-
Copy full SHA for b871eee - Browse repository at this point
Copy the full SHA b871eeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bac0fed - Browse repository at this point
Copy the full SHA bac0fedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e803f3 - Browse repository at this point
Copy the full SHA 1e803f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb0e8b2 - Browse repository at this point
Copy the full SHA bb0e8b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 332c2c2 - Browse repository at this point
Copy the full SHA 332c2c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbdbc53 - Browse repository at this point
Copy the full SHA fbdbc53View commit details -
workaround for hanging rig-pump communication (with WW pump) (#445)
* workaround for hanging rig-pump communication (with WW pump) and improve logging, more robust killing of reset.py if it hangs * fix scotts review remarks * fix python closing " * improve log statement for US pump users * also create cgm-loop for G4-upload
Configuration menu - View commit details
-
Copy full SHA for 0fc8151 - Browse repository at this point
Copy the full SHA 0fc8151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b6e031 - Browse repository at this point
Copy the full SHA 4b6e031View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ceb4e4 - Browse repository at this point
Copy the full SHA 4ceb4e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3858b43 - Browse repository at this point
Copy the full SHA 3858b43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53c47f3 - Browse repository at this point
Copy the full SHA 53c47f3View commit details
Commits on May 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for da3af29 - Browse repository at this point
Copy the full SHA da3af29View commit details -
Configuration menu - View commit details
-
Copy full SHA for a08db28 - Browse repository at this point
Copy the full SHA a08db28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd6bac - Browse repository at this point
Copy the full SHA 9dd6bacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87f5a96 - Browse repository at this point
Copy the full SHA 87f5a96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5df106a - Browse repository at this point
Copy the full SHA 5df106aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25bdf0a - Browse repository at this point
Copy the full SHA 25bdf0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0903b8 - Browse repository at this point
Copy the full SHA c0903b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9cc306 - Browse repository at this point
Copy the full SHA a9cc306View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fddb76 - Browse repository at this point
Copy the full SHA 9fddb76View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5d2edf - Browse repository at this point
Copy the full SHA c5d2edfView commit details -
fix --ww_ti_usb_reset=yes again
this was accidently broken since sed was removed, see d13cee4#diff-704a2fd9a43fd79bf52037b1668c146dL586
Configuration menu - View commit details
-
Copy full SHA for d4a2dc1 - Browse repository at this point
Copy the full SHA d4a2dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1904759 - Browse repository at this point
Copy the full SHA 1904759View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d68e85 - Browse repository at this point
Copy the full SHA 1d68e85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c01ac0 - Browse repository at this point
Copy the full SHA 0c01ac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a547f - Browse repository at this point
Copy the full SHA b9a547fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d64ee28 - Browse repository at this point
Copy the full SHA d64ee28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42c104f - Browse repository at this point
Copy the full SHA 42c104fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97c3f22 - Browse repository at this point
Copy the full SHA 97c3f22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59ee7f8 - Browse repository at this point
Copy the full SHA 59ee7f8View commit details
Commits on May 3, 2017
-
* only do UAMpredBGs within DIA hours of a bolus * enable bolus snooze if we don't have COB * enableUAM after bolus or eating soon; enableSMB for COB too * don't SMB when minPredBG is already below max_bg * syntax * print out IOB/COB/UAM predBG in reason field * only calculate minDeviationSlope from maxDeviation to now * only calculate minDeviationSlope from maxDeviation to now * remove extra comma in reason field * change back to 1h of data (45m of deviations) fo UAM * use minAvgDelta for calculating predicted CI from UAM * only display IOB/COB/UAM predBG when used * only display each predBG if used * only consider carbs from last DIA hours as a workaround for undead carbs * predUCI debugging on * let's try decaying predicted CI from UAM at minDeviationSlope/2 * spacing for pebble * use the higher of minCOBPredBG or minUAMPredBG as minPredBG * debugging * spacing for pebble * debugging * debugging * define minPredBG outside the if clause * clean up old comments and whitespace * ignore future temps and reduce predBG oscillation * UAMduration off by 5m * Project UAM impact out to DIA hours Now that we're excluding future temps from predBGs, they're not as much "up and to the right" when we have a long zero temp running. So it should be safter to extend UAM impact out up to DIA hours when we're at peak recent deviations. As soon as deviations start to come down that'll limit the UAM impact predictions. * undefined-check basalprofile_data[0] * don't cancel low temps unless unneeded for naive_eventualBG too * only enact after refresh_old_pumphistory in non-SMB mode * debugging * return maxDeviation * return maxDeviation * run autosens every 90m if edison-battery < 60% * run autosens every 90m if edison-battery < 60% * wait up to 5 minutes for new BG if rig battery low * wait up to 5 minutes for new BG if rig battery low * syntax * syntax * inline * to -n or not to -n * run low_battery_wait on regular pump-loop too * run low_battery_wait on regular pump-loop too * simplify break-out logic * set mtime of glucose.json to time of most recent glucose value * don't SMB for a trace of bolusiob due to a microbolus delivered when basal was higher * run battery mode any time Edison isn't charged/charging * if no monitor/temp_basal.json file, break * check if monitor/edison-battery.json exists * clarity * don't print filename with ls * copy-pasta * to -n or not to -n * 60-70% inclusive = charging * allow high-temps 5mg/dL lower: at 70 instead of 75 when target is 100 * set Carb Impact high enough to absorb all meal carbs over 4 hours * syntax * formula was right originally; commented * only killall if stuff really gets stuck * wait longer for silence before giving up * don't print filename with ls * if we can't keep pumphistory refreshed, defer to other rigs * if we can't keep pumphistory refreshed, defer to other rigs * if we can't keep pumphistory refreshed, defer to other rigs * wait longer for silence before giving up * adjust the target ISF to be a weighted average of fullNewISF and pumpISF * cap adjustedISF before applying 10% * allow SMBs every 3 minutes * don't use a minPredBG that's higher than any maxPredBG * debugging * fix formulas * round meal_carbimpact * meal_carbimpact * 2 since it linearly decays to zero * use 6 hours for now, until we fix the TODO * instead of profile.min_5m_carbimpact, assume all carbs absorb over 4h * allow SMBs every 3 minutes * totalCI can't be negative * fix formulas * generate COBpredBGs if remainingCI > 0; don't let ci be negative * debugging * stop adding remainingCI after 4h * if UAM is enabled, use the higher of minCOBPredBG or minUAMPredBG * need to allow negative CI to get good downward predictions * truncate all BG predictions at 3 hours * don't allow negative durations * don't allow negative ci to mess up predCI * don't use long_avgdelta for minDelta, to respond more quickly to upticks * if naive_eventualBG < 40, set a 30m zero temp * only use maxUAMPredBG if enableUAM; otherwise it's current bg We don't need maxCOBPredBG here, because that is always >= minCOBPredBG, which we just used * don't let maxUAMPredBG prevent high-temping for carbs * cap remainingCarbs at 90g * include 0m-ago data points in now * chmod +x ./bin/*.py * Allow wider BG target adjustment for autosens * fix minPredBG logic for high-temping based on minIOBPredBG * set minPredBG etc. regardless of ci * re-add reset_spi_serial.py until oref0_init_pump_comms.py is fixed * kill pump-loop after 5 minutes of not writing to pump-loop.log * exclude the last 1/3 of carbs from remainingCarbs * skip SMB stuff if No bolus needed (yet) * syntax * don't return false (it forces a retry) * squelch stdout from enact/smb-suggested.json * debugging * newlines etc. * newlines etc. * wait on glucose data that is newer than last action * spacing * truncate all BG predictions at 3.5 hours * only use data from the same device as the most recent BG data point * set "charging" voltage at 58-68% * only wait 4 minutes for new BG (pump-loop takes at least 1 minute) * only wait 3 minutes for new BG (pump-loop takes at least 1 minute) * require enableUAM: true in preferences.json to enable UAM * go back to using minDeviationSlope to decay UAM CI * adjust target BG if needed to safely bring down high BG faster without causing lows * start at 85 for safety, which implies 100->130 * don't use adjustedTargetBG if it's above target_bg * add adjust_targets_when_high preference (default true) * fix variable name * revert move of timestamp updating outside of oref0-pump-loop * fix variable name * fix variable name * formula fix * formula fix * adjust min_bg and max_bg too * adjust min_bg and max_bg too * consolidate output onto single lines * consolidate output onto single lines * consolidate output onto single lines * consolidate output onto single lines * debugging * debugging * debugging * debugging * syntax * debugging * debugging * debugging * test 80 for minimum adjustedTargetBG * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * wait 90m before setting minIOBPredBG and 60m before setting COB and UAM * disable SMB/UAM except after a manual bolus for now * only lower adjustedTarget to 80 when BG >~ 160, not >~140 * add preferences.json settings for enableSMB with bolus, COB, or temp targets * revert autosens target range to 93-117 (for 100) * Change name of preference value to adv_target_adjustments * test 80 for minimum adjustedTargetBG * only lower adjustedTarget to 80 when BG >~ 160, not >~140 * default adv_target_adjustments: false * Call maxCOB var * create maxCOB and defaults to 120 create maxCOB and defaults to 120 because that's the most a typical body can absorb over 4 hours. (If someone enters more carbs or stacks more; OpenAPS will just truncate dosing based on 120. Essentially, this just limits AMA as a safety cap against weird COB calculations) * comment * un-revert the change that actually checks pump_loop_completed * break if monitor/pump_loop_completed doesn't yet exist * narrow the ranges for charged/charging * consider pump_loop_completed even if no bolus needed * wait 4 minutes for new BG now that we're doing it right * always wait_for_bg regardless of battery level * echo truthfully * syntax * comment out minutes_running code now that we're not incorporating future temps into eventualBG * try also waiting for upto30s after radio reset before mmtuning * whitespace * grammar * disable SMB when a high temptarget is set * if both minUAMPredBG or minCOBPredBG are set, average them for now * weighed average minUAMPredBG and minCOBPredBG based on how many carbs remain as COB * wait for longer silence the weaker mmtune RSSI is * grammar * rounding and debugging * grammar * calculate minCOBPredBG if remainingCI > 0 * make sure minIOBPredBG is at least 40 * average the minIOBPredBG and minUAMPredBG for minPredBG * we don't need to ignore low minPredBGs any more * print basal and sens when unchanged * include minPredBG in rT object * update to smb_enact_temp based on pump_loop_completed * add minPredBG to rT object * syntax * simplify and linearize rssi_wait * comment * remove unused code from autotune debugging (3c34aa0) * #447: if rewind_resets_autosens, use BG data since lastSiteChange * only do padding in autosens mode, not COB calc mode * cap all minPredBGs at 39 to avoid biasing averages * differentiate autosens adjustments from adjust_targets_when_high ones * allow temp rate within 0.025U/hr for decocare floating point math * profile.adjust_targets_when_high renamed to adv_target_adjustments * log when not Adjusting targets for high BG * whitespace * without COB, use max of minIOBPredBG,minUAMPredBG * if carb_ratio is null buy we have a valid carb_ratios object, use that * move carb_ratio null check to oref0-autotune-prep.js * variable name * if carb_ratio is null buy we have a valid carb_ratios object, use that * if carb_ratio is null buy we have a valid carb_ratios object, use that * if profile.json contains null carb_ratio use profile.pump.json * Revert "if carb_ratio is null buy we have a valid carb_ratios object, use that" This reverts commit 687edb8. * Revert "if carb_ratio is null buy we have a valid carb_ratios object, use that" This reverts commit 35d506e. * check for carb_ratio==null if oref0-autotune-core fails * don't do lastSiteChange stuff for oref0-meal * wait for a full 30s silence before mmtuning * grammar * wait for a full 30s silence before mmtuning * adv_target_adjustments comment * allow setting of adjustmentFraction via preferences.json * add remainingCarbsCap to preferences.json, defaulting to zero * always run mocha in color mode * don't set snoozeBG if minPredBG >= 400 * fix some tests; disable others * use average of naive_eventualBG and minIOBPredBG to calculate worstCaseInsulinReq this will allow it to stop zero temping sooner when it's not longer really needed. * only mmtune 20% of the time now that we're waiting longer * increase default min_5m_carbimpact to help avoid overestimating COB * Update oref0-setup.sh (#454) floating-carbs updated to allow comparison between NS and drip data and not update if values haven't changed.
Configuration menu - View commit details
-
Copy full SHA for 143879f - Browse repository at this point
Copy the full SHA 143879fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93c241a - Browse repository at this point
Copy the full SHA 93c241aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15c1943 - Browse repository at this point
Copy the full SHA 15c1943View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f15567 - Browse repository at this point
Copy the full SHA 3f15567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0df5332 - Browse repository at this point
Copy the full SHA 0df5332View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1962a56 - Browse repository at this point
Copy the full SHA 1962a56View commit details
Commits on May 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9f4a4c4 - Browse repository at this point
Copy the full SHA 9f4a4c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2a61e6 - Browse repository at this point
Copy the full SHA d2a61e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f929a - Browse repository at this point
Copy the full SHA 40f929aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e80ce3 - Browse repository at this point
Copy the full SHA 8e80ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8560ac0 - Browse repository at this point
Copy the full SHA 8560ac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc4d1a7 - Browse repository at this point
Copy the full SHA dc4d1a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f6bde2 - Browse repository at this point
Copy the full SHA 9f6bde2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ceac2 - Browse repository at this point
Copy the full SHA 43ceac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 653b66c - Browse repository at this point
Copy the full SHA 653b66cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0662cd6 - Browse repository at this point
Copy the full SHA 0662cd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9da7b1 - Browse repository at this point
Copy the full SHA b9da7b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed4ce2 - Browse repository at this point
Copy the full SHA 5ed4ce2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c65b8a1 - Browse repository at this point
Copy the full SHA c65b8a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b371449 - Browse repository at this point
Copy the full SHA b371449View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b3eac9 - Browse repository at this point
Copy the full SHA 5b3eac9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f9a493 - Browse repository at this point
Copy the full SHA 6f9a493View commit details -
Configuration menu - View commit details
-
Copy full SHA for e72cb6c - Browse repository at this point
Copy the full SHA e72cb6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed7ea10 - Browse repository at this point
Copy the full SHA ed7ea10View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7bbaa0 - Browse repository at this point
Copy the full SHA b7bbaa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b90fb9 - Browse repository at this point
Copy the full SHA 6b90fb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94ecbe6 - Browse repository at this point
Copy the full SHA 94ecbe6View commit details
Commits on May 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f9a2946 - Browse repository at this point
Copy the full SHA f9a2946View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b86694 - Browse repository at this point
Copy the full SHA 5b86694View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ab3392 - Browse repository at this point
Copy the full SHA 5ab3392View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca12616 - Browse repository at this point
Copy the full SHA ca12616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c4e750 - Browse repository at this point
Copy the full SHA 1c4e750View commit details -
Configuration menu - View commit details
-
Copy full SHA for b43cb50 - Browse repository at this point
Copy the full SHA b43cb50View commit details
Commits on May 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 87f5d6a - Browse repository at this point
Copy the full SHA 87f5d6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b784964 - Browse repository at this point
Copy the full SHA b784964View commit details -
Configuration menu - View commit details
-
Copy full SHA for 376d1b4 - Browse repository at this point
Copy the full SHA 376d1b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecc7b84 - Browse repository at this point
Copy the full SHA ecc7b84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64a801e - Browse repository at this point
Copy the full SHA 64a801eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc5178e - Browse repository at this point
Copy the full SHA bc5178eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92b29e8 - Browse repository at this point
Copy the full SHA 92b29e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dfe1cd - Browse repository at this point
Copy the full SHA 4dfe1cdView commit details -
fix out of the box working of cli commands with Nightscout interactions
because the ~/.bash_profile takes preferences above ~/.profile, the cli commands with Nightscout didn't have access to the NIGHTSCOUT_HOST and API_SECRET environment variables. This was caused by #402 use ~/.bash_profile instead of ~/.profile to make
Configuration menu - View commit details
-
Copy full SHA for 639aa56 - Browse repository at this point
Copy the full SHA 639aa56View commit details
Commits on May 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for fc8e1f7 - Browse repository at this point
Copy the full SHA fc8e1f7View commit details -
Blend UAM and COB properly (#455)
* use the higher of minCOBPredBG or minUAMPredBG as minPredBG * debugging * spacing for pebble * debugging * debugging * define minPredBG outside the if clause * clean up old comments and whitespace * ignore future temps and reduce predBG oscillation * UAMduration off by 5m * Project UAM impact out to DIA hours Now that we're excluding future temps from predBGs, they're not as much "up and to the right" when we have a long zero temp running. So it should be safter to extend UAM impact out up to DIA hours when we're at peak recent deviations. As soon as deviations start to come down that'll limit the UAM impact predictions. * undefined-check basalprofile_data[0] * don't cancel low temps unless unneeded for naive_eventualBG too * only enact after refresh_old_pumphistory in non-SMB mode * debugging * return maxDeviation * return maxDeviation * run autosens every 90m if edison-battery < 60% * run autosens every 90m if edison-battery < 60% * wait up to 5 minutes for new BG if rig battery low * wait up to 5 minutes for new BG if rig battery low * syntax * syntax * inline * to -n or not to -n * run low_battery_wait on regular pump-loop too * run low_battery_wait on regular pump-loop too * simplify break-out logic * set mtime of glucose.json to time of most recent glucose value * don't SMB for a trace of bolusiob due to a microbolus delivered when basal was higher * run battery mode any time Edison isn't charged/charging * if no monitor/temp_basal.json file, break * check if monitor/edison-battery.json exists * clarity * don't print filename with ls * copy-pasta * to -n or not to -n * 60-70% inclusive = charging * allow high-temps 5mg/dL lower: at 70 instead of 75 when target is 100 * set Carb Impact high enough to absorb all meal carbs over 4 hours * syntax * formula was right originally; commented * only killall if stuff really gets stuck * wait longer for silence before giving up * don't print filename with ls * if we can't keep pumphistory refreshed, defer to other rigs * if we can't keep pumphistory refreshed, defer to other rigs * if we can't keep pumphistory refreshed, defer to other rigs * wait longer for silence before giving up * adjust the target ISF to be a weighted average of fullNewISF and pumpISF * cap adjustedISF before applying 10% * allow SMBs every 3 minutes * don't use a minPredBG that's higher than any maxPredBG * debugging * fix formulas * round meal_carbimpact * meal_carbimpact * 2 since it linearly decays to zero * use 6 hours for now, until we fix the TODO * instead of profile.min_5m_carbimpact, assume all carbs absorb over 4h * allow SMBs every 3 minutes * totalCI can't be negative * fix formulas * generate COBpredBGs if remainingCI > 0; don't let ci be negative * debugging * stop adding remainingCI after 4h * if UAM is enabled, use the higher of minCOBPredBG or minUAMPredBG * need to allow negative CI to get good downward predictions * truncate all BG predictions at 3 hours * don't allow negative durations * don't allow negative ci to mess up predCI * don't use long_avgdelta for minDelta, to respond more quickly to upticks * if naive_eventualBG < 40, set a 30m zero temp * only use maxUAMPredBG if enableUAM; otherwise it's current bg We don't need maxCOBPredBG here, because that is always >= minCOBPredBG, which we just used * don't let maxUAMPredBG prevent high-temping for carbs * cap remainingCarbs at 90g * include 0m-ago data points in now * chmod +x ./bin/*.py * Allow wider BG target adjustment for autosens * fix minPredBG logic for high-temping based on minIOBPredBG * set minPredBG etc. regardless of ci * re-add reset_spi_serial.py until oref0_init_pump_comms.py is fixed * kill pump-loop after 5 minutes of not writing to pump-loop.log * exclude the last 1/3 of carbs from remainingCarbs * skip SMB stuff if No bolus needed (yet) * syntax * don't return false (it forces a retry) * squelch stdout from enact/smb-suggested.json * debugging * newlines etc. * newlines etc. * wait on glucose data that is newer than last action * spacing * truncate all BG predictions at 3.5 hours * only use data from the same device as the most recent BG data point * set "charging" voltage at 58-68% * only wait 4 minutes for new BG (pump-loop takes at least 1 minute) * only wait 3 minutes for new BG (pump-loop takes at least 1 minute) * require enableUAM: true in preferences.json to enable UAM * go back to using minDeviationSlope to decay UAM CI * adjust target BG if needed to safely bring down high BG faster without causing lows * start at 85 for safety, which implies 100->130 * don't use adjustedTargetBG if it's above target_bg * add adjust_targets_when_high preference (default true) * fix variable name * revert move of timestamp updating outside of oref0-pump-loop * fix variable name * fix variable name * formula fix * formula fix * adjust min_bg and max_bg too * adjust min_bg and max_bg too * consolidate output onto single lines * consolidate output onto single lines * consolidate output onto single lines * consolidate output onto single lines * debugging * debugging * debugging * debugging * syntax * debugging * debugging * debugging * test 80 for minimum adjustedTargetBG * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * wait 90m before setting minIOBPredBG and 60m before setting COB and UAM * disable SMB/UAM except after a manual bolus for now * only lower adjustedTarget to 80 when BG >~ 160, not >~140 * add preferences.json settings for enableSMB with bolus, COB, or temp targets * revert autosens target range to 93-117 (for 100) * Change name of preference value to adv_target_adjustments * test 80 for minimum adjustedTargetBG * only lower adjustedTarget to 80 when BG >~ 160, not >~140 * default adv_target_adjustments: false * Call maxCOB var * create maxCOB and defaults to 120 create maxCOB and defaults to 120 because that's the most a typical body can absorb over 4 hours. (If someone enters more carbs or stacks more; OpenAPS will just truncate dosing based on 120. Essentially, this just limits AMA as a safety cap against weird COB calculations) * comment * un-revert the change that actually checks pump_loop_completed * break if monitor/pump_loop_completed doesn't yet exist * narrow the ranges for charged/charging * consider pump_loop_completed even if no bolus needed * wait 4 minutes for new BG now that we're doing it right * always wait_for_bg regardless of battery level * echo truthfully * syntax * comment out minutes_running code now that we're not incorporating future temps into eventualBG * try also waiting for upto30s after radio reset before mmtuning * whitespace * grammar * disable SMB when a high temptarget is set * if both minUAMPredBG or minCOBPredBG are set, average them for now * weighed average minUAMPredBG and minCOBPredBG based on how many carbs remain as COB * wait for longer silence the weaker mmtune RSSI is * grammar * rounding and debugging * grammar * calculate minCOBPredBG if remainingCI > 0 * make sure minIOBPredBG is at least 40 * average the minIOBPredBG and minUAMPredBG for minPredBG * we don't need to ignore low minPredBGs any more * print basal and sens when unchanged * include minPredBG in rT object * update to smb_enact_temp based on pump_loop_completed * add minPredBG to rT object * syntax * simplify and linearize rssi_wait * comment * remove unused code from autotune debugging (3c34aa0) * #447: if rewind_resets_autosens, use BG data since lastSiteChange * only do padding in autosens mode, not COB calc mode * cap all minPredBGs at 39 to avoid biasing averages * differentiate autosens adjustments from adjust_targets_when_high ones * allow temp rate within 0.025U/hr for decocare floating point math * profile.adjust_targets_when_high renamed to adv_target_adjustments * log when not Adjusting targets for high BG * whitespace * without COB, use max of minIOBPredBG,minUAMPredBG * if carb_ratio is null buy we have a valid carb_ratios object, use that * move carb_ratio null check to oref0-autotune-prep.js * variable name * if carb_ratio is null buy we have a valid carb_ratios object, use that * if carb_ratio is null buy we have a valid carb_ratios object, use that * if profile.json contains null carb_ratio use profile.pump.json * Revert "if carb_ratio is null buy we have a valid carb_ratios object, use that" This reverts commit 687edb8. * Revert "if carb_ratio is null buy we have a valid carb_ratios object, use that" This reverts commit 35d506e. * check for carb_ratio==null if oref0-autotune-core fails * don't do lastSiteChange stuff for oref0-meal * wait for a full 30s silence before mmtuning * grammar * wait for a full 30s silence before mmtuning * adv_target_adjustments comment * allow setting of adjustmentFraction via preferences.json * add remainingCarbsCap to preferences.json, defaulting to zero * always run mocha in color mode * don't set snoozeBG if minPredBG >= 400 * fix some tests; disable others * use average of naive_eventualBG and minIOBPredBG to calculate worstCaseInsulinReq this will allow it to stop zero temping sooner when it's not longer really needed. * only mmtune 20% of the time now that we're waiting longer * set zero temps long enough to eventually correct back up to target * grammar * increase default min_5m_carbimpact to help avoid overestimating COB * increase default min_5m_carbimpact to help avoid overestimating COB * grammar * support 515/715 for SMB as well * support 515/715 for SMB as well * use lower of minUAMPredBG or avgPredBG instead of avgMinPredBG in mixed COB+UAM mode * add minPredBG to reason field * grammar * use higher of minIOBPredBG, minUAMPredBG * if we have COB, use max(minCOBPredBG,blendedMinPredBG), or avgPredBG if lower * grammar * grammar * grammar * ordering * define IOBpredBG to make tests happier * default IOBpredBG to eventualBG for tests * comment out overly prescriptive text regex checks
Configuration menu - View commit details
-
Copy full SHA for 89fff77 - Browse repository at this point
Copy the full SHA 89fff77View commit details -
Merge branch 'dev' into pushover
Conflicts: lib/basal-set-temp.js lib/determine-basal/determine-basal.js lib/meal/total.js
Configuration menu - View commit details
-
Copy full SHA for 905bcc1 - Browse repository at this point
Copy the full SHA 905bcc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54008c9 - Browse repository at this point
Copy the full SHA 54008c9View commit details
Commits on May 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f656a6a - Browse repository at this point
Copy the full SHA f656a6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bafc3a - Browse repository at this point
Copy the full SHA 5bafc3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 964fbc7 - Browse repository at this point
Copy the full SHA 964fbc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24b5dc9 - Browse repository at this point
Copy the full SHA 24b5dc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 573299e - Browse repository at this point
Copy the full SHA 573299eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41c6dec - Browse repository at this point
Copy the full SHA 41c6decView commit details -
Configuration menu - View commit details
-
Copy full SHA for b856920 - Browse repository at this point
Copy the full SHA b856920View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42407f0 - Browse repository at this point
Copy the full SHA 42407f0View commit details
Commits on May 9, 2017
-
Set system clock if "clock set incorrectly" (#460)
* oref0-set-system-clock for smb_enact_temp too * move "incorrectly" check to smb_verify_suggested above deliverAt check * that's smb-suggested.json
Configuration menu - View commit details
-
Copy full SHA for fe54440 - Browse repository at this point
Copy the full SHA fe54440View commit details
Commits on May 12, 2017
-
* Adding aliases for other common commands * Update index.js * Update index.js * changed to nano from vi * loop removed from two log aliases
Configuration menu - View commit details
-
Copy full SHA for 5f9f738 - Browse repository at this point
Copy the full SHA 5f9f738View commit details
Commits on May 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 139e794 - Browse repository at this point
Copy the full SHA 139e794View commit details -
Configuration menu - View commit details
-
Copy full SHA for 656c323 - Browse repository at this point
Copy the full SHA 656c323View commit details
Commits on May 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c2da25a - Browse repository at this point
Copy the full SHA c2da25aView commit details
Commits on May 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a64f878 - Browse repository at this point
Copy the full SHA a64f878View commit details -
upgrade bluez from 5.44 to 5.45
drop --enable-experimental upgrade bluez from 5.44 to 5.45. Changes: Fix issue with agent support in Bluetooth client tool. Fix issue with handling re-connection policy. Fix issue with handling unknown ATT commands. Fix issue with handling GATT Service Includes property. Fix issue with handling PullAll for OBEX transfers. Fix issue with handling delay in AVDTP Suspend responses. Fix issue with handling decoding of management frames. Add support for frame counters in Bluetooth monitor tool.
Configuration menu - View commit details
-
Copy full SHA for b3affb6 - Browse repository at this point
Copy the full SHA b3affb6View commit details
Commits on May 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 46e53e3 - Browse repository at this point
Copy the full SHA 46e53e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 002a122 - Browse repository at this point
Copy the full SHA 002a122View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff75867 - Browse repository at this point
Copy the full SHA ff75867View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dbbc4a - Browse repository at this point
Copy the full SHA 2dbbc4aView commit details -
if no microBolus required, snoozeBG > target_bg, and lastCOBpredBG > …
…target_bg, don't set a zero temp
Configuration menu - View commit details
-
Copy full SHA for 0da35d6 - Browse repository at this point
Copy the full SHA 0da35d6View commit details -
inital commit of token based authentication
fixes: - change ns-temptargets and ns-meal-carbs to use ns device (part of #299 ) - upgrade bluez from 5.44 to 5.45 and drop the experimental flags (see if it works) - make it possible to enter access token in oref0-setup.sh - test the nightscout instance access at setup time and fail if it doesn't work - test the needed security permissions needed with nightscout, fail if permissions are not ok This will: - make it possible to use per rig authentication to nightscout - use v2 nightscout authentication
Configuration menu - View commit details
-
Copy full SHA for ea1d66f - Browse repository at this point
Copy the full SHA ea1d66fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 148668f - Browse repository at this point
Copy the full SHA 148668fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 173e83d - Browse repository at this point
Copy the full SHA 173e83dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a16cc0 - Browse repository at this point
Copy the full SHA 9a16cc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29a27f3 - Browse repository at this point
Copy the full SHA 29a27f3View commit details
Commits on May 17, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0658338 - Browse repository at this point
Copy the full SHA 0658338View commit details -
Configuration menu - View commit details
-
Copy full SHA for a334af4 - Browse repository at this point
Copy the full SHA a334af4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3847107 - Browse repository at this point
Copy the full SHA 3847107View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25b8b59 - Browse repository at this point
Copy the full SHA 25b8b59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3411d69 - Browse repository at this point
Copy the full SHA 3411d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a114c - Browse repository at this point
Copy the full SHA 48a114cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a666d0f - Browse repository at this point
Copy the full SHA a666d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for afd4b67 - Browse repository at this point
Copy the full SHA afd4b67View commit details -
Configuration menu - View commit details
-
Copy full SHA for feb673b - Browse repository at this point
Copy the full SHA feb673bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ee4ec8 - Browse repository at this point
Copy the full SHA 4ee4ec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 236749b - Browse repository at this point
Copy the full SHA 236749bView commit details -
Add MDT Enlite CGM support to oref0-pump-loop for SMB (#462)
* if configured for MDT CGM, openaps get-bg * syntax * syntax * syntax
Configuration menu - View commit details
-
Copy full SHA for 119a99b - Browse repository at this point
Copy the full SHA 119a99bView commit details
Commits on May 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c709613 - Browse repository at this point
Copy the full SHA c709613View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfe4a9e - Browse repository at this point
Copy the full SHA cfe4a9eView commit details
Commits on May 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 84703a3 - Browse repository at this point
Copy the full SHA 84703a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab05f97 - Browse repository at this point
Copy the full SHA ab05f97View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee04900 - Browse repository at this point
Copy the full SHA ee04900View commit details -
Configuration menu - View commit details
-
Copy full SHA for bed90db - Browse repository at this point
Copy the full SHA bed90dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80ccba2 - Browse repository at this point
Copy the full SHA 80ccba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0068ef - Browse repository at this point
Copy the full SHA b0068efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58b3456 - Browse repository at this point
Copy the full SHA 58b3456View commit details -
Configuration menu - View commit details
-
Copy full SHA for d61a8c2 - Browse repository at this point
Copy the full SHA d61a8c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for df10a2d - Browse repository at this point
Copy the full SHA df10a2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd06e80 - Browse repository at this point
Copy the full SHA dd06e80View commit details
Commits on May 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5831ded - Browse repository at this point
Copy the full SHA 5831dedView commit details
Commits on May 21, 2017
-
Pushover support for carbsReq and insulinReq notifications (#458)
* stop adding remainingCI after 4h * if UAM is enabled, use the higher of minCOBPredBG or minUAMPredBG * need to allow negative CI to get good downward predictions * truncate all BG predictions at 3 hours * don't allow negative durations * don't allow negative ci to mess up predCI * don't use long_avgdelta for minDelta, to respond more quickly to upticks * if naive_eventualBG < 40, set a 30m zero temp * only use maxUAMPredBG if enableUAM; otherwise it's current bg We don't need maxCOBPredBG here, because that is always >= minCOBPredBG, which we just used * don't let maxUAMPredBG prevent high-temping for carbs * cap remainingCarbs at 90g * include 0m-ago data points in now * chmod +x ./bin/*.py * Allow wider BG target adjustment for autosens * fix minPredBG logic for high-temping based on minIOBPredBG * set minPredBG etc. regardless of ci * re-add reset_spi_serial.py until oref0_init_pump_comms.py is fixed * kill pump-loop after 5 minutes of not writing to pump-loop.log * exclude the last 1/3 of carbs from remainingCarbs * skip SMB stuff if No bolus needed (yet) * syntax * don't return false (it forces a retry) * squelch stdout from enact/smb-suggested.json * debugging * newlines etc. * newlines etc. * wait on glucose data that is newer than last action * spacing * truncate all BG predictions at 3.5 hours * only use data from the same device as the most recent BG data point * set "charging" voltage at 58-68% * only wait 4 minutes for new BG (pump-loop takes at least 1 minute) * only wait 3 minutes for new BG (pump-loop takes at least 1 minute) * require enableUAM: true in preferences.json to enable UAM * go back to using minDeviationSlope to decay UAM CI * adjust target BG if needed to safely bring down high BG faster without causing lows * start at 85 for safety, which implies 100->130 * don't use adjustedTargetBG if it's above target_bg * add adjust_targets_when_high preference (default true) * fix variable name * revert move of timestamp updating outside of oref0-pump-loop * fix variable name * fix variable name * formula fix * formula fix * adjust min_bg and max_bg too * adjust min_bg and max_bg too * consolidate output onto single lines * consolidate output onto single lines * consolidate output onto single lines * consolidate output onto single lines * debugging * debugging * debugging * debugging * syntax * debugging * debugging * debugging * test 80 for minimum adjustedTargetBG * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * wait 90m before setting minIOBPredBG and 60m before setting COB and UAM * disable SMB/UAM except after a manual bolus for now * only lower adjustedTarget to 80 when BG >~ 160, not >~140 * add preferences.json settings for enableSMB with bolus, COB, or temp targets * revert autosens target range to 93-117 (for 100) * Change name of preference value to adv_target_adjustments * test 80 for minimum adjustedTargetBG * only lower adjustedTarget to 80 when BG >~ 160, not >~140 * default adv_target_adjustments: false * Call maxCOB var * create maxCOB and defaults to 120 create maxCOB and defaults to 120 because that's the most a typical body can absorb over 4 hours. (If someone enters more carbs or stacks more; OpenAPS will just truncate dosing based on 120. Essentially, this just limits AMA as a safety cap against weird COB calculations) * comment * un-revert the change that actually checks pump_loop_completed * break if monitor/pump_loop_completed doesn't yet exist * narrow the ranges for charged/charging * consider pump_loop_completed even if no bolus needed * wait 4 minutes for new BG now that we're doing it right * always wait_for_bg regardless of battery level * echo truthfully * syntax * comment out minutes_running code now that we're not incorporating future temps into eventualBG * try also waiting for upto30s after radio reset before mmtuning * whitespace * grammar * disable SMB when a high temptarget is set * if both minUAMPredBG or minCOBPredBG are set, average them for now * weighed average minUAMPredBG and minCOBPredBG based on how many carbs remain as COB * wait for longer silence the weaker mmtune RSSI is * grammar * rounding and debugging * grammar * calculate minCOBPredBG if remainingCI > 0 * make sure minIOBPredBG is at least 40 * average the minIOBPredBG and minUAMPredBG for minPredBG * we don't need to ignore low minPredBGs any more * print basal and sens when unchanged * include minPredBG in rT object * update to smb_enact_temp based on pump_loop_completed * add minPredBG to rT object * syntax * simplify and linearize rssi_wait * comment * remove unused code from autotune debugging (3c34aa0) * #447: if rewind_resets_autosens, use BG data since lastSiteChange * only do padding in autosens mode, not COB calc mode * cap all minPredBGs at 39 to avoid biasing averages * differentiate autosens adjustments from adjust_targets_when_high ones * allow temp rate within 0.025U/hr for decocare floating point math * profile.adjust_targets_when_high renamed to adv_target_adjustments * log when not Adjusting targets for high BG * whitespace * without COB, use max of minIOBPredBG,minUAMPredBG * if carb_ratio is null buy we have a valid carb_ratios object, use that * move carb_ratio null check to oref0-autotune-prep.js * variable name * if carb_ratio is null buy we have a valid carb_ratios object, use that * if carb_ratio is null buy we have a valid carb_ratios object, use that * if profile.json contains null carb_ratio use profile.pump.json * Revert "if carb_ratio is null buy we have a valid carb_ratios object, use that" This reverts commit 687edb8. * Revert "if carb_ratio is null buy we have a valid carb_ratios object, use that" This reverts commit 35d506e. * check for carb_ratio==null if oref0-autotune-core fails * don't do lastSiteChange stuff for oref0-meal * wait for a full 30s silence before mmtuning * grammar * wait for a full 30s silence before mmtuning * adv_target_adjustments comment * allow setting of adjustmentFraction via preferences.json * add remainingCarbsCap to preferences.json, defaulting to zero * always run mocha in color mode * don't set snoozeBG if minPredBG >= 400 * fix some tests; disable others * use average of naive_eventualBG and minIOBPredBG to calculate worstCaseInsulinReq this will allow it to stop zero temping sooner when it's not longer really needed. * only mmtune 20% of the time now that we're waiting longer * set zero temps long enough to eventually correct back up to target * grammar * increase default min_5m_carbimpact to help avoid overestimating COB * increase default min_5m_carbimpact to help avoid overestimating COB * grammar * support 515/715 for SMB as well * support 515/715 for SMB as well * use lower of minUAMPredBG or avgPredBG instead of avgMinPredBG in mixed COB+UAM mode * add minPredBG to reason field * grammar * use higher of minIOBPredBG, minUAMPredBG * if we have COB, use max(minCOBPredBG,blendedMinPredBG), or avgPredBG if lower * grammar * grammar * grammar * ordering * define IOBpredBG to make tests happier * default IOBpredBG to eventualBG for tests * comment out overly prescriptive text regex checks * calcualte and display carbsReq * debug and fix carbsReq calculation * grammar * grammar * grammar * use only naive_eventualBG to avoid overreacting to downticks * grammar * grammar * add maxBolus to reason when it's active * populate rT.carbsReq too * script to send pushover alerts for carbsReq/insulinReq (w/ maxBolus) * usage * syntax * exit * syntax, and output when no action required * add oref0-pushover * don't use old suggested.json files * debugging * debugging * print date for logs * add pushover to oref0-setup * cd $directory * carbsReq for low glucose suspend mode * don't display Eventual BG 68 >= 80 in SMB mode * fix maxBolus check * compare maxBolus to microBolus, not insulinReq * move add'l carbs req up before first return * remove second now-duplicate carbsReq stanza * clarify action = temp, not SMB * round maxBolus * only recommend carbsReq if really needed * add hostname to message * enact long temps even if a > 20m one is running * don't mmtune if Pump suspended * logic is hard * only pushover for microBolus >= maxBolus * actually set durationReq m zero temp. * re-check pump status if suspended * don't set 0-minute temps (cancels) * a zero temp request gets misinterpreted as 1270m - don't allow that * oref0-set-system-clock for smb_enact_temp too * move "incorrectly" check to smb_verify_suggested above deliverAt check * that's smb-suggested.json * update tests to allow >30m temps * disconnect any previous connection attempts before connecting * disable networking restart dhclient kill to see if that's more stable * deal with icanhazip.com proxy format (172.19.131.138, 10.36.65.138,12.130.117.68) * don't print minCOBPredBG or minUAMPredBG if they're 999 * only microbolus if 0.1U SMB represents 20m or less of basal (0.3U/hr or higher) * enable bolus snooze when COB will eventually get BG above target * if no microBolus required, and lastCOBpredBG > target_bg, don't set a zero temp * if no microBolus required, snoozeBG > target_bg, and lastCOBpredBG > target_bg, don't set a zero temp * print wlan0 SSID properly * renew wlan0 IP if wifi is connected w/o an IP * don't print SSID when checking it * comment * allow high temps or SMBs when bg < threshold if IOB is highly negative * if pump clock is more than 1m off, attempt to reset it * don't renew wlan0 if it has no SSID * sleep 120 after releasing wifi IP * update tests * newline * install jq with SMB to fix #469 * capture stderr too * regex update; if we still can't get online, try cycling networking as a last resort
Configuration menu - View commit details
-
Copy full SHA for 76ff214 - Browse repository at this point
Copy the full SHA 76ff214View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3bfe9a - Browse repository at this point
Copy the full SHA b3bfe9aView commit details
Commits on May 23, 2017
-
Fix low glucose suspend (#476)
* only skip low glucose suspend if IOB > - 20m worth of basal and BG is rising faster than predicted * syntax * grammar space * fix 20m of IOB calculation * don't low glucose suspend if IOB is already super negative and BG is rising faster than predicted * print IOB * only print LGS-bypass stuff if bg < threshold
Configuration menu - View commit details
-
Copy full SHA for 647a35f - Browse repository at this point
Copy the full SHA 647a35fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53b5854 - Browse repository at this point
Copy the full SHA 53b5854View commit details -
remove uneeded files for nightscout token authentication, and remove …
…oref0-find-ti cleanup files that are not necessary. oref0-find-ti is not needed because oref0_subg_ww_radio_parameters.py reads the parameters from pump.ini
Configuration menu - View commit details
-
Copy full SHA for b86a52b - Browse repository at this point
Copy the full SHA b86a52bView commit details -
remove oref0_check_nightscout from oref0-setup
(must be replaced with check only script)
Configuration menu - View commit details
-
Copy full SHA for d6bbf86 - Browse repository at this point
Copy the full SHA d6bbf86View commit details -
store API_SECRET and NIGHTSCOUT_HOST to .bash_profile (once) and supp…
…ort for token authentication
Configuration menu - View commit details
-
Copy full SHA for 7cce6c5 - Browse repository at this point
Copy the full SHA 7cce6c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 133d1d1 - Browse repository at this point
Copy the full SHA 133d1d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 181a3c7 - Browse repository at this point
Copy the full SHA 181a3c7View commit details
Commits on May 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c619fd0 - Browse repository at this point
Copy the full SHA c619fd0View commit details
Commits on May 31, 2017
-
restore cp of newprofile (#484)
restore "Copy tuned profile produced by autotune to profile.json for use with next day of data"
Configuration menu - View commit details
-
Copy full SHA for dcb08e7 - Browse repository at this point
Copy the full SHA dcb08e7View commit details
Commits on Jun 1, 2017
-
Re-working oref0-setup.sh (#486)
Summary: Formatting and colors for readability. AMA, autosens, and autotune are now out of advanced features Advanced features sub-menu now holds Pushover setup prompts, and a reminder to manually enable oref1 features if you want them. maxIOB will now be set here, with a note about recommending 0 or 1 hour of basal to newbies; it defaults to zero if not set. * only skip low glucose suspend if IOB > - 20m worth of basal and BG is rising faster than predicted * syntax * grammar space * fix 20m of IOB calculation * don't low glucose suspend if IOB is already super negative and BG is rising faster than predicted * print IOB * only print LGS-bypass stuff if bg < threshold * remove oref0-mint-max-iob * #475: if max_iob is unspecified, allow up to 1h worth of extra basal as IOB * Setup script (#481) * Fix low glucose suspend (#476) * only skip low glucose suspend if IOB > - 20m worth of basal and BG is rising faster than predicted * syntax * grammar space * fix 20m of IOB calculation * don't low glucose suspend if IOB is already super negative and BG is rising faster than predicted * print IOB * only print LGS-bypass stuff if bg < threshold * Setup script adding pushover prompt questions Saving pushover flags in runagain script hidden microbolus enable prompt (for future use) adding bt question * typo fix * Update determine-basal.js * Update determine-basal.js * Moving AMA, autosens, autotune and hiding advanced feature menu Moving AMA autosens and autotune out of advanced features. Hiding advanced features Q until we're ready to prompt for SMB. * Adding max_IOB prompt to oref0-setup.sh * Update oref0-setup.sh * Fix spacing at end * De-bugging attempt2 * Debugging attempt3 * Debugging attempt4 * Fix invalid arithmetic operator eror * Errant fi removal * Add echocolor to make echo's blue, plus format longer text prompts * Formatting improvements and typo catches * Reordering for visibility and readability * Readability improvements * Even more formatting tweaks * Fixing formatting * Final formatting change * Broken thing fixed * Fix attempt2 * Missing " * Add if fi clause to maxiob * Improve if clause around max_iob * More formatting tweaks * Moving Pushover to advanced features menu & tweaking language * Add confirmation statements to some of the y/N's * Adding negative confirmations * Negative for advanced features * Fix if/fi * Fixing * Spacing for end * Make continue prompt more clear * Clarify advanced features are in docs * Spacing * Final spacing * Remove auto maxiob (because maxIOB will default to zero per setup script if not specified) * Final tweaks * Fix auto to zero * Re-adding a -n * Formatting * Fixing things again * Add a space * No, the real fix this time * clean up whitespace and other minor stuff (#488)
Configuration menu - View commit details
-
Copy full SHA for 1cb069d - Browse repository at this point
Copy the full SHA 1cb069dView commit details -
remainingCarbsFraction into dev (#489)
* only skip low glucose suspend if IOB > - 20m worth of basal and BG is rising faster than predicted * syntax * grammar space * fix 20m of IOB calculation * don't low glucose suspend if IOB is already super negative and BG is rising faster than predicted * print IOB * only print LGS-bypass stuff if bg < threshold * make remainingCarbsFraction a preference * restore "Copy tuned profile produced by autotune to profile.json for use with next day of data" (#485) Per suggestion for dev branch from tynbendad. * remove erroneous +'s
Configuration menu - View commit details
-
Copy full SHA for d691fe0 - Browse repository at this point
Copy the full SHA d691fe0View commit details -
- remove loop in main() and smb_main(). keeping the loop running is a responsibility of cron. This makes it possible to stop the pump loop with `/etc/init.d/cron stop` and will not let `killall` kill oref0-pump-loops. - write in the logs when a pump loop is aborted (because of an error of one of the commands) - descreased maybe_mmtune. . a limit of 26214 will mmtune in ~ 44% time which seems too much (don't understand why)
Configuration menu - View commit details
-
Copy full SHA for ac54d66 - Browse repository at this point
Copy the full SHA ac54d66View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4465af - Browse repository at this point
Copy the full SHA d4465afView commit details
Commits on Jun 2, 2017
-
Fix for MDT Divide by Zero Error (#478)
* Update mdt-cgm.json Changes to make nightscout/glucose.json happen during format of MDT cgm data. * Update oref0-pump-loop.sh Changes to touch -d "$(date -R -d @$(jq .[0].date/1000 monitor/glucose.json))" monitor/glucose.json to get rid of jq: error: null and number cannot be divided date: invalid date ‘@’ error * Update oref0-pump-loop.sh * make setglucosetimestamp a function, and go back to using grep "MDT cgm" openaps.ini
Configuration menu - View commit details
-
Copy full SHA for 164cedd - Browse repository at this point
Copy the full SHA 164ceddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 738b8f1 - Browse repository at this point
Copy the full SHA 738b8f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d8865a - Browse repository at this point
Copy the full SHA 5d8865aView commit details -
remove maybe_mmtune if pump is not suspended
as discussed with @scottleibrand . Fixed a bug: "if we can successfully talk to the pump and find that it's suspended, that does not indicate a pump comms issue that would justify mmtune, but rather just means the user suspended their pump. There's no point in running mmtune at that point: better to just wait for the user to resume the pump."
Configuration menu - View commit details
-
Copy full SHA for ad5a222 - Browse repository at this point
Copy the full SHA ad5a222View commit details
Commits on Jun 3, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 70a215a - Browse repository at this point
Copy the full SHA 70a215aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b8638f - Browse repository at this point
Copy the full SHA 1b8638fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbe032f - Browse repository at this point
Copy the full SHA fbe032fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 317ceb9 - Browse repository at this point
Copy the full SHA 317ceb9View commit details -
fix merge error, delete API_SECRET and NIGHTSCOUT_HOST from ~/.profil…
…e if they still exist
Configuration menu - View commit details
-
Copy full SHA for b7937a7 - Browse repository at this point
Copy the full SHA b7937a7View commit details
Commits on Jun 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7c515a4 - Browse repository at this point
Copy the full SHA 7c515a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d38f76 - Browse repository at this point
Copy the full SHA 7d38f76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e7e9f - Browse repository at this point
Copy the full SHA 72e7e9fView commit details
Commits on Jun 7, 2017
-
Adding a check for existing autotune folder. If it does not exist, wa…
…rn user that microbolus-related features will be disabled.
Configuration menu - View commit details
-
Copy full SHA for ce4e650 - Browse repository at this point
Copy the full SHA ce4e650View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3a1cf2 - Browse repository at this point
Copy the full SHA c3a1cf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac79451 - Browse repository at this point
Copy the full SHA ac79451View commit details
Commits on Jun 9, 2017
-
Merge pull request #491 from openaps/autotune-check
Adding a check for existing autotune folder. If it does not exist, warn user that microbolus-related features will be disabled.
Configuration menu - View commit details
-
Copy full SHA for b073f66 - Browse repository at this point
Copy the full SHA b073f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a66092 - Browse repository at this point
Copy the full SHA 8a66092View commit details -
you can test it with ``` for i in `seq 0 100` do echo LINE $i [[ $((RANDOM%100)) > 85 ]] && echo YES $i done ``` and `grep -c` the `YES`es. It turned out orginal code mmtune in 80% (100-20%) from the cases
Configuration menu - View commit details
-
Copy full SHA for bca160f - Browse repository at this point
Copy the full SHA bca160fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a6493d - Browse repository at this point
Copy the full SHA 9a6493dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f11f2 - Browse repository at this point
Copy the full SHA 19f11f2View commit details
Commits on Jun 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 59cf4b3 - Browse repository at this point
Copy the full SHA 59cf4b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for be5ff14 - Browse repository at this point
Copy the full SHA be5ff14View commit details -
Configuration menu - View commit details
-
Copy full SHA for e08bcda - Browse repository at this point
Copy the full SHA e08bcdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bd350a - Browse repository at this point
Copy the full SHA 0bd350aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eea59a1 - Browse repository at this point
Copy the full SHA eea59a1View commit details
Commits on Jun 18, 2017
-
* comment out debug statements * include minutesAboveMinBG worth of zero temps in calculating carbsReq * print minutesAboveMinBG in reason field * nothing to do here, as carbsReq is already added outside the if() * minutesAboveMinBG can come from either COBpredBG or IOBpredBG * always include at least 30m worth of zero temp (carbs to 80, low temp up to target) * add zeroTempDuration to debug output
Configuration menu - View commit details
-
Copy full SHA for 68bcc25 - Browse repository at this point
Copy the full SHA 68bcc25View commit details
Commits on Jun 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 305dc60 - Browse repository at this point
Copy the full SHA 305dc60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 786f7ee - Browse repository at this point
Copy the full SHA 786f7eeView commit details
Commits on Jun 24, 2017
-
* fix mraa on dev. temporary stick to v1.7.0 release of mraa * mraa fix for dev
Configuration menu - View commit details
-
Copy full SHA for 3a769d0 - Browse repository at this point
Copy the full SHA 3a769d0View commit details
Commits on Jun 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for b058ebf - Browse repository at this point
Copy the full SHA b058ebfView commit details
Commits on Jun 26, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9183670 - Browse repository at this point
Copy the full SHA 9183670View commit details -
Configuration menu - View commit details
-
Copy full SHA for d610222 - Browse repository at this point
Copy the full SHA d610222View commit details
Commits on Jun 28, 2017
-
use mraa master on oref0 dev branch (#507)
this PR is needed to test eclipse/mraa#771 with OpenAPS
Configuration menu - View commit details
-
Copy full SHA for 0290c95 - Browse repository at this point
Copy the full SHA 0290c95View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb85801 - Browse repository at this point
Copy the full SHA bb85801View commit details -
Configuration menu - View commit details
-
Copy full SHA for 185492e - Browse repository at this point
Copy the full SHA 185492eView commit details -
temporay re-add the until loop
scott asked to temporary not include the removal of the `until` loop in the oref1 pump loop. this fixes problems for ww pumps users (mostly tested with single rig), but might have influence on multi rig users. I will create a seperate PR for this later, because (possibly) endless loops in a pump loop can cause strange effects (e.g. pump loops that get killed by killall, and therefore messing up the rig-pump communication)
Configuration menu - View commit details
-
Copy full SHA for 3a18e2b - Browse repository at this point
Copy the full SHA 3a18e2bView commit details
Commits on Jun 29, 2017
-
unsuspend pump automatically if temp basal duration is zero (#496)
* unsuspend pump automatically if temp basal duration is zero * Add unsuspend_if_no_temp: false to preferences * only unsuspend if unsuspend_if_no_temp set to true in preferences * refresh status.json before checking it * syntax
Configuration menu - View commit details
-
Copy full SHA for 2fb0fb2 - Browse repository at this point
Copy the full SHA 2fb0fb2View commit details -
check pump clock after pumphistory to alleviate #477 race condition (#…
Configuration menu - View commit details
-
Copy full SHA for 0437b4f - Browse repository at this point
Copy the full SHA 0437b4fView commit details
Commits on Jul 1, 2017
-
Merge branch '201705_fixes' of https://github.com/PieterGit/oref0 int…
…o PieterGit-201705_fixes
Configuration menu - View commit details
-
Copy full SHA for 4939b9f - Browse repository at this point
Copy the full SHA 4939b9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a86667 - Browse repository at this point
Copy the full SHA 2a86667View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70a900a - Browse repository at this point
Copy the full SHA 70a900aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f223b9e - Browse repository at this point
Copy the full SHA f223b9eView commit details
Commits on Jul 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 729eb80 - Browse repository at this point
Copy the full SHA 729eb80View commit details -
Configuration menu - View commit details
-
Copy full SHA for fecb087 - Browse repository at this point
Copy the full SHA fecb087View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1eb2df - Browse repository at this point
Copy the full SHA b1eb2dfView commit details
Commits on Jul 3, 2017
-
Safety gate oref1 stuff in oref0-setup (#516)
* Clarifying SMB manual enable, NS URL example * Default AMA always on and adding safety gate check for oref1 * fix a bunch of safety gate syntax/logic * oref0-setup only enables SMB, not UAM * Add some spacing
Configuration menu - View commit details
-
Copy full SHA for 9fff312 - Browse repository at this point
Copy the full SHA 9fff312View commit details -
per #419, ignore bolus wizard carb entries without a bolus (#512)
Configuration menu - View commit details
-
Copy full SHA for 1d87676 - Browse repository at this point
Copy the full SHA 1d87676View commit details -
merge_pumphistory to fix zombie carbs (#513)
* merge_pumphistory and use pumphistory-merged.json for COB calculations in meal.json * consider carbs from up to 6 hours ago in calculating COB * newline
Configuration menu - View commit details
-
Copy full SHA for 05a6190 - Browse repository at this point
Copy the full SHA 05a6190View commit details -
Update default preferences (#515)
* raise default min_5m_carbimpact from 5 to 8 to help with reappearing carbs * change remainingCarbs defaults to 90g and 100% * change comment about default value * display only selected default settings by default * enable rewind_resets_autosens and adv_target_adjustments by default
Configuration menu - View commit details
-
Copy full SHA for 5d3cb6b - Browse repository at this point
Copy the full SHA 5d3cb6bView commit details -
Add MDT to pump-loop.sh (#514)
* Update oref0-pump-loop.sh add the get CGM data from MDT into pump-loop.sh * Update some status messages and add some comments
Configuration menu - View commit details
-
Copy full SHA for 4ba5e90 - Browse repository at this point
Copy the full SHA 4ba5e90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 028001b - Browse repository at this point
Copy the full SHA 028001bView commit details
Commits on Jul 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 69a4882 - Browse repository at this point
Copy the full SHA 69a4882View commit details -
Fix color and spacing around token auth in setup script (#520)
* Fix color and spacing around token auth in setup script * change token auth default from Y to N for now, and whitespace
Configuration menu - View commit details
-
Copy full SHA for 640552f - Browse repository at this point
Copy the full SHA 640552fView commit details -
find last BG from before a meal, and interpolate any gaps (#518)
* find last BG from before a meal, and interpolate any gaps * log autosens ratio in pump-loop.log; better rounding * consistent y/[N] prompts
Configuration menu - View commit details
-
Copy full SHA for ff901fc - Browse repository at this point
Copy the full SHA ff901fcView commit details
Commits on Jul 5, 2017
-
mmtune 25% of the time; remove unless() loop (#523)
* mmtune 25% of the time; remove unless() loop * per @Bender1061 suggestion, retry preflight model check * change 'retrying' language since we don't; remove upto10s sleep * space * move unsuspend_if_no_temp stuff into Retrying SMB checks
Configuration menu - View commit details
-
Copy full SHA for 13e8101 - Browse repository at this point
Copy the full SHA 13e8101View commit details
Commits on Jul 6, 2017
-
Update oref0-pump-loop.sh (#525)
Fix Echo errors for MDT
Configuration menu - View commit details
-
Copy full SHA for b03dfbf - Browse repository at this point
Copy the full SHA b03dfbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f3abe0 - Browse repository at this point
Copy the full SHA 0f3abe0View commit details
Commits on Jul 9, 2017
-
upload carb-only bolus wizard entries to NS again (#526)
* whitespace * revert #512 for NS uploads (only)
Configuration menu - View commit details
-
Copy full SHA for f5d071d - Browse repository at this point
Copy the full SHA f5d071dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d154d64 - Browse repository at this point
Copy the full SHA d154d64View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9e713b - Browse repository at this point
Copy the full SHA b9e713bView commit details
Commits on Jul 11, 2017
-
* no newline after Continue prompt * create echocolor-n function for echo -n behavior
Configuration menu - View commit details
-
Copy full SHA for 7690b51 - Browse repository at this point
Copy the full SHA 7690b51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6050c24 - Browse repository at this point
Copy the full SHA 6050c24View commit details -
various oref0-pump-loop fixes affecting COB calculation (#540)
* switch non-SMB users over to oref0-pump-loop * run refresh_old_pumphistory after refresh_old_pumphistory_24h * use pumphistory-merged.json for ns-meal-carbs * remove debugging line * remove debugging line * wait for seconds of silence on Old pumphistory-24h * no need to print out enact/smb-suggested.json
Configuration menu - View commit details
-
Copy full SHA for 647cf40 - Browse repository at this point
Copy the full SHA 647cf40View commit details
Commits on Jul 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 4719c41 - Browse repository at this point
Copy the full SHA 4719c41View commit details -
* move unsuspend_if_no_temp somewhere it can actually be executed * move unsuspend_if_no_temp somewhere it can actually be executed * typo * move unsuspend_if_no_temp somewhere it can actually be executed * if smb_verify_enacted, check if suspended
Configuration menu - View commit details
-
Copy full SHA for ace821f - Browse repository at this point
Copy the full SHA ace821fView commit details
Commits on Jul 14, 2017
-
Merge branch 'master' into dev
Conflicts: bin/oref0-setup.sh package.json
Configuration menu - View commit details
-
Copy full SHA for 02418ac - Browse repository at this point
Copy the full SHA 02418acView commit details