Nutrition

How to connect Lose It

Lose It is a friendly app for tracking what you eat. If you already use it, MigraineMe can read your meals and look for food triggers, like caffeine, tyramine, and missed meals. You do not have to log your food twice.

A small but important note: MigraineMe does not talk to Lose It directly. Instead, Lose It sends what you ate to your phone's main health app, and MigraineMe reads it from there. This keeps your information private, because you stay in control of what is shared.

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


On iPhone

Step 1: Make sure Lose It is sending food to Apple Health

  1. Open the Lose It app on your iPhone.
  2. Tap More at the bottom right (three dots or a small profile picture).
  3. Tap Apps & Devices (sometimes called "Integrations").
  4. Find Apple Health in the list and tap it.
  5. Tap Connect.
  6. Apple Health will pop up with a list of switches. Tap Turn All Categories On, then Allow.

If you have already done this in the past, you will see "Disconnect" instead of "Connect". That means you are good. Move to the next step.

Step 2: Connect MigraineMe to Apple Health and turn on Diet

  1. Open MigraineMe.
  2. Tap the gear icon in the top-left of the screen. A drawer slides in from the left.
  3. Tap Connections.
  4. Find Apple Health and tap Connect. If it already says Connected, skip to step 6.
  5. Apple Health will pop up asking for permission. Tap Turn On All, then Allow.
  6. Open the drawer again and tap Data and Notifications.
  7. Scroll to the Diet section and turn the Diet switch on.

Step 3: Give it a moment

On iPhone, MigraineMe copies the food you log today from Apple Health. It does this when you open MigraineMe and in the background during the day. Meals from before you connected are not copied over. To be sure the whole day is in, open MigraineMe once after your last meal.

To check it is working:

  1. Open MigraineMe.
  2. Tap the Monitor tab.
  3. Scroll to the Diet card.
  4. You should see today's food totals and the number of meals and items logged today.

On Android

A small heads-up: Lose It's support for Health Connect on Android can vary, depending on your phone and the app version. If you find it is not working after the steps below, see the troubleshooting section.

Step 1: Install Health Connect (if you do not have it)

Health Connect is the bridge between Lose It and MigraineMe on Android. It is made by Google and is free.

  1. Open the Play Store.
  2. Search for Health Connect.
  3. Tap Install.
  4. Open it once after it installs, just to wake it up.

If your phone says "Health Connect is already installed", you are done with this step.

Step 2: Make sure Lose It is sending food to Health Connect

  1. Open the Lose It app.
  2. Tap More at the bottom right.
  3. Tap Apps & Devices (or "Integrations").
  4. Look for Health Connect in the list and tap it.
  5. Tap Connect and follow the popup to allow Lose It to share meals.

If you do not see Health Connect in Lose It's list, the app version you have may not support it yet. See the troubleshooting section below.

Step 3: Connect MigraineMe to Health Connect

  1. Open MigraineMe.
  2. Tap the gear icon in the top-left of the screen. A drawer slides in from the left.
  3. Tap Connections.
  4. Find Health Connect and tap Connect.
  5. A Health Connect window will appear. Tap Allow all (or make sure Nutrition is on), then Allow.
  6. Open the drawer again and tap Data and Notifications.
  7. Scroll to the Diet section and check the Diet switch is on. It usually turns on by itself once the nutrition permission is given.

Step 4: Give it a moment

The first time, MigraineMe copies the last 14 days of meals from Health Connect. After that, new meals usually arrive within 15 to 30 minutes.


What MigraineMe does with your food data

MigraineMe looks at things in your meals that are known to trigger migraines for some people:

Tyramine and histamine are worked out from the names of your foods. They only work when your food app shares the name of each food. Apps that share only nutrient totals still give caffeine, sugar, magnesium and the other numbers.

When one of these food triggers is in your trigger list and is crossed on a day, it shows in the Top contributors card on Home. Once you have logged at least 5 attacks, the weekly recalibration (Premium) can adjust these triggers for you.

Troubleshooting

"Diet card is empty"

  1. Make sure you have actually logged something in Lose It today.
  2. Force-close MigraineMe (swipe it away) and reopen.
  3. On iPhone, go to Settings → Apps → Health → Data Access & Devices → MigraineMe and check that Dietary items are turned on.
  4. On Android, open Health Connect and tap App permissions → MigraineMe to check the nutrition permissions are on.

"Lose It does not list Health Connect on Android"

  1. Open the Play Store and update Lose It to the latest version.
  2. If it still does not appear, Lose It may not yet support Health Connect on your phone. In the meantime, you can log your meals straight into MigraineMe using the barcode scanner or the search box. See the article "Logging food with the barcode scanner".

"Meals appear in Lose It but not MigraineMe"

This is almost always a permission issue. Walk back through the steps above, paying close attention to the popups. Tap Allow all if you see it.

Still stuck?

Write to us at help@migraineme.app and tell us:

We usually reply within a day.

More in this section

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

Download MigraineMe