Open rab523 opened 6 years ago
It looks like you're defining the platforms array twice. It should be something like this:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [
{
"platform": "Nest",
"token": "",
"clientId": "27726524-4d62-4dc6-9e88-8983978e96df",
"clientSecret": "mqvw3NLh5jxNetMgl3fi8VPCz",
"code": "B7NX9URM"
},
{
"platform": "HarmonyHub",
"name": "Harmony Hub"
},
{
"platform": "BelkinWeMo",
"name": "WeMo Platform"
}
]
}
@rab523 I would also recommend deleting your app (and the generate another) from the Nest Developer site if the clientId, clientSecrect and code posted above are their real values. This exposes your devices to anyone who comes here to see this. In the future, redact sensitive information like that.
Thanks! I changed them before posting them here.
Robby
On Dec 20, 2017, 9:25 AM -0500, Austin Drummond notifications@github.com, wrote:
@rab523 I would also recommend deleting your app (and the generate another) from the Nest Developer site if the clientId, clientSecrect and code posted above are their real values. This exposes your devices to anyone who comes here to see this. In the future, redact sensitive information like that. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
This did the trick! Thank you greatly.
Robby
On Dec 19, 2017, 11:46 PM -0500, Austin Drummond notifications@github.com, wrote:
It looks like you're defining the platforms array twice. It should be something like this: { "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" }, "platforms": [ { "platform": "Nest", "token": "", "clientId": "27726524-4d62-4dc6-9e88-8983978e96df", "clientSecret": "mqvw3NLh5jxNetMgl3fi8VPCz", "code": "B7NX9URM" }, { "platform": "HarmonyHub", "name": "Harmony Hub" }, { "platform": "BelkinWeMo", "name": "WeMo Platform" } ] } — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Awesome! Glad to hear it worked.
I am on the step where I run the homebridge and get a token to put in the config file. When I run the home bridge, I do not see anything about a token.
Here is my config...
}
And here it the result...
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge: