https://github.com/skalahonza/tidepooltonightscoutsync
This tool helps syncing data from Tidepool to NightScout. Currently only normal bolus and carbs are supported.
https://github.com/skalahonza/tidepooltonightscoutsync
nightscout nightscout-data nightscout-web-monitor tidepool
Last synced: 4 months ago
JSON representation
This tool helps syncing data from Tidepool to NightScout. Currently only normal bolus and carbs are supported.
- Host: GitHub
- URL: https://github.com/skalahonza/tidepooltonightscoutsync
- Owner: skalahonza
- Created: 2020-07-28T11:56:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-29T10:29:33.000Z (5 months ago)
- Last Synced: 2025-02-15T08:22:57.614Z (4 months ago)
- Topics: nightscout, nightscout-data, nightscout-web-monitor, tidepool
- Language: C#
- Homepage:
- Size: 14.3 MB
- Stars: 13
- Watchers: 5
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tidepool to NightScout sync tool
## Questions and answersIf 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## Description
This tool helps to sync data from **Tidepool** to **NightScout**.
### Synced data
- **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
## What is Tidepool
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](https://www.tidepool.org/)## What is NightScout
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](http://www.nightscout.info/)## Build and run on your device
1. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
2. Navigate to `src/CLI` folder
3. Open file `appsettings.json`
4. 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)
### Example configuration
```json
{
"tidepool:Username": "[email protected]",
"tidepool:Password": "password",
"nightscout:BaseUrl": "https://skalich.herokuapp.com",
"nightscout:ApiKey": "123456789101112",
"sync:since": "2020-07-01",
"sync:till": null
}
```
1. Open command prompt in the folder and run the app using `dotnet run`
2. You should now see your data in NightScout## Run using only CMD
Good for AdHoc syncing.1. Navigate to `src/CLI` folder
2. 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## Sync values from Today
Good for AdHoc syncing.1. Navigate to `src/CLI` folder
2. 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## Sync values from any date
If you have filled your user credentials in `appsettings.json` you don't have to mention them when running the app using CMD.1. Navigate to `src/CLI` folder
2. 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`