Démon ne demarre pas : Connection closed before handshake

Bonjour a tous,
J’ai installé le plugin pensant pouvoir piloter mon téléviseur QLED QE65Q82BAT mais je n’y arrive pas.
Je pense avoir suivi correctement la doc mais le démon ne démarre pas
Voici les logs :

[2024-09-11 22:05:08][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-11 22:05:15][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-11 22:05:15][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-11 22:05:15][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-11 22:25:03][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-09-11 22:30:04][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement

[2024-09-12 08:07:41][INFO] : stop deamon TvDomSamsung 
[2024-09-12 08:07:41][DEBUG] : TvDomSamsung deamon stopped 
[2024-09-12 08:07:41][INFO] : Lancement service  : sudo  python /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/smartJHDaemon.pyc > /dev/null  2>&1 & 
[2024-09-12 08:07:54][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2024-09-12 08:07:41
[2024-09-12 08:08:06][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2024-09-12 08:07:41
[2024-09-12 08:10:04][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-09-12 08:10:04][INFO] : stop deamon TvDomSamsung 
[2024-09-12 08:10:04][DEBUG] : TvDomSamsung deamon stopped 
[2024-09-12 08:10:04][INFO] : Lancement service  : sudo  python /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/smartJHDaemon.pyc > /dev/null  2>&1 & 
[2024-09-15 08:52:25][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:52:25][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][Mute] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-15 08:52:50][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:52:50][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-15 08:52:50][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:53:32][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:53:32][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-15 08:53:32][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:53:38][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:53:38][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-15 08:53:38][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:54:47][INFO] : Zap TV   50
[2024-09-15 08:54:47][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:54:47][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][Zap] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-15 08:56:15][ERROR] : Erreur Tv sendkey() [status : 1 reception-Timed out after 20 seconds] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:56:15][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][Mute] : Erreur Tv sendKey() [status : 1 reception-Timed out after 20 seconds] code_err socket : 0 -  -  - 0]
[2024-09-15 08:56:18][ERROR] : Erreur Tv sendkey() [status : 1 reception-Timed out after 20 seconds] code_err socket : 0 -  -  - 0] 
[2024-09-15 08:56:18][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][Mute] : Erreur Tv sendKey() [status : 1 reception-Timed out after 20 seconds] code_err socket : 0 -  -  - 0]
[2024-09-15 08:59:35][INFO] : démarrage installation dépendances 
[2024-09-15 08:59:35][INFO] : system type -> apt 
[2024-09-15 19:54:54][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 19:54:55][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-15 19:54:55][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 19:55:16][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 19:55:16][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-15 19:55:16][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 19:55:27][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-15 19:55:27][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-15 19:55:27][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-17 06:58:37][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-17 06:58:37][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 06:58:37][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-17 06:59:07][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 
[2024-09-17 06:59:07][ERROR] : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 06:59:07][ERROR] : module ajax 521 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0] 

Lorsque j’appuie sur une chaine via le plugin, j’ai ce message qui apparait, j’ai beau l’autorisé a chaque fois mais il revient … et du coup j’ai un bandeau rouge dans jeedom sans message d’erreur ?

Voici les paramètres :

Et la page santé


Informations Jeedom Atlas

Core : 4.4.9 (V4-stable)
DNS Jeedom Atlas : oui

Plugin : TvDomSamsung
Version : 2023-05-24 01:15:34 (stable)
Statut Démon : Stoppé - (2024-09-12 08:10:04)

Merci de votre retour

Bonjour,

As tu essayé la version beta ? Elle n’a plus de demon et fonctionne parfaitement.

Bonjour,
Je l’ai passé en BETA, certes il n’y a plus de démon :

Mais j’ai toujours ce message qui apparait sur le TV alors que j’autorise l’application a fonctionner ainsi qu’un bandeau rouge vide sur Jeedom

Voici les logs :

