Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Raccooon opened this issue Mar 30, 2018 · 15 comments
Closed

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

Raccooon opened this issue Mar 30, 2018 · 15 comments
Labels

Comments

@Raccooon
Copy link

Raccooon commented Mar 30, 2018

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

@Raccooon
Copy link
Author

Raccooon commented Mar 31, 2018

network info

root@OpenWrt:/usr/lib# avahi-browse -at|fgrep _hap._tcp
br-lan IPv4 Homebridge _hap._tcp local
root@OpenWrt:/usr/bin# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      911/uhttpd
tcp        0      0 :::80                   :::*                    LISTEN      911/uhttpd
tcp        0      0 :::51826                :::*                    LISTEN      2433/homebridge
udp        0      0 0.0.0.0:9898            0.0.0.0:*                           2433/homebridge
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           928/avahi-daemon: r
udp        0      0 :::546                  :::*                                1338/odhcp6c

And my network, wlan0 (2.4Ghz), wlan1(5Ghz), lan are all in the br-lan

@Raccooon
Copy link
Author

Raccooon commented Apr 1, 2018

Really need help

@Raccooon
Copy link
Author

Raccooon commented Apr 2, 2018

really need help~~~~~~~

@Raccooon
Copy link
Author

Raccooon commented Apr 3, 2018

I am so hopeless can anyone help

@Raccooon Raccooon changed the title Home couldn't connet to this accessory Home couldn't connet to this accessory[update info] Apr 3, 2018
@Raccooon
Copy link
Author

Raccooon commented Apr 4, 2018

Everyday I am thinking about this.
Could any on can Help?

@Raccooon
Copy link
Author

Raccooon commented Apr 9, 2018

Anyone?

@Lornis
Copy link

Lornis commented 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.

@Raccooon
Copy link
Author

Anyone can help?

@stale
Copy link

stale bot commented Nov 17, 2018

This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

@stale stale bot added the stale label Nov 17, 2018
@stale stale bot closed this as completed Dec 1, 2018
@vdrover
Copy link

vdrover commented Jan 8, 2019

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

@drstil
Copy link

drstil commented Dec 22, 2020

An additional information to this issue: The described trick did not work for me. But what helped was to reboot the WIFI router. Maybe you also add this to the official wiki?

Thank you!

@speg
Copy link

speg commented Mar 2, 2021

Forgot my network and restarted my router, still no luck. 😢

UPDATE:
Updating from node from v10.15.2 to v14.16.0 and uninstalling and reinstalling home bridge did the trick 👍

@hiiragizawakun
Copy link

hiiragizawakun commented Mar 21, 2022

Hi all - I had an accessory not found issue as well after I nuked my raspberry pi (refresh a new image on an sd card) and tried to add homebridge to Home.

I did all the steps in:
https://github.com/homebridge/homebridge/wiki/Basic-Troubleshooting#home-couldnt-connect-to-this-accessory
https://github.com/homebridge/homebridge/wiki/Basic-Troubleshooting#reset-pairingaccessories

The issue still persists.

However, after waiting for 24 hours and trying to add accessory again via Home app, it works! I'm guessing it's just Apple HomeKit cache (I tried power cycling my HomePods and Apple TV too for good measure)

@52454D434F
Copy link

@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

@Xthienphan
Copy link

Tôi có thể tìm thấy một cầu nối gần nhà khi tôi quét ảnh hoặc nhập mã. Nó sẽ bắt đầu ghép nối nhưng không thể kết thúc Sau vài phút, Không thể thêm cầu nối chính Cố gắng chạy với chế độ Gỡ lỗi

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

mỗi lần nó bị treo ở HAPServer [A2:35:ED:EF:AC:26] Pair step 1/5 +9ms Mình làm xong xóa home.app, rm -rf và acc..., đổi tên và pin được không bạn cho tôi một vài lời khuyên

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants