Skip to content
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

Offline xdrip #1248

Merged
merged 64 commits into from Oct 29, 2019
Merged

Offline xdrip #1248

merged 64 commits into from Oct 29, 2019

Commits on Oct 14, 2018

  1. Offline xDrip looping

    sulkaharo committed Oct 14, 2018
    Configuration menu
    Copy the full SHA
    568a132 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8022a68 View commit details
    Browse the repository at this point in the history
  3. Add the glucose value

    sulkaharo committed Oct 14, 2018
    Configuration menu
    Copy the full SHA
    5dba856 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2a92768 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d0de4a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    443bf56 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2018

  1. Better error logging

    sulkaharo committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    05801cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f951a32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00a6fc1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e5edc4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    30b2940 View commit details
    Browse the repository at this point in the history
  6. Fix path typo

    sulkaharo committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    d2ab05f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b9cf6b8 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2018

  1. Configuration menu
    Copy the full SHA
    9611f18 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2018

  1. The apparently rare case where glucose is loaded from Nightscout befo…

    …re a new reading was available out misformatted data
    sulkaharo committed Nov 25, 2018
    Configuration menu
    Copy the full SHA
    695abe9 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2019

  1. Configuration menu
    Copy the full SHA
    072d65e View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2019

  1. Code cleanup

    sulkaharo committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    07de839 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2019

  1. Configuration menu
    Copy the full SHA
    1dc8354 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2019

  1. Configuration menu
    Copy the full SHA
    acbdf85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e979281 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1e3f27 View commit details
    Browse the repository at this point in the history
  4. tabs to sapces

    scottleibrand committed Apr 24, 2019
    Configuration menu
    Copy the full SHA
    09a5507 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Remove binary download options (#1252)

    * Remove binary download options
    
    * Add radiotags to runagain, and fix bug for radiofruit hardware type
    cluckj authored and scottleibrand committed May 15, 2019
    Configuration menu
    Copy the full SHA
    4f5c6cc View commit details
    Browse the repository at this point in the history
  2. Use Edison's FAT32 Partition (#1253)

    Mount the Edison's FAT32 partition to give us enough room to install golang.
    cluckj authored and scottleibrand committed May 15, 2019
    Configuration menu
    Copy the full SHA
    999f362 View commit details
    Browse the repository at this point in the history
  3. Radiotags in oref0-runagain.sh (#1254)

    Pass radiotags to oref0-setup.sh from oref0-runagain.sh.
    cluckj authored and scottleibrand committed May 15, 2019
    Configuration menu
    Copy the full SHA
    cd8ddc5 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Add network module dependency (#1261)

    Fixes issue of `Cannot find module 'network'` in the ns-looplog.
    p5nbTgip0r authored and scottleibrand committed May 20, 2019
    Configuration menu
    Copy the full SHA
    993e067 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2019

  1. Merge branch 'dev' into offline-xdrip

    Conflicts:
    	bin/oref0-setup.sh
    scottleibrand committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    02af7ed View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2019

  1. Debian Buster compatibility (#1275)

    * Save hardwaretype in preferences.json
    
    Store hardwaretype so that it can be used elsewhere.
    
    * Install node v8
    
    Make sure nodesource repo is used to install nodejs and npm.
    
    * Install node v8
    
    Make sure nodesource repo is used to install nodejs and npm, except on armv6...
    
    * Switch Radiofruit openaps-menu back to main repo
    cluckj authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    a022c65 View commit details
    Browse the repository at this point in the history
  2. fix systemctl syntax

    scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    6012742 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72fff1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63a09fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0cccea0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    86dc02a View commit details
    Browse the repository at this point in the history
  7. raspbian password checking adjustment (#1282)

    old line 12: the existing logic didn't make sense to me check for edison  but expire root so adjusting to check for root, expire root
    old line 16-21: If you changed the password for 'pi' before running the script you'd never get to the part about changing root's password as it's disabled and locked by default and therefore /run/sshwarn will not exist.
    new line 16-32: Check if we are running Raspbian, check the build date against the current password date for both pi and root. If they are the same, we are using default passwords and prompt for change. Checking them independently and only information message once.
    rkresha authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    52ee879 View commit details
    Browse the repository at this point in the history
  8. fix wrong interface choose (#1286)

    By default, choose the first interface found with a control socket in the socket path.
    kurbezz authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    f689c00 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c4eb477 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8b8725f View commit details
    Browse the repository at this point in the history
  11. Categorize improvements for libre 1 minute data (#1238)

    * Work in progress on categorize
    
      * Determine date & dateString properties in prepGlucose map function
      * Filter invalid records in filterRecords filter function
      * Clean up for loop to remove previously performed checks
      * Average any values that fall within the 2 minute deadband
    
    * Increase limit to allow for 1 minute data
    
      * Ensure 1440 (60*24) records can be downloaded
    rob-andy authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    16ecb13 View commit details
    Browse the repository at this point in the history
  12. refactoring: round_basal (#1294)

    - parametrized mocha test
    jirihofman authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    0b20d45 View commit details
    Browse the repository at this point in the history
  13. Improved rounding of mmol/L units in oref0-upload-profile (#1295)

    * Round ISF properly in oref0-upload-profile with mmol/L units
    
    * Round BG targets properly in oref0-upload-profile with mmol/L units
    
    * Add explanations for unit conversion code
    p5nbTgip0r authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    030c293 View commit details
    Browse the repository at this point in the history
  14. Reestablish bluetooth connection after failure to set bluetooth hci n…

    …ame (#1291)
    
    * Reset bluetooth adapter if fail to set bluetooth hci name
    
    * Check to make sure oref0-bluetoothup not already running
    
    * Stop bluetoothd and allow next cycle to handle restart
    rebecca-draben authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    5cffea0 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e7e5f13 View commit details
    Browse the repository at this point in the history
  16. run oref0-set-system-clock after oref0-set-device-clocks in case rig …

    …is offline (#1290)
    
    * run oref0-set-system-clock if oref0-set-device-clocks fails
    
    * remove output redirection for debugging
    
    * run oref0-set-system-clock regardless of return code from oref0-set-device-clocks
    
    * fix tabs that should be spaces
    scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    c312e4f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9700434 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    7e74cf8 View commit details
    Browse the repository at this point in the history
  19. Update bin/all-autosens-history.sh

    Add 2019
    
    Co-Authored-By: viq <vicviq@gmail.com>
    scottleibrand and viq committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    526520c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c83500a View commit details
    Browse the repository at this point in the history
  21. Have autotune sync to NS nightly after autotune runs (#1098)

    * Have autotune sync to NS nightly after autotune runs
    
    This will keep Nightscout in sync with autotune after the nightly run.
    
    * always round insulin to carb ratios to 0.1g
    
    * round basal rates to 0.01 U/h, not 0.001
    
    * sleep 60s to generate a new profile.json
    danamlewis authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    56ce53d View commit details
    Browse the repository at this point in the history
  22. Standalone MRAA installer for OpenAPS v0.7.0 (#1302)

    * Standalone MRAA installer for OpenAPS v0.7.0
    
    Addresses #1270
    
    * Add oref0-mraa-install to package.json
    cluckj authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    62f1cd6 View commit details
    Browse the repository at this point in the history
  23. Unused local variables (#1301)

    * Unused local variables
    
    * Unused local variables
    edwingustafson authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    e1f2c1f View commit details
    Browse the repository at this point in the history
  24. Upload preferences.json and oref0 version to devicestatus (#1300)

    * per #1288, only use minZTUAMPredBG if enableUAM, and use minGuardBG otherwise
    
    * upload preferences.json to devicestatus
    
    * use --preferences instead of positional arguments
    
    * yargs entry for --preferences
    
    * upload oref0 package.json version string
    
    * redact sensitive fields in preferences.json
    
    * reduce size of large logfiles like new -date ones
    scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    5e3cc9b View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8f56572 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    14c9f8a View commit details
    Browse the repository at this point in the history
  27. Refactor enable smb in determine-basal.js (#1299)

    * Move the enable SMB into its own dedicated function
    
    This will allow easier SMB conditional implementations
    
    * Forgot to remove the existing logic...
    
    * fix function naming
    
    * function fix round 2
    Steven Bell authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    c9376f5 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    a31ca65 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    35e749e View commit details
    Browse the repository at this point in the history
  30. Non-breaking space (#1305)

    * Non-breaking space detected by eslint
    edwingustafson authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    27cea18 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    4cd7b8c View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    84b1ec3 View commit details
    Browse the repository at this point in the history
  33. whitespace

    scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    1103078 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    edb9af9 View commit details
    Browse the repository at this point in the history
  35. Reduced logging (#1309)

    * Detect socket timeout and don't log stack trace
    
    * Add  ECONNREFUSED to safe error list, better error message
    
    * Consolidate IP logging to same line as xDrip load notification, remove unused variables
    
    * Disabled xDrip logging after first error
    sulkaharo authored and scottleibrand committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    4bf54ac View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    4c4c88f View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    a00c539 View commit details
    Browse the repository at this point in the history