Sleep

Connecting AutoSleep, Sleep Cycle or Pillow (iPhone)

Take a breath, this is simpler than it seems. MigraineMe does not talk to AutoSleep, Sleep Cycle or Pillow directly. Instead, all three of them already send their sleep data to Apple Health on your iPhone, and MigraineMe reads from Apple Health. So this guide is really about making sure your sleep app is sending its sleep to the Health app.

You only need to do this once.

Step 1: Make sure MigraineMe is connected to Apple Health

If you have not done this yet, there is a separate short guide called "Connecting your sleep from Apple Health". Do that first, then come back here.

Step 2: Tell your sleep app to write to Apple Health

The exact wording is a little different in each app, but the idea is the same.

For AutoSleep

  1. Open AutoSleep.
  2. Tap the small gear icon to open settings.
  3. Look for a section called Apple Health or Write to Health.
  4. Make sure Sleep is switched on.
  5. If a permission screen appears, tap Turn On All, then tap Allow.

For Sleep Cycle

  1. Open Sleep Cycle.
  2. Tap Profile (or the person icon, depending on the version).
  3. Tap Account, then Apple Health.
  4. Tap Connect to Apple Health.
  5. On the permission screen, tap Turn On All, then tap Allow.

For Pillow

  1. Open Pillow.
  2. Tap the gear icon (settings).
  3. Tap Apple Health.
  4. Switch Sync with Apple Health to on.
  5. On the permission screen, tap Turn On All, then tap Allow.

Step 3: Check that the Health app now has your sleep

  1. Open the Health app on your iPhone (white icon, red heart).
  2. Tap Browse at the bottom.
  3. Tap Sleep.
  4. You should see your most recent night.

If you see it here, MigraineMe will see it too.

Step 4: Check MigraineMe

  1. Open MigraineMe.
  2. Tap the Monitor tab.
  3. Scroll to the Sleep card.
  4. Your sleep should appear within an hour or two of waking up.

If something went wrong

Health app shows no sleep

Your sleep app has not actually written anything yet. Try this:

  1. In your sleep app, open last night's session.
  2. Look for a button or a menu that says Share to Health or Re-sync to Health. Some apps put this in a three-dot menu at the top.
  3. Tap it.

MigraineMe sleep card is empty even though Health shows sleep

MigraineMe may not yet have permission to read sleep.

  1. Open the Settings app on your iPhone (grey gear icon).
  2. Tap Apps, then Health.
  3. Tap Data Access & Devices.
  4. Tap MigraineMe.
  5. Make sure Sleep Analysis is switched on (green).

A friendly reminder

You only need one sleep tracker. If you have AutoSleep and an Apple Watch both writing sleep, that is fine. MigraineMe merges the sleep from all sources, so a night tracked by both counts once.

More in this section

Still stuck? Write to us at help@migraineme.app

Download MigraineMe