{"action":"created","issue":{"url":"https://api.github.com/repos/rudders/homebridge-http/issues/3","labels_url":"https://api.github.com/repos/rudders/homebridge-http/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/rudders/homebridge-http/issues/3/comments","events_url":"https://api.github.com/repos/rudders/homebridge-http/issues/3/events","html_url":"https://github.com/rudders/homebridge-http/issues/3","id":119371556,"number":3,"title":"Getting on/off status","user":{"login":"MPV","id":62675,"avatar_url":"https://avatars.githubusercontent.com/u/62675?v=3","gravatar_id":"","url":"https://api.github.com/users/MPV","html_url":"https://github.com/MPV","followers_url":"https://api.github.com/users/MPV/followers","following_url":"https://api.github.com/users/MPV/following{/other_user}","gists_url":"https://api.github.com/users/MPV/gists{/gist_id}","starred_url":"https://api.github.com/users/MPV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MPV/subscriptions","organizations_url":"https://api.github.com/users/MPV/orgs","repos_url":"https://api.github.com/users/MPV/repos","events_url":"https://api.github.com/users/MPV/events{/privacy}","received_events_url":"https://api.github.com/users/MPV/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rudders/homebridge-http/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-29T17:26:21Z","updated_at":"2015-12-24T08:52:33Z","closed_at":null,"body":"Hi, \r\nGreat plugin, worked like a charm!\r\n\r\nI noticed that when I tried this together with the \"Insteon\" app, the app doesn't know which state my button is in (so if I press it elsewhere, the app's state is wrong). \r\n\r\nWhat do you think about the feasibility of adding support for checking the state of the button? I don't know much about HomeKit yet, so I'm not sure how to help out right away, but curious what you think. \r\n\r\nI am asking, since the switch that I have added (on/off to my surround receiver), also has an HTTP request I can send to check whether it's on or off. "},"comment":{"url":"https://api.github.com/repos/rudders/homebridge-http/issues/comments/167070702","html_url":"https://github.com/rudders/homebridge-http/issues/3#issuecomment-167070702","issue_url":"https://api.github.com/repos/rudders/homebridge-http/issues/3","id":167070702,"user":{"login":"NovaGL","id":16315601,"avatar_url":"https://avatars.githubusercontent.com/u/16315601?v=3","gravatar_id":"","url":"https://api.github.com/users/NovaGL","html_url":"https://github.com/NovaGL","followers_url":"https://api.github.com/users/NovaGL/followers","following_url":"https://api.github.com/users/NovaGL/following{/other_user}","gists_url":"https://api.github.com/users/NovaGL/gists{/gist_id}","starred_url":"https://api.github.com/users/NovaGL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NovaGL/subscriptions","organizations_url":"https://api.github.com/users/NovaGL/orgs","repos_url":"https://api.github.com/users/NovaGL/repos","events_url":"https://api.github.com/users/NovaGL/events{/privacy}","received_events_url":"https://api.github.com/users/NovaGL/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T08:52:33Z","updated_at":"2015-12-24T08:52:33Z","body":"Just wanted to let you know I figured it out :)\r\n\r\nThe problem is two fold, the syntax in the authors readme is wrong and the app has poor error handling, instead of just ignoring the command it crashes the app.\r\n\r\nSince I was on a roll I decided what they hey, lets do this for brightness too!\r\n\r\nAnd that also works! So you can set the brightness or in my case volume in another app, come to homebridge and it will reflect the correct on\\off state and the correct brightness level.\r\n\r\nSince I don't know java at all it has no error handling in it."}}