Finally all is OK. When I tried send command (from other room) TV showed info should we accept new connection? (This active some seconds..). Just today found out this With TV remote control we need accept request and all working
A little instruction how to start TV work with LM (Thanks to Jose_dli user):
You have to create 3 things, the first is the object type "250 byte string" without any value stored in it. It is for store the handshake/key in the first connection, in my system '32/7/0'
Second load in Scripting-->User libraries-->add new library the one that you can find in https://forum.logicmachine.net/showthrea...=websocket. before load library rename it from websocket.lua to websocket_client_sync.lua
And third, copy-paste script "lgtv.lua" at the end of Scripting-->common functions
I execute lg_execute_command("192.168.0.20", '32/7/0', "", "request", "ssap://system/turnOff, "") instead of lg_execute_command(LGTV65_IP, LGTV65_KEY, "", "request", "ssap://system/turnOff", "")
A little instruction how to start TV work with LM (Thanks to Jose_dli user):
You have to create 3 things, the first is the object type "250 byte string" without any value stored in it. It is for store the handshake/key in the first connection, in my system '32/7/0'
Second load in Scripting-->User libraries-->add new library the one that you can find in https://forum.logicmachine.net/showthrea...=websocket. before load library rename it from websocket.lua to websocket_client_sync.lua
And third, copy-paste script "lgtv.lua" at the end of Scripting-->common functions
I execute lg_execute_command("192.168.0.20", '32/7/0', "", "request", "ssap://system/turnOff, "") instead of lg_execute_command(LGTV65_IP, LGTV65_KEY, "", "request", "ssap://system/turnOff", "")