Node-Red and Google Photos

I stopped backing up my photos to Google Photos, since I don't really see a use of it. I mean keyword search is cool, but I use it maybe a few times a year.
The only real use if showing my recent photos on a Nest Hub display. But the display hardly shows old pictures.

For this reason, I am looking at a way to automatically delete the oldest photos if my storage gets full. And I can manually upload some holiday shots that I want to be shown on the display.

Is there anything in Node-Red to works with Google Photos? Anyone of you played with this before?

I don't use Google Photo's at all but rather Amazon since we already pay for Prime so we have unlimited photo storage.

I know that Google recently changed their photo API as I saw some chatter about it related to some digital photo frames. But I don't know if the photo API works in similar ways their other API's?

Or better still, can you access the photo's via Google Drive? That would be much easier to deal with.

There is this: GitHub - janvda/node-red-contrib-google-photos: Node-RED node for Google APIs using OAuth2. - but it is 9 years old and not published. There is also a photo upload package in Flows - but doesn't say anything about deleting.

There do appear to be some libraries on npm so you might be able to use those with a function node. But again, the API has just changed so I don't know if those have kept up.

Thanks, I had a quick glance of the current API. Looks like deleting is not implemented - probably for a reason.
It is now called Photos Library API which allows uploading of photos, editing the photo details (metadata) and managing albums. And that is all. So I will not be uploading much from this point :slight_smile:

Amazon photo's is even worse since they killed the API entirely.

I am a Microsoft Office 365 Family subscriber so I also have access to the OneDrive stuff which also includes photos - that is a lot easier to work with as it provides drive access.

Gee thats a strange one - our family absolutely loves google photos (particularly the extended family) - We have a shared Family album and photos automatically get added in their based on nominated faces.

Every couple of days google sends me (as the admin) some new suggestions in terms of montages, memory reels and the like - which i can then easily forward on to the rest of the family - all the oldies (who all seem to have Gmail addresses) love it as they get montages of the grand kids growing up rather than the photos moldering away in a scrapbook somewhere.

Our kids use it for XMAS presents for the grandparents - by doing a google search for each of them and the grandparents and then sending them off to get printed and put into a booklet.

Craig

2 Likes

I agree that Google Photos has some great tools, and the API is probably designed the way that it is easy to add data to it, and promote the use of Google Photos and encurage more people to sign-up for additional storage.

We won't stop using Amazon photo's for the same reason (until they reduce the benefits and up the price of Amazon Prime to a stupid point). It is convenient for the family. Just not convenient for me when I want to make sure I've not lost any family photo's (e.g. from out phones).

1 Like