Closed mwhaley99 closed 7 years ago
my config.json (x'd out all secret info)
{ "bridge": { "name": "Homebridge", "username": "xxxxxxx", "port": 51826, "pin": "xxxxxx" }, "accessories": [{
}, {
"accessory": "LiftMaster",
"name": "Garage Door",
"username": "johnb@me.com",
"password": "xxxxxxxxxx",
"deviceID": "xxxxxxx"
}],
"platforms": [{}, {
"platform": "Nest",
"token": ".xxxxxxxxxxxxxx... ",
"clientId": "mark",
"clientSecret": "xxxxxxxxxxxxxxxx",
"code": "xxxxxxxxxxxx",
"username": "johnb@me.com",
"password": "xxxxx"
}, {
"platform": "SmartThings",
"name": "SmartThings",
"app_url": "https://graph.api.smartthings.com:443/api/smartapps/installations/",
"app_id": "xxxxxxxxxxxxxxxxxx",
"access_token": "xxxxxxxxxxxxxxxxxxx"
}]
}
worked out issue with coding
[8/8/2016, 12:06:05 PM] Loading 3 platforms... /usr/local/lib/node_modules/homebridge/lib/api.js:92 if (name.indexOf('.') == -1) { ^
TypeError: Cannot read property 'indexOf' of undefined
HELP!