aTV pairing

Bonjour en essayant d’appairer l’apple TC companion cela ne fonctionne pas,
erreur :
2024-10-10 11:50:31 ERROR [pyatv.scripts.atvremote]: Pairing failed

alors que la partie airplay a très bien fonctionné.


Informations Jeedom

Core : 4.5 (beta)
DNS Jeedom : oui

Plugin : aTV Remote
Version : 2024-10-06 09:38:48 (beta)
Statut Démon : Démarré - (2024-10-10 11:45:04)

Bonjour, je ne sais pas quoi vous dire, jamais eu le problème.

Vérifiez le code que vous tapez

Et vous êtes sur un core en beta :wink:

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

J’avais pas vu pour le core en Beta, j’ai fait une remise a niveau en 4.4 mais cela n’a rien changé

on dirait un problème de connexion de l’appleTV

est-elle sur un autre réseau ? problème de routage ? multicast qui passe pas ?

ou vous prenez trop de temps a taper le pin ?

Elle est bien sur le même reseau, car j’ai réussi a faire le pairing du airplay sans souci

il faut peut-etre autoriser le companion quelque part sur l’apple TV depuis tvOS 18 ? moi elles sont liées depuis longtemps…

(d’ailleurs, depuis tvOS 18 elles ont changé d’identifiant, mais j’ai recopié la clé et c’est passé)