homebridge-nest
homebridge-nest copied to clipboard
Troubles with Nest setup, no Token?
Hi. I'm brand new to homebridge. Running on a Rasberry Pi3. Figured I'd connect my Nest thermostats as the first thing I attempt.....
I followed the setup instructions, created the Nest dev account, etc. Config.json is as follows,
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": XXXXXXXXXX, "pin": "XXXXXXXXXX" },
"description": "foo",
"accessories": [
{
}
],
"platforms": [
{
"platform": "Nest",
"clientId": "XXXXXXXXXX",
"clientSecret": "XXXXXXXXXX",
"code": "XXXXXXXXXX"
}
]
}
After I launch homebridge, this is what I get .....
[2018-10-14 13:36:37] Loaded config.json with 1 accessories and 1 platforms. [2018-10-14 13:36:37] --- [2018-10-14 13:36:38] Loaded plugin: homebridge-nest [2018-10-14 13:36:38] Registering platform 'homebridge-nest.Nest' [2018-10-14 13:36:38] --- [2018-10-14 13:36:38] Loading 1 platforms... [2018-10-14 13:36:38] [Nest] Initializing Nest platform... [2018-10-14 13:36:38] [Nest] Fetching Nest devices. [2018-10-14 13:36:38] Loading 1 accessories... /usr/local/lib/node_modules/homebridge/lib/api.js:50 if (name.indexOf('.') == -1) { ^
TypeError: Cannot read property 'indexOf' of undefined
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:50:11)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:286:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:87:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object.
I'm not sure if this is the right place to ask for help? If not please tell me where to go. Any guidance is appreciated. Thank you.