Closed jsiegenthaler closed 8 months ago
Your opened issue fulfills all requirements validated in the pre-checks 🎉
My master will take a look at the problem as soon as he has the time for it 🤖
Time to get a coffee ☕
Yeah, the log might be a bit misleading.
So it is as follows:
So the Webserver is only available when there is an active pairing request.
If you entered the back off loop and do not want to set a timer on when you need to come back to pair the Apple TV, I would suggest to shutdown the plugin. Wait until you are certain that the back off time has passed and then enable the plugin again. Be ready to enter the code fast.
I might have to refactor the pairing process ...
OK, 9388 seconds = 156m = 2.6 hours. I guess I'll shut down the plugin until tomorrow.
My issue is that my Apple TV is in a different room from my PC, so if I reboot homebridge from my PC, and then walk to the TV room, the 30s can easily elapse before I get there.
I think you should update the pairing instructions to some something like:
@jsiegenthaler have you successfully paired your Apple TV? Or do you need further assistance?
HI. I just paired it now. You really have to be infront of the TV with an iPad and ready to quickly change the portnumber of Homebridge to type in the pin code.... easy to miss that step within the allotted time.
I'm having the same issue. I will keep the plugin disabled for 5+ hours before I try again. I do have a few questions to get mine paired. . What do mean by changing the port number to the pin code. Which pin code? The pin from the Apple TV, or the pin listed in the log? Also, why an iPAD? Can't i just use a PC with the correct port?
Same issue here. New fresh install, already tried two codes and got the same error both times.
EDIT : Finally succeeded, the pairing process is waaaaaay to fast. Very weird. I can confirm you really have to be in front of the TV to type the code as fast as possible.
Hello everyone,
its been some time. However, I would like to let you know that I have opened an enhancement request regarding the stressful paring: #359. I cannot garantuee say when I will be implementing a solution to that problem, just wanted to let you know that I haven´t forgotten the issue.
I will take a look at it when I am motivated to do it. Currently, I am not coding that much in my free time.
However, PRs are welcome if you are motivated ;)
Preconditions
Current Situation
A new installation of Apple TV Enhanced cannot initiate pairing on the Apple TV. I have rebooted many times but no matter what, can never get the pin code display to appear on the Apple TV
Logs
Configuration
Operating System
Linux
Operating System: Bits
64-bit
Operating System: Distribution
NAME="Raspbian GNU/Linux"
Operating System: Distribution Version
VERSION="11 (bullseye)"
Docker
no
Docker Image
None
Docker Image Version
No response
Homebridge Version
1.7.0
Homebridge Config UI Version
4.55.1
Homebridge Storage Path
/var/lib/homebridge
Homebridge Apple TV Enhanced Version
1.2.4
Node Version
v20.11.1
NPM Version
10.2.4
Python Version
3.9.2
PIP Version
20.3.4
HDMI Hops
AV Receiver
Audio Output
no
Same Subnet
yes
Additional Context
I have tried many times but have never gotten the pairing display to appear on the Apple TV. The URL in the logs (Enter the PIN that is currently displayed on the device here: http://192.168.0.100:42153/) always results in ERR_CONNECTION_REFUSED