Sleep

How to connect a Withings Sleep tracker

The Withings Sleep is a thin pad that slides under your mattress. You do not have to wear anything, you do not have to charge anything, and you do not have to press any buttons before bed. It just listens for your breathing and your heart, and writes it down each morning.

MigraineMe does not talk to the Withings Sleep pad directly. The Withings Health Mate app on your phone writes your sleep to your phone's main health app, and MigraineMe reads from there. So this guide is about making sure Health Mate is set up to share.

You only need to do this once.


On iPhone

Step 1: Make sure Health Mate is sending sleep to Apple Health

  1. Open the Health Mate app on your iPhone.
  2. Tap Profile (the person icon at the bottom).
  3. Tap Apps (or Apps & Devices, depending on the version).
  4. Find Apple Health in the list and tap it.
  5. Tap Connect.
  6. A permission screen slides up. Tap Turn On All at the top.
  7. Make sure Sleep Analysis is green.
  8. Tap Allow in the top right.

If the app already says Connected, you can skip to Step 2.

Step 2: Make sure MigraineMe can read from Apple Health

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

Step 3: Check that it is working

  1. Sleep one night with the Withings Sleep pad under your mattress as normal.
  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.

It can take an hour or two after you wake up before the data appears.


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 Health Mate is sending sleep to Health Connect

  1. Open the Health Mate app.
  2. Tap Profile.
  3. Tap Apps (or Apps & Devices).
  4. Find Health Connect in the list and tap it.
  5. Tap Connect and follow the permission popup.
  6. 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 Connections.
  3. Find Health Connect and tap Connect.
  4. Tap Allow all, then Allow.

Step 4: Check that it is working

  1. Sleep one night with the pad under your mattress.
  2. In the morning, open Health Mate to check that last night is there.
  3. Open MigraineMe, tap Monitor, and scroll to the Sleep card.

What MigraineMe does with your Withings Sleep data

MigraineMe reads how long you slept, how often you woke up, and your sleep stages if Health Mate shares them. If Health Mate also shares resting heart rate, that shows in the Physical Health card. It uses these to spot patterns. For example, a short or restless night often shows up the day before a migraine, and MigraineMe will flag this for you over time.

You will see this in the Sleep card on the Monitor tab. After a few weeks, short or broken sleep may also show in the Top contributors card on Home on the days it counts toward your risk.

Troubleshooting

"Health Mate shows my sleep, but Health (or Health Connect) does not"

Health Mate has recorded the data but has not been given permission to share.

  1. On iPhone: open the Settings app, tap Apps, then Health, then Data Access & Devices, then Health Mate. Tap Turn All Categories On.
  2. On Android: open Health Connect, tap App permissions, find Health Mate, and turn on the Write permissions.

"Health shows the sleep, but MigraineMe does not"

  1. On iPhone: open Settings, tap Apps, then Health, then Data Access & Devices, then MigraineMe. Make sure Sleep Analysis is on.
  2. On Android: open Health Connect, tap App permissions, then MigraineMe. Make sure Sleep is on under Allowed to read.

"The pad did not record last night"

This is a Withings question, not a MigraineMe one. Check that the pad is plugged in, that the green light is on, and that it is set up under the side of the mattress you actually sleep on.

Still stuck?

Write to us at help@migraineme.app with 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