If you have any question, or you need to help with getting started write a post here: https://github.com/skalahonza/TidepoolToNightScoutSync/discussions/categories/q-a. I know that writing an email might be faster, but GitHub Discussions are preferred for following reasons:
- maybe someone already asked the same question
- answers to questions can be found easier
This tool helps to sync data from Tidepool to NightScout.
- Bolus - Normal and Combo bolus
- Carbs - Carbs intake
- Physical activity - Physical activity
- Basal schedules - Basal schedules
- BG targets - BG targets
- BG values - BG values
- Carb ratios - Carb ratios
- Insulin sensitivities - Insulin sensitivities
Tidepool is a nonprofit organization dedicated to making diabetes data more accessible, actionable, and meaningful for people with diabetes, their care teams, and researchers. More
Nightscout (CGM in the Cloud) is an open source, DIY project that allows real time access to a CGM data via personal website, smartwatch viewers, or apps and widgets available for smartphones.
Nightscout was developed by parents of children with Type 1 Diabetes and has continued to be developed, maintained, and supported by volunteers. More
- Install .NET 8 SDK
- Navigate to
src/CLI
folder - Open file
appsettings.json
- Change items below and fill in your user credentials
- tidepool:Username = your tidepool username
- tidepool:Password = your tidepool password
- nightscout:BaseUrl = your NightScout url
- nightscout:ApiKey = your NightScout API KEY
- sync:since = since when the data should be imported (optional, can be null)
- sync:till = till when the data should be imported (optional, can be null)
{
"tidepool:Username": "[email protected]",
"tidepool:Password": "password",
"nightscout:BaseUrl": "https://skalich.herokuapp.com",
"nightscout:ApiKey": "123456789101112",
"sync:since": "2020-07-01",
"sync:till": null
}
- Open command prompt in the folder and run the app using
dotnet run
- You should now see your data in NightScout
Good for AdHoc syncing.
- Navigate to
src/CLI
folder - Run command
dotnet run -- tidepool:Username="[email protected]" tidepool:Password="password" nightscout:BaseUrl="https://skalich.herokuapp.com" nightscout:ApiKey="123456789101112" sync:since="2020-07-31"
- This will sync all date since 31st of July 2020
- It will also use Tidepool username, password and NightScout base url, API Secret from the command
Good for AdHoc syncing.
- Navigate to
src/CLI
folder - Run command
dotnet run -- tidepool:Username="[email protected]" tidepool:Password="password" nightscout:BaseUrl="https://skalich.herokuapp.com" nightscout:ApiKey="123456789101112"
- This will sync all data from Today
- Notice that sync:since parameter is missing
If you have filled your user credentials in appsettings.json
you don't have to mention them when running the app using CMD.
- Navigate to
src/CLI
folder - Run command
dotnet run -- sync:since="2020-07-31"
- This will sync all date since 31st of July 2020
- Rest of the configuration is loaded from
appsettings.json