A Java application that can synchronize meter/pump data with Nightscout, offers a quick way to modify notes field in treatment data and includes deep trend analysis of this data.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

NightscoutLoader

Why the name 'Nightscout' Loader?

  • Because Nightscout is the CGM in the Cloud environment that this tool supports.

What is Nightscout Loader?

A desktop application with the following purposes in mind:

  • Synchronize data from meter/pump as treatments in Nightscout Care Portal.
  • Optonally also now synchronize Diasend data from CGM as entries in Nightscout.
  • Quick way of locating and allowing edits to the Notes field in treatment data.
  • Analysis of BG Trends
  • Analysis of CGM Data
  • Easier access to Autotune

Synchronize data from meter/pump as treatments in Nightscout Care Portal.

picture

Meter & Pump Data can be regularly loaded from a range of systems:

  • Roche (SQL Server Database load as well as CSV export)
  • Medtronic (csv)
  • Diasend (xls)
  • Tandem t:slim (csv)

A serial stream of BG, Carb and Insulin is intelligently grouped together into a Treatment. The tool will ignore previously loaded data. It will also identify contention between manually entered Care Portal entries and data from meter/pump.

Quick way of locating and allowing edits to the Notes field in treatment data.

picture

Searches can be performed over combinations of different fields, date ranges, treatment types and also if the loaded entry is a duplicate with a manually entered Care Portal entry.

Analysis of BG Trends

picture

Analysis can be run over selected date ranges and outputs to Excel for convenient archiving of analytical snapshots. Analysis also runs in background on start up and provides a condensed summary of top 3 trends

Analysis of CGM Data

picture

Any CGM data available within selected analysis date range is also analyzed. A heat map shows areas of high frequency profiles.

Inference of CGM Date Ranges

picture

For those without continual sensor use, identifies date ranges when sensor was worn - useful for reviewing past events & data.

Easier access to Autotune

Nightscout Loader can now help with running and maintaining profiles for Autotune

picture

As well as integrating Autotune output in the Excel analysis results file, an "Autotune Management" window allows easy access to run Autotune once configured.

picture

A Profile editor is provided that can edit the remote profile, open profile files on the local machine and also read profile data from a Diasend export.

picture

Each time the Profile Editor updates the profile on the remote Autotune server, it takes a backup into a separate directory. The files in the backup directory can be listed (as above) and also downloaded onto the local machine for greater safe keeping.

Analytic approach used by NightscoutLoader

picture

Nightscout Loader helps get real Insights from reams of Data.

Is it for me?

  • Do you use Nightscout and want to upload Treatment (and or Diasend CGM) data to Nightscout from a supported Meter and or Pump?
  • Do you want an extra tool to help analyze BGs, Carbs & Insulin? (Nightscout use is optional)
  • Do you use Nightscout and want an extra tool to visualize repeated patterns of CGM data?
  • Do you have Autotune configured on a separate Linux machine and want assistance with using it - particularly if you also use Diasend?

If any of the above are true, then it could help you.

Installation Guide

System Requirements

The application is built for desktop or laptop computers with Java. It requires at least Java version 7 and the installation guide includes a link to check and install if necessary.

It loads the Nightscout Treatment and CGM into memory for comparison with new data being uploaded or for analysis. The amount of memory your system needs will depend on how much data you pull in. As a guide, 8 years' worth of treatment data and 20,000 CGM entries takes up 300Mb of RAM.

Installation Guide for Nightscout use

  1. Check your version of Java at this link
  2. Download the application from the Nightscout Loader page.
  3. Latest stable version always available here.
  4. Occassionally, an early beta version is made available with fixes on the stable version or access to upcoming features.
  5. Copy the NightScoutLoader.jar file to your desktop
  6. Launch the application by double-clicking the icon on your desktop.
  7. Click Tools => Settings to launch the Settings panel
  8. Complete the Sections in Yellow
  9. For example
  10. if your user is "my_mongo_user"
  11. password is "my_mongo_pass"
  12. port is 123
  13. database is "my_mongodb"
  14. then, please see how the Nightscout Server, Nightscout DB and Nightscout Collection fields are set: 6. Nightscout Server would "mongodb://my_mongo_user:my_mongo_pass@ds123.mongolab.com:123" 7. Nightscout DB would be "my_mongodb" 8. Nightscout Collection is always “treatments”

To convert a previous installation for non-Nightscout to one for Nightscout use, simply complete steps 5 and onwards above, save the settings and re-launch the application.

Installation Guide for non-Nightscout use

  1. Check your version of Java at this link
  2. Download the application from the Nightscout Loader page.
  3. Latest stable version always available here.
  4. Occassionally, an early beta version is made available with fixes on the stable version or access to upcoming features.
  5. Copy the NightScoutLoader.jar file to your desktop
  6. Launch the application by double-clicking the icon on your desktop.

That's all there is to it!

To convert a previous installation for Nightscout to one for non-Nightscout use, simply clear the Nightscout Server field in the Settings window, save the settings and re-launch the application.

👫 Nightscout Loader Website 👫 Nightscout Loader Facebook Page