Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration stops working on March 31, 2025 #64

Open
Daanoz opened this issue Sep 28, 2024 · 14 comments
Open

Integration stops working on March 31, 2025 #64

Daanoz opened this issue Sep 28, 2024 · 14 comments
Labels
documentation Improvements or additions to documentation

Comments

@Daanoz
Copy link
Owner

Daanoz commented Sep 28, 2024

Due to Google Photo API changes announced by Google, this integration will stop working on March 31, 2025. The new API will only allow for the integration to access photo's and albums which are uploaded by the integration itself, which renders this integration useless in my opinion.

Alternatively, if you want Home Assistant to upload photos, and download them back again, starting from HA 2024.10, you can use the official Google Photo's integration.

@arcsur
Copy link

arcsur commented Sep 29, 2024

@Daanoz What about the picker API? Sure it is inconvenient making the user choose which photos to allow an app to see via the Google Photos App (URI/QR Code) but it still seems like selection of photos to "share" with an application would be feasible based on the information on that google announcement:

Migrate to the Picker API: If your app currently uses the Library API for photo selection from content not uploaded by your app, you'll need to migrate to the new Picker API to ensure a seamless user experience and enhanced security.

@Daanoz
Copy link
Owner Author

Daanoz commented Sep 29, 2024

Yeah, as I understand it, it's like a one time access thing. So once the user selects "a couple" of photos, the integration can download/store them locally. To me that eliminates a lot of use cases as you would constantly need to update the photos by manually selecting them via HA. If you want something like that you could also just manually download the photos and place them in HA.

However, if you think it makes sense, you could see if the core integration is willing to take this on as a feature.

@Inglan
Copy link

Inglan commented Oct 2, 2024

This could be transitioned into showing photos from Google Drive if that isn't being removed as well...

@cannondale0815
Copy link

cannondale0815 commented Oct 2, 2024

FYI -- the new official Google Photos integration that is available in 2024.10.0 (out now) cannot be configured until one removes this custom integration here (presumably due to exact same name).

Also, the official integration is only capable of uploading images -- sadly there is no way to manually grant it access to anything else in your photos library.

@AlenHodnik
Copy link

Your integration was one of the best. Hopefully I don't ask a stupid question, but would it be possible to change this integration without too much hassle to do the same as it did with google photo now with local folder?

@Inglan
Copy link

Inglan commented Oct 5, 2024

Your integration was one of the best. Hopefully I don't ask a stupid question, but would it be possible to change this integration without too much hassle to do the same as it did with google photo now with local folder?

Or a Google drive folder for the same functionality

@Daanoz
Copy link
Owner Author

Daanoz commented Oct 5, 2024

Your integration was one of the best. Hopefully I don't ask a stupid question, but would it be possible to change this integration without too much hassle to do the same as it did with google photo now with local folder?

It's not a bad idea, and I think it should be possible. It will take some effort though for which I can't estimate when I have the time.

@trevornorcross
Copy link

FYI -- the new official Google Photos integration that is available in 2024.10.0 (out now) cannot be configured until one removes this custom integration here (presumably due to exact same name).

This is a problem right now - I can't even test out the new native integration (nobody can who has HACS installed) because the name on the custom integration is the same and overrides the native integration. Right now there is no way for me to even start to setup the native integration without removing HACS and all the integrations I use from that unless custom or native integration get renamed.

@Daanoz
Copy link
Owner Author

Daanoz commented Oct 9, 2024

FYI -- the new official Google Photos integration that is available in 2024.10.0 (out now) cannot be configured until one removes this custom integration here (presumably due to exact same name).

This is a problem right now - I can't even test out the new native integration (nobody can who has HACS installed) because the name on the custom integration is the same and overrides the native integration. Right now there is no way for me to even start to setup the native integration without removing HACS and all the integrations I use from that unless custom or native integration get renamed.

Yeah it's quite unfortunate, but not much can be done... I can rename the custom integration, but then you (and everyone else who updates) loses all the current entities and settings. I don't think there is a way to do clean rename integration migration.

If you really want to run them side by side (and reconfigure this integration from scratch) you can rename the "google_photos" directory in the "custom_components" directory.
Take the new name, and update it in the following places:

Then restart HA.

Copy link

github-actions bot commented Nov 9, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Nov 9, 2024
@Daanoz Daanoz added documentation Improvements or additions to documentation and removed Stale labels Nov 9, 2024
@Inglan
Copy link

Inglan commented Dec 7, 2024

Your integration was one of the best. Hopefully I don't ask a stupid question, but would it be possible to change this integration without too much hassle to do the same as it did with google photo now with local folder?

I might fork or start another project with this at some point...

@Daanoz
Copy link
Owner Author

Daanoz commented Dec 7, 2024

Your integration was one of the best. Hopefully I don't ask a stupid question, but would it be possible to change this integration without too much hassle to do the same as it did with google photo now with local folder?

I might fork or start another project with this at some point...

That's probably the fastest at this point, I have a bit of shortage in time recently. Happy to help if you have any questions, you can find me in the HA discord channel.

@splitsec2
Copy link

Due to Google Photo API changes announced by Google, this integration will stop working on March 31, 2025. The new API will only allow for the integration to access photo's and albums which are uploaded by the integration itself, which renders this integration useless in my opinion.

Alternatively, if you want Home Assistant to upload photos, and download them back again, starting from HA 2024.10, you can use the official Google Photo's integration.

Would setting up a new google account for use by the plug in and then do partner sharing with it get around this? Ie my_ha_photo_acct@gmail.com is tied to the add in, and then myaccount@gmail.com does a partner share with them?

@Inglan
Copy link

Inglan commented Dec 20, 2024

Due to Google Photo API changes announced by Google, this integration will stop working on March 31, 2025. The new API will only allow for the integration to access photo's and albums which are uploaded by the integration itself, which renders this integration useless in my opinion.

Alternatively, if you want Home Assistant to upload photos, and download them back again, starting from HA 2024.10, you can use the official Google Photo's integration.

Would setting up a new google account for use by the plug in and then do partner sharing with it get around this? Ie my_ha_photo_acct@gmail.com is tied to the add in, and then myaccount@gmail.com does a partner share with them?

Don't think so as I think the new API transitions to using the picker API, which allows users to be directed to google photos to pick what the website or app (integrating with google photos) can access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

7 participants