-
Notifications
You must be signed in to change notification settings - Fork 189
Some TV models are not working #22
Comments
Hello! I have H series TV too (H6500) and it doesn't work for me. No error message is shown and nothing is displayed on the TV. Best regards, |
Have you tried using the |
Sadly H and J series TVs are using websockets, but a different protocol. |
Newer models need to authorize the device first no? Do we have the new protocol, sounds like someone normally does :) https://github.com/timelery/Samsung-RemoteControl Although .net, i tried it and it can control my t.v. perhaps you can look at the code? |
@riemers Which TV models did you test? I would be happy to merge new protocol support to samsungctl. |
My tv is a UE55HU7500 above .net repo did seem to work with my t.v. i tried all combo's with your library but i never got a pincode. Perhaps yours has the 'authorize' only button and the pincode is newer? Just speculation here. But ofcourse, more then happy to help with testing on this particular model. |
Hello, @riemers Thanks a lot for the link for remote control app! It works for my UE50H6400 model. However I need some more commands like the source changing (HDMI1, HDMI2...). Did you succeed to send such commands to your TV ? Friendly Philippe |
Is there any progress on this? |
Hi, Anyone have any updates or ideas on this, the Windows .NET works on my TV too and I am 99% sure it is due to the PIN request for authentication, so is there any method to replicate that PIN input within this application. I don't want to have to use a Windows system to do this, when i have multiple Pis setup that should be able to. Any assistance greatly appreciated. my model is UE55H6200 |
I tried both protocols (legacy/websocket), but no way of communicating with my |
I'm hijacking this issue for all the cases where there is some random TV model that nobody has been able to get working. There is no way for me to support all possible TV models. Some might not just support TCP/IP control at all, some probably use a different protocol, and there are probably some issues reported here that are just user errors and could be fixed with a correct configuration. The point is I cannot really help unless you can debug the issue to some specific cause. In that case, please open a new issue with technical details. |
I don't mind giving you more debug details, i just don't know what type or how to get the correct debug information you need. If you can give any pointers on that i would be more then happy to supply you with any information i can gather. |
Seconded. I have a H6670, probably in the same boat as #38 - would love to debug this further just don't know what I should be looking for. My gut feeling is that (at least in my case) the problem is that remote control needs to be PIN authenticated first, which samsungctl doesn't seem to handle. |
thirded but the same i dont know how to debug this. but using openhap's implementation of Samsung remote i get pin prompt and can control the tv |
@Ape i think that most cases here is due to the pin code, if you can tell us what we need to do the be able to debug/get this to work then let us know. I can even give you ssh access to a box which has a samsun t.v. on the network if needed. (although the pin code thingy might be hard to do without actually seeing the t.v.) heck, i can even put a webcam in front of the tv if that is what it takes. |
I appreciate your offer to help. However, I'm afraid I cannot implement and maintain new features for TV models I don't have and use myself, but with your help we can get this done. First, it would help if somebody with the hardware could capture and reverse engineer the protocol using the official remote app (if there is any). With that we can write a proof-of-concept remote software and ultimately merge the functionality to samsungctl. |
There is the Samsung Smart View App which is connecting via the local network to my UE55KU6079UXZG. I'll capture the packets from first connection to sending keys to the tv with Wireshark and hope to find out some information about the used way of communication. |
One problem is also that there are so many different TV models out there using so many protocols. We need to somehow detect the protocols and categorize the TV models. |
We can start by asking people to report their 'nmap -T5 -F --top-ports 65535 ' so we get an indications which ports are used per models. We can then add that to the wiki here, i have a new t.v. and 2 old ones (i doubt they even work their old) but its a start. Only need model number, people can use http://en.tab-tv.com/?page_id=7123 as reference. Some information that might be of help https://community.smartthings.com/t/samsung-smart-tv-support/741/81 (https://github.com/timelery/Samsung-RemoteControl) see some talks about models here too imbrianj/switchBoard#55 Anyways, my nmap on UE55HU7500 (so we should just say HU7500 as model, rest is not important)
|
I am testing on a JS6900 and here is my nmap.
Method 1: Samsungctl
I tried changing the command line to just send the key command and this is the response I am getting from the TV:
@Ape How did you determine the 'method' for sending the commands? I am wondering if it is as simple as that, but I doubt it. Method2: Pairing Step 1: GET - Step 3: GET - Step 3 initiates the PIN screen on the TV to pair with the device Step 4: POST - Step 4 Posting Parameters : Step 5: POST - Step 5 Posting Parameters: Step 6: DELETE - Than finally the actual communication is done through this link: There appears to be some token generated. This script (tested on JU6400) is a request to Method 3: uPnP I am unfamiliar with this so currently doing more investigation. I hope this helps, and hopefully get this working soon! |
nmap from a H6670 (2014 version with PIN-based auth):
With samsungctl==0.7.0 when I send any command (e.g. |
Not sure if this helps but my JS9000 has the following ports open
Results samsungctl (master) samsungctl --host 192.168.100.213 -v KEY_VOLDOWN
Error: Connection refused
samsungctl (master) |
@sectroyer FWIW I've been able to use your C implementation from a Golang app (using a CGO wrapper), so thank you for your work! (I've tested the Python implementation successfully too, by the way.) I certainly have a few questions but it would be OT here so I guess I'll create an issue in your project. |
So does this mean samsunctl will get support for this model ? |
some update? |
also very interested on any update for j series |
Hey @eclair4151 - I tried making my UE48JU6740 work with your fork, and at first it seemed to work fine, I can pair the TV by PIN, and then control it. I even updated the samsungtv component for HomeAssistant and it worked too (after manually pairing and storing the session key/id in config).
My .conf file was:
The issue now is after the TV has been turned off for a night, it simply lost the pairing so I need to do it again... Any idea if I can make it to persist? |
@asaletnik Unfortunately this is a known issue with my library. I dont have access to a H or J series tv so i have no way to test anything or write a fix. My suggestion would be to check out https://github.com/sectroyer/SmartCrypto which has a better implementation |
@sectroyer can you provide some quick instruction on how to use your code? |
Hi, Thank a lot |
@zoipod those are 2 separate libraries, they are not meant to be used together. |
@eclair4151 Ok. |
@zoipod Yes It's off-topic here (sorry) but I have released a CLI/TUI client that uses a Golang port of SmartCrypto. |
@McKael Thank you for your app. Great job. It's work for me in command-line on macos. |
Hi guys, I am new into this and I am trying to find a way to pair my PC with a Samsung J series using Smart View. Is it possible to pair it using the apps published above? Thanks for help! |
@McKael |
hey, i have updated smart crypto to python3 as well as added an example of how to send commands to the tv in python |
so just git clone it and start smartcrypto.py with python? |
yea just change the ip address in line 15. The last line in the file is send_command(currentSessionId, ctx, 'KEY_VOLDOWN') the ctx and currentSessionId are printed to the console as well, so when ever you want you can call this line with those values and what command to send to the tv. |
I'm getting the following errors when trying to execute the script.
|
how are you running it? also please open an issue here and we can move the conversation there: https://github.com/eclair4151/SmartCrypto/issues |
I am trying to write a C# client app to control my display. |
@Ape, @eclair4151 here i found that someone ( @asaletnik ) use the samsungctl with --pair , but the newest version does not have this feature. I want to know if there is a version with the --pair , i would need this for my samsung tv. Any ideas? |
I have tried connecting to tv using |
Is there anybody used with the C series (c630)? |
I have a Samsung 4K Tizen TV with the following result from http://192.168.x.y:8001/api/v2/ : |
@macpacheco J series tv's cannot use samsungCTL because it does not support J or H series. \ Try this script I made specifically for the J & H series Pin and encrypted communication. |
Edited by @Ape:
I hijacked this issue to collect all instances where some random TV model does not work, but we don't know what is the cause or how it could be fixed. Some TV models might not simply support TCP/IP control at all, and some models may require a whole new protocol. When you have techinical details about a specific case that could be fixed please open a new issue.
Original message:
I'm wondering if anyone can confirm if this works for their JS9000 or H5203? Getting 'Connection refused' from the 9000 and no response from the 5203.
The text was updated successfully, but these errors were encountered: