Skip to content
This repository was archived by the owner on Sep 5, 2020. It is now read-only.

Troubleshooting

Caroline edited this page May 22, 2019 · 8 revisions

Loop not getting Spike data ? Try some of these fixes.

Note that you will not get Spike readings as expected when using a simulator pump in Loop. In order for Loop to pull Spike data in the expected manner, a physical pump needs to be paired with the Loop app. If you're still waiting for your RileyLink to arrive and have Spike paired with Health at the moment in order to get some data into Loop, remember to disable Health capabilities in Spike when connecting your pump to Loop for the first time.

Make sure that Spike is active in the background

The app must be open and active in order to get readings, and thus to send them to Loop as well. If you're having connectivity issues within Spike, try :

  • Changing the suspension prevention settings of Spike. In settings > advanced > user defined, you'll be able to select your mode. Read the instructions in that panel to determine which setting you should start with, as this changes per CGM.

  • iCloud settings. When the phone is plugged in, on WiFi, and the screen is off, this is when iCloud backs up your phone. This setting is turned on by default. This will sometimes disrupt Spike getting readings. The solution can either be to not plug your phone in overnight, or to disable this setting by clicking on your account from within the phone's settings, scroll to the bottom to select the phone you're using, and clicking on the iCloud settings.

  • Screen time. You may have a setting enabled in this menu that is forcing Spike to quit, be it during the night or the day. This menu can be found under "screen time" (I think it's called that, my phone isn't in English, sorry... it's the option underneath "Do not disturb", the purple icon with the hourglass).

  • Background app refresh. Under general > background app refresh, you can make sure that Spike is enabled. Again, this may be labeled differently on a phone in English... It's the 8th option on the screen.

Spike is updating, but Loop isn't

More often than not, the issue lies in Apple Health. Your settings must be :

  • Loop : has full monopoly on reading and writing all data

  • Spike : has zero abilities to read or write. You can also fully disable Spike's access to Health by going into its settings > share, and disabling Health Kit

See the LoopDocs section on Health permissions for more.

If your Health settings are correct, try :

  • Enable the HTTP internal server in Spike. This can be found in settings > integration.

  • Delete Spike as your CGM source in Loop, then when reselecting Spike, delete the credentials and enter new ones. Changing this up could knock things back into place.

  • A simple restart. Close both Spike and Loop from the app switcher, turn the phone off and back on again, then reopen Spike and Loop in that order.

Delayed CGM data, but green loop

The way the Spike client works is that if a reading is from less than 30 seconds ago when Loop updates, it will not take this reading into account. So, for example, if Spike updates when Loop says it's at 4 minutes, the reading sometimes may not be taken into account. You can get yourself in a spot where Loop will then continually act upon 9 minute old data.

For Libre users, click "on demand" in Spike to get a new reading while Loop is at 3 minutes.

Still not working ?

You can try a soft reset of the phone, or even delete Loop completely off of the phone and load it back on if you're in a tight spot and absolutely nothing is working, as a last ditch effort. Before you do that though, double check that your Loop app is displaying the correct version of Loop : it should be the original Loop version name plus -spike on the end. With all these new releases coming out, it's not unheard of that people mix up the folders or projects in Xcode and accidentally deploy the wrong version.

Also, if you'd been previously using a different source - such as Dexcom Share - when you load a new version, Loop keeps all your old settings. This includes whichever CGM source you were using. You'll have to delete that CGM source in order to get Spike to show up as a CGM option.

If you're still stuck, remember to check the LoopDocs for any other non-Spike-specific troubleshooting steps as well.