Skip to content

Nightscout

Nightscout puts readings from a continuous glucose monitor (CGM) on a website of your own, so the people who help look after someone with diabetes can follow along: a parent at work, a grandparent, a carer, or the school nurse. It was built in 2014 by parents of children with Type 1 diabetes who wanted to see their child's readings while the child was at school, and it has been community-built ever since.

Your phone's uploader app sends the readings to your Nightscout. Everyone you share it with sees the same graph, trends and treatment notes in a browser or a follower app.

ElfHosted runs Nightscout, unmodified, at its own address. We keep it running and updated, and back up its database every day. Your readings are private by default: nobody can see them without a token you give them.

Nightscout is not a medical device

Nightscout is community software for sharing data. It is not a medical device, and it is not approved for making treatment decisions. Keep using your CGM's own app and alarms. Nightscout's alerts depend on your uploader app, your phone's connection and your follower's device as well as on the server, so treat them as an extra, never as the only alarm.

Get a 7-day trial of ElfHosted Nightscout! 🪄

How do I access Nightscout?

Nightscout is available:

Signed-in users see their own URLs

The addresses above show the general pattern. Sign in and these become your personal, clickable links.

How do I set it up?

1. Choose your API secret

Nightscout needs an API secret before it will start: a password of at least 12 characters that your uploader app uses to send readings, and that unlocks the admin tools. Until you set one, your Nightscout address shows a "Boot error" page saying the API_SECRET setting is missing. That is expected on a new instance.

Pick a long secret you don't use anywhere else, and set it with ElfBot:

Quick-paste into Nightscout's environment variables using ElfBot
API_SECRET=choose-a-long-secret-of-12-or-more-characters

Nightscout restarts with it, and the boot error is replaced by your Nightscout.

While you're there, set the units your family reads in:

Quick-paste into Nightscout's environment variables using ElfBot
DISPLAY_UNITS=mmol

Use mmol for mmol/L or mg/dl for mg/dL.

2. Connect your uploader app

