2. WalkthroughΒΆ
- 2.1. Phase 0: General Setup
- 2.1.1. General Setup and Project Prep
- 2.1.2. Baseline data
- 2.1.3. Hardware
- 2.1.3.1. Required Hardware for a “typical” setup
- 2.1.3.2. Hardware Details & Recommendations
- 2.1.3.2.1. Medtronic Insulin Pump
- 2.1.3.2.2. CareLink USB Stick
- 2.1.3.2.3. CGM: Dexcom G4 Platinum System (with or without Share) OR Medtronic
- 2.1.3.2.4. Raspberry Pi 2 Model B
- 2.1.3.2.5. Micro SD Card
- 2.1.3.2.6. WiFi Adapter
- 2.1.3.2.7. 2.1 Amp USB Battery Power Supply
- 2.1.3.2.8. USB Cables
- 2.1.3.2.9. AAA Batteries
- 2.1.3.2.10. Cases
- 2.1.4. Setting Up Your Raspberry Pi
- 2.1.4.1. Download and Install Raspbian Jessie
- 2.1.4.2. Connect and configure WiFi
- 2.1.4.3. Test SSH Access
- 2.1.4.4. Configure the Raspberry Pi
- 2.1.4.5. Setup Password-less Login [optional]
- 2.1.4.6. Wifi reliability tweaks [optional]
- 2.1.4.7. Watchdog [optional]
- 2.1.4.8. Update the Raspberry Pi [optional]
- 2.1.5. Setting Up openaps and Dependencies
- 2.2. Phase 1: Logging, Cleaning, and Analyzing Your Data
- 2.3. Phase 2: Build a Manual System
- 2.3.1. Phase 2: Creating an Open Loop
- 2.3.2. Configuring and Learning to Use openaps Tools
- 2.3.2.1. Configuring openaps
- 2.3.2.1.1. Initialize a new openaps environment
- 2.3.2.1.2. Add pump as device
- 2.3.2.1.3. Add Dexcom CGM receiver as device
- 2.3.2.1.4. Check that the devices are all added properly
- 2.3.2.1.5. Check that you can communicate with your pump
- 2.3.2.1.6. Check that you can communicate with your Dexcom receiver
- 2.3.2.1.7. Pulling blood glucose levels from Nightscout
- 2.3.2.2. Adding and Invoking Reports
- 2.3.2.3. Aliases
- 2.3.2.4. Putting the Pieces Together
- 2.3.2.5. Backing Up Your openaps Instance
- 2.3.2.1. Configuring openaps
- 2.3.3. Building preflight and other safety checks
- 2.3.4. Add the oref0 Virtual Devices
- 2.3.5. Organizing the reports
- 2.3.6. The get-profile process
- 2.3.7. The calculate-iob process
- 2.3.8. The determine-basal process
- 2.3.9. Adding aliases
- 2.3.10. Checking your reports
- 2.3.11. Enacting the suggested action
- 2.3.12. Cleaning CGM data from Minimed CGM systems
- 2.3.13. Running an open loop with oref0
- 2.4. Phase 3: Automation
- 2.5. Phase 4: Iterate and Improve
- 2.6. Phase 5: Tuning the Closed Loop
- 2.7. Phase 6: Iterate and Improve the Closed Loop