{"action":"created","issue":{"url":"https://api.github.com/repos/etwmc/Personal-HomeKit-HAP-/issues/40","labels_url":"https://api.github.com/repos/etwmc/Personal-HomeKit-HAP-/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/etwmc/Personal-HomeKit-HAP-/issues/40/comments","events_url":"https://api.github.com/repos/etwmc/Personal-HomeKit-HAP-/issues/40/events","html_url":"https://github.com/etwmc/Personal-HomeKit-HAP-/issues/40","id":63237907,"number":40,"title":"PHK a needs to be restarted periodically. ","user":{"login":"rawmean","id":1287087,"avatar_url":"https://avatars.githubusercontent.com/u/1287087?v=3","gravatar_id":"","url":"https://api.github.com/users/rawmean","html_url":"https://github.com/rawmean","followers_url":"https://api.github.com/users/rawmean/followers","following_url":"https://api.github.com/users/rawmean/following{/other_user}","gists_url":"https://api.github.com/users/rawmean/gists{/gist_id}","starred_url":"https://api.github.com/users/rawmean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawmean/subscriptions","organizations_url":"https://api.github.com/users/rawmean/orgs","repos_url":"https://api.github.com/users/rawmean/repos","events_url":"https://api.github.com/users/rawmean/events{/privacy}","received_events_url":"https://api.github.com/users/rawmean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-20T14:22:41Z","updated_at":"2015-04-08T17:41:38Z","closed_at":null,"body":"I use PHK which runs on a raspi 2 with an iPhone app. When I run PHK everything works and I'm able to control my devices with Siri. \r\nBut, the PHK bridge become undiscoverable the next day even though the PHK is still running on raspi. Everything starts to work again if I kill PHK and restart it. My email: lesswire1@gmail.com \r\nThanks much for sharing this great code. "},"comment":{"url":"https://api.github.com/repos/etwmc/Personal-HomeKit-HAP-/issues/comments/90984694","html_url":"https://github.com/etwmc/Personal-HomeKit-HAP-/issues/40#issuecomment-90984694","issue_url":"https://api.github.com/repos/etwmc/Personal-HomeKit-HAP-/issues/40","id":90984694,"user":{"login":"etwmc","id":8774391,"avatar_url":"https://avatars.githubusercontent.com/u/8774391?v=3","gravatar_id":"","url":"https://api.github.com/users/etwmc","html_url":"https://github.com/etwmc","followers_url":"https://api.github.com/users/etwmc/followers","following_url":"https://api.github.com/users/etwmc/following{/other_user}","gists_url":"https://api.github.com/users/etwmc/gists{/gist_id}","starred_url":"https://api.github.com/users/etwmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etwmc/subscriptions","organizations_url":"https://api.github.com/users/etwmc/orgs","repos_url":"https://api.github.com/users/etwmc/repos","events_url":"https://api.github.com/users/etwmc/events{/privacy}","received_events_url":"https://api.github.com/users/etwmc/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:41:38Z","updated_at":"2015-04-08T17:41:38Z","body":"Find the bug: \r\nOn Linux, the system would wait for a long time (or forever, haven't tested it yet), when the client (your device) is disconnected from the server. \r\nSince the code is originally targeting MCU, I set a hard limit on how many connection the program accept (which is 20, by default)\r\nGiven the nature of your iDevice, you will disconnected from the server many times of the day, which could acclimated and fill the limit rapidly. \r\nA fix is currently testing. Meanwhile, raising the numberOfClient in Configuration.h to a higher number (e.g. 100) could delay the problem. "}}