Relation plugin tvdomsamsung et GSH

Bonjour à tous,
Je n’arrive pas à mettre en relation mon plugin tvdomsamsung et GSH. Voici le paramétrage:

L’un d’entre vous a t’il déjà réussi le paramétrage des remontées vers GSH et peut il m’en communiquer la nature?

Merci par avance.

Bonjour,

Mon problème demeure entier. L’un d’entre vous peut-il m’apporter un élément de réponse?

Et toujours cette fameuse erreur socket 0 - - - 0 :face_with_thermometer: :scream: :sob:
 Explication????
[2020-12-15 15:05:53][DEBUG] : retour WOL   success
[2020-12-15 15:05:53][DEBUG] : sendToTv.$communicationStatus: [status : 0 wol-success] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:12][DEBUG] : Exec commande  off
[2020-12-15 15:06:12][DEBUG] : TvParametres->getInstanceFromConfig parametres json -> [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:12][DEBUG] : eqLogic.cmd -> fn sendKey ( 1 touche) ->  KEY_POWER
[2020-12-15 15:06:12][DEBUG] : TvConnector::getInstance() -> class ConnectorImpl_Tizen_Modeles_K
[2020-12-15 15:06:12][DEBUG] : creation connector modele -> ConnectorImpl
[2020-12-15 15:06:12][DEBUG] : before send   [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 0], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:12][DEBUG] : websocket delai 500000
[2020-12-15 15:06:12][DEBUG] : $_status avant affect erreur [status : 0 reception-] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:12][DEBUG] : websocket  Could not connect to : wss://192.168.0.27:8002/api/v2/channels/samsung.remote.control?name=amVlZG9tLnRpemVuLmFwcC5zYW1zdW5n error: Connection refused
[2020-12-15 15:06:12][DEBUG] : $_status apres affect erreur [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:12][DEBUG] : retour $_status  [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:12][DEBUG] : commStatus after send   [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:12][DEBUG] : canWake - wol : [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 0], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:12][DEBUG] : test avec KEY_POWER Comm.status =  '1' canWakeOnLan = 'false'
[2020-12-15 15:06:12][DEBUG] : canWake - wol : [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 0], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:12][DEBUG] : sendToTv.$communicationStatus: [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:12][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:12][ERROR] : Erreur exécution de la commande [Salon][TV SALON][off] : Erreur Tv sendKey() [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:24][DEBUG] : Exec commande  OnOff
[2020-12-15 15:06:24][DEBUG] : eqLogic.cmd -> fn sendKey ( 1 touche) ->  KEY_POWER
[2020-12-15 15:06:24][DEBUG] : TvParametres->getInstanceFromConfig parametres json -> [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:24][DEBUG] : TvConnector::getInstance() -> class ConnectorImpl_Tizen_Modeles_K
[2020-12-15 15:06:24][DEBUG] : creation connector modele -> ConnectorImpl
[2020-12-15 15:06:24][DEBUG] : before send   [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:24][DEBUG] : websocket delai 500000
[2020-12-15 15:06:24][DEBUG] : $_status avant affect erreur [status : 0 reception-] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:24][DEBUG] : websocket  Could not connect to : wss://192.168.0.27:8002/api/v2/channels/samsung.remote.control?name=amVlZG9tLnRpemVuLmFwcC5zYW1zdW5n error: Connection refused
[2020-12-15 15:06:24][DEBUG] : $_status apres affect erreur [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:24][DEBUG] : retour $_status  [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:24][DEBUG] : commStatus after send   [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:24][DEBUG] : canWake - wol : [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:24][DEBUG] : test avec KEY_POWER Comm.status =  '1' canWakeOnLan = 'true'
[2020-12-15 15:06:24][DEBUG] : canWake - wol : [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:24][DEBUG] : Tv en erreur et WOL on ==> activation WOL
[2020-12-15 15:06:24][DEBUG] : WOL  IP  '192.168.0.27'
[2020-12-15 15:06:24][DEBUG] : WOL  MAC  'C0:48:E6:4C:AF:79'
[2020-12-15 15:06:24][DEBUG] : WOL  SubNet  '255.255.255.0'
[2020-12-15 15:06:24][DEBUG] : retour WOL   success
[2020-12-15 15:06:24][DEBUG] : sendToTv.$communicationStatus: [status : 0 wol-success] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:51][DEBUG] : Exec commande  Zap
[2020-12-15 15:06:51][DEBUG] : Zap TV  options -> {"type":"cmd","apikey":"eLdnq8IrlnuPP1drkTYr5b8ip4k4g3eG","id":"367","slider":"50"}
[2020-12-15 15:06:51][INFO] : Zap TV   50
[2020-12-15 15:06:51][DEBUG] : Zap TV  sequence touches -> 50 <=> KEY_5 | KEY_0 | KEY_ENTER
[2020-12-15 15:06:51][DEBUG] : sendCmdsAsString  ->  KEY_5 | KEY_0 | KEY_ENTER latence ms 500000 latence (num) ms 500000
[2020-12-15 15:06:51][DEBUG] : eqLogic.cmd -> fn sendKey ( 1 touche) ->  KEY_5
[2020-12-15 15:06:51][DEBUG] : TvParametres->getInstanceFromConfig parametres json -> [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:51][DEBUG] : TvConnector::getInstance() -> class ConnectorImpl_Tizen_Modeles_K
[2020-12-15 15:06:51][DEBUG] : creation connector modele -> ConnectorImpl
[2020-12-15 15:06:51][DEBUG] : before send   [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:06:51][DEBUG] : websocket delai 500000
[2020-12-15 15:06:51][DEBUG] : $_status avant affect erreur [status : 0 reception-] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:51][DEBUG] : websocket  Could not connect to : wss://192.168.0.27:8002/api/v2/channels/samsung.remote.control?name=amVlZG9tLnRpemVuLmFwcC5zYW1zdW5n error: Connection refused
[2020-12-15 15:06:51][DEBUG] : $_status apres affect erreur [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:51][DEBUG] : retour $_status  [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:51][DEBUG] : commStatus after send   [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:51][DEBUG] : sendToTv.$communicationStatus: [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:51][ERROR] : Erreur Tv sendkey() [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:06:51][ERROR] : Erreur exécution de la commande [Salon][TV SALON][Zap] : Erreur Tv sendKey() [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:07:15][DEBUG] : Exec commande  OnOff
[2020-12-15 15:07:15][DEBUG] : eqLogic.cmd -> fn sendKey ( 1 touche) ->  KEY_POWER
[2020-12-15 15:07:15][DEBUG] : TvParametres->getInstanceFromConfig parametres json -> [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:07:15][DEBUG] : TvConnector::getInstance() -> class ConnectorImpl_Tizen_Modeles_K
[2020-12-15 15:07:15][DEBUG] : creation connector modele -> ConnectorImpl
[2020-12-15 15:07:15][DEBUG] : before send   [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:07:15][DEBUG] : websocket delai 500000
[2020-12-15 15:07:15][DEBUG] : $_status avant affect erreur [status : 0 reception-] code_err socket : 0 -  -  - 0]
[2020-12-15 15:07:15][DEBUG] : websocket  Could not connect to : wss://192.168.0.27:8002/api/v2/channels/samsung.remote.control?name=amVlZG9tLnRpemVuLmFwcC5zYW1zdW5n error: Connection refused
[2020-12-15 15:07:15][DEBUG] : $_status apres affect erreur [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:07:15][DEBUG] : retour $_status  [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:07:15][DEBUG] : commStatus after send   [status : 1 reception-Connection refused] code_err socket : 0 -  -  - 0]
[2020-12-15 15:07:15][DEBUG] : canWake - wol : [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:07:15][DEBUG] : test avec KEY_POWER Comm.status =  '1' canWakeOnLan = 'true'
[2020-12-15 15:07:15][DEBUG] : canWake - wol : [eqLogicId : 63][remote : "192.168.0.27":8002], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 1], [modele_k_delai : 500], [ssl : 1], [wol : 1], [wol_mode : "broadcast"], [wol_subnet : "255.255.255.0"], [mac tv : "C0:48:E6:4C:AF:79"], [tokenAuth : ]
[2020-12-15 15:07:15][DEBUG] : Tv en erreur et WOL on ==> activation WOL
[2020-12-15 15:07:15][DEBUG] : WOL  IP  '192.168.0.27'
[2020-12-15 15:07:15][DEBUG] : WOL  MAC  'C0:48:E6:4C:AF:79'
[2020-12-15 15:07:15][DEBUG] : WOL  SubNet  '255.255.255.0'
[2020-12-15 15:07:15][DEBUG] : retour WOL   success
[2020-12-15 15:07:15][DEBUG] : sendToTv.$communicationStatus: [status : 0 wol-success] code_err socket : 0 -  -  - 0]

