-
Notifications
You must be signed in to change notification settings - Fork 24
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
SamsungTV Encrypted Adventures #9
Comments
Hi, I also found other alternative way to do it. In my case, I have a SetupBox from Vodafone (my TV provider) and from the TV I can control the setupbox. In that box, the Netflix is always in the same position, so I only need to call the app menu (sending the KEY_CYAN), then KEY_RIGHT and KEY_ENTER. Done, and Netflix is running. So, on both ways I can build an automation to call Netflix using the Alexa voice command. Cool! |
Oh, great!! I am in the first scenario, and i use Netflix and Youtube, so i can't suppose what app is the last chosen. But it is a first step... :-) |
I can confirm the custom component working for the UE55HU7100(s). Only thing was to get the get_token.py to run.. but that was my incapability with python 😂 |
@rosiaantje thanks for your feedback. I have updated working models including yours. I have on the to-do list improve the get_token.py, but at the moment it is something with less priority. I'm still thinking how to do it :-) |
@sermayoral Wow that would be nice! If you need any help. From the field of dummy testing / dummy proofing. I would be glad to help and test! I’m a field engineer by trade so used to technics and some degree of programming.. only not jet that farmiliar with python although I would love to learn more. Any way enough about that! Keep up the good work! Love what you are doing! |
Hi @rosiaantje! Can please describe the steps how you managed to get get_token.py to run? I'm trying on a Windows 10 pc with no success so far :| |
@Boboman1 . I run on Mac.. but should not matter. I installed python 3 (clean install) due to some residue of a previous install I had problems with updating pip. So had to manually uninstall pip and then manually run new version install.. after that I installed pycryptrodome and an other depending packet and was able to run it! Ps check closed issue #5 that is where I found the hurdles I had to overcome on dependicys |
I own a J5500, i successfuly managed to get the token and the session id. However, i can use the vol up/down and mute buttons, they work fine, but the slider is throwing 'NoneType' object is not subscriptable, also i cannot turn the tv off with the button. The state is properly detected. |
@aleksandrov1995 we are working on this problem in #10 |
not sure if it's documented somewhere, but one thing I noticed on my JU7000 is that if the TV loses power, all the sessions / tokens are invalidated (and i also think they expire eventually after a while - days, weeks, don't know exactly - even if the tv stays in standby) |
@andrei4002 I have not had this problem, but it is possible. Well, we should indicate this in README. Thanks |
Specify the possibility of TOKEN expiring in some TV models (#9)
I have a UA40H5500 TV and your component is working great! I am wondering if there is a way to force refresh of the TV information or set a refresh interval? |
Is there any way to add an apps list similar to the sources list? Allow the selection of Netflix, Youtube and other apps loaded on the TV. |
No, these models don't let to select app :-( |
I know you can use a URL to launch the app, is it possible to add this in some way? I have test the api URL and it works on the H5500 |
@tonyp740613 I'm a little busy these days, but when i have free time i will search for this :-) BTW, PRs are welcome :-) |
Hu8500 works great. Extracted the token. |
any hints on how a token/session id can be validated if they work? (trying to do some automation to at least notify me when my token expired) also, an interesting issue i'm seeing is some request automatically being done to the TV every few seconds, and they act as if the tv is being sent the "back" command - meaning if you're in a tv menu using your remote, you get pushed back one level every few seconds |
@andrei4002 maybe you can capture a log message in order to know the token is invalid. Fortunately for me my token does not expire, so I cannot test this :-(
Same as #4 |
@sermayoral Got your plugin installed and grabbed the token from my PC. I can confirm, that I'm now able to control a UE55JU6850 partially. I'll need to modify my settings a little still. this was the first test after installation. Whats working is currently the volume up/down, mute, timeshift/pause. Not working as of first test is: there's no Source selection and the power off is not working. Shall I open another troubleshooting thread on this model? Great work! |
@rschoell for powering off try adding the key_power_off variable with value "KEY_POWER". More info in https://github.com/sermayoral/ha-samsungtv-encrypted#custom-variables For source selection you have to put the component logs in debug and we have to see what is your problem. Please for this use #10, all the info about it is there |
Ola Memphis, Would u mind sharing your configs? |
Works well on H4500. But does not play play TTS audio. Prints error:
|
Since Samsung is being discovered inside HomeAssistant core, we are getting a lot of issues with TVs not working until a custom component is installed. I have just done a huge cleanup for the "websocket" TVs, and now I think it would be good to add support for the "encrypted" TVs (at least basic support - I am leaving upnp out for now) Are there users out there that would be willing to work with me to test it? |
@epenet these are great news. Of course, i can help you |
Please use this thread to share your experiences with this custom component, tests, etc. The goal of this thread is to avoid saturating threads of specific issues. This thread will remain open
The text was updated successfully, but these errors were encountered: