Skip to content

Releases: openaps/oref0

0.6.0 release candidate 1

15 Nov 01:07
Compare
Choose a tag to compare
Pre-release

See openaps/docs#1104 for related documentation, and #707 for all notes related to this release

oref0 0.5.5 (patch with autotune fixes)

08 Oct 20:23
Compare
Choose a tag to compare

This is a patch release with fixes for Autotune that we've been testing in dev and wanted to expedite for everyone's usage.

  • Resolves known upward bias of ISF and carb ratio in autotune
  • Swaps json to jq . to cut down on some user errors depending on type of one-off install
  • Resolves Mac compatibility issues for one-off runs on Mac computer

0.6.0-dev1

06 Oct 02:31
Compare
Choose a tag to compare
0.6.0-dev1 Pre-release
Pre-release

oref0 0.5.4 (fixes for x12 pumps)

20 Sep 23:12
Compare
Choose a tag to compare

This patch release includes some fixes for 0.5.3 to re-establish basic looping capabilities for x12 (512 or 712) pumps.

0.5.3 patch release

09 Sep 00:31
Compare
Choose a tag to compare

Summary: This is a patch release with a variety of small bug fixes and improvements. The most notable ones are:

  • Fixing the jubilinux 0.2.0 issue that resulted in "unknown" pills in Nightscout (even if everything otherwise was looping fine)
  • Decocare is now updated, which includes some of the support for temp basals set >6.3u/hr; ISF > 255; carb ratio > 25.
  • Fix so autosens and other target adjustments won't be set below 80
  • Fixes for our friends in various timezones

This patch release includes the following PRs:

  |   | Add import for Carbs&Insulin entered through Nightscout Care Portal (#547) |   |   | 207e59d
  |   | use pumphistory-merged.json for IOB calculations (#555) |   |   | bf37ac0
  |   | Add module needed for EdisonVoltage to work on jubilinux 0.2.0 (#559) |   |   | 0cbfb35
  |   | easy_install -U decocare (#548) |   |   | 83c24c4
  |   | Don't use xdrip/glucose.json when old or empty (#550) … |   |   | 34795b9
  |   | fix &current_basal_safety_multiplier typo (#560) |   |   | 397b2a7
  |   | only reset_spi_serial.py if [[ == /dev/spidev5.1 ]] (#569) |   |   | 0592d83
  |   | enable SMB/UAM (if enabled) for a full 6 hours after any carb entry (#561) |   |   | 050b542
  |   | Fix argument definition (#576) … |   |   | 8e28f25
  |   | check whether decocare-0.0.31 has been installed (#574) |   |   | cd3bf9c
  |   | Gather when suspended (#573) ) |   |   | 3629dbd
  |   | Autotune tokenauth (#578) … |   |   | 8b746e5
  |   | Fix handling of closely-timed boluses (#579) … |   |   | 010a05e
  |   | if currentDeviation is null, set mealCOB to 0 for zombie-carb safety (#589) |   |   | 514fbfb
  |   | don't SMB unless bg > threshold (#601) |   |   | 5d294fe
  |   | speed up COB calculation (#593) … |   |   | b8a31d8
  |   | Calling out the number one beginner error (#586) … |   |   | f201087
  |   | Separate out meal calcs from monitor-pump alias (#594) … |   |   | c29c32d
  |   | import openaps install scripts from docs (#598) |   |   | 7c466bf
  |   | only print minDelta < expectedDelta when it's true |   |   | 5431e2f
  |   | don't allow target_bg below 80 (#608) |   |   | 3923bb9
  |   | Fix for missing temp targets and carb treatments for timezones east of UTC (#614)  | 2b1293e
  |   | ignore bolusing status if pump is suspended (#625) |   |   | f5ed6b9
  |   | only updatePreferences with displayedDefaults (#609) |   |   | 8bf2142
  |   | remove filename extension from monitor-xdrip in crontab (#628) |   |   | d87d961
  |   | mmtune on failure if pump_loop_completed > 15m old (#631) … |   |   | 2f3277b
  |   | URL encoding for autotune filters (#636) … |   |   | 92919bd
  |   | remove variable (#647) |   |   | 575074c

Fix for IOB calculations not using pumphistory-merged.json

20 Jul 04:42
Compare
Choose a tag to compare

Per #554, oref0 0.5.1 was improperly using pumphistory-zoned.json for IOB calculations instead of pumphistory-merged.json, which resulted in IOB for any given bolus or temp basal event being cut off after 2 hours. As a result, oref0 would have been slightly less likely to low-temp when BG was running low 2-3 hours after a meal, and would stop issuing SMBs after 2 hours if it calculated there was no more COB.

This release fixes that issue by correcting the iob.json report to use pumphistory-merged.json as intended.

oref0 0.5.1 which includes oref1 related features

14 Jul 05:59
Compare
Choose a tag to compare

oref0 0.5.1 just fixes an oref0-setup syntax error introduced when merging 0.5.0 to master.

oref0 0.5.0 release notes:

  • Improved oref0-setup.sh experience (colors, etc.)
    • AMA is always on by default - no longer prompts in the script
    • Autotune and autosens moved out of advanced features menu
    • max_IOB will be prompted for
  • oref1 features (SMB, UAM) included, and can be set up via oref0-setup.sh under advanced features
    • oref1-related pushover is also under advanced features
    • oref1 also includes insulinReq and carbsReq, which will show in the pill even if Pushover not enabled
    • SMB requires autotune folder to be present on the rig
  • oref0-setup installs bluez 5.44 if needed unless version 5.37 or newer is present
  • oref0-online/wifi related improvements for connectivity
  • oref0-reset-git and logrotate improvements to help with full disks
  • oref0-set-device-clocks if pump clock is >1m off
  • oref0-set-system-clock if determine-basal complains it's set incorrectly
  • Bolus wizard carb entries without a bolus will now be ignored
  • Fix for zombie (reappearing) carbs
  • Assume remainingCarbs (carbs we’re not yet seeing deviations for) will absorb over 4h
  • Various improvements for WW pumps
  • Other feature additions:
    • Rewind_resets_autosens resets autosensitivity to neutral for a while after each pump rewind
    • Autosens_adjust_targets: when autosens detects sensitivity/resistance, also adjust BG target accordingly
    • adv_target_adjustments: lowers target automatically when BG and eventualBG are high
    • unsuspend_if_no_temp: if enabled, pump will un-suspend after a zero temp finishes
    • autotune_isf_adjustmentFraction: keeps autotune ISF closer to pump ISF via a weighted average of fullNewISF and pumpISF.
    • allow non-SMB code paths to set temps up to 120 minutes when needed
    • Nightscout token auth

oref0 0.5.0 (see oref0 0.5.1 instead)

14 Jul 04:26
Compare
Choose a tag to compare
Pre-release

This version had a syntax error that prevented oref0-setup from running. See v0.5.1 for the fix and full release notes.

spring cleaning 2016

16 May 05:50
Compare
Choose a tag to compare

PR: * #105

v0.2.0 / 2016-05-15

new features

  • meal-assist
    • Helps administer extra insulin when needed after meals. Must be configured. Must be willing to consistently enter carbs (via pump's bolus wizard or can be configured to pull from NS care portal) to avoid triggering wtf-assist erroneously.
  • automatic sensitivity detection (auto-sens)
    • Auto-adjusts basal rates and ISF used by oref0 based on deviations from normal over the last 24h
  • nightscout full suite of tools for managing entries and treatments
    • Makes it easier to upload, download, and manage BG and pump data to/from Nightscout.
  • lots of other new tools
    • aiding setup, see templates, nightscout autoconfigure-device-crud, alias-helper, device-helper and other friendly tools designed to work in tandem with the openaps import features.

changes

  • determine-basal is now stricter with it's arguments, now producing errors when a file for a feature such as auto-sens or meal-assist is enabled but does not have appropriate input/data.
  • refactored a lot of source code: most source is now organized in a re-usable way, we've started introducing switches and other niceties to the interfaces
  • always temp to zero if <60 and other real-world situation improvements
  • lots more error/sanity checking

changelog

  • Merge pull request #105 from openaps/dev
  • add autosens-adjusted ISF to reason field
  • Merge pull request #112 from mddub/neutral-temps-preference
  • set_neutral_temps -> skip_neutral_temps
  • Make neutral temp basals configurable
  • provide easy way to backup/export entire configuration
  • add aliases as well
  • add detect-sensitivity to oref0 templates
  • Merge pull request #111 from mddub/preferences-not-max-iob
  • Fix last errant reference to max_iob.json
  • Update oref0-mint-max-iob to use preferences.json
  • Rename max_iob.json to preferences.json
  • disable wtfAssist and mealAssist if no meal_data
  • Merge pull request #107 from openaps/bewest/fix-cli
  • allow persisting backups in another location
  • only show one help message.
  • rm calculate-basal from help output
  • tweak usage
  • that was short-lived and probably ill considered.
  • tweak per @scottleibrand's feedback
  • restore backwards-compat for people with working meals.json
  • include calculate-basal tool
  • introduce yargs with different positional params
  • tweak older message to match
  • don't allow overriding auto-sens ratio via switch
  • patch determine-basal to take auto-sens as named params
  • fix require lines for both linked and packaged scenarios
  • tweak error message
  • introduce some informative errors for enabling wtf-assist
  • lol, narrow gap threshold for entries to 5 minutes.
  • add more help messages, add --current now to select
  • make the culling re-usable by many types
  • tweak help message, as well as fix arguments to ns
  • adjust template to accept new-style ns tools
  • make setting up Nightscout uploads even easier
  • more debugging tweaks for @garykidd and friends
  • Merge branch 'dev' of github.com:openaps/oref0 into dev
  • make nightscout fetching debuggable
  • Merge pull request #100 from jasoncalabrese/wip/remove-recieved-hack
  • remove 'recieved' hack since it's not needed with current version of mmeowlink
  • Merge pull request #87 from openaps/wip/bewest/help-output
  • add more templating/helpers
  • Merge pull request #93 from openaps/wip/bewest/autoconfigure-ns
  • Merge pull request #94 from openaps/wip/bewest/autoconfigure-stuff
  • allow timezone to use local timezone
  • templatize most medtronic reports
  • update report template
  • stub out openaps template generator
  • make sure ns-get does something in host mode
  • make Nightscout tools a lot easier to use in openaps.
  • if ENTRIES is supposed to be a file, fail if empty/missing
  • Merge branch 'dev' of github.com:openaps/oref0 into wip/bewest/help-output
  • Merge pull request #92 from CrushingT1D/dev
  • Merge branch 'dev' of github.com:openaps/oref0 into wip/bewest/help-output
  • Lower max override from 100 to 90
  • Merge pull request #89 from jasoncalabrese/wip/eventtype-fix
  • don't require a bg for a meal bolus
  • switch from sh to bash, fix bashisms
  • Merge branch 'dev' of github.com:openaps/oref0 into wip/bewest/import-utils
  • ensure --help output for all tools
  • Merge pull request #75 from openaps/meal-assist
  • #76: don't adjust ratio more than 2x in either direction
  • Merge branch 'dev' into meal-assist
  • #84: always temp to zero when BG < 60
  • Merge branch 'meal-assist' of github.com:openaps/oref0 into meal-assist
  • #84: always temp to zero when BG < 60
  • Merge pull request #86 from jasoncalabrese/meal-assist
  • filter Model522ResultTotals and Model722ResultTotals treatment spam
  • round target in mealAssist status message
  • Revert "temporary workaround to prevent issues from DST switchover"
  • temporary workaround to prevent issues from DST switchover
  • p50 looks better for pSensitive
  • #77: fix incorrect BGI calculation to be per 5m, not per minute, and use p30 and p60 to avoid false positives from resulting increased sensitivity
  • formatting
  • formatting
  • formatting
  • :
  • print text at the top of oref0.html for mddub watch face
  • add some docs to the tool
  • more easily print to stdout
  • Merge branch 'dev' of github.com:openaps/oref0 into dev
  • Merge branch 'dev' into meal-assist
  • use p45 for resistance detection
  • use avgDelta for calculating deviations
  • Merge branch 'meal-assist' of github.com:openaps/oref0 into meal-assist
  • use p40 for resistance detection
  • Merge pull request #74 from jasoncalabrese/wip/treatment-cleanup
  • goodbye Sara6E
  • use minDelta everywhere
  • Merge pull request #73 from jasoncalabrese/wip/treatment-cleanup
  • don't calculate autosens with less than 6h of data
  • oref0-reset-usb can be used for TI sticks, not just Carelinks
  • prevent some treatment spam from getting to NS
  • add mmtune to usage and mark it as optional
  • viewport 500
  • meta refresh
  • typo
  • add hostname
  • Merge branch 'meal-assist' of github.com:openaps/oref0 into meal-assist
  • oref0-html.js
  • update clockset.sh to work with oref0
  • Merge pull request #72 from jasoncalabrese/wip/raw
  • replicate and fix bug using sgv field from NS
  • Merge pull request #71 from jasoncalabrese/wip/raw
  • added check for inputs and use an array of cals
  • Merge branch 'dev' into wip/raw
  • added oref0-raw to the package
  • Merge pull request #69 from jasoncalabrese/wip/raw
  • not
  • added tool to support filling in raw glucose values
  • Merge pull request #67 from jasoncalabrese/wip/ns-status-tune
  • Merge branch 'dev' of github.com:openaps/oref0 into dev
  • tweak globl
  • move recieved hack from ini to ns-stauts till we find a fix in mmeowlink
  • only use the lower sens for calculating the impact of existing IOB
  • if IOB is negative, be more conservative and use the lower sens
  • pass status object instead of getting lucky
  • added mmtune timestamp
  • don't extend identical temps when >20m left
  • comment out enacted stuff for now
  • optionaly include mmtune in status
  • commas
  • disable debug output
  • increment dev version number to 0.1.3
  • increment meal-assist version number to 0.1.4
  • be quiet about meal data in pebble
  • only set mealCOB if defined
  • calculate and print mealCOB in pebble.json (display only; carbs_hr hardcoded at 30g/hr)
  • , temp
  • use current_basal as of bgTime, not now
  • less ominous warning about Meal Assist
  • missing space
  • move Mean deviation output to stderr
  • should do nothing when requested temp already running with >15m left test
  • compare currenttemp.rate to basal when setting basal as temp
  • compute and display Mean deviation
  • round sens
  • round basal
  • only set current basal as temp if not already running
  • fix bgTime calculations, and don't run with <40 BG data points
  • report caught error when Auto Sensitivity not enabled
  • handle NS as well as CGM bgTimes
  • default autosens ratio to 1 if not provided
  • Merge branch 'dev' into meal-assist
  • Merge branch 'dev' of github.com:openaps/oref0 into dev
  • make wtfAssist slightly less aggressive
  • Merge pull request #63 from jasoncalabrese/wip/ns-status-optional
  • safe require the inputs so 1 missing file doesn't cause the status upload to fail
  • don't meal-assist until minDelta is >3, and raise high-bg wtf threshold
  • put 0 in front of decimals to make github syntax checker happier
  • only print Adjusting if we're changing something
  • stringify!
  • syntax, and a test
  • adjust sens and basal according to autosens ratio
  • pass autosens_data instead of offline
  • debug to stderr not stdout
  • #58 Automatic sensitivity/resistance detection
  • #58 Automatic sensitivity/resistance detection
  • define rT.reason first
  • rT.reason cleanup
  • move simulated meal bolus code earlier in the if tree
  • set current basal as temp instead of canceling
  • set current basal as temp when no action required
  • apply simulated extended bolus as an adjustment to basal, then do everything else normally
  • change profile.current_basal over to a local variable
  • don't preempt low-temps when BG is falling
  • cut off high temps if they'd deliver >0.1U more than required
  • set wtfDeviation=40 and wtfDelta=10 now that it's gradually ramped up
  • re-apply the 10% meal bolus margin
  • use hightempinsulin instead of netbasalinsulin to calculate remainingMealBolus
  • round when using maxSafeBasal
  • only display a single mealAssistPct
  • remove 10% fudge factor on remainingMealBolus
  • round insulinReq
  • round remainingMealBolus
  • don't high-temp when minDelta < expectedDelta, and phase it in between expectedDelta and 0
  • round eventualBG to whole numbers
  • only count positive net basal towards carbs
  • set rate
  • fix var name
  • round eventualBG
  • round mealAssist
  • high-temp for remainingMealBolus if it would be enough to get snoozeBG above min_bg
  • simulate extended bolus for uncovered carbs instead of bolus snoozing
  • comment out debugging
  • phase in mealAssist and wtfAssist smoothly
  • use netbasalinsulin instead of basaliob for mealAssist
  • calculate netbasalinsulin for use in m...
Read more