You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize oref0-pump-loop, and bug fixes (openaps#772)
* standardize on openaps report invoke
* not-yet-tested refactoring of monitor-pump, meal.json, etc.
* more refactoring for speed
* redirect output to the right files
* don't display full traceback on time set errors
* only run refresh_ commands if we don't have new glucose data yet
* remove end-of-line whitespace
* update pump_loop_completed before glucose-fresh checks
* reset pump clock if >55s off; better error messaging
* syntax
* nest ifs so we quit immediately if fresh
* hide red-herring 'date: invalid date ‘@’' message
* don't redirect oref0-meal stderr to meal.json
* more accurate log message
* show monitor/status.json if it's bolusing
* allow bolus and bolus wizard timestamps to differ by 1 second
* boluswizard uses current.carb_input not current.carbs
* warn if Treatment carbs unclassified
* profile.A52_risk_enable variable reference
* don't wait_for_bg after a Warning
* replace () with { ;}
* use try and retry functions
* retry basal_profile.json pull if it fails
* Couldn't
* curly braces and clearer error
* syntax
* exclude .pyc files from git
* lots more try, move suspended check to fail function
* log when Reducing insulinReq for expectedDelta
* try inside smb_suggest
* grammar
* wait_for_bg if too old; clarify error messages
* not sure how that got removed
* touch pump_loop_completed to wait for a new BG
* newlines
* check that profile has a valid current_basal
* differentiate things we can continue from if they fail
* "grep: enact/smb-suggested.json: No such file or directory" is not useful
* rename refresh_pumphistory_and_meal for error clarity
* continuing
* "grep: enact/smb-suggested.json: No such file or directory" is not useful
* install ntpdate
* only show reason too old if it's recent
* make sure status.json is fresh before checking if it says pump is suspended
* use try_return to more clearly log when ESC or bolus fails
* move calculate_iob into merge_pumphistory as it requires pumphistory-merged.json
* syntax
0 commit comments