Experimental Medtronic CareLink Follower data source for xDrip+
Medtronic CareLink Follower data source for xDrip+ to retrieve data from Medtronic CareLink of online CGM and insulin pump device data uploads (Guardian Connect CGM and MiniMed 7xxG insulin pumps) inside and outside of US.
There is also a separate repository containing only the communication with CareLink in Java: CareLinkJavaClient
The development is currently in a very early stage!
- Medtronic Guardian Connect CGM
- Medtronic MiniMed 770G insulin pump
- Medtronic MiniMed 780G insulin pump
- Other Medtronic MiniMed 7xxG insulin pumps ???
Download from CareLink and display in xDrip:
- SG readings
- Insulin treatments: bolus and auto correction (only for pumps!)
- Meals (only for pumps!)
- Finger BGs
- Notifications
- Sensor status information (next calibration, remain lifetime)
- Pump status information (IOB, reservoir, battery)
- Maximum Auto Basal (auto basal limit)
Upload to Nightscout using xDrip built-in Nightscout Sync feature:
- SG readings
- Insulin treatments (bolus and auto correction)
- Meals
- Finger BGs
- Notifications
- CareLink MFA is not supported!!!
- Notification texts are currently always in English
- Treatments of Guardian Connect are not supported in xDrip, because these are just simple markers for CareLink followers, required details are missing (no insulin amount, no carb amount)
- Suitable CareLink account with MFA DISABLED:
- Guardian Connect CGM outside US: patient or care partner account
- Guardian Connect CGM inside US: not tested yet! (possibly a care partner account)
- 7xxG pump outside US: care partner account (same as for Medtronic CareLink Connect app)
- 7xxG pump inside US: care partner account (same as for Medtronic CareLink Connect app)
- Download and install latest release
- Configure CareLink Follower:
- Select CareLink Follower for data source
- Set CareLink country, username and password
- Select required data types: Finger BGs, Boluses, Meals, Notifications
- If needed change grace period (wait after last sensor + 5 mins)
- If needed change missed data polling interval (polling interval if data is not received after last sensor + 5 mins + grace period)
- Additional options:
- Display pump status info (Settings > Less common settings > Extra status line > Pump Status)
- Display sensor status info (Settings > Less common settings > Extra status line > External Status)
- If needed configure upload to Nightscout (Settings > Cloud Upload > Nightscout Sync), but disable download data!
xDrip+ TAGs used for logging:
- CareLinkFollow : logs of CareLink Follower service
- CareLinkFollowDL : logs of CareLink data downloader
- CareLinkFollowDP : logs of CareLink data processor
- CareLink data download core logic is based on the Nightscout MiniMed Connect to Nightscout
- Follower data source logic is based on xDrip+ Nightscout and DexShare follower data sources
This project is intended for educational and informational purposes only. It relies on a series of fragile components and assumptions, any of which may break at any time. It is not FDA approved and should not be used to make medical decisions. It is neither affiliated with nor endorsed by Medtronic, and may violate their Terms of Service. Use of this code is without warranty or formal support of any kind.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.