{"action":"created","issue":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/10","labels_url":"https://api.github.com/repos/nfarina/homebridge/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/nfarina/homebridge/issues/10/comments","events_url":"https://api.github.com/repos/nfarina/homebridge/issues/10/events","html_url":"https://github.com/nfarina/homebridge/pull/10","id":77172279,"number":10,"title":"[WIP] SmartThings Hello, Home Actions","user":{"login":"jnewland","id":47,"avatar_url":"https://avatars.githubusercontent.com/u/47?v=3","gravatar_id":"","url":"https://api.github.com/users/jnewland","html_url":"https://github.com/jnewland","followers_url":"https://api.github.com/users/jnewland/followers","following_url":"https://api.github.com/users/jnewland/following{/other_user}","gists_url":"https://api.github.com/users/jnewland/gists{/gist_id}","starred_url":"https://api.github.com/users/jnewland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnewland/subscriptions","organizations_url":"https://api.github.com/users/jnewland/orgs","repos_url":"https://api.github.com/users/jnewland/repos","events_url":"https://api.github.com/users/jnewland/events{/privacy}","received_events_url":"https://api.github.com/users/jnewland/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-17T00:52:18Z","updated_at":"2015-05-18T20:01:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nfarina/homebridge/pulls/10","html_url":"https://github.com/nfarina/homebridge/pull/10","diff_url":"https://github.com/nfarina/homebridge/pull/10.diff","patch_url":"https://github.com/nfarina/homebridge/pull/10.patch"},"body":"Two parts:\r\n\r\n`SmartThingsHelloHome.js`\r\n\r\nA SmartThings Hello, Home accessory for homebridge. Both on and off actions trigger named actions that are key to the [SmartThings automation lifecycle](https://support.smartthings.com/hc/en-us/articles/200902240-Hello-Home-phrases).\r\n\r\n`HelloHomeBridge.groovy`\r\n\r\nA SmartThings SmartApp to be [installed in your SmartThings account](https://graph.api.smartthings.com/ide/app/create) to generate authentication credentials and JSON config that can be copy/pasted directly into `config.json`. I'll probably move this to another repo shortly, but I wanted to include it here first so it was easily available for review.\r\n\r\n![img_0369](https://cloud.githubusercontent.com/assets/47/7668511/b56d8452-fbf1-11e4-8458-a2a347bd5c2c.jpg)\r\n\r\nIndividual SmartThings 'things' aren't exposed at all in this version. That's going to be a lot more work, and this was enough to make it possible to turn all of the lights of from bed.\r\n\r\n![img_0370](https://cloud.githubusercontent.com/assets/47/7668512/bab55fca-fbf1-11e4-9af8-b5bb024469f3.jpg)\r\n\r\n/cc @maddox since we talked about this a bit"},"comment":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/comments/103193651","html_url":"https://github.com/nfarina/homebridge/pull/10#issuecomment-103193651","issue_url":"https://api.github.com/repos/nfarina/homebridge/issues/10","id":103193651,"user":{"login":"maddox","id":260,"avatar_url":"https://avatars.githubusercontent.com/u/260?v=3","gravatar_id":"","url":"https://api.github.com/users/maddox","html_url":"https://github.com/maddox","followers_url":"https://api.github.com/users/maddox/followers","following_url":"https://api.github.com/users/maddox/following{/other_user}","gists_url":"https://api.github.com/users/maddox/gists{/gist_id}","starred_url":"https://api.github.com/users/maddox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddox/subscriptions","organizations_url":"https://api.github.com/users/maddox/orgs","repos_url":"https://api.github.com/users/maddox/repos","events_url":"https://api.github.com/users/maddox/events{/privacy}","received_events_url":"https://api.github.com/users/maddox/received_events","type":"User","site_admin":true},"created_at":"2015-05-18T20:01:43Z","updated_at":"2015-05-18T20:01:43Z","body":"So basically, what your shim is doing is letting actions masquerade as devices, just so you can expose them to HomeKit so you can enact them using Siri.\r\n\r\nThis isn't necessarily BAD. Because you go what you want. And it works. That's never wrong, heh. But it doesn't really map to how the other shims work, so that part is debatable. And above my contributor grade :)"}}