Sleep

How to connect NapBot, Sleep Watch or Sleep++

NapBot, Sleep Watch and Sleep++ are smaller, simpler sleep apps for iPhone. They each track your sleep using your iPhone or your Apple Watch and then send the data on. MigraineMe does not talk to any of them directly. Each one writes to Apple Health, and MigraineMe reads from Apple Health.

These three are iPhone only. If you have an Android phone, please see the Sleep as Android guide instead.

You only need to do this once.


On iPhone

Step 1: 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. A screen will slide up. Tap Turn On All at the top.
  6. Scroll down and check Sleep Analysis is green.
  7. Tap Allow in the top right.

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

Step 2: Turn on Apple Health sharing inside your sleep app

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

For NapBot

  1. Open NapBot.
  2. Tap Settings (gear icon).
  3. Tap Apple Health.
  4. Turn on the Write to Health switch.
  5. On the permission screen, tap Turn On All, then Allow.

For Sleep Watch (Bodymatter)

  1. Open Sleep Watch.
  2. Tap the gear icon (settings).
  3. Scroll to Health Integration or Apple Health.
  4. Turn on Write Sleep to Health.
  5. On the permission screen, tap Turn On All, then Allow.

For Sleep++

  1. Open Sleep++.
  2. Tap Settings (gear icon, bottom or top corner).
  3. Tap Apple Health.
  4. Switch Write Sleep Sessions to on.
  5. On the permission screen, tap Turn On All, then Allow.

Step 3: Check that it is working

  1. After your next night of sleep, open the Health app on your iPhone.
  2. Tap Browse at the bottom.
  3. Tap 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

NapBot, Sleep Watch and Sleep++ are not available on Android. If you have an Android phone, please see How to connect Sleep as Android.


What MigraineMe does with your sleep data

MigraineMe reads how long you slept and, where possible, how restful that sleep was. It uses this to spot patterns. A short or restless night often shows up the day before a migraine, and MigraineMe can 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.

A small note: these apps each record sleep in slightly different ways. NapBot uses your iPhone movement, Sleep Watch reads your Apple Watch, and Sleep++ uses your watch movement. None of this changes the steps. MigraineMe simply reads what Apple Health stores.

Troubleshooting

"The Health app shows no sleep"

Your sleep app has not written anything to Health yet.

  1. Open last night's session in your sleep app.
  2. Look for a button or three-dot menu with Share to Health or Re-sync to Health.
  3. Tap it.
  4. Open the Health app and check again.

"Health shows my sleep, but MigraineMe does not"

This is almost always a permission issue.

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

"I have more than one sleep app, and the numbers do not match"

This is normal. MigraineMe merges the sleep from all your sources, so a night tracked by two apps counts once. The order in the Health app's Data Sources & Access list does not change this. If you only want one app to count, turn off sleep writing in the other app's Apple Health settings.

Still stuck?

Write to us at help@migraineme.app and tell us the name of your sleep app, what the Health app shows, and a screenshot if you can.

More in this section

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

Download MigraineMe