Note: with the recent Spike-App issues, I have updated this blog mail service with current data for clarity. This app works for both G5 and G6.

Offset, let me preface past saying that I admire, love, respect, and covet my Dexcom arrangement.  It gives us a stability with type 1 diabetes that we would never exist able to do without now.  Simply what I'm well-nigh to tell you is a bit of a hack on their system.

There's been i affair I really have not enjoyed about moving from the G4 to the G5 organization nigh four months ago.  The G4 transmitters were warrantied for vi months, but normally the battery in those would go for a year…meaning we had the opportunity for much of the transmitter's useful life to accept a backup on the shelf at all times.  If the G4 transmitter failed for whatsoever reason, nosotros could pick one off our shelf and not stress about how long it would accept to get a new 1.  Overseas travel and two-week long diabetic summertime camps were not a large deal…we could pack a backup.

Then we switched to the G5 organisation at the beginning of this year and then that Anna didn't accept to carry a receiver while she did track team workouts.  This dramatically improved the likelihood that she would stay in good BG range during workout because our DIY loop system would have BGs available the entire workout to assist her insulin needs.  If Anna had to carry a receiver during track workouts, that would've been the straw that bankrupt the camel's back in terms of diabetes gear she was willing to manage.

So, nosotros've loved the G5 and G6.  It has worked well; not really having whatever problems with signal loss, BGs are accurate, we have enjoyed Clarity reports.  All good EXCEPT those G5/G6 transmitters existence shut-off by Dexcom  at 112 days.  At 90 days, you become a warning and your warranty is up.  At 112 days, your transmitter is artificially shut-off even though the batteries have some useful life left.  How much life?  Well, that depends, only for most users information technology is virtually a couple more months of life.

The problem with this organization is that my insurance covers ii transmitters in ane order every 6 months.  So, for the first xc days (three months) after a transmitter order, I will nicely take a backup sitting on the shelf in example things go incorrect.  Simply, for the adjacent 3 months, I will have no backups on the shelf.  If that 2nd transmitter dies early, I would have to wait for Dexcom to send us a new one.  If we were overseas or traveling, this could exist very inconvenient.  I definitely won't have one to send with Anna to her 2 weeks of summer military camp based on how I can forecast our insurance refills already.

And here's the really great news.  You can at present reset the clock on that 112 twenty-four hour period shut-off by building an app that Pete Schwamb released, building on Nate Racklyeft'south work of decoding the Dexcom protocol.  This doesn't purchase yous heaps of actress time…equally the battery will only go for about 2 more months (perchance even less?) past 112 days…only that could be merely enough time to start to be able to proceed a backup transmitter on the shelf for longer between orders.

Another actually good plus?  You can utilise this reset on G5/G6 transmitters that take had their batteries replaced AND notwithstanding use the Dexcom official app…you won't have to try to use a different app (like Spike-App or X-baste+).

HOW TO BUILD RESET APP

