samsungctl
samsungctl copied to clipboard
Support for Text Input
Legacy TVs support text being sent through the remote. I wonder if that is also possible with the new models. Maybe through some other params in this request:
payload = json.dumps({
"method": "ms.remote.control",
"params": {
"Cmd": "Click",
"DataOfCmd": key,
"Option": "false",
"TypeOfRemote": "SendRemoteKey"
}
})
As the official android Application supports this, I would assume so. I guess some traffic snooping would help here...
I'd like to start a specific app on the smart tv (e.g.: youtube, primevideo or plex), but there is no single key for that. @Ape , where did you find the protocol description? I spent hours searching on the samsung developer site and was not able to find this protocol/api documetned anywhere? Could you share a link to the source?
@trainormg As far as I know, there is no protocol documentation publicly available.
See https://github.com/Ape/samsungctl#references. It's not much, but that's everything I have.
I have no idea if starting smart tv applications is possible. The newer websocket interface may have more commands that aren't know yet, or it simply may not have such functionality.
One way is of course to send a specific sequence of remote key presses, but it's certainly not a very clean solution and it might be even impossible to do.