Ape / samsungctl

Remote control Samsung televisions via a TCP/IP connection
MIT License
713 stars 191 forks source link

How to get acknowledgement from samsung Tv ? #39

Closed Gowtham1989 closed 7 years ago

Gowtham1989 commented 7 years ago

Hi, I have sent "KEY_POWEROFF" command to samsung smart tv. The TV is turn off successfully. But, i want to get acknowledgement from TV. how to get acknowledgement from TV? For example, If i am changing my channel every time it should acknowledge to me.

Ape commented 7 years ago

You should be getting some error message in case the TV didn't receive the command. This would be an exception if you are using the Python library or command line output with the command line tool. So if you didn't get any error, then the TV most likely received your command. Is this enough for you?

Gowtham1989 commented 7 years ago

Thank you @Ape , That is enough. I have two more question. 1.How can i open the applications present in the TV?? For example, assume there are wiki app,bbc news app,web browser app etc.. Now, i want to open bbc news app, how to open it, which commands i have to pass??

  1. Every time, when i send commands to tv, it is showing dialog pop " allow or deny". how to prevent to show this dialog??
Ape commented 7 years ago
  1. I do not know any direct way to do that. You may try to combine multiple key presses on the remote.

  2. This seems to vary between TV models, but you can try if setting --id to some value helps.