Advertisement

Home Assistant Core recently got rid of the Garmin Connect integration due to its reliance on web scraping. Unfortunately, Garmin removed the possibility for projects like Home Assistant to access the API, and is now offering it exclusively to businesses. Luckily, the code used for the Garmin integration previously included with Home Assistant Core was still somewhat useable, and it is now offered as a custom component.

Advertisement

The current Garmin integration with Home Assistant isn’t perfect, and it might break at any time, but it is the only option for those that want to import their fitness and health data from their sports watch. This short guide will show you how to install and set up this integration.

Installing the Garmin Connect custom component

There is only one way I ever recommend installing custom components: HACS, or the Home Assistant Community Store. Once you have HACS set up, you can simply search for, and install, the Garmin Connect integration. After restarting your server, you are ready to integrate Garmin Connect. If you can’t find the repository in HACS, you can add it manually using the following URL:

Advertisement
https://github.com/cyberjunky/home-assistant-garmin_connect

If done correctly and restarted your server, the Garmin Connect custom component will appear in the list of all components you have installed using HACS.

The Garmin Connect custom component in the Home Assistant Community Store.

Setting up the Garmin Connect integration

As I already mentioned, the Garmin Connect integration with Home Assistant isn’t perfect. It is when setting up this integration that this might become obvious. For example, you will need to wait a couple of minutes after your Home Assistant has booted until it will accept your username and password.

Once a couple of minutes have passed, head over to the settings in the web dashboard and add a new integration. From there, search for Garmin and click on the result.

The Garmin Connect integration with Home Assistant in the list of all integrations.

Next, you will have to enter your email addressed used with the Garmin Connect account and the password. If you receive any errors after clicking on submit, I suggest you wait a bit longer and try it again.

You will now be able to see data from your Garmin Connect account in Home Assistant. Be warned, that the data will be out of sync because your sports watch only periodically syncs with your phone, and the integration can only fetch data every ~5 minutes.

Two fields allowing a Home Assistant user to enter their Garmin Connect username (email) and password.
Advertisement
Liam Alexander Colman, the author and maintainer of Home Assistant Guides.

About Liam Alexander Colman

Liam Alexander Colman has been using Home Assistant for various projects for quite some time. What started of with a Raspberry Pi quickly became three Raspberry Pis and eventually a full-blown server. I now use Unraid as my operating system and Home Assistant happily runs in a Docker container. My personal setup includes many Zigbee devices as well as integrations with existing products such as my Android TV box. Read on to find out more on how I got started with Home Assistant.

Leave a comment

Advertisement