question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Home couldn't connet to this accessory[update info]

See original GitHub issue

I do can find a near by homebridge when I scan the picture or enter the code It will start pairing and but can’t finish After minutes,Couldn’t add homebridge Try to run with Debugs mode

npm@5.6.0
node@v8.11.0
homebridge@0.4.38
{
        "bridge": {
                "name": "Homebridge",
                "username": "A1:36:ED:EF:AC:26",
                "port": 51826,
                "pin": "297-26-913"
        }
}

EventedHTTPServer [::ffff:192.168.1.160] New connection from client +16m
EventedHTTPServer [::ffff:192.168.1.160] HTTP server listening on port 34455 +6ms
EventedHTTPServer [::ffff:192.168.1.160] HTTP request: /pair-setup +30ms
HAPServer [A2:35:ED:EF:AC:26] HAP Request: POST /pair-setup +3ms
HAPServer [A2:35:ED:EF:AC:26] Pair step 1/5 +9ms
EventedHTTPServer [::ffff:192.168.1.160] HTTP Response is finished +3m
EventedHTTPServer [::ffff:192.168.1.160] Client connection error: This socket has been ended by the other party +16ms
EventedHTTPServer [::ffff:192.168.1.160] Client connection closed +4ms
EventedHTTPServer [::ffff:192.168.1.160] HTTP connection was closed +7ms
EventedHTTPServer [::ffff:192.168.1.160] HTTP server was closed +4ms

every time it hangs at HAPServer [A2:35:ED:EF:AC:26] Pair step 1/5 +9ms I have done delete home.app, rm -rf persist and acc…, change name and pin Can you give me some advice

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14

github_iconTop GitHub Comments

2reactions
Lorniscommented, Apr 15, 2018

I just had the same problem and tried everything. What worked for me was “forgetting” my WIFI from my iPhone, then connecting to it again. Hope this works for you too.

0reactions
52454D434Fcommented, Nov 18, 2022

@Lornis This worked for me also. Adding this trick o the official wiki!

Port 51800 needs to be open on your NAS firewall

hi @vdrover. I had the same issue; time out on trying to add the Homebridge as an accessory to my homekit. After spending hours finding a solution, I noticed the firewall on my Synology NAS didn’t have port 51800 open for my internal network. Maybe you want to add a note about the firewall port to the official wiki too.

I hope this helps

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix 'HomeKit Devices Won't Connect' Problems
How to fix 'HomeKit devices won't connect' problems · Start with the basics: Wi-Fi and Bluetooth · Check that you're logged into iCloud...
Read more >
One solution for "couldn't connect to accessory" error ... - Reddit
Go to iOS wifi settings, and select the accessory under Devices (below the Choose a Network section), and follow the prompt. After the...
Read more >
Add an accessory to the Home app - Apple Support
Update your iPhone or iPad to the latest version of iOS or iPadOS. Make sure that your accessory is powered on and nearby....
Read more >
What should I do if I'm seeing an error “Couldn't add ...
Go to Side Menu > Settings > APP Permission > Home Data. 3. Open the iOS Home App and check if it allows...
Read more >
No Response HomeKit error? Here's the fix! - iMore
To narrow it down to either an accessory issue or a Home app issue, you can check the device-specific app for your accessory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found