{"action":"opened","issue":{"url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/587","repository_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS","labels_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/587/comments","events_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/587/events","html_url":"https://github.com/KhaosT/HAP-NodeJS/issues/587","id":325353331,"number":587,"title":"Agnostic button, how to ?","user":{"login":"leRenart","id":1085151,"avatar_url":"https://avatars0.githubusercontent.com/u/1085151?v=4","gravatar_id":"","url":"https://api.github.com/users/leRenart","html_url":"https://github.com/leRenart","followers_url":"https://api.github.com/users/leRenart/followers","following_url":"https://api.github.com/users/leRenart/following{/other_user}","gists_url":"https://api.github.com/users/leRenart/gists{/gist_id}","starred_url":"https://api.github.com/users/leRenart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leRenart/subscriptions","organizations_url":"https://api.github.com/users/leRenart/orgs","repos_url":"https://api.github.com/users/leRenart/repos","events_url":"https://api.github.com/users/leRenart/events{/privacy}","received_events_url":"https://api.github.com/users/leRenart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-22T15:42:00Z","updated_at":"2018-05-22T15:42:00Z","closed_at":null,"author_association":"NONE","body":"Hi, I'm playing with `node-red` + `node-red-contrib-homekit-bridged` with great fun, so first of all I want to thank you for this beautiful project.\r\n\r\nI've read about the differences between `switch` and `statelessProgrammableSwitch` but none of them works in my case, I suppose I'm missing something because my need is very basic. \r\n\r\nI have some remote controlled outlets with two remotes. I would like to use one of them with Siri, telling to turn ON/OFF the lights. \r\n\r\n![img_2321](https://user-images.githubusercontent.com/1085151/40372490-17c0cc24-5de5-11e8-9ade-b3a828002fd9.jpg)\r\n\r\nI would like HomeKit to be absolutely agnostic about the light states. \r\n\r\nAs you can see remotes are two, so even if the lightbulb or switch state are `ON` inside HomeKit, that could be false (someone could have triggered the other switch). And beside it, the fact to be, for instance `ON` in HomeKit means that a switch can't be turned `ON` again without turning it `Off` before, HomeKit won't let you do it. \r\n\r\n`statelessProgrammableSwitch` could have been the solution, but: \r\n     1. it needs a Hub \r\n    2. it changes the states of `switch`es, which brings me back to the first problem, the `switch` state isn't stateless. \r\n\r\nAny ideas ? \r\n\r\n"}}
{"actor":{"display_login":"leRenart"}}