Nutrition

How to connect LifeSum

LifeSum is a friendly food tracker with a focus on healthy habits. 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 LifeSum directly. Instead, LifeSum 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 LifeSum is sending food to Apple Health

  1. Open the LifeSum app on your iPhone.
  2. Tap Me at the bottom right (profile picture).
  3. Tap the gear icon in the top-left of the screen.
  4. Scroll down and tap Apple Health.
  5. Turn the Apple Health switch on.
  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, the switch will already be on. Move on.

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: LifeSum's Health Connect support on Android depends on your app version. If you cannot find it 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 LifeSum 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 LifeSum is sending food to Health Connect

  1. Open the LifeSum app.
  2. Tap Me at the bottom right.
  3. Tap the gear icon in the top-left of the screen.
  4. Look for Health Connect in the list and tap it.
  5. Tap Connect and follow the popup to allow LifeSum to share meals.

If you do not see Health Connect in LifeSum, update the app in the Play Store and try again.

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 LifeSum 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.

"LifeSum does not list Health Connect on Android"

  1. Update LifeSum in the Play Store.
  2. If it still does not appear, you can log meals straight into MigraineMe using the barcode scanner or the search box.

"Meals appear in LifeSum but not MigraineMe"

This is almost always a permission issue. Walk back through the steps above, paying close attention to the popups.

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