-
Notifications
You must be signed in to change notification settings - Fork 1
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
can't pair airplay #12
Comments
hi, you can try use only "companion". this issues is pyatv mb help @postlund |
i already did. The Plugin doesn't connect. |
This is an AirPlay problem, so companion won't solve that. Did you try restarting the Apple TV for starters? |
Did you update your AirPlay access setting to allow everyone on the same network? Must be done on the Apple TV. |
did restart it. Normaly my atv is set to allow everyone to connect. Will check that today. |
Ok, sorry for the delay. You got right @postlund ! The atv was set to allow only members of my home. Changed it to "allow everyone on the same network" and it works. Thanks for the hint. Maybe we should add this to the readme. ;-) |
@BorussiaPlayer17 send pull :) @postlund thx |
Installed the plugin inside my docker Container. Search and companion pair was successful. But I can't pair airplay. Plugin is unable to connect to my aTV4k.
`2022-02-22 07:57:08 ERROR [pyatv.scripts.atvremote]: Pairing failed
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pyatv/support/init.py", line 33, in error_handler
return await func(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/pyatv/protocols/airplay/auth/hap.py", line 43, in start_pairing
await self.http.post("/pair-pin-start", headers=_AIRPLAY_HEADERS)
File "/usr/lib/python3.8/site-packages/pyatv/support/http.py", line 359, in post
return await self.send_and_receive(
File "/usr/lib/python3.8/site-packages/pyatv/support/http.py", line 412, in send_and_receive
raise exceptions.HttpError(
pyatv.exceptions.HttpError: HTTP/1.1 method POST failed with code 400: Bad Request
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pyatv/scripts/atvremote.py", line 179, in pair
await self._perform_pairing(pairing)
File "/usr/lib/python3.8/site-packages/pyatv/scripts/atvremote.py", line 189, in _perform_pairing
await pairing.begin()
File "/usr/lib/python3.8/site-packages/pyatv/protocols/airplay/pairing.py", line 62, in begin
return await error_handler(
File "/usr/lib/python3.8/site-packages/pyatv/support/init.py", line 41, in error_handler
raise fallback(str(ex)) from ex
pyatv.exceptions.PairingError: HTTP/1.1 method POST failed with code 400: Bad Request`
The text was updated successfully, but these errors were encountered: