Google Fit integration

Tx! If you disconnect and re-connect like you did, Intervals.icu goes back to 2015 if possible. In your case I can see it tried to get sleep from 2019 onwards but didn’t get anything. Can’t see why not.

If you can get the data into a spreadsheet somehow you can use the wellness CSV download/upload to get it into Intervals.icu. On the calendar page do Options → Wellness → Dowload CSV / Upload CSV.

1 Like

Hi,
I greatly appreciate the hard work and dedication you put in.
My data sleep from googleFit was partially synchronized.
It is because there is a lot of data sleep in Google Fit?
Thank you!

It should have got your old sleep history. You can try disconnect and reconnect Google Fit. That will trigger a fetch going back to 2015-01-01.

@david , i’m seeing some inconsistence between the resting hr data in google fit and the one imported in intervals. Normally lower at intervals (eg, today 49 google fit from fitbit, 44 in intervals). Is there any known bug there?
If you need more details, please, let me know.

Hmm. I had a look in the logs and Google is giving me 44 both from the aggregate HR data and the sleep data. So I am not sure whats up?

2023-02-20 20:01:35.038 Athlete i33604 2023-02-20 restingHR=44
2023-02-20 20:01:35.196 athlete i33604 sleep session[7] Fitbit Sleep 2023-02-19 21:22 to 2023-02-20 04:31 7:08
2023-02-20 20:01:37.854 analyzeSleepSession athlete i33604 Fitbit Sleep 2023-02-19 21:22 to 2023-02-20 04:31 7:08
2023-02-20 20:01:38.225 athlete i33604 sleepInfo[7] 2023-02-20 6:51 not sleeping 0:17 avgSleepingHR 57.12646370023419 restingHR 44

David, sorry for my late response. I cannot access intervals.icu through my work laptop (i tried to skip the company firewall in all the possible ways, but it does not work) and i don’t enter to the forums as often as I would like.

It will be google fit - fitbit integration fault, then. Thanks for checking!

Hi @david!

Any chance you can add steps? Some walking pads (like Xiaomi ones) sync steps to Google fit. Garmin/Coros/Suunto watches do not pickup steps well when walking on the pad. So my last hope is to get this data on Intervals :slight_smile:

Thanks!

Intervals.icu doesn’t get steps automatically from anywhere currently. You can add a custom wellness field for steps and manually fill it in. Click “Fields” on the wellness input dialog and search for steps. I do plan to add steps in future.

Thanks, @david. I knew about manually entering step data in a custom field. But that defeats the purpose of automation :slight_smile: I’ll patiently wait, no worries!

Thanks for your great work

If you can write a script to get the Step nr from the source in any which way, you can send it through the API.

1 Like

Thanks for adding this integration. I just enabled it to bring my Apple Health data to the app and it worked perfectly. Would it be possible to also add support for syncing HRV data?

If you’re an Apple user. Im curious why Google fit?

Well, intervals does not currently support syncing directly from Apple Health and I’m already a user in the Google ecosystem, which means that Google already has a bunch of data about me. So I rather give them a little bit more than give it to another company/service I currently don’t have a relationship with. Also, Fit is “free” and Google is not going anywhere anytime. If intervals ever supports Apple Health, then I’ll get rid of Fit as a bridge. Unfortunately, looks like their app can collect HRV data from Health, but they don’t expose it in their current version of the API: Tipos de dados de saúde  |  Google Fit  |  Google for Developers, which I guess that’s the reason why there’s not a field for it in sync settings in intervals.

What are you using @Nik_Om_Cinderella_Ri ?

@david any plans to add support for Apple Health?

I use the healthfit application and work like a charm

As far as I know supporting Apple Health requires an app running on the device, there isn’t an “Apple Health cloud API” that I can just call. So it’s easier to rely on apps like HealthFit for this.

2 Likes

Apple Health only supports 1 type of HRV data and I think it’s SDNN. If you are able to get All the HRV data metrics from Google Fit or even the app that is making the HRV measurements, suggest that you continue doing the same.

I’m using HRV4Training to capture HRV data which in turn feeds into Apple Health which is synced to Intervals.icu using my BreakAway: Indoor Training app. HRV4Training do also support Syncing to DropBox but this is not automatic, (you have to manually export it each time, and intervals.icu can pick it up from Dropbox)

Apple Health does not have an API and the data AFAIK lies mainly within your Phone/Pad and there is fine grained control over the data and thus, an “app” is needed to do the querying and syncing.

Apps like HealthFit, GoogleFit, BreakAway: Indoor Training and possibly many more.

1 Like

Thanks @david, @app4g and @Joao_Samora for your replies. After further reading in the forum and seen good reviews about HealthFit I switched to it. It does not upload data to intervals when it becomes available in Apple Health like Google Fit, only once a day, but it supports way more metrics.

1 Like