samsungctl icon indicating copy to clipboard operation
samsungctl copied to clipboard

Current stable version hangs on UE50MU6120

Open gooman-uk opened this issue 5 years ago • 11 comments

I'd been using (and involved in testing) an earlier version, but I've only just got around to installing the latest version.

It just hangs on any invocation. Doesn't obey timeout, and provides no verbose output. No authorisation prompt on the TV.

Any thoughts?

gooman-uk avatar Mar 22 '19 13:03 gooman-uk

For the record, this is on a Raspberry Pi 3 B+ running Raspbian

gooman-uk avatar Mar 22 '19 16:03 gooman-uk

Hi. I've tried to two or three times differents branch, every time i lunch a command it will close connection with error. If i use port 8001 it will prompt "Invalid close opcode", instead if i use port 8002 it returns “connection already close". Tried with and without websocket. Tomorrow ill try the last update and i will report the result. Ue55mu6120 Sorry for my really bad english

Danyfefi avatar Mar 24 '19 02:03 Danyfefi

you need to run the RUN_ME.py file. the library is not fully finished yet and is till in testing phase. running samsungctl from a console will not work. you have to use

python RUN_ME.py

this is going to run a series of tests on the TV. you need to zip up the contents of /tests and attach it to a post here, once i get all of the kinks ironed out of the communications portion of it i will then get the console aspect of it working.

kdschlosser avatar Mar 24 '19 02:03 kdschlosser

Here you go. Two notes:

  1. I mistakenly hit Enter when it prompted for apps
  2. It powered the TV off, but never powered it back on tests.zip

gooman-uk avatar Mar 24 '19 19:03 gooman-uk

Ok cool. I will look over it. Do means favor and join the conversation in the develop branch updated thread. This is where I am letting people know what is going on and what has been tested and fixed. I am almost done with getting everything to work. the last things are the power on and playing application content. The last thing can wait. The powering back on is important.

I updated the develop branch 2 days or so ago. I do not know if you are using the most recent version.

kdschlosser avatar Mar 24 '19 20:03 kdschlosser

Same thing happens to me when i run samsungctl --host 192.168.0.50 --method websocket --timeout 10 KEY_RIGHT it just hangs and nothing happens. I cna't even quit it with Control + C.

ploca14 avatar Jul 21 '19 12:07 ploca14

Same here... hangs and nothing happens. UN55KU6000G

Same thing happens to me when i run samsungctl --host 192.168.0.50 --method websocket --timeout 10 KEY_RIGHT it just hangs and nothing happens. I cna't even quit it with Control + C.

sobaum avatar Aug 25 '19 21:08 sobaum

Hangs on Q77R with 1315 firmware version.

zloi-litovets avatar Oct 11 '19 23:10 zloi-litovets

hangs on me also... Q9 Model TV But if you install this https://github.com/eclair4151/samsungctl/tree/websocketssl it fires one command that works then remains open and no further commands can be fired.

zaileion avatar Nov 03 '19 22:11 zaileion

I'd been using (and involved in testing) an earlier version, but I've only just got around to installing the latest version.

It just hangs on any invocation. Doesn't obey timeout, and provides no verbose output. No authorisation prompt on the TV.

Any thoughts?

If you look at this post Pair request over and over and permission denied in terminal it should help fix the issue

zaileion avatar Nov 03 '19 23:11 zaileion

I've installed https://github.com/eclair4151/samsungctl/tree/websocketssl. This is the only solution I've finally found among all 126 forks that works perfectly on my Windows 10 x64 with Samsung T27H390S (PC-monitor with builtin TV-tuner).

The program closes as expected after executing "C:\Users\Mike\AppData\Local\Programs\Python\Python38\Scripts\samsungctl.exe" --host 192.168.0.112 --port 8002 --method websocket KEY_VOLDOWN. Subsequent commands also work without any troubles.

The only thing I had to change before make it work (osPath error on program start), is to open __main__.py, and replace

directories.append(os.path.join(os.getenv("HOME"), ".config")

with the following code:

home_dir = os.getenv("HOME") if home_dir:     directories.append(os.path.join(home_dir, ".config"))

MMiloslavsky avatar Nov 27 '19 01:11 MMiloslavsky