Connect Trio to Nightscout Pro
Send data from your already configured Trio app on iPhone to your Nightscout Pro site, then view it in Nightscout or a follower app. Nightscout Pro hosts the site for you; you do not need to create a server or database.
These steps cover the Trio 1.0.x screens, checked against version 1.0.1. Older builds may group the connection and upload controls on one screen. This guide connects your data; it does not set up insulin delivery or change your therapy settings.
Before you start
- Trio should already show current glucose from its supported CGM source. Keep that working source in place.
- Your Nightscout Pro site must be running and accessible. Open it from My account first.
- Choose which app sends glucose to this site. For this guide, Trio is that uploader. If another uploader already sends glucose, decide which one to retain before enabling a second path.
- For Trio 0.5.x and later, the upstream display guidance requires Nightscout 15.0.2 or newer. Find your site's version in its menu under About; contact support if it is older.
1. Get your site address and API Secret
- Sign in to Nightscout Pro and open the correct site. Copy its full HTTPS address, including its regional hostname if present. Keep only the origin, such as
https://your-site.nightscoutpro.com; remove any path,?token=...or other query text. - Return to your account and open Site Settings for that same site.
- Find API Secret (Min. 12 Characters) and copy the existing value privately.
Use your site's API Secret, not your Pro sign-in password or a follower's read-only token. Keep the address and secret in separate fields. Do not add /api/v1/, an @ secret prefix or a token to Trio's URL. See API Secret and access tokens if you need help finding it.
2. Connect Trio
- On the Trio iPhone, open Settings → Services → Nightscout → Connect.
- Enter your site's HTTPS address in URL and its secret in API secret.
- Tap Connect to Nightscout and check for Connected!.
- Return to the Nightscout screen in Trio.
If your older build shows the URL and secret directly on the Nightscout screen, enter them there and use its connection check. A successful connection is the first check; confirm actual uploads in the next steps.
3. Enable the data you want to upload
Open Nightscout → Upload in Trio:
- Turn on Allow Uploading to Nightscout for Trio's data uploads.
- Turn on Upload Glucose if Trio is the chosen glucose uploader for this site. This is a separate switch: check it even when treatments are already arriving.
If a deliberately retained uploader already supplies glucose, keep a single glucose path and verify it separately; Trio can still supply its other data. Do not add Pro Connect just to make Trio upload.
Fetch is the opposite direction: it brings selected Nightscout data into Trio. Backfill Glucose also reads from Nightscout into Trio. Neither is needed to send Trio's readings to your site. Leave fetching, remote control, CGM and therapy settings unchanged for this connection task.
4. Display Trio data in Nightscout Pro
In your Pro account, open this site's Site Settings. Trio uses Nightscout's openaps display plugin; the label does not need to say Trio.
| In Site Settings | What to select | Name used in self-hosted instructions |
|---|---|---|
| Plugins → ENABLED | Tick openaps | ENABLE |
| Plugins → SHOW_PLUGINS | Tick openaps | SHOW_PLUGINS |
| Forecast | Select openaps if you want the uploaded predictions displayed | SHOW_FORECAST |
Save using Update / restart Nightscout or Update Nightscout, then allow the site to restart and refresh it. Preserve your other required plugins. These controls affect the website's display; they do not configure Trio's dosing algorithm.
If you have moved from Loop to Trio, replace the loop selection with openaps in these three places. Once Trio is your intended uploader, remove the old site's Nightscout connection from the previous Loop app so it cannot keep overwriting Trio's profile/status. Follow the Trio migration guidance for the wider app migration.
5. Check glucose, treatments and status separately
- Compare the latest glucose value, units and reading time in Trio with your Nightscout site. Wait for the next normal reading and confirm that the Nightscout time advances.
- Check a recent treatment already recorded during normal use, such as a carb entry, against Nightscout. Do not create a bolus, carb entry or temporary target just to test the connection.
- Check that Trio's uploaded status/profile information is present and current. An advancing glucose graph alone does not confirm this.
The quickstart's Check my readings checks glucose only. Mark the full guide complete after verifying the other data you need. A site receiving treatments is still in use even when it receives no glucose; that is different from having a current glucose reading.
6. Add a follower when uploads work
Use the Trio quickstart builder to add LoopFollow, a display or other follower steps to this guide. Give viewers the access described in their own guide; do not share the uploader's API Secret unnecessarily.
Remote commands are a separate setup. Follow Trio's remote-control documentation for your installed versions rather than applying Loop's remote-command instructions to Trio.
If something is missing
- Invalid URL or cannot connect: open the same site in the iPhone browser, check that it is running, and verify
https://, the hostname and the absence of extra URL text. Keep the exact connection error. - Unauthorized / 401 / 403: recheck the API Secret for this specific site and remove accidental spaces. A working browser session does not prove Trio has the right credential. Do not repeatedly reset passwords or turn off site privacy.
- Treatments arrive but glucose does not: check current glucose in Trio, then the separate Upload Glucose switch and your chosen glucose upload path.
- Glucose arrives but Trio status or treatments are missing: check Allow Uploading to Nightscout, compare an existing record's time, and review the openaps display selections. Check for another app still writing its profile/status to the site.
- Trio's profile is missing after moving from Loop: after stopping the old uploader, toggle Allow Uploading to Nightscout off and on once to request a fresh profile upload. Recheck the profile; repeated toggling is not a substitute for diagnosing an error.
- Nightscout is current but a follower is stale: use that follower's connection and access guide. Changing Trio's sensor setup will not fix follower credentials.
If these checks do not resolve it, contact support with your Trio and iOS versions, your source app/sensor, which data types arrive, the last successful time, the exact redacted error and the checks already completed. Never send your API Secret, tokens or an unredacted settings screenshot.
Nightscout is a supplementary viewing and sharing tool, not a medical device or a replacement for your primary glucose monitor, care plan or healthcare advice. Readings and alerts can be delayed or unavailable; see Nightscout's purpose and limitations.
References and version scope
Trio Nightscout documentation · Trio CGM requirements · Trio 1.0.1 connection screen · Trio 1.0.1 upload controls.
Instructions reviewed against those sources and the live Pro settings on 27 September 2026. Sensor compatibility remains specific to your installed Trio version and source; see Trio's CGM requirements before changing an existing setup.