Skip to content

Optional: Services

Services for the Loop App

Near the bottom of your Loop settings screen is a section called "Services".

Sevices are Optional

  • The Loop app will work whether you use these or not.
  • Nightscout is highly recommended, but can be added later - you don't need it to get started.
  • If you are running Loop 2.2.x, see Loop 2 Services

The services are added by tapping on the + sign and choosing the service from the list. Services are shown alphabetically. The most common services are Nightscout and Tidepool.

img/services.JPG

Nightscout

There is a whole section in LoopDocs about Nightscout. For more information, see Nightscout Overview. That also has the links you might need to the official Nightscout Documentation (different website).

If you have an existing Nightscout site, it's still a good idea to review that section, but here's the quick summary of how to add your Site URL and API_SECRET to have your Loop data transmitted to your Nightscout site. If you can’t remember your API_SECRET, it can be found under Settings, Reveal Config Vars for Heroku sites (or Application Settings, Connection Strings for Azure sites).

Nightscout Login

The graphic below shows the steps needed to add your Nightscout site to the Loop app. See the tip below about using stored passwords on the phone. If you have your credentials stored in passwords, simply tap the URL row to show the password option and select it.

  1. Select Settings in the Loop app and scroll down to Services and tap the Add Service Row
  2. Choose Nightscout Service
  3. Tap on the URL row
    • If your credentials are not saved in your Passwords, enter the URL including https:// in this row
  4. This step has two options:
    • If your credentials are saved in Passwords, tap on the Passwords icon and select them
    • Both the URL and API_SECRET will be filled in from your Passwords
    • Otherwise, manually fill in the API_SECRET row
  5. Tap on Login to add this site

The Loop app will begin uploading your data from this point on - it does not back-fill old data to the Nightscout site.

However, if there is a temporary outage of internet service or if the Nightscout site stops working temporarily, the Loop app will fill in all data not uploaded during the outage up to a total of 7 days worth of data.

steps to add Nightscout to the Loop app

The two most common errors in filling out this section are:

  1. Failure to use https:// in the site URL. If you use http:// (see how that doesn't have the "s" at the end?), you will get an error message about an App Transport Security policy.
  2. Having a trailing slash on the end of the URL (or an embedded space). If you copy and paste from a web browser, make sure to delete the trailing slash on the URL entry.

Do not block your Nightscout site

  • One family had an app configured to block some websites for their child's phone and accidentally blocked their Nightscout URL - took them a while to figure out that mistake.

Add a Password

To make it easy to access your Nightscout URL and API_SECRET, add a password to your iPhone:

  1. iOS Settings, Password
  2. Tap + to add
    • Enter a name, e.g., "Nightscout" in the Title row
    • Enter the URL without the "https://" in the Website row
    • Enter the URL including the "https://" in the User Name row
    • Enter the API_SECRET in the password row
  3. If you use tokens, you can add those in the Notes section - they will be hidden behind the authentication for the passwords

Nightscout Logout

If you want to stop uploading to a given Nightscout site or change to a different Nightscout site, you must first logout. You can then login again at the new site.

The graphic below indicates how to remove your Nightscout site from the Loop app. This will stop future uploads from the Loop app to that site.

steps to remove Nightscout from the Loop app

Tidepool

With Loop 3.2.x and newer versions, data can be directly uploaded from the Loop app to Tidepool.

User Beware

Don't use the Loop Tidepool uploader yet unless you want to help the developers work through some known issues. The Tidepool Mobile app still works to upload some of your Loop data from Health.

  • There is a new authentication framework in Tidepool
    • Loop developers are working on handling this new authentication protocol
  • One other problem is that data uploaded with the Tidepool Mobile uploader from Apple Health shows up as duplicate data
    • Even if you turn off access of the Tidepool Mobile uploader to Apple Health, there will still be 7-days of overlap with Loop that will display as duplicated data (think 2x carbs, insulin etc in your Tidepool Web display) when you enable Loop Tidepool service as the uploader

Please refer to the LoopTips: Data: Tidepool page for more information about Tidepool. The Tidepool display browser is undergoing some updates; the information on these pages will be updated after changes happen.

The Tidepool Mobile app serves 2 purposes:

  1. Allow notes to be recorded with associated glucose, carbs, and insulin record for a snap shot in time
  2. Upload Loop data stored in Health to the Tidepool database for display in their browser tool; when the Connect to Health feature is enabled

With the new Loop Service to upload to Tidepool, additional information that is not stored in Health can be made available to Tidepool. However, this is a work in progress.

At the current time:

  • If you have Tidepool Mobile installed on your phone, with the Connect to Health feature enabled, while also using the Tidepool Service in the Loop app, all of your carb and insulin records will be doubled on the Tidepool Web browser display
    • In other words, your data is uploaded by the Tidepool Mobile app and by the Loop app and duplicates are not filtered (at the current time)
  • Short Term: There is a filter button at the bottom right of the browser display where you turn off the Loop portion for days when you have both Tidepool Mobile uploader and Loop uploader turned on

When you add the Tidepool Service to the Loop app, be sure to disable Tidepool Mobile ability to read from Apple Health.

img/services.JPG

  • Warning: Even when you turn off the access to Health on the Tidepool Mobile app on the day that you turn on Loop Tidepool service, you will still get 7 days of overlap because Loop stores 7 days of data.

You can still use the note taking feature with Tidepool Mobile when Health is not connected, although you must have internet connectivity for this to work.

Tidepool Support is available to help troubleshoot issues or answer questions about using Tidepool. Contact them via email at support@tidepool.org.

Loggly

Loggly is a free logging service. If you sign up for an account, you'll need to go under Source Setup and then Customer Tokens. Copy and paste your customer token into your Loop App settings for Loggly.

img/loggly.png

Amplitude

Amplitude is a remote event monitoring service and can be used to quickly identify errors and events. Amplitude stores the events and allows you to view those events as points in time. To retrieve the details of the events you will need to look at corresponding mLab data entries to get a complete picture of the issues. If you sign up for a free account with Amplitude, you will be given an API Key that you can enter here to have Loop integration setup.

img/amplitude.png

Next Step: Loop Displays

Great job, almost finished! Now that you have completed your services, let's move onto understanding your Loop Displays.

Loop displays is a valuable tool for understanding your Loop and a great page to review when troubleshooting.