samsungctl
samsungctl copied to clipboard
Current stable version hangs on UE50MU6120
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?
For the record, this is on a Raspberry Pi 3 B+ running Raspbian
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
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.
Here you go. Two notes:
- I mistakenly hit Enter when it prompted for apps
- It powered the TV off, but never powered it back on tests.zip
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.
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.
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.
Hangs on Q77R with 1315 firmware version.
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.
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
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"))