Hello,
ça donne quoi la config là ?

Marche sur RPI3B;
La même config ne marche pas sur smart.

Hello,
Je viens de m’apercevoir que le daemon reste au rouge pour le plug in tvdomsamsung (malgré plusieurs relances).

alors que le configuration est exactement la même sur la smart et le RPI3b

Donc il faut regarder les logs…

Ca a l’air de boucler à tours de bras!!! :scream:

Il faut arrêter le plugin, basculer en mode debug, attendre 1 min et le relancer

Ca donne ça!!!

Et en tentant de relancer les dépendances ? ça doit produire des logs en plus, parce que là … ça dit rien du tout

Même chose et rien de plus dans les logs.

Je commence à penser que ça ne marche pas sur smart!!

Faut-il carrément désinstaller le plug puis le réinstaller?

Les logs de l’installation des dépendances doivent être dispo… pas possible que ça ne produise rien de plus

C’est tout ce que j’ai, je suis bien en debug.

Non, l’installation des dépendances produit un autre fichier …par exemple :

De ce côté, ça semble satisfaisant!!

Il faut tout le contenu… il y a toujours moyen d’avoir une erreur au début

Voilà, je pense que ça complète mon précédent envoi.

Pourquoi ne pas copier le texte directement ?
C’est plus facile à lire qu’une copie d’écran et c’est complet.
Donc le mieux c’est de faire ça :dep
Ensuite en l’ouvrant avec un éditeur quelconque, on peut copier le texte et le coller ici entre les balises </>

C’est comme ça??

Requirement already satisfied: websocket-client in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from websocket-client)
Requirement already satisfied: rijndael in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: pycrypto in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: aenum in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages
Listing /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon ...
Listing /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/__init__.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/communicationStatus.py ...
Listing /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/WebSocketConnection.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/__init__.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/configuration.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/connection.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/connectors.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/handlers.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/httpservice.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/identity.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/messages.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/requestUrl.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/connexion/service.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/crypto.py ...
Listing /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/encryption ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/encryption/__init__.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/encryption/aes_decrypt.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/encryption/encryption.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/encryption/keys.py ...
Listing /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/events ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/events/SocketConnectionStatus.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/events/__init__.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/events/event.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/events/observer.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/events/publisher.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/exceptions.py ...
Listing /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/samsung ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/samsung/HttpService.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/samsung/TvProperties.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/samsung/__init__.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/smartcrypto.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/smarterror.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/tcphandler.py ...
Listing /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/utils ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/utils/__init__.py ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/lib/utils/smartJHLogger.py ...
Listing /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/logs ...
Compiling /var/www/html/plugins/TvDomSamsung/core/class/../../resources/smartJHDaemon/smartJHDaemon.py ...
Everything is successfully installed!

1 « J'aime »