Brandawg93 / homebridge-nest-cam_old

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

Help #65

Open NFZ12 opened 5 years ago

NFZ12 commented 5 years ago

Hi,

I am trying to setup the nest cam homebridge plugin but 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 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)

The token was generated as described and added to the config file.

"platform": "Nest-cam",
"access_token": "xxxxxxxxxxxx",
"ffmpegCodec": "libx264"