Sleep

How to connect Eight Sleep

Eight Sleep is a smart mattress cover that tracks your sleep and your body temperature while you rest. The good news is, you do not need to do anything technical. Eight Sleep already knows how to share its data with your phone's main health app, and that is all MigraineMe needs.

MigraineMe does not talk to Eight Sleep directly. The Eight Sleep app on your phone writes your sleep and body temperature to Apple Health (on iPhone) or Health Connect (on Android), and MigraineMe reads from there. This means you stay in control of what is shared.

The steps are different for iPhone and Android. Find your phone below.

You only need to do this once.


On iPhone

Step 1: Make sure the Eight Sleep app is writing to Apple Health

  1. Open the Eight Sleep app on your iPhone.
  2. Tap your profile picture in the top corner, or tap Settings.
  3. Look for Integrations or Apple Health.
  4. Tap Apple Health.
  5. Tap Connect.
  6. A permission screen will slide up. Tap Turn On All at the top.
  7. Tap Allow in the top right.

If you see Disconnect instead of Connect, you are already set up. Move on to Step 2.

Step 2: Make sure MigraineMe can read sleep from Apple Health

  1. Open MigraineMe.
  2. Tap the gear icon in the top-left of the screen.
  3. Tap Connections.
  4. Find Apple Health and tap Connect.
  5. Tap Turn On All, then Allow.

Step 3: Check that it is working

  1. Sleep on your Eight Sleep mattress tonight.
  2. In the morning, open the Health app (white icon, red heart).
  3. Tap Browse, then Sleep. You should see last night.
  4. Open MigraineMe, tap Monitor, and scroll to the Sleep card.

Your sleep should appear within one or two hours of waking up.


On Android

Step 1: Install Health Connect

  1. Open the Play Store.
  2. Search for Health Connect.
  3. If you see Install, tap it. If you see Open, you already have it.

Step 2: Make sure the Eight Sleep app is writing to Health Connect

  1. Open the Eight Sleep app.
  2. Tap Settings or your profile picture.
  3. Look for Integrations or Health Connect.
  4. Tap Health Connect, then Connect.
  5. On the permission screen, tap Allow all, then Allow.

Step 3: Connect MigraineMe to Health Connect

  1. Open MigraineMe.
  2. Tap the gear icon in the top-left of the screen, then tap Connections.
  3. Find Health Connect and tap Connect.
  4. Tap Allow all, then Allow.

Step 4: Check that it is working

  1. After your next night of sleep, open the Eight Sleep app to check last night was recorded.
  2. Open MigraineMe.
  3. Tap Monitor and scroll to the Sleep card.

What MigraineMe does with your Eight Sleep data

Eight Sleep is a little special. It writes two things MigraineMe really values:

A small rise in body temperature overnight can come before a migraine for some people. MigraineMe watches for this over time. You will see your sleep on the Sleep card on the Monitor tab. Your overnight temperature feeds the Skin temperature metric in the Physical Health section, shown as a change from your recent baseline once about a week of readings has built up.

Troubleshooting

"The Eight Sleep app shows my sleep, but the Health app does not"

The Eight Sleep app is recording, but it has not been given permission to share.

  1. Open the Settings app on your iPhone (the grey gear icon).
  2. Tap Apps, then Health, then Data Access & Devices.
  3. Tap Eight Sleep.
  4. Tap Turn All Categories On.

On Android, open Health Connect, tap App permissions, find Eight Sleep, and turn on the Write permissions.

"Health shows sleep, but MigraineMe does not"

  1. On iPhone: Settings → Apps → Health → Data Access & Devices → MigraineMe, and check Sleep Analysis is on.
  2. On Android: Health Connect → App permissions → MigraineMe, and check Sleep is on under Allowed to read.

Still stuck?

Write to us at help@migraineme.app and tell us your phone type, what the Health app or Health Connect shows, and a screenshot if you can.

More in this section

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

Download MigraineMe