je copie bien la ligne du pairing
j’ai bien le pin qui apparait a l’ecran
mais comme retour j’ai ceci
Enter PIN on screen: 9298
2024-10-10 12:00:32 ERROR [pyatv.scripts.atvremote]: Pairing failed
Traceback (most recent call last):
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/init.py », line 71, in error_handler
return await func(*args, **kwargs)
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/companion/auth.py », line 82, in finish_pairing
resp = await self.protocol.exchange_auth(
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/companion/protocol.py », line 141, in exchange_auth
return await self._exchange_generic_opack(frame_type, data, identifier, timeout)
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/companion/protocol.py », line 164, in _exchange_generic_opack
self.send_opack(frame_type, data)
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/companion/protocol.py », line 186, in send_opack
self.connection.send(frame_type, opack.pack(data))
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/companion/connection.py », line 101, in send
raise exceptions.InvalidStateError(« not connected »)
pyatv.exceptions.InvalidStateError: not connected
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py », line 199, in pair
await self._perform_pairing(pairing)
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py », line 232, in _perform_pairing
await pairing.finish()
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/companion/pairing.py », line 59, in finish
await error_handler(
File « /var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/init.py », line 77, in error_handler
raise fallback(str(ex)) from ex
pyatv.exceptions.PairingError: not connected