How to set up Nightscout - Medtronic
What is Nightscout?
Nightscout is an open source DIY project that, when completed, allows you to view your Medtronic, Dexcom, or Freestyle Libre data from any web browser. Nightscout sends your blood sugar data into the cloud, so you can view it remotely and use it in many interesting ways.
Nightscout was developed by a tech-savvy group of parents of children with type 1 diabetes (T1D) as a solution for remote monitoring. Parents can use Nightscout to monitor their child’s blood sugars in real-time which can reduce stress throughout the day.
What do you need?
What you need depends on which device you are using to connect to Nightscout. This graphic, courtesy of Nightscout, shows a high-level overview of how to get your CGM data into the cloud depending on which device you use. In this article we will cover how to set up your Medtronic device with Nightscout.
To connect Medtronic pumps with Nightscout, you will need to use an Android smartphone. However, you can connect your Medtronic Minimed Connect using iOS.
Setting up Nightscout can be a little tricky, but we’re here to help. We’ll first walk you through the general setup requirements, and then go into detail about specific devices. It’s best to go through this process on a desktop rather than mobile device.
1. Create a Github account
Type in your email and password to create your account
Select the free plan
Verify your email by clicking on the link in the email you will have received from Github
Navigate to the Nightscout repository in Github
Make a copy of the repository so that you can use it yourself. To do this, click on the “Fork” button on the top right hand corner of the page.
Once you have your own forked copy of the repository, bookmark the page so you can go back to it.
2. Create a Heroku account
Heroku is the easiest way to host your Nightscout website for free. Using this platform means you will be able to see your real time CGM data in the cloud.
Create your free account by entering your information and clicking on “Create free account”
**Make sure you select Hobbysist in the role field, and Node.js as the development language**
Verify your email by clicking on the link in the email you will have received from Heroku
3. Connecting Github to Heroku
Go back to your forked version of the Nightscout repository in Github that you bookmarked
Scroll down to “README.me” and click on “Deploy to Heroku”
Fill in the information on the Heroku page:
App name: Choose your app name! It will appear in your Heroku URL like “your-app-name.herokuapp.com”
Region: Leave this on United States even if you are located in another country. This setting will not affect your Nightscout.
Config Vars: These will all be auto filled values that you can leave as is. You can always change them later if you want, so don’t worry too much during setup. However there are a few you should look at before launching your site.
API_SECRET: Enter your password for your site. This needs to be 12 characters long. Be sure to write it down somewhere safe so you never get locked out of your Nightscout account!
Set your high and low thresholds in the BG_HIGH and BG_LOW sections. These are your urgent high/low values where you will be notified.
To connect your Medtronic MiniMed Connect, enter “careport basal mmconnect” into the ENABLE field. This is the plugin that lets you manually add events to your graph, like insulin doses, carbs and more.
Enter your MiniMed CareLink account name and password in the MMCONNECT_PASSWORD and MMCONNECT_USER_NAME fields. These will be the same as what you log into the MiniMed Connect app on your phone.
If you are outside the US, set BRIDGE_SERVER to “EU”
Click on “Deploy App”
Enter your credit card information. You will not be charged, this is just to verify your account.
If you get an error message after saving your billing information, click on “Deploy App” again, and it should work this time.
This step can take up to 10 minutes.
4. Setting up your Nightscout Account
Click on “View” at the bottom of the Heroku page. This will take you to your Nightscout account.
Choose your timezone
At the bottom of the page, click on “Authenticate”. Enter your API password that you chose in step 3.
Remove the “/profile” part of the URL displayed on your browser
You will be redirected to your Nightscout homepage. It will be empty right now, but don’t worry. We will be connecting your CGM data in the following steps.
5. Setting up your Medtronic pump with Nightscout (information courtesy of Lennart Goedhart from 600SeriesAndroidUploader!)
You will need:
an Android device
Contour Next Link 2.4 BG meter
Medtronic 600 series pump
First we need to link the pump and the meter:
Make sure the time is correct on your pump, and that it is fully charged
Follow these steps to connect your pump and meter:
Make sure the pump and meter are placed next to each other
On the meter: Go to Setup > Pump Options > Connect to pump
Click “Yes”, then “OK”
Click “Auto Connect” on the meter
On the pump: Go to Menu > Utilities > Device Options > Connect Device
Click “Auto Connect”
The pump will begin searching for the meter
On the meter: click “Search”
It will take up to 2 minutes for the pump and the meter to search and link with each other.
On both the pump and the meter, check that the serial number of the discovered devices match. If they do, click “Confirm”
On your Android smartphone, navigate to “Security” in Settings.
Make sure that “Unknown Sources” is turned ON
Download the APK here*.
Open the APK and accept the app’s access rights
Open the app and click on “Preferences”
Now we need to link your Nightscout account to the 600SeriesAndroidUploader. To do this, make sure the “REST API Upload” is turned ON
Add your Nightscout URL and API SECRET from step 3
Return to the homepage of the app
Plug in your meter to your pump, using the USB OTC cord
Click on “Register USB stick” and follow the instructions
Return to the homepage of the app and click “Get Now”
Congratulations! You have set up your Medtronic pump with Nightscout.
If you need any support setting up your Medtronic devices with Nightscout, you can check out the Nightscout for Medtronic facebook page.
What you can do with Nightscout
Now that you have set up Nightscout, your data lives in the cloud and you can view it live!
Nightscout is also compatible with Diabits, a free diabetes management app that offers blood sugar predictions using machine learning. Diabits will tell you where your blood sugar is headed 60 minutes ahead of time so that you can take proactive steps to avoid highs and lows. Creating a Diabits account and connecting it to your Nightscout is fast and easy. You can download through the App Store or Google Play. For more information on how to connect your Diabits account with Nightscout, click here.
If you want someone else to be able to view your blood sugar data in real time, simply give them your Nightscout URL and you’re set!
*DISCLAIMER: This APK is provided as is. There may be risks associated with downloading this APK, and Diabits has no control over this APK.