What you will need:

  • iPhone (iOS 11.i minimum, (this should likewise work on iPod touch 6th generation or newer…I just don't have one laying around to confirm)
  • Apple computer (macOS 10.13.6 High Sierra  or 10.14.3 (or newer) Mojave)
  • Xcode 10.1 or ten.2 (or newer)
  • Apple ID email

IMPORTANT Earlier We GO Any FUTHER…the version of iOS you accept on your phone will make a divergence in how you continue. And so, take a infinitesimal to check what iOS version you accept in your iPhone Settings -> Full general -> Nearly -> Software Version.

**IF you take iOS 12.two, y'all will have to use Xcode x.2. No fashion around that. And in society to utilize Xcode 10.two, yous will need macOS Mojave 10.14.3 at a minimum. High Sierra and Xcode ten.ane volition not work for installing on iPhones that take iOS 12.2.**

Check to run into if y'all demand to update your macOS based on the version of iOS you have, equally just discussed.  You lot can check your macOS by clicking the apple logo in your computer brandish's upper left corner and selecting Nearly this Mac.   If you are due for an update, click the Software Update push button.

At present that yous have the macOS updated (to Mojave if you accept iOS 12.two), we need to add a fiddling program chosen Homebrew.

Homebrew is a program that will allow u.s. to install the needed packages to build Loop. Open the Terminal application on your figurer. It is located in the Applications folder, and then wait in the Utilities subfolder for the Terminal awarding.

Terminal app is very patently looking when you open information technology. That is normal. Copy and paste the line below into Terminal prompt.  Accept the copy all the way from the get-go / to the last "Press return after you paste information technology into Terminal app.

                /usr/bin/blood-red -e "$(whorl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"              

There will exist a prompt asking if you desire to continue. Press return to go on, then information technology volition prompt for your password. Enter your computer user password ( don't worry, Terminal app doesn't show keystrokes when you enter passwords, only information technology is withal reading your typing ).

Wait while the script does its thing…you'll see info scroll by and then information technology will pause for awhile. Eventually, it will be washed and yous'll see something that says "Installation successful" and yous'll accept a ready Terminal prompt again.

Terminal footstep is to copy and paste this red line beneath into Terminal app:

brew install carthage

This should result in the installation of Carthage version 0.33. (If you have an older version of Carthage already installed considering of previous piece of work on your computer, the command is brew update && brew upgrade carthage to become Carthage updated to the new version you'll need. )  You're all done with the Concluding application now. You're washed with it.

You can now download and install the app called Xcode from the App Store on your computer. Xcode 10.2 is what you need for iOS 12.2 users. When the installation is finished, open up Xcode past double-clicking on it from your Applications list. And yep…the download and installation of Xcode can take a long time depending on internet speed and figurer. It takes upward of 45 minutes for many people.

Note: If this is the first fourth dimension you are opening Xcode, y'all may go an initial message telling you that Xcode is installing command line tools.  Please let that run and complete the installation.  Command Line tools are a needed installation.

Become to the Xcode carte du jour on the top of your screen, and click on Xcode and then Preferences...

Inside Preferences, click on the Accounts tab and so the + button in the bottom left corner to add an business relationship.  You are going to add an Apple ID type account.

Enter in your Apple tree ID email and countersign.  This process automatically makes a free Apple tree Developer account associated with your Apple ID email.  The account will show upwards in your Xcode preferences now with your name and (personal team) every bit a suffix in the name.  Once your account is added, shut the Preferences screen by clicking on the red circle in the upper left corner.

Now we demand to download the code for the ResetTransmitter app. The code that volition work will be dependent on your Xcode version.

Click here to download ResetTransmitter App'southward code

Open your downloads binder and navigate to the CGMBLEKit-3.0 folder that you downloaded. Inside that folder, detect the file CGMBLEKit.xcodeproj file.  Double-click on that file and the projection will open up in Xcode automatically.

Click on the open up button when the message appears asking:

"CGMBLEKit" is a project downloaded from the Internet. Are you sure you desire to open up it?

{Have the time now while the project opens to plug in your iPhone to the figurer using your lightning cable.  Please have whatever prompts about trusting your calculator and unlock your phone and so that it stays awake through the build process of the app that we are about to finish.}

Now click on the CGMBLEKit at the top of the left cavalcade, and and then click on the small box as shown on the screenshot below to testify the list of "Targets" below it.  Select the "ResetTransmitter" target.

Now, look at the screenshot higher up.  See that part highlighted in bluish? You will demand to change the loopkit part of the Bundle Identifier to a unique-to-y'all word or phrase (no spaces).  Make sure that when y'all make the edit, you do non delete the period earlier and subsequently.

Once you take the proper noun edited, then go down to the Team department and select your (personal team) signing proper noun from the drop downward carte du jour selection.  [Note: if you have a paid developer account, you lot tin use that signing proper name instead.]

Later on you terminate signing, a Provisional Profile will automatically exist created and y'all're shut to done.

If y'all come across a prompt under the condition area below the Team nigh your device non being registered, please click on the Annals Device button provided there to annals the iPhone to your programmer account (see screenshot beneath).

Now, navigate upward to the superlative of your window and select 2 things; one from the left side of the box you're going to select ResetTransmitter and from the pop-out, yous're going to select your phone's proper noun from the very peak of the device list (not merely your telephone model…you want to go all the manner to the meridian of the list for your phone's name).


Cease and double check…. about common mistake is forgetting to select ResetTransmitter equally shown in the screenshot below and mentioned to a higher place.  Do non leave the selection on CGMBLEKit…if you lot practice, your app will build properly nor will it announced on your phone.


If your phone/device name has (untrusted) after the name (see screenshot below), please open up the phone and click on the Trust push button that should appear on the main screen.  If the (untrusted) tag hasn't disappeared later that, just unplug and replug the phone into the estimator.  That should get rid of the (untrusted) tag.  If you try to build an app onto an "untrusted" device, you'll get an error message reminding yous to do the steps above.

When you're done, the screen should look like the screenshot beneath; ResetTransmitter on the left, your phone's proper noun on the right, and no ruddy fault messages under the signing team area.  If your screen looks correct, and then go ahead and printing the build/play push button.

Depending on if this is the first fourth dimension you've congenital on Xcode, you may get prompts for codesign access and keychain access.  If those prompts appear, please enter your computer'due south password and click on the always let push to confirm.

Besides, if this is your commencement fourth dimension building with this developer account onto your iPhone, you may get some other warning that the app could not launch considering an outcome with trust on your Developer Account on your telephone.

Follow the directions on the warning.  Open your iPhone Settings >> Full general >> Device Direction and so select your Developer App certificate and trust it.

Once you click the Trust on your iPhone, go back to Xcode, click on the blue OK button for the alarm and and so printing the build/play button i more than fourth dimension.  This volition finish the build of the app onto your telephone.  Success!  You tin can unplug your phone from the computer and use the app now.

BUILD ERROR?

If your app did non build correctly and yous got a "Build Failed" bulletin and some red fault message almost "LoopKit" not being institute…hither's the solution.

  1. Open Terminal app again (remember, yous opened it earlier to install Homebrew earlier in the directions).
  2. Copy & paste this command into the screen:cd downloads/cgmblekit-dev && carthage update  and and then press render.
  3. Expect for the control to end running. Might take near 5-10 minutes, and so you'll be returned to a blank line beginning with a $. Yous're all done with Terminal app, you tin can shut out.
  4. Now become dorsum and try build push once more in Xcode.

USING THE RESET APP

Special note for Loop users : Remove your Dexcom from Loop settings during the reset procedure described below. Simply add your CGM source back in Loop settings later the reset is completed. Including all the way through re-pairing the reset transmitter back in Dexcom app and getting CGM information in Dexcom app. Once Dexcom is all happy and working again, then add together the info back into Loop settings.

There are some alarm messages in in that location about the utilise of this app.  One known impact of using reset transmitters is that yous will have gaps in CGM data in your Clarity account. Most users run into about 10-30% of their CGM data making it into Clarity on a reset transmitter…so be enlightened that your Clarity statistics may be spotty. Share accounts (follow and users) appear unaffected at this point in time. Later resetting a transmitter, you can use the transmitter on a Dexcom app for replaced bombardment transmitters also.

You cannot reset a transmitter that is currently in a session and/or paired with Dexcom or Spike, or any other device/app.  And then, stop any currently running sessions, and quit the Dexcom app.   Forget the transmitter from your iPhone's bluetooth list.  Forget all Dexcom transmitters from the list…no reason to go along old ones that you aren't using anymore anyways. Re-open up the ResetTransmitter app, enter your Transmitter ID and press the red Reset push button.  Inside 5 minutes you should go a pairing request.

If you do not go a pairing request and instead see a message "Unable to parse auth challenge: timeout" that means your transmitter is still busy with another app.  Double-click the iPhone's home button and scroll through the open apps.  Upswipe on the Dexcom and the Reset apps to close them.  Restart the phone, re-open the Reset app, enter in the transmitter ID once more and press the cerise Reset button again.  Within five min yous should now see a pairing request.

If you However don't see a pairing asking, some users have reported that turning off Dexcom'due south jail cell data inside the iPhone Settings >> Dexcom G5 app can also assistance release the transmitter from Dexcom app's influence.  If that fails…yous tin can endeavor deleting the Dexcom app and reinstalling information technology at the end of the reset process.

If you yet don't get a pairing asking, make certain the transmitter is within pairing range of the iPhone (merely non in active session).  The Reset app needs the transmitter close enough to be able to pair with it in club to reset the clock.

Once y'all printing the pairing request, the reset command is immediately issued and you should go a confirmation screen like beneath:

Yous can now shut the Reset app (double-click phone's home button and upswipe Reset app) and forget the transmitter in the iPhone's bt list once more.  Reopen your Dexcom app and yous'll exist able to use your transmitter for another 112 days or until the bombardment gives out…whichever comes first.

The gratuitous programmer account that you signed the Reset app with only allows the app to exist used for vii days.  After vii days, the app will just produce a quick white screen and self-close if yous try to open it.  You lot tin rebuild the app someday afterward the vii days to utilise it over again.  Simply double-click on the file in your CGMBLEKit folder download to open the project in Xcode over again, plug in your iPhone, and press the build/play push button.  All your previous changes will accept been saved, so the rebuild is quite easy.

You can reset any amount of transmitters.  The app does not know transmitter ownership, nor does it accept a limit on how many times y'all tin use the app to reset transmitters.

The transmitter does not accept to be on a sensor in order to be reset, just needs to have battery life left and not be paired already with another app.