YorkshireIoT / ha-google-fit

Home Assistant Google Fit Custom Component
MIT License
98 stars 9 forks source link

Google Fit API shuts down June 2025, no new developer accounts allowed anymore. #250

Open Failure404 opened 6 months ago

Failure404 commented 6 months ago

Checklist

Is your feature request related to a problem? Please describe.

Well, when the Google Fit API shuts down, this integration wont work anymore.

Describe the solution you'd like

Move to the Health Connect API. I don't know if it is possible at all, but I keep my fingers crossed.

Describe alternatives you've considered

As far as I can tell, there are no alternatives.

Additional context

https://9to5google.com/2024/05/04/google-fit-api-shutdown/

fabricat commented 5 months ago

As stated here:

As of May 1, 2024, developers cannot sign up to use these APIs.

It seems I cannot enable this integration 😢

YorkshireIoT commented 5 months ago

As stated here:

As of May 1, 2024, developers cannot sign up to use these APIs.

It seems I cannot enable this integration 😢

Wow. That kills of this integration for all new users. Thanks Google ☹️ I'll need to update the README to notify everyone of this, thanks @fabricat for bringing this to my attention.

YorkshireIoT commented 5 months ago

More information here. But still not enough for me to yet know the way forward.

At the moment it looks like Health Connect won't have a REST API, so I won't be able to use that. It seems Google wants people to use Fitbit now (after they acquired them in 2021) and at least there is already an existing Home Assistant Integration for that.

I'm keeping this issue open just to monitor any more updates we get. If anyone finds/notices anything please add it in the comments below.

wwelles commented 2 months ago

Have you seen this? https://developer.android.com/health-and-fitness/guides/health-connect/migrate/migration-guide

YorkshireIoT commented 2 months ago

Have you seen this? https://developer.android.com/health-and-fitness/guides/health-connect/migrate/migration-guide

Thanks @wwelles but unfortunately that is just for the android API. This integration uses the REST API which they don't seem to be replacing.

wwelles commented 2 months ago

Ah yes, you're right @YorkshireIoT, apologies.

FWIW, it looks like they're working on getting Health Connect integration into the official Android Home Assistant app: https://github.com/home-assistant/android/pull/4452

Not trying diminish what you've done here or the need for it (ie: non-Android users) but that might be a path forward for some if a replacement can't be implemented.