Comments (6)
Do you know if the feature is being used or can we deprecate it?
from fakegato-history.
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.
@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.
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.
@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.
Updated instruction with dbdc5c0
from fakegato-history.
Related Issues (20)
- Question about gaps in history HOT 7
- Eve Room 2 HOT 9
- PPM characteristic not shown in EVE app HOT 1
- LUX Support HOT 7
- Limit reporting to a single service HOT 2
- S2W1 / S2W2 HOT 1
- Light Effect Characteristic? HOT 1
- Eve Thermo (2020) Thread firmware new services/characteristics HOT 3
- Eve MotionBlinds <- Some initial work
- Eve Smoke - Anyone have one to help? HOT 3
- Can't see history graph or measurements on Eve app HOT 10
- AirQuality Data not showing up in Eve app
- Eve Lightstrip
- Eve Aqua
- Historical view of lightbulb accessory is working? HOT 2
- Feature Request: Eve Weather now support history for Light Level HOT 3
- On / Off Topic, even more Fake
- No more history data after crash HOT 3
- automatical deletion of persistence history file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fakegato-history.