{"action":"opened","issue":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/1195","repository_url":"https://api.github.com/repos/nfarina/homebridge","labels_url":"https://api.github.com/repos/nfarina/homebridge/issues/1195/labels{/name}","comments_url":"https://api.github.com/repos/nfarina/homebridge/issues/1195/comments","events_url":"https://api.github.com/repos/nfarina/homebridge/issues/1195/events","html_url":"https://github.com/nfarina/homebridge/issues/1195","id":213788447,"number":1195,"title":"Unable to make a successful connection after the new API approach.","user":{"login":"kapilmalhotra","id":21204510,"avatar_url":"https://avatars1.githubusercontent.com/u/21204510?v=3","gravatar_id":"","url":"https://api.github.com/users/kapilmalhotra","html_url":"https://github.com/kapilmalhotra","followers_url":"https://api.github.com/users/kapilmalhotra/followers","following_url":"https://api.github.com/users/kapilmalhotra/following{/other_user}","gists_url":"https://api.github.com/users/kapilmalhotra/gists{/gist_id}","starred_url":"https://api.github.com/users/kapilmalhotra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapilmalhotra/subscriptions","organizations_url":"https://api.github.com/users/kapilmalhotra/orgs","repos_url":"https://api.github.com/users/kapilmalhotra/repos","events_url":"https://api.github.com/users/kapilmalhotra/events{/privacy}","received_events_url":"https://api.github.com/users/kapilmalhotra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-13T14:43:58Z","updated_at":"2017-03-13T14:43:58Z","closed_at":null,"body":"Tried following the API steps but not able to connect Nest in Homebridge iOS app.\r\n\r\nMy config.json looks like below:\r\n\r\n{\r\n\"bridge\": {\r\n\"name\": \"Homebridge\",\r\n\"username\": \"CC:22:3D:E3:CE:30\",\r\n\"port\": 51826,\r\n\"pin\": \"031-45-154\"\r\n},\r\n\r\n\"description\": \"sample desc\"\r\n\r\n\"platforms\": [\r\n    {\r\n        \"platform\" : \"Nest\",\r\n        \"name\" : \"Nest\",\r\n        \"username\": \"myemailid@email.com\",\r\n    \t\"password\": \"myNestdotcompassword\",\r\n        \"clientId\" : \"1234567890\",\r\n        \"clientSecret\" : \"1234567890xyz\",\r\n        \"code\" : \"validcodefromauthenticationurl\",\r\n        \"token\" : \"c.FM..................\"\r\n    }\r\n]\r\n}\r\n\r\nWhen i run homebridge i see this in console:\r\n\r\n$ homebridge\r\n[3/12/2017, 2:43:33 PM] Loaded plugin: homebridge-nest\r\n[3/12/2017, 2:43:33 PM] Registering platform 'homebridge-nest.Nest'\r\n[3/12/2017, 2:43:33 PM] ---\r\n[3/12/2017, 2:43:33 PM] Loaded config.json with 0 accessories and 1 platforms.\r\n[3/12/2017, 2:43:33 PM] ---\r\n[3/12/2017, 2:43:33 PM] Loading 1 platforms...\r\n[3/12/2017, 2:43:33 PM] [Nest] Initializing Nest platform...\r\n[3/12/2017, 2:43:33 PM] [Nest] Fetching Nest devices.\r\nScan this code with your HomeKit App on your iOS device to pair with Homebridge:\r\n\r\n┌────────────┐     \r\n│ 031-45-154 │     \r\n└────────────┘     \r\n[3/12/2017, 2:43:36 PM] Homebridge is running on port 51826.\r\n\r\non my phone i am doing below:\r\n\r\nEdit > Create New Room\r\nTap on Homebridge > Add Anyway > Enter Code Manually > 03145154\r\nKeeps spinning and then at the end gives error message that it could not add my device.\r\nPlease let me know if I am doing something wrong here."}}
{"actor":{"display_login":"kapilmalhotra"}}