Hello everyone
Is the first time I’m writing in the forum. Please, help me understand if I’m using it properly. Thanks to everyone for any suggestion or advice!
I’m having some issues connecting my HomePod mini to HA.
The HomePod is auto detected by HA and added to Apple TV native integration.
The device keep trying to configure without success.
I already restarted the HomePod, HomeAssistant Green and Router many times.
I removed the HomePod from HomeKit and added again: same issue.
Error Log:
Logger: pyatv.protocols.airplay
Source: /usr/local/lib/python3.11/site-packages/pyatv/protocols/airplay/init.py:359
First occurred: 15 dicembre 2023 alle ore 19:18:11 (441 occurrences)
Last logged: 09:32:30
Failed to set up remote control channel
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/pyatv/support/http.py”, line 463, in send_and_receive
await pending_request.event.wait()
File “/usr/local/lib/python3.11/asyncio/locks.py”, line 213, in wait
await fut
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/pyatv/support/http.py”, line 462, in send_and_receive
async with async_timeout.timeout(timeout):
File “/usr/local/lib/python3.11/site-packages/async_timeout/init.py”, line 141, in aexit
self._do_exit(exc_type)
File “/usr/local/lib/python3.11/site-packages/async_timeout/init.py”, line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/airplay/init.py”, line 348, in _connect_rc
await session.connect()
File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/airplay/ap2_session.py”, line 70, in connect
self.verifier = await verify_connection(self._credentials, self.connection)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/airplay/auth/init.py”, line 104, in verify_connection
has_encryption_keys = await verifier.verify_credentials()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/airplay/auth/hap_transient.py”, line 48, in verify_credentials
await self.http.post(“/pair-pin-start”, headers=_AIRPLAY_HEADERS)
File “/usr/local/lib/python3.11/site-packages/pyatv/support/http.py”, line 432, in post
return await self.send_and_receive(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/pyatv/support/http.py”, line 474, in send_and_receive
raise TimeoutError(f"no response to {method} {uri} ({protocol})") from ex
Logger: homeassistant.components.apple_tv
Source: components/apple_tv/init.py:227
Integration: Apple TV (documentation, issues)
First occurred: 15 dicembre 2023 alle ore 19:18:16 (440occurrences)
Last logged: 09:32:35
Failed to connect
Traceback (most recent call last): File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/mrp/protocol.py”, line 275, in _receive await semaphore.acquire() File “/usr/local/lib/python3.11/asyncio/locks.py”, line 387, in acquire await fut asyncio.exceptions.CancelledError During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/apple_tv/init.py”, line 227, in connect_once await self._connect(conf, raise_missing_credentials) File “/usr/src/homeassistant/homeassistant/components/apple_tv/init.py”, line 329, in _connect self.atv = await connect(conf, self.hass.loop, session=session) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/site-packages/pyatv/init.py”, line 155, in connect await atv.connect() File “/usr/local/lib/python3.11/site-packages/pyatv/core/facade.py”, line 684, in connect if await setup_data.connect(): ^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/mrp/init.py”, line 1092, in _connect await protocol.start() File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/mrp/protocol.py”, line 146, in start self.device_info = await self.send_and_receive( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/mrp/protocol.py”, line 262, in send_and_receive return await self._receive(identifier, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/site-packages/pyatv/protocols/mrp/protocol.py”, line 274, in _receive async with async_timeout.timeout(timeout): File “/usr/local/lib/python3.11/site-packages/async_timeout/init.py”, line 141, in aexit self._do_exit(exc_type) File “/usr/local/lib/python3.11/site-packages/async_timeout/init.py”, line 228, in _do_exit raise asyncio.TimeoutError
Notes:
I already set the Airplay setup in the HomekitApp to “Everyone” or “Everyone on the same Network”, with no success.
HomePod: version 17.2
HA running on HA Green:
Core: 2023.12.3
Supervisor: 2023.11.6
Operating System: 11.2
Frontend: 20231208.2
Thanks