Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubles with Nest setup, no Token? #196

Open
sschnoor opened this issue Oct 14, 2018 · 0 comments
Open

Troubles with Nest setup, no Token? #196

sschnoor opened this issue Oct 14, 2018 · 0 comments

Comments

@sschnoor
Copy link

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. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant