Skip to content

Instantly share code, notes, and snippets.

Dana Lewis danamlewis

Block or report user

Report or block danamlewis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
danamlewis / master patch test
Last active Apr 21, 2019
Clearer instructions for 0.6.3 patch fixes
View master patch test

1. Run an edited bootstrap

(Assuming you already have flashed jubilinux recently) Copy and paste this bootstrap script instead of the current one in the docs:

dmesg -D
echo Scanning for wifi networks:
danamlewis /
Last active Apr 17, 2019
Fixing spi errors in early April 2019

There are different fixes for the master (0.6.2) or dev (0.7.0) branches - make sure to use the solution specific for the branch you want to use.

Master installation

If you're getting spi-related errors, e.g.

Waiting up to 4 minutes for new BG: ls: cannot access '/tmp/pump_loop_completed': No such file or directory
grepImportError: No module named spi_serial
Radio check failed. ImportError: No module named spi_serial
danamlewis /
Last active Feb 13, 2017
Unzipping json files from OpenHumans, renaming, and porting over to CSV

If you are running on Nightscout-related data and keep the first for loop, it uses jsonV as a simplistic way to grab ONLY BG and time stamp for the entries.csv creation. If you keep that for loop, you must:

  1. Install jsonV (
  2. Install gawk (
  3. (For Mac OS X, I think I also had to install coreutils gnu-sed, and brew install homebrew/dupes/gzip)
  4. Update script:
  • figure out how you want to name/rename
  • figure out the format of your json, and what datums you want to put into csv
  1. Make sure to chmod+x filename the file
You can’t perform that action at this time.