{"action":"opened","issue":{"url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/261","repository_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS","labels_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/261/comments","events_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/261/events","html_url":"https://github.com/KhaosT/HAP-NodeJS/issues/261","id":164697553,"number":261,"title":"not working on pi zero","user":{"login":"stefan2801","id":20377420,"avatar_url":"https://avatars.githubusercontent.com/u/20377420?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan2801","html_url":"https://github.com/stefan2801","followers_url":"https://api.github.com/users/stefan2801/followers","following_url":"https://api.github.com/users/stefan2801/following{/other_user}","gists_url":"https://api.github.com/users/stefan2801/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan2801/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan2801/subscriptions","organizations_url":"https://api.github.com/users/stefan2801/orgs","repos_url":"https://api.github.com/users/stefan2801/repos","events_url":"https://api.github.com/users/stefan2801/events{/privacy}","received_events_url":"https://api.github.com/users/stefan2801/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-10T03:41:04Z","updated_at":"2016-07-10T03:41:04Z","closed_at":null,"body":"Hi,\r\n\r\nThank you for building this amazing project!\r\n\r\nSo I installed this repo on my raspberry pi 3 and everything works great. But then I did the same thing on my pi zero and Core.js starts as expected the accessories all show up but stop working after a few minutes. I reinstalled the whole pi zero several times but it's always the same thing it works for a few minutes and then all the devices are greyed out. Based on the debug messages the http sever seems to crash but unfortunately that doesn't really help me. I attached the debug messages below:\r\n\r\n```\r\n*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.\r\n*** WARNING *** Please fix your application to use the native API of Avahi!\r\n*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>\r\n*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.\r\n*** WARNING *** Please fix your application to use the native API of Avahi!\r\n*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>\r\nHAP-NodeJS starting...\r\nParsing accessory: Humid_accessory.js\r\nParsing accessory: SLight_accessory.js\r\nParsing accessory: Temp_accessory.js\r\n  EventedHTTPServer Server listening on port 51826 +0ms\r\n  EventedHTTPServer Server listening on port 51827 +102ms\r\n  EventedHTTPServer Server listening on port 51828 +61ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] New connection from client +16s\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP server listening on port 34034 +14ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /pair-setup +143ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: POST /pair-setup +6ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair step 1/5 +42ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +375ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /pair-setup +6s\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: POST /pair-setup +3ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair step 2/5 +16ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +320ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /pair-setup +87ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: POST /pair-setup +3ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair step 3/5 +19ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair step 4/5 +268ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair step 5/5 +30ms\r\n  Accessory [Temperature Sensor] Paired with client B22F9400-0362-48EC-AA4E-AE7903A2FC95 +56ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +43ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] Client connection closed +112ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] New connection from client +42ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP server listening on port 43253 +13ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP connection was closed +67ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP server was closed +12ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /pair-verify +49ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: POST /pair-verify +6ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair verify step 1/2 +27ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +109ms\r\nGetting the current humidity!\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /pair-verify +121ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: POST /pair-verify +10ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair verify step 2/2 +24ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Client B22F9400-0362-48EC-AA4E-AE7903A2FC95 verification complete +36ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +22ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /accessories +79ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: GET /accessories +5ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +46ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /pairings +309ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: POST /pairings +3ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Adding pairing info for client +10ms\r\n  Accessory [Temperature Sensor] Paired with client ABB38E6D-D4B5-4BB9-A5DA-BABE6C077E55 +4ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +12ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /characteristics +142ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: PUT /characteristics +3ms\r\n  Accessory [Temperature Sensor] Processing characteristic set: [{\"aid\":1,\"iid\":8,\"ev\":true}] +38ms\r\n  Accessory [Temperature Sensor] Registering Characteristic \"Current Temperature\" for events +25ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +11ms\r\n57.9\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /characteristics?id=1.8 +49ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: GET /characteristics?id=1.8 +3ms\r\n  Accessory [Temperature Sensor] Getting value for Characteristic \"Current Temperature\" +31ms\r\n  Accessory [Temperature Sensor] Got Characteristic \"Current Temperature\" value: 24.4 +10ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +6ms\r\n  EventedHTTPServer [::ffff:10.77.138.109] New connection from client +18s\r\n  EventedHTTPServer [::ffff:10.77.138.109] HTTP server listening on port 36434 +7ms\r\n58.0\r\n  EventedHTTPServer [::ffff:10.77.138.109] HTTP request: /pair-verify +27ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: POST /pair-verify +3ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair verify step 1/2 +6ms\r\n  EventedHTTPServer [::ffff:10.77.138.109] HTTP Response is finished +45ms\r\n  EventedHTTPServer [::ffff:10.77.138.109] HTTP request: /pair-verify +23ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: POST /pair-verify +3ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Pair verify step 2/2 +5ms\r\n  HAPServer [2E:C6:22:80:B1:1C] Client ABB38E6D-D4B5-4BB9-A5DA-BABE6C077E55 verification complete +16ms\r\n  EventedHTTPServer [::ffff:10.77.138.109] HTTP Response is finished +10ms\r\n  EventedHTTPServer [::ffff:10.77.138.109] HTTP request: /accessories +20ms\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: GET /accessories +3ms\r\n  EventedHTTPServer [::ffff:10.77.138.109] HTTP Response is finished +13ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP request: /characteristics +5s\r\n  HAPServer [2E:C6:22:80:B1:1C] HAP Request: PUT /characteristics +9ms\r\n  Accessory [Temperature Sensor] Processing characteristic set: [{\"aid\":1,\"iid\":8,\"ev\":false}] +9ms\r\n  Accessory [Temperature Sensor] Unregistering Characteristic \"Current Temperature\" for events +5ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP Response is finished +13ms\r\n  EventedHTTPServer [::ffff:10.77.138.116] Client connection closed +1m\r\n  EventedHTTPServer [::ffff:10.77.138.116] HTTP connection was closed +21ms\r\n  **EventedHTTPServer [::ffff:10.77.138.116] HTTP server was closed +6ms**\r\n```\r\n\r\nThanks for you help!"}}
{"actor":{"display_login":"stefan2801"}}