Bonjour, j’ai tester la tv depuis windows.
J’ai bien reussi à me connecter.
{
"DUID": "uuid:e7eccac4-ed81-47d0-ad85-f7637b4220aa",
"Model": "15_HAWKM_UHD",
"ModelName": "UE40JU7000",
"ModelDescription": "Samsung DTV RCR",
"NetworkType": "wireless",
"SSID": "14:59:c0:af:54:xx",
"IP": "192.168.1.xx",
"FirmwareVersion": "Unknown",
"DeviceName": "[TV] UE40JU7000",
"DeviceID": "uuid:e7eccac4-ed81-47d0-ad85-f7637b4220aa",
"UDN": "uuid:e7eccac4-ed81-47d0-ad85-f7637b4220aa",
"Resolution": "1920x1080",
"CountryCode": "FR",
"SmartHubAgreement": "true",
"ServiceURI": "http://192.168.1.xx:8001/ms/1.0/",
"DialURI": "http://192.168.1.xx:8001/ws/apps/",
"Capabilities": [
{
"name": "samsung:multiscreen:1",
"port": "8001",
"location": "/ms/1.0/"
}
]
}
Mais dans jeedom, impossible.
J’ai la version stable. Le démon est bien démarré.
J’ai bien mis le code pin et appairé.
log tv appairé
[2023-05-28 11:16:34]DEBUG : TvParametres->getInstanceFromConfig parametres -> [eqLogicId : 77][remote : "192.168.1.XX":8080], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 2], [modele_k_delai : 0], [ssl : 0], [wol : 0], [wol_mode : ""], [wol_direct : ""], [wol_subnet : ""], [mac tv : ""], [tokenAuth : ]
[2023-05-28 11:16:39]DEBUG : send static localhost 9100
[2023-05-28 11:16:39]DEBUG : ctor socket params localhost 9100
[2023-05-28 11:16:39]DEBUG : socket.php ->connect socket.status : 1
[2023-05-28 11:16:39]DEBUG : socket.php ->connect commstatus is : [status : 0 Connect : localhost:9100-] code_err socket : 0 - - - 0]
[2023-05-28 11:16:39]DEBUG : buf: {"status": "OK", "message": "show pin page on Tv"}
[2023-05-28 11:16:39]DEBUG : $communicationStatus after send i ModelJ : [status : 0 daemon_cmd-{"status": "OK", "message": "show pin page on Tv"}] code_err socket : 0 - - - 0]
[2023-05-28 11:16:47]DEBUG : module ajax showPinpageOntv , params TV, pinCode : 5706
[2023-05-28 11:16:47]DEBUG : send static localhost 9100
[2023-05-28 11:16:47]DEBUG : ctor socket params localhost 9100
[2023-05-28 11:16:47]DEBUG : socket.php ->connect socket.status : 1
[2023-05-28 11:16:47]DEBUG : socket.php ->connect commstatus is : [status : 0 Connect : localhost:9100-] code_err socket : 0 - - - 0]
[2023-05-28 11:16:48]DEBUG : buf: {"status": "OK", "aeskey": "327b7fe38c86d5406c16678c50500b3e", "message": "pairing Tv OK", "sessionId": "9"}
[2023-05-28 11:16:48]DEBUG : $communicationStatus after send i ModelJ : [status : 0 daemon_cmd-{"status": "OK", "aeskey": "327b7fe38c86d5406c16678c50500b3e", "message": "pairing Tv OK", "sessionId": "9"}] code_err socket : 0 - - - 0]
Je lance France 2 pour lancer une touche:
[2023-05-28 11:18:04]DEBUG : Exec commande SendKey
[2023-05-28 11:18:04]DEBUG : eqLogic.cmd -> Commande sendkey touche(s): KEY_2 | KEY_ENTER
[2023-05-28 11:18:04]DEBUG : sendCmdsAsString -> KEY_2 | KEY_ENTER latence ms 100000 latence (num) ms 500000
[2023-05-28 11:18:04]DEBUG : eqLogic.cmd -> fn sendKey ( 1 touche) -> KEY_2
[2023-05-28 11:18:04]DEBUG : TvParametres->getInstanceFromConfig parametres -> [eqLogicId : 77][remote : "192.168.1.xx":8080], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 2], [modele_k_delai : 0], [ssl : 0], [wol : 0], [wol_mode : ""], [wol_direct : ""], [wol_subnet : ""], [mac tv : ""], [tokenAuth : ]
[2023-05-28 11:18:04]DEBUG : TvConnector::getInstance() -> class ConnectorImpl_Tizen_Modeles_J
[2023-05-28 11:18:04]DEBUG : before send [eqLogicId : 77][remote : "192.168.1.xx":8080], [tvApp : "jeedom.tizen.app.samsung"], [modele_tv : "tizen"], [sub_modele_tv : 2], [modele_k_delai : 0], [ssl : 0], [wol : 0], [wol_mode : ""], [wol_direct : ""], [wol_subnet : ""], [mac tv : ""], [tokenAuth : ]
[2023-05-28 11:18:04]DEBUG : send static localhost 9100
[2023-05-28 11:18:04]DEBUG : ctor socket params localhost 9100
[2023-05-28 11:18:04]DEBUG : socket.php ->connect socket.status : 1
[2023-05-28 11:18:04]DEBUG : socket.php ->connect commstatus is : [status : 0 Connect : localhost:9100-] code_err socket : 0 - - - 0]
[2023-05-28 11:18:14]DEBUG : buf: {"status": "KO", "message": "send cmd error Unable to connect websocket Tv @192.168.1.xx:8080"}
[2023-05-28 11:18:14]DEBUG : $communicationStatus after send i ModelJ : [status : 0 daemon_cmd-{"status": "KO", "message": "send cmd error Unable to connect websocket Tv @192.168.1.XX:8080"}] code_err socket : 0 - - - 0]
[2023-05-28 11:18:14]DEBUG : commStatus after send [status : 0 daemon_cmd-{"status": "KO", "message": "send cmd error Unable to connect websocket Tv @192.168.1.xx:8080"}] code_err socket : 0 - - - 0]
[2023-05-28 11:18:14]DEBUG : sendToTv.$communicationStatus: [status : 0 daemon_cmd-{"status": "KO", "message": "send cmd error Unable to connect websocket Tv @192.168.1.XX:8080"}] code_err socket : 0 - - - 0]
[2023-05-28 11:18:14]ERROR : Erreur Tv sendkey() send cmd error Unable to connect websocket Tv @192.168.1.XX:8080
[2023-05-28 11:18:14]ERROR : Erreur exécution de la commande [Home Cinéma][TV samsung][SendKey] : Erreur [service] Tv sendKey() send cmd error Unable to connect websocket Tv @192.168.1.XX:8080
[2023-05-28 11:18:14]ERROR : module ajax 528 Erreur [service] Tv sendKey() send cmd error Unable to connect websocket Tv @192.168.1.xx:8080
Le démon est toujours actif.
log smart…daemon
2023-05-28 11:18:04,086 [Thread-41 ] [tcphandler.py:63 - check_cmd() ] [INFO ] received data : { "cmd": "send", "key" : "KEY_2" }
2023-05-28 11:18:04,087 [Thread-41 ] [tcphandler.py:71 - check_cmd() ] [DEBUG] received 'send'
2023-05-28 11:18:04,087 [Thread-41 ] [smartcrypto.py:189 - send_command() ] [DEBUG] connexion is None !!!!!!!!!!!!!!!
2023-05-28 11:18:04,087 [Thread-41 ] [smartcrypto.py:195 - send_command() ] [DEBUG] connexion is None pr connexion is not Connected !
2023-05-28 11:18:04,088 [Thread-42 ] [connectors.py:16 - run() ] [DEBUG] init Connexion async
2023-05-28 11:18:04,089 [Thread-43 ] [connectors.py:36 - run() ] [DEBUG] check Connexion async
2023-05-28 11:18:04,090 [Thread-42 ] [connection.py:76 - onStateChanged() ] [INFO ] websocket initialized !
2023-05-28 11:18:04,091 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:04,100 [Thread-42 ] [connectionpool.py:232 - _new_conn() ] [DEBUG] Starting new HTTP connection (1): 192.168.1.xx:8000
2023-05-28 11:18:04,323 [Thread-42 ] [connectionpool.py:465 - _make_request() ] [DEBUG] http://192.168.1.xx:8000 "GET /common/1.0.0/service/startService?appID=com.samsung.companion HTTP/1.1" 404 None
2023-05-28 11:18:04,338 [Thread-42 ] [connectionpool.py:232 - _new_conn() ] [DEBUG] Starting new HTTP connection (1): 192.168.1.xx:8000
2023-05-28 11:18:04,528 [Thread-42 ] [connectionpool.py:465 - _make_request() ] [DEBUG] http://192.168.1.XX:8000 "GET /socket.io/1 HTTP/1.1" 200 None
2023-05-28 11:18:04,540 [Thread-42 ] [WebSocketConnection.py:50 - handshake() ] [DEBUG] handshake mask:93PKJSw08q1EaLy5oKTy
2023-05-28 11:18:04,540 [Thread-42 ] [WebSocketConnection.py:99 - connect() ] [DEBUG] connect websocket on ws://192.168.1.XX:8000/socket.io/1/websocket/93PKJSw08q1EaLy5oKTy
2023-05-28 11:18:04,556 [Thread-41 ] [connectors.py:77 - open() ] [DEBUG] end thread cnx opener
2023-05-28 11:18:04,595 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:04,596 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:04,736 [Dummy-44 ] [_logging.py:67 - error() ] [ERROR] error from callback <bound method WebSocketConnection.on_open of <lib.connexion.WebSocketConnection.WebSocketConnection instance at 0xffffa97859e0>>: on_open() takes exactly 1 argument (2 given)
2023-05-28 11:18:04,737 [Dummy-44 ] [_logging.py:67 - error() ] [ERROR] error from callback <bound method WebSocketConnection.on_message of <lib.connexion.WebSocketConnection.WebSocketConnection instance at 0xffffa97859e0>>: on_message() takes exactly 2 arguments (3 given)
2023-05-28 11:18:05,097 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:05,098 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:05,599 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:05,600 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:06,101 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:06,101 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:06,602 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:06,603 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:07,104 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:07,104 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:07,605 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:07,605 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:08,106 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:08,107 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:08,608 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:08,608 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:09,109 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:09,109 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:09,610 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:09,611 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:10,112 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:10,112 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:10,613 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:10,613 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:11,114 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:11,114 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:11,615 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:11,615 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:12,116 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:12,117 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:12,617 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:12,618 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:13,119 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:13,119 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:13,620 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:13,620 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:14,121 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:14,121 [Thread-43 ] [connectors.py:38 - run() ] [DEBUG] checker: stop_event not set
2023-05-28 11:18:14,558 [Thread-41 ] [connectors.py:85 - open() ] [DEBUG] join async connectors connexion status
2023-05-28 11:18:14,559 [Thread-41 ] [tcphandler.py:113 - cmd_send() ] [ERROR] <lib.smarterror.ErrorMessage instance at 0xffffa984e8c0>
2023-05-28 11:18:14,561 [Thread-41 ] [tcphandler.py:36 - log_error() ] [ERROR] send cmd error Unable to connect websocket Tv @192.168.1.XX:8080()
2023-05-28 11:18:14,622 [Thread-43 ] [connectors.py:48 - run() ] [DEBUG] check wait-for connexion ready, wait 0.5s
2023-05-28 11:18:14,623 [Thread-43 ] [connectors.py:51 - run() ] [DEBUG] ConnectionChecker:stop by stop_event signal
2023-05-28 11:18:29,747 [Dummy-44 ] [_logging.py:67 - error() ] [ERROR] error from callback <bound method WebSocketConnection.on_message of <lib.connexion.WebSocketConnection.WebSocketConnection instance at 0xffffa97859e0>>: on_message() takes exactly 2 arguments (3 given)
2023-05-28 11:19:29,859 [Dummy-44 ] [_logging.py:67 - error() ] [ERROR] error from callback <bound method WebSocketConnection.on_error of <lib.connexion.WebSocketConnection.WebSocketConnection instance at 0xffffa97859e0>>: on_error() takes exactly 2 arguments (3 given)
2023-05-28 11:19:29,860 [Dummy-44 ] [_logging.py:67 - error() ] [ERROR] error from callback <bound method WebSocketConnection.on_close of <lib.connexion.WebSocketConnection.WebSocketConnection instance at 0xffffa97859e0>>: on_close() takes exactly 1 argument (2 given)
2023-05-28 11:19:29,861 [Dummy-44 ] [WebSocketConnection.py:118 - waitForEvent() ] [INFO ] fin boucle websocket run_foreve
Je pense que c’est possible à avoir sur Jeedom vu le soft windows compatible mais impossible à faire fonctionner.
Je n’ai mis qu’une TV sur le plugin.