I have a Samsung TV H6400 that I cannot get it to work. This model use encryption, so the default samsungtv.py component does not work.
By default, it is recognized but I can’t control anything. I would like to make it work, so i have tested several custom components, and there is one that works a little: Control newer Samsung TVs
I can control volume up, down, volume level and mute. The most important things for me to control are ‘poweron’ and ‘poweroff’.
Has someone managed to make a samsung 2014 H series work?
I didn’t succeed in controlling my H-series TV through HA but I did get it to work through a python script.
It was a bit tricky pairing it but eventually it did seem to work.
However I don’t have much python knowledge to write my own script to integrate it with HA, but if there are any programmers out here willing to do the hard work
I got it working (python only) starting of this example:
Small update: I’ve started the custom_component myself!
I can control my H-series samsung tv through home assistant!
However turning the tv on or off isn’t working, I’m trying to solve this in the next couple of days.
When I’ve made some further progress i will post my code so any decent developer can improve my code
I gave up trying to get mine to work, been having issues a long time with my 2018 TV, even with Smartthings.
I just made an IR transmitter from an NodeMCU and an IR LED on a long lead stuck to the TV’s receiver (the type you get with an IR extender box) under my TV using ESPHome in Hassio, works from HA everytime. No instant power status, but I use ping binary sensor and have that set to update every 5s.
I know there’s some very talented people working on this at the moment, so haven’t quite given up yet…
platform: samsunghseries
name: Name for your TV
host: IP address of television
ctx: “CTX code generated when paring”
session_id: Session ID generated during paring
mac: television mac
See the instructions below on how to get CTX and Session ID:
Once turned on I am able to control my H-series, however turning on (magic packet) doesn’t seem to work.
I’m looking for a way to control my H6400 as most as possible.
i saw the smartview2 handshake API fromeclair4151 on github but i can’t run it.
maybe i’m doing something wrong, i don’t have a lot of python knowledge.
i have download all the files from the github,
change my ip adress in “smartcrypto.py”
and then i run “smartcrypto.py” but everytime i get this error in my commandline:
C:\Users\d.bos\Desktop\SmartCrypto-master\PySmartCrypto>smartcrypto.py
Traceback (most recent call last):
File "C:\Users\d.bos\Desktop\SmartCrypto-master\PySmartCrypto\smartcrypto.py", line 2, in <module>
import crypto
File "C:\Users\d.bos\Desktop\SmartCrypto-master\PySmartCrypto\crypto.py", line 2, in <module>
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
hopefully someone can help me. i would love to control my tv instead of buying a new one.
This integration supports all the samsung protocol except de encryption one. But there are lots of implementation that solves the encryption method, like https://github.com/eclair4151/SmartCrypto
It seems it includes de python tool. I also have a 2014 tv that is detected by HA’s samsungtv component but can’t control anything. Will give this a shot
p.s. tested and it works. You have to pair the tv and get the token & sessionid as explained in github. One limitation of 2014 TVs: they can’t be turned on via the network. Turning off does work though. There is an issue with TV state detection but surely it will get fixed.