Your uploader is the app that reads the CGM and sends the readings on (which one depends on your CGM and phone: see Nightscout's guide to uploaders). In its Nightscout settings, enter your Nightscout address, https://your-username-nightscout.elfhosted.com, and your API secret. Check the graph on your Nightscout page fills in with the next reading.

3. Share it with the family

Your readings are private by default: someone who opens your Nightscout address sees nothing until they're signed in. Give each follower their own access token rather than your API secret, so you can take it away later without changing anything else:

  1. Open your Nightscout, sign in with your API secret, and go to Admin Tools.
  2. Under Subjects, add one per person ("Nana", "School nurse") with the readable role.
  3. Each subject gets an access link with its own token. Send that link to that person.

To stop someone seeing the readings, delete their subject.

Prefer an open page?

If you'd rather anyone with the address could see the graph, as Nightscout behaves out of the box elsewhere, set AUTH_DEFAULT_ROLES=readable with ElfBot. We default to private because these are health readings, and the address is reachable from anywhere so uploaders and followers can use it.

What do we look after, and what don't we?

  • We run it and keep it updated. Nightscout and its database run in your own space at ElfHosted, with nothing at home to keep switched on.
  • We back up the database every day. If something goes wrong with your data, ask us on Discord.
  • We don't touch your readings or your devices. Your uploader app, your phone, your CGM and its sensors, and your alarm settings are yours to set up and keep working.
  • Keep a second way to be alerted. If your phone loses signal or the uploader stops, Nightscout has nothing new to show. Your CGM's own app and alarms are the ones to rely on.

How do I get support for Nightscout?

  1. For general use of Nightscout, refer to the official site or to one of the links in the resources section below.

  2. For specific support re your ElfHosted configuration / account, see the ElfHosted support options!

Nightscout resources

Your content, your responsibility

ElfHosted provides Nightscout as a hosted application — we do not supply content, accounts, or third-party credentials. You are responsible for ensuring that your use of this app complies with applicable laws and our Acceptable Use Policy. If you have questions about what is or isn't permitted, please reach out — we're happy to help.

What users say..

We're rocking some excellent ⭐⭐⭐⭐⭐ TrustPilot Reviews, and here's what some of our usersfriends say..

I am new here, but today I learned realized that Elfhosted is one of the best free and open source software communities I've seen, and FOSS communities have been at the center of my life since the 90s (Perl, PHP, Symfony, Drupal, Ethereum, etc.). Great open software built by great people who care = great community, and that is something special.

You've done an amazing job @Funky Penguelf with the platform you provide and this place has an awesome mix of active community caretakers and software creators that I've seen here so far like BSM, Spoked, LayeZee and other elf vengers. Keep up the energy, productivity and community and take time to enjoy it and appreciate each other!

⭐⭐⭐⭐⭐ @skwah (Discord)

As a happy Elfhosted customer—who also self hosts MANY things across about 10 severs (dedicated, VPSes, and VMs running on Synology), I wouldn’t switch to self hosting the services I get from Elfhosted. They just work with very little effort configuring things, and the support the owner and his team provides is second to none. Plus I love being part of a fledgling—but quickly growing—enterprise.

⭐⭐⭐⭐⭐ /u/jatguy. (Reddit)

I’ve been using this service for a while now, and honestly, it’s a game-changer compared to anything else I’ve tried for managing my media library. The support is fantastic—super quick, and if the staff aren’t around (which rarely happens), the community steps up right away. I can’t imagine going back to any other platform.

Before this, I had my own setup with a NUC, NAS, and tools like Sonarr and Radarr. It worked pretty well for a while, and my internet speed was high enough to stream without any buffering. But in the end, it wasn’t worth the time or headache of managing all the storage and keeping everything running smoothly.

Now, with this service, everything runs smoothly in 1080p+ with no buffering issues. The interface is really easy to use, which makes managing everything a breeze. Plus, having a whole community of smart people available for guidance is a huge bonus.

I was sold from the start, which is why I quickly upgraded from a 1-month to a 3-month subscription, and I’m planning to switch to a 1-year plan soon. This service totally pays for itself, and I’m sure you won’t be disappointed. It’s been really impressive.

⭐⭐⭐⭐⭐ @seapound (Discord)

Best possible options for anyone looking for the do-it-all option along with the best customer service ive experienced in this space so far. Id rate it a 6 if I could but its limited to 5/5...

⭐⭐⭐⭐⭐ @hashmelters (Discord)

(responding to a discussion re the cost of ElfHosted vs mainstream streaming / self-hosting):

I didn't know that the goal of this project was to compete with large companies running/renting entire DCs. I was under the impression that the goal of this project was to manage the updating of almost selfhosted applications on a shared platform with other users. Basically, be my sysadmin for me.

That being said, paying for services is the 'easy button'. There is a real world cost incurred for the time saved. Time is money. Time is the most valuable currency that exists. Once time is spent, it's forever lost, one cannot retrieve it again (yet). In my mind, there are 3 options for use of time with respect to: mainstream, selfhosting, elfhosted.

  • mainstream - my time is valuable and I don't want curated content and I don't care what content that I have the ability to consume. I only like what's popular.

  • elfhosted - my time is valuable, I want my own curated content without being forced to browse past the same damn entry 500 times just to find out that I can't watch the movie I want because it's not available in my current location or was removed last week from mainstream providers.

  • selfhost - I care about costs and I have nothing but time to waste or I want to learn about the backend of the systems involved. I'll pay for my own VPS/homelab, electricity, manage the OS, manage app updates, figure out how to make the apps talk nice to each other, create my own beautiful frontend.

I know how much my time is worth, does that reddit poster know how much their time is worth? Without knowing what you are worth, you can't make effective capital expenditures with respect to the time it will take to recoup the capital.

I know I don't need elfhosted at all for my use case. I choose to stay with elfhosted because it's my 'easy button'. It's an efficient capital expense for the amount of time it saves me managing my own hardware, apps and saves me electricity costs. I'm also in a situation where I don't have upload bandwidth from my home to serve HD content to myself remotely. If I lived back in a city, I would still be here. My time is worth $$/hr.

⭐⭐⭐⭐⭐ @cobra2 (Discord)

"Just wanted to check in here and let @Darth-Penguini and anyone/everyone else know...WOW. I have been struggling with storage for years, maintenance of Docker containers, upkeep, all of it. Elfhosted is so freeing. It's an amazing service that I hope to be a member of for a long, long time!"

⭐⭐⭐⭐⭐ @Fingers91 (Discord)

"I would recommend ElfHosted to anyone. It has been great so far and made life a lot easier than running my own setups. If you’re in the fence give them a try and help support this great community."

⭐⭐⭐⭐⭐ Zestyclose_Teacher20 (Reddit)

"thanks for the help and must say this is the best host I every had for my server 🙂 10/10 🙂 All other places I have try have I got a lot buff etc. Your host can even give me full power on a 4K Remux on 200GB big movie file . That's damn awesome 😄"

⭐⭐⭐⭐⭐ @tjelite (Discord)

"What an amazing support system these guys have Chris and Layzee i think it was! Both are very patient with me even though I am a newbie at all this. Very thorough and explained everything step by step with me

I couldn’t ask for anything better than the service I have received by these guys! Happy happy client❤️"

⭐⭐⭐⭐⭐ @dead.potahto (Discord)

"Very happy customer. Great service"

⭐⭐⭐⭐⭐ @ronney67 (Discord)

"Very good customer service, frequent updates, and excelent uptime!!!!!"

⭐⭐⭐⭐⭐ @ed.guim (Discord)

"I had my own plex-arrs setup on hetzner for years. Yesterday I deleted everything as elfhosted has gone above and beyond it. And it has a fantastic, active community as well! Very friendly, helpful and like-minded folks always willing to help and improve the system. Top notch!"

⭐⭐⭐⭐⭐ @alon.hearter (Discord)

"Absolutely Amazed with the patience and professionalism of all Elf-Venger Staff including bossman penguin❤️"

⭐⭐⭐⭐⭐ @dead.potahto (Discord)

"@BSM went above and beyond to make sure I had all the one on one support needed with my sub. Thank you for your patience! Elfhosted continues to be Elftastic !!"

⭐⭐⭐⭐⭐ @bfmc1 (Discord)

"really enjoying the service from elfhosted. The setup is really easy from the guides on the website. And the help on the discord channel is really quick."

⭐⭐⭐⭐⭐ @jrhd13 (Discord)

"Support is amazing, and once you find a setup which works best for you it works perfectly, very happy 😊"

⭐⭐⭐⭐⭐ @fiendclub (Discord)

"great fast service, resolved my problem and really friendly"

⭐⭐⭐⭐⭐ @allan.st.minimum (Discord)

"Great service and sorted out a billing issue super quick and easy."

⭐⭐⭐⭐⭐ @scottcall707 (Discord)

"Very friendly support, resolved a problem with my account! I also appreciate the community that has been built around the service!"

⭐⭐⭐⭐⭐ @leo1305 (Discord)

"excellent customer service and very fast replies"

⭐⭐⭐⭐⭐ @yo.hohoho (Discord)

"Loved the simplicity, experience and support"

⭐⭐⭐⭐⭐ @y.adhish (Discord)

"Very friendly help as always, problem solved, one happy elf here!"

⭐⭐⭐⭐⭐ @badfurday0 (Discord)

"Great Helpful and Fast support. Thanks!"

⭐⭐⭐⭐⭐ @.mxrcy (Discord)