{"action":"created","issue":{"url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/293","repository_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS","labels_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/293/comments","events_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/293/events","html_url":"https://github.com/KhaosT/HAP-NodeJS/issues/293","id":179267000,"number":293,"title":"How to make Siri throw errors","user":{"login":"macsee","id":4192717,"avatar_url":"https://avatars.githubusercontent.com/u/4192717?v=3","gravatar_id":"","url":"https://api.github.com/users/macsee","html_url":"https://github.com/macsee","followers_url":"https://api.github.com/users/macsee/followers","following_url":"https://api.github.com/users/macsee/following{/other_user}","gists_url":"https://api.github.com/users/macsee/gists{/gist_id}","starred_url":"https://api.github.com/users/macsee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macsee/subscriptions","organizations_url":"https://api.github.com/users/macsee/orgs","repos_url":"https://api.github.com/users/macsee/repos","events_url":"https://api.github.com/users/macsee/events{/privacy}","received_events_url":"https://api.github.com/users/macsee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-26T15:52:22Z","updated_at":"2016-09-26T21:07:34Z","closed_at":null,"body":"Hi, \r\nI'm very new at using HAP-Node. I have recently start playing with the Fake Light accessory and I was wondering how can I capture errors and make Siri throw them. For instance,  I'm using a Raspberry Pi 3 as server for the HAP-Node Core which controls an arduino switch via Wi-Fi. I'd like to know whether this device is available or not . As far as I could see, my device only appears as unavailable when the server is not running (Core.js), however, if the server is running and my device is disconnected, Siri sees my device as available and turns it on or off as usual. My question is : if there is a way to notify the Server which devices are available and which are not? I can capture errors from my device but how can I tell to Siri that an error has ocurred? \r\nGreat work by the way! Congrats!\r\n\r\nCheers!\r\nMaxi"},"comment":{"url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/comments/249697844","html_url":"https://github.com/KhaosT/HAP-NodeJS/issues/293#issuecomment-249697844","issue_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/293","id":249697844,"user":{"login":"macsee","id":4192717,"avatar_url":"https://avatars.githubusercontent.com/u/4192717?v=3","gravatar_id":"","url":"https://api.github.com/users/macsee","html_url":"https://github.com/macsee","followers_url":"https://api.github.com/users/macsee/followers","following_url":"https://api.github.com/users/macsee/following{/other_user}","gists_url":"https://api.github.com/users/macsee/gists{/gist_id}","starred_url":"https://api.github.com/users/macsee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macsee/subscriptions","organizations_url":"https://api.github.com/users/macsee/orgs","repos_url":"https://api.github.com/users/macsee/repos","events_url":"https://api.github.com/users/macsee/events{/privacy}","received_events_url":"https://api.github.com/users/macsee/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T21:07:34Z","updated_at":"2016-09-26T21:07:34Z","body":"Ok. I will. Thanks!"}}
{"actor":{"display_login":"macsee"}}