previously, it was possible to send app launch commands from other devices in the network via the WebSocket interface to the TV.
There’s several applications on the web using this method.
This code doesn’t work with my Samsung QN85C TV (latest software version) while remote control keys via the WebSocket interface still work (example Samsung Smart TV - Home Assistant).
For illustration purposes, you I attach a simplified C# program code.
Has the syntax changed?
Is there a documentation about the WebSocket interface functions?
Background to my inquiry: I’d like to use ONE remote control for my Home Theater PC (HTPC) to control all devices, including the TV.
Any help would be highly appreciated.
using WebSocketSharp;
var ws = new WebSocket("wss://192.168.0.5:8002/api/v2/channels/samsung.remote.control?name=*****==&token=********");
ws.SslConfiguration.EnabledSslProtocols = System.Security.Authentication.SslProtocols.Tls12;
ws.Connect();
ws.Send("{\"method\":\"ms.channel.emit\",\"params\":{\"event\":\"ed.apps.launch\",\"data\":{\"appId\":\"111299001912\",\"action_type\":\"DEEP_LINK\"}}}");
thanks for your reply.
I just tried to follow your advice. This platform is for applications which run on the TV device. I need to upload an application package to ask questions.
However, my application doesn’t run on the TV device but on a Windows device und remotely connects to the TV using the WebSocket interface.
What’s the right platform for my question?