Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samsung UA32J5500AW #59

Open
Jens-Wymeersch opened this issue Nov 17, 2020 · 8 comments
Open

Samsung UA32J5500AW #59

Jens-Wymeersch opened this issue Nov 17, 2020 · 8 comments

Comments

@Jens-Wymeersch
Copy link

Jens-Wymeersch commented Nov 17, 2020

Dear all,

I've successfully found the token and sessionID.
The TV recognises the component and i have allowed it access to the tv. The outcome is however the same, I can't operate the TV. Simple on/off aren't possible.

@EPMatt
Copy link

EPMatt commented Dec 1, 2020

Hi @Jens-Wymeersch,
Other people and I are dealing with these connection issues here: #62 #21. I'm trying to retrieve the token from a UA32J5200 Smart TV.

How did you manage to get the token? What command and port did you use?
It would be enormously helpful for us, since we're trying to retrieve a token from J Series TVs like yours.

Thank you very much for your help!

@Jens-Wymeersch
Copy link
Author

Jens-Wymeersch commented Dec 1, 2020

@EPMatt before running the standard commands python3 get_token.py --ip XXX.XXX.XXX.XXX --port 8080
Described in :
#39 (comment)

I used the following commands :
python3 -m pip install pycrypto
python3 -m pip install websocket
python3 -m pip install websocket-client

PS it's again been a few weeks - so not totally sure any more and unfortunately I didn't document it.

@EPMatt
Copy link

EPMatt commented Dec 2, 2020

Hi @Jens-Wymeersch,
thank you so much for your feedback.
Did you tweak any specific setting on your TV for enabling remote control?
Can you find any setting related to remote control in the configuration menus of your device?

@Jens-Wymeersch
Copy link
Author

Hi @EPMatt I found the procedure that I used in the following link home-assistant/core#43094 (comment)

On the TV, I didn't do anything. Not that much you can do anyhow.... Unfortunately !
Outcome is that I found the token and session ID but can't do anything with it. So please let me know if you have more luck !

@Jens-Wymeersch
Copy link
Author

Jens-Wymeersch commented Dec 24, 2020

@EPMatt I've got to the SamsungTV again. I understand now that I won't be able to use the CC for turning on the TV just because it doesn't have WOL capabilities. That said, for the rest it looks like I'm able to control it.
Just to be clear in order to find the token, I used an Ubuntu 20 VM (upgrade/update) and run the commands

pip install pycryptodome
python -m Crypto.SelfTest
pip install requests
pip install websocket_client
Run get_token.py --ip XXX.XXX.XXX.XXX --port 8080 in the directory of the RepO where it was located```

For turning the TV on, I'm using Broadlink. I'm planning to make an automation which links the power on request in the media player to the switch I created with Broadlink. In this way, I'm able to have full control over the TV.

@EPMatt
Copy link

EPMatt commented Dec 26, 2020

Hi @Jens-Wymeersch,

sorry for my late response. Thank you very much for reporting your progress here!
While we were trying to make our devices work, your hints about the procedure you used to retrieve the token pointed us in the right direction. Unfortunately, I didn't manage to retrieve the token since my TV doesn't support the remote control feature.

By the way, I'm happy you can control your TV. :)
For the WOL feature, I don't know if it can be helpful, but a user in the other issue suggested to check https://www.samygo.tv/, a community who works on tweaking Samsung TVs. You could take a look there to see if you can enable missing features by editing the TV's firmware (but be warned that really bad things could happen, and the device could be bricked this way).

Thanks again for your time! Wish you happy holidays. :)

@Jens-Wymeersch
Copy link
Author

Jens-Wymeersch commented Dec 26, 2020

@EPMatt The last results are the following

  1. The CC is very unstable. I need to do additional tests. Because at some point it only allows to change the volume.
  2. WOL won't be possible as this means that the TV itself needs to be able to stay on (setting within the TV - which isn't the case)
  3. So basically, I'm planning to use only the state of the standard component and the rest use Broadlink. In the end the result will be the same...

@Jens-Wymeersch
Copy link
Author

@sermayoral Sergio, the only part of the CC that works for me is sliding the volume and the status. The rest isn't working for me. Can you please help me figure this out ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants