Brandawg93 / homebridge-nest-cam_old

Use your Nest Cam as IP camera in HomeKit.
Apache License 2.0
92 stars 14 forks source link

access_token is not defined in the Homebridge config #51

Closed sonoseco closed 5 years ago

sonoseco commented 5 years ago

Plugin stopped working, updated to the latest version and keep getting the following error:

/usr/local/lib/node_modules/homebridge-nest-cam/index.js:38 throw new Error('access_token is not defined in the Homebridge config'); ^ Error: access_token is not defined in the Homebridge config The token was generated and added to the config. The config file appears to be formatted properly:

{ "platform": "Nest-cam", "access_token": "token here", "useOMX": false },

KhaosT commented 5 years ago

Sorry would you mind to try update to v0.0.14 and see if that fix the issue for you?

sonoseco commented 5 years ago

Thank you @KhaosT. It is working now with the latest version.

KhaosT commented 5 years ago

Cool :)

NFZ12 commented 5 years ago

I am having the same issue. Trying to setup plugin but getting the follow error:

/usr/local/lib/node_modules/homebridge-nest-cam/index.js:38 throw new Error('access_token is not defined in the Homebridge config'); ^

Error: access_token is not defined in the Homebridge config at NestCamPlatform.didFinishLaunching (/usr/local/lib/node_modules/homebridge-nest-cam/index.js:38:13) at API.emit (events.js:189:13) at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:99:13) at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10) at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Function.Module.runMain (internal/modules/cjs/loader.js:754:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)