Git Product home page Git Product logo

Comments (6)

NorthernMan54 avatar NorthernMan54 commented on May 24, 2024

Do you know if the feature is being used or can we deprecate it?

from fakegato-history.

simont77 avatar simont77 commented on May 24, 2024

Sorry for the late answer. I personally use it, and I've asked Google for a grace period. I don't how many other does. Is it particularly difficult to update?

from fakegato-history.

simont77 avatar simont77 commented on May 24, 2024

@NorthernMan54
I experimented a bit.

I updated googleapis to version 109 in my test setup, and everything still worked with the old authentication tokens. Then I followed the new procedure in https://developers.google.com/drive/api/quickstart/nodejs to produce a new token, but now after launching homebridge I got this error
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined at homebridge_test/node_modules/fakegato-history/lib/googleDrive.js:243:25 at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:14138) UnhandledPromiseRejectionWarning: Unhandled promise rejection.

Looking on the google API console, apparently the drive.files.list method goes through, but the drive.list.get method got an error.

Any thought?

from fakegato-history.

simont77 avatar simont77 commented on May 24, 2024

I find out that the procedure described at the link produced a token with a readonly scope. Changed it to full control and now it seems to work. So, it seems that no modification to fakegato is needed, but only recreation of the token. I will check further if everything is ok.

from fakegato-history.

NorthernMan54 avatar NorthernMan54 commented on May 24, 2024

@simont77 I have long since deprecated my other use case for Google drive ( I had been storing snapshots from my camera's there for a long time, but with the recent changes on the google side have stopped ). Personally have found the lack of stability of the Google offerings a bit troubling, but can't complain too much as its a free offering.

from fakegato-history.

simont77 avatar simont77 commented on May 24, 2024

Updated instruction with dbdc5c0

from fakegato-history.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.