[2024-09-17 19:48:19] DEBUG  : TvParametres->getInstanceFromConfig parametres -> [eqLogicId : 697][remote : "192.168.2.9":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 0], [modele_k_delai : 0], [ssl : 1], [wol : 1], [wol_mode : "direct"], [wol_direct : "192.168.2.9"], [wol_subnet : ""], [mac tv : "A0:D7:F3:48:C8:A8"], [tokenAuth : ]
[2024-09-17 19:48:24] DEBUG  : Exec commande  SendKey
[2024-09-17 19:48:24] DEBUG  : eqLogic.cmd -> Commande sendkey touche(s): KEY_1 | KEY_ENTER
[2024-09-17 19:48:24] DEBUG  : sendCmdsAsString  ->  KEY_1 | KEY_ENTER latence ms 100000 latence (num) ms 500000
[2024-09-17 19:48:24] DEBUG  : eqLogic.cmd -> fn sendKey ( 1 touche) ->  KEY_1
[2024-09-17 19:48:24] DEBUG  : TvParametres->getInstanceFromConfig parametres -> [eqLogicId : 697][remote : "192.168.2.9":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 0], [modele_k_delai : 0], [ssl : 1], [wol : 1], [wol_mode : "direct"], [wol_direct : "192.168.2.9"], [wol_subnet : ""], [mac tv : "A0:D7:F3:48:C8:A8"], [tokenAuth : ]
[2024-09-17 19:48:24] DEBUG  : TvConnector::getInstance() -> class ConnectorImpl_Tizen_Modeles_K
[2024-09-17 19:48:24] DEBUG  : creation connector modele -> ConnectorImpl
[2024-09-17 19:48:24] DEBUG  : before send   [eqLogicId : 697][remote : "192.168.2.9":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 0], [modele_k_delai : 0], [ssl : 1], [wol : 1], [wol_mode : "direct"], [wol_direct : "192.168.2.9"], [wol_subnet : ""], [mac tv : "A0:D7:F3:48:C8:A8"], [tokenAuth : ]
[2024-09-17 19:48:24] DEBUG  : websocket delai 500000
[2024-09-17 19:48:24] DEBUG  : $_status avant affect erreur [status : 0 reception-] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:24] DEBUG  : websocket  Could not connect to : wss://192.168.2.9:8002/api/v2/channels/samsung.remote.control?name=amVlZG9tLnRpemVuLmFwcC5zYW1zdW5n error: Connection closed before handshake
[2024-09-17 19:48:24] DEBUG  : $_status apres affect erreur [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:24] DEBUG  : retour $_status  [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:24] DEBUG  : commStatus after send   [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:24] DEBUG  : sendToTv.$communicationStatus: [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:24] ERROR  : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:24] ERROR  : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:24] ERROR  : module ajax 534 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:36] DEBUG  : Exec commande  SendKey
[2024-09-17 19:48:36] DEBUG  : eqLogic.cmd -> Commande sendkey touche(s): KEY_6 | KEY_ENTER
[2024-09-17 19:48:36] DEBUG  : sendCmdsAsString  ->  KEY_6 | KEY_ENTER latence ms 100000 latence (num) ms 500000
[2024-09-17 19:48:36] DEBUG  : eqLogic.cmd -> fn sendKey ( 1 touche) ->  KEY_6
[2024-09-17 19:48:36] DEBUG  : TvParametres->getInstanceFromConfig parametres -> [eqLogicId : 697][remote : "192.168.2.9":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 0], [modele_k_delai : 0], [ssl : 1], [wol : 1], [wol_mode : "direct"], [wol_direct : "192.168.2.9"], [wol_subnet : ""], [mac tv : "A0:D7:F3:48:C8:A8"], [tokenAuth : ]
[2024-09-17 19:48:36] DEBUG  : TvConnector::getInstance() -> class ConnectorImpl_Tizen_Modeles_K
[2024-09-17 19:48:36] DEBUG  : creation connector modele -> ConnectorImpl
[2024-09-17 19:48:36] DEBUG  : before send   [eqLogicId : 697][remote : "192.168.2.9":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 0], [modele_k_delai : 0], [ssl : 1], [wol : 1], [wol_mode : "direct"], [wol_direct : "192.168.2.9"], [wol_subnet : ""], [mac tv : "A0:D7:F3:48:C8:A8"], [tokenAuth : ]
[2024-09-17 19:48:36] DEBUG  : websocket delai 500000
[2024-09-17 19:48:36] DEBUG  : $_status avant affect erreur [status : 0 reception-] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:36] DEBUG  : websocket  Could not connect to : wss://192.168.2.9:8002/api/v2/channels/samsung.remote.control?name=amVlZG9tLnRpemVuLmFwcC5zYW1zdW5n error: Connection closed before handshake
[2024-09-17 19:48:36] DEBUG  : $_status apres affect erreur [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:36] DEBUG  : retour $_status  [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:36] DEBUG  : commStatus after send   [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:36] DEBUG  : sendToTv.$communicationStatus: [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:36] ERROR  : Erreur Tv sendkey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:36] ERROR  : Erreur exécution de la commande [Aucun][Smart TV][SendKey] : Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]
[2024-09-17 19:48:36] ERROR  : module ajax 534 Erreur Tv sendKey() [status : 1 reception-Connection closed before handshake] code_err socket : 0 -  -  - 0]

Merci par avance

Bonjour,
Je rencontre le même souci que vous.
J’ai réussi pourtant à faire fonctionner le plugin avec la Télé Samsung Q55Q70CAT pendant quelques mois. Ma box a planté, malheureusement pas de sauvegarde. J’ai acheté une nouvelle box (une atlas, comme celle qui avait cramé). Mais je n’arrive plus à faire fonctionner le plugin.
Mêmes observations : Demande d’autorisation sur la télé à chaque commande, + bandeau rouge vierge sur l’écran de la jeedom qui apparaît.
Modèle TV Tizen
Port : 8002
SSL
Si vous avez une solution, je suis preneur…
Un grand merci par avance

Philippe

Bonjour,
Non, je suis toujours en attente d’une réponse.
En théorie la communauté est là pour répondre surtout pour un plugin payant, nous allons donc attendre…