How can diabetics and their families access data from Dexcom continuous glucose monitoring devices using their Android devices? And how does the open source project, Nightscout, help? Read on to find out.
Continuous glucose monitoring is a method to track glucose levels throughout the day and night.
Dexcom CGM app is an app for a leading continuous glucose monitoring (CGM) device that diabetics wear to get continuous insight into their blood glucose levels.
There is a Dexcom app for Android called Nightscout.
There are also Dexcom apps available for iOS devices that provide another avenue for viewing a user’s glucose data — and receiving alerts. And the other CGM manufacturers only provide iOS apps for their devices as well.
To give Android users the ability to view their CGM data, the open source community created Nightscout. It is an open source, Dexcom-app option for Android-device users. However, Nightscout works with other CGM devices as well.
For more information about the birth of the Nightscout community, read my blog, Nightscout, Open Source, and the Diabetic Community.
If you are unfamiliar with open source technologies, read the blog, What Is Open Source Software (OSS)?
I’m going to walk you through how to setup a Nightscout website using free cloud services.
I wrote this blog to provide quick and clear instructions for setting up a Nightscout website. However, review the Nightscout documentation, including the warnings, here, to get a more in-depth understanding of the technology.
Nightscout color codes its official documentation based on which monitoring hardware you use. For example, green is for Dexcom and purple is for MiniMed. Other third parties have their own document section, here.
To create your Nightscout web monitor instance:
You have your choice of two cloud services to use with Nightscout: Heroku and Azure.
I created these instructions to use Heroku because it will run 24/7/365 — and it’s free.
To set up Heroku to connect with your Nightscout web monitor instance:
Now you can access your Nightscout site via Heroku.
To automatically monitor your CGM device and upload new readings to your Nightscout website, create an Uptimerobot. It is an “automated bot technology” that will ping up to 50 devices every five minutes for you — for free.
To deploy an Uptimerobot:
Dexcom apps give users critical insights from their data, including alarms about a person's glucose levels. You can do the same with Nightscout site by taking advantage of other open source tools.
The developers over at Logz.io have made free monitoring tools using the Elastic (ELK) stack. However, the offerings are designed to support commercial-level deployments. Another option is to set up a monitor for your CGM app and Heroku instance using the MongoDB and Node.js open source technologies. For complete deployment instructions, go to predic8 GitHub.
The monitors that you can set up with the help of ready-to-go tools in predic8 will enable you to ingest, analyze, store, and display data that is sent from your Dexcom app to your Nightscout website. For example, you can:
There are many other options that you configure, so I highly recommend checking out the project over at https://github.com/predic8/cgm-remote-monitor.
Hopefully, one day, the Android-using diabetics of the world will be able to enjoy the same choices as their iOS brethren. Until then, we are lucky to have volunteers in the community who work tirelessly to better the lives of those around them — and give people technology options by providing solutions such as Nightscout.
In addition, there are thousands of open source communities that develop and maintain free technologies that make it possible for individuals and global organizations to innovate faster and for less money. Many of these free and open source solutions are just as powerful, secure, and reliable as expensive commercial options that often dictate the platforms that people need to use.
OpenLogic helps organizations take advantage of open source software by providing services including mission-critical support for hundreds of open source technologies. For example, OpenJDK is the free and open source equivalent of OracleJDK, which involves a paid license. Earlier this year, Oracle unexpectedly increased the cost of OracleJDK, creating issues for many companies. OpenLogic helps organizations take advantage of open source software for enterprise solutions such as OpenJDK, by providing services including mission-critical support.
If you use OracleJDK, read the Forrester report about OpenJDK to learn why open source technologies are important to consider.
READ Forrester REPORT
Associate Enterprise Architect, OpenLogic by Perforce
Andrew's areas of specialization include networking, Linux, network security including OpenSSL, and operational troubleshooting. He has been working in the industry for over seven years and is acquiring new skills every day.