{"action":"opened","issue":{"url":"https://api.github.com/repos/beowulfe/HAP-Java/issues/21","repository_url":"https://api.github.com/repos/beowulfe/HAP-Java","labels_url":"https://api.github.com/repos/beowulfe/HAP-Java/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/beowulfe/HAP-Java/issues/21/comments","events_url":"https://api.github.com/repos/beowulfe/HAP-Java/issues/21/events","html_url":"https://github.com/beowulfe/HAP-Java/issues/21","id":176259587,"number":21,"title":"Unable to add accessory, EVE stuck saying 'Adding Accessory'","user":{"login":"shepparddigital","id":5153221,"avatar_url":"https://avatars.githubusercontent.com/u/5153221?v=3","gravatar_id":"","url":"https://api.github.com/users/shepparddigital","html_url":"https://github.com/shepparddigital","followers_url":"https://api.github.com/users/shepparddigital/followers","following_url":"https://api.github.com/users/shepparddigital/following{/other_user}","gists_url":"https://api.github.com/users/shepparddigital/gists{/gist_id}","starred_url":"https://api.github.com/users/shepparddigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shepparddigital/subscriptions","organizations_url":"https://api.github.com/users/shepparddigital/orgs","repos_url":"https://api.github.com/users/shepparddigital/repos","events_url":"https://api.github.com/users/shepparddigital/events{/privacy}","received_events_url":"https://api.github.com/users/shepparddigital/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-11T19:12:59Z","updated_at":"2016-09-11T19:12:59Z","closed_at":null,"body":"I'm trying to setup a standalone accessory using the default MockSwitch accessory and the default MockAuthInfo class.\r\n\r\nI open EVE on my iPhone, I'm able to see the accessory, select it, enter the access and then EVE gets stuck showing 'Adding Device'. It's as if the HAP server isn't letting EVE know that the process is complete.\r\n\r\nHere's the console output from trying to add the accessory;\r\n\r\n`20:06:47.796 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.impl.AccessoryHandler - New homekit connection from /192.168.0.12:49431\r\n20:06:47.799 [nioEventLoopGroup-3-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 262144\r\n20:06:47.813 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.pairing.PairingManager - Starting pair for Test Lightbulb 2\r\n20:06:47.945 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-setup\r\n20:06:47.949 [defaultEventExecutorGroup-4-1] DEBUG io.netty.util.internal.Cleaner0 - java.nio.ByteBuffer.cleaner(): available\r\n20:06:53.227 [defaultEventExecutorGroup-4-1] DEBUG com.beowulfe.hap.impl.pairing.PairingManager - Entering second stage of pair for Test Lightbulb 2\r\n20:06:53.326 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-setup\r\n20:06:53.432 [defaultEventExecutorGroup-4-1] DEBUG com.beowulfe.hap.impl.pairing.PairingManager - Entering third stage of pair for Test Lightbulb 2\r\nAdded pairing for 6:a8:6c:d7:ca:ca891C4817-03C3-4F7B-9531-417AB50C92D2\r\n20:06:53.552 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.jmdns.JmdnsHomekitAdvertiser - Re-creating service due to change in discoverability to false\r\n20:06:55.559 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.jmdns.JmdnsHomekitAdvertiser - Registering _hap._tcp.local. on port 9124\r\n20:06:58.151 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-setup\r\n20:06:58.370 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.impl.AccessoryHandler - Terminated homekit connection from /192.168.0.12:49431\r\n20:06:58.380 [nioEventLoopGroup-2-1] INFO io.netty.handler.logging.LoggingHandler - [id: 0x1164b103, /0:0:0:0:0:0:0:0:9124] RECEIVED: [id: 0x4d11f81b, /192.168.0.12:49432 => /192.168.0.14:9124]\r\n20:06:58.381 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.impl.AccessoryHandler - New homekit connection from /192.168.0.12:49432\r\n20:06:58.384 [defaultEventExecutorGroup-4-2] DEBUG com.beowulfe.hap.impl.pairing.PairVerificationManager - Starting pair verification for Test Lightbulb 2\r\n20:06:58.391 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-verify\r\n20:06:58.453 [defaultEventExecutorGroup-4-2] DEBUG com.beowulfe.hap.impl.pairing.PairVerificationManager - Completed pair verification for Test Lightbulb 2\r\n20:06:58.454 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-verify\r\n20:06:58.458 [defaultEventExecutorGroup-4-2] DEBUG io.netty.util.internal.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.io.netty.buffer.ByteBufMatcher\r\n20:06:58.492 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /accessories\r\n20:06:58.632 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.connections.SubscriptionManager - Added subscription to class com.beowulfe.hap.impl.characteristics.common.PowerStateCharacteristic for 1998817436\r\n20:06:58.635 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 204 /characteristics\r\n20:09:37.209 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.connections.SubscriptionManager - Removed subscription to class com.beowulfe.hap.impl.characteristics.common.PowerStateCharacteristic for 1998817436\r\n20:09:37.209 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 204 /characteristics`\r\n\r\nI've tried creating another Accessory on the server and exactly the same issue happens with this too. \r\n\r\nI have had the same issue when adding accessories to a bridge. The bridge adds to my iPhone fine, but 9 times out of ten the individual accessories don't show on my phone. \r\n\r\nAny help would be appreciated."}}
{"actor":{"display_login":"shepparddigital"}}