Sleep

Connecting your sleep from Apple Health (iPhone)

Do not worry, this is easier than it sounds. MigraineMe does not talk to your watch or your sleep app directly. Instead, it reads from Apple Health, the small white app on your iPhone with a red heart. Your sleep app sends its data to Apple Health, and MigraineMe reads it from there.

This is a one-time setup. After this, your sleep will appear in MigraineMe each morning on its own.

Step 1: Open MigraineMe

  1. Find the MigraineMe icon on your home screen.
  2. Tap it to open the app.

Step 2: Go to Connections

  1. Tap the gear icon in the top-left of the screen.
  2. Tap Connections.
  3. You will see a list of services. Find Apple Health.

Step 3: Turn on Apple Health

  1. Tap the Connect button next to Apple Health.
  2. A new screen will slide up. This screen comes from your iPhone, not from us.
  3. At the top there is a row that says Turn On All. Tap it.
  4. Scroll down to make sure Sleep Analysis is on (green switch).
  5. Tap Allow in the top corner.

That is it. The screen will close on its own.

Step 4: Check that it worked

  1. Tap the Monitor tab at the bottom of the screen.
  2. Scroll to the Sleep card.
  3. If you slept last night and your watch or phone tracked it, you should see your sleep here.

If the card is empty, do not worry. Sleep often takes an hour or two to appear after you wake up. Try again at lunchtime.

If something went wrong

The screen never appeared

  1. Close MigraineMe by swiping it up off the screen.
  2. Open it again.
  3. Try Settings, Connections, Apple Health, Connect once more.

The button says Connected but I see no sleep

This usually means Apple Health does not have sleep data yet. Open the Health app (white icon, red heart) and check.

  1. Open Health.
  2. Tap Browse at the bottom.
  3. Tap Sleep.
  4. If this is empty, the source app (Apple Watch, AutoSleep, Pillow, and so on) has not sent anything to Health yet. There is a separate guide for connecting AutoSleep, Sleep Cycle and Pillow.

I want to change what MigraineMe can see

  1. Open the Settings app on your iPhone (the grey gear icon, not the one inside MigraineMe).
  2. Tap Apps, then Health.
  3. Tap Data Access & Devices.
  4. Tap MigraineMe.
  5. Switch things on or off as you like.

A note on privacy

MigraineMe reads from Apple Health and cannot see anything you have not given it permission to see. It writes back only two things: the attacks you log (as Headache) and the periods you log in MigraineMe (as Menstruation). Your sleep numbers stay on your phone and in your account.

More in this section

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

Download MigraineMe