Home Assistant release (hass --version):
0.50.2
Python release (python3 --version):
Python 3.5.2
Component/platform:
Linux ubuntu
Description of problem:
1ste step is not working:
"When the TV is first connected, you will need to accept Home Assistant on the TV to allow communication."
Home assistant don't pop up in the communication list of my TV
My openhab works without a issue
Expected:
To use the HA gui to control my tv
**Problem-relevant configuration.yaml
media_player:
- platform: samsungtv
host: 10.10.10.8
mac: 90:F1:AA:6F:E2:08
port: 8001
Openhab works without an issue I do get to peer openhab with my TV (allow controll)
there are quite some more people the same issue
https://community.home-assistant.io/t/ha-samsung-tv-ue40h6400-doesnt-work/10636
Traceback (if applicable):
Additional info:
nmap port 8001 is open on TCP and UDP
Starting Nmap 7.01 ( https://nmap.org ) at 2017-08-08 10:04 CEST
Nmap scan report for TV (10.10.10.8)
Host is up (0.0036s latency).
Not shown: 993 closed ports
PORT STATE SERVICE
6000/tcp filtered X11
7676/tcp open imqbrokerd
8000/tcp open http-alt
8001/tcp open vcom-tunnel
8080/tcp open http-proxy
8443/tcp open https-alt
9090/tcp open zeus-admin
sudo nmap -sU -p8001 10.10.10.8
Starting Nmap 7.01 ( https://nmap.org ) at 2017-08-08 10:05 CEST
Nmap scan report for TV (10.10.10.8)
Host is up (0.00023s latency).
PORT STATE SERVICE
8001/udp open|filtered vcom-tunnel
MAC Address: 90:F1:AA:6F:E2:08 (Samsung Electronics)
websocket is installed.
(homeassistant) homeassistant@Rdam:~/.homeassistant$ pip3 show websocket-client
Name: websocket-client
Version: 0.44.0
Summary: WebSocket client for python. hybi13 is supported.
Home-page: https://github.com/websocket-client/websocket-client.git
Author: liris
Author-email: [email protected]
License: LGPL
Location: /srv/homeassistant/lib/python3.5/site-packages
Requires: six
As you can see in the docs not all models/types of TVs are supported.
You could try switching to using cec-client (https://home-assistant.io/components/hdmi_cec/) but TBH that has it's own issues too. HA support for Samsung TVs seems rather shaky, the worst problem being it sometimes works, sometimes doesn't for me. So no idea where to troubleshoot.
BTW, I have tried https://github.com/Ape/samsungctl and it works fine
@fabaff
True the hu7500 is not in the documentation that it works.
@timdonovanuk
I don't have an HDMI connection from home assistant
Samsungctl got the same issue and it don't appear in my TV menu to allow the communication.
Thanks for the replays.
My samsung (2016 model) never actually asked either, I found in the menu screens that requiring permissions was set to off. Weird it doesn't work. If anyone else finds themselves looking at this, this is how I managed to get HA switch off and on my TV:
switch:
- platform: command_line
switches:
tv:
command_on: 'wakeonlan C1:22:24:12:4D:EA'
command_off: 'sudo python3 -m samsungctl --host 192.168.1.100 --port 8001 KEY_POWER --method websocket'
command_state: 'nc -z -w 1 192.168.1.100 8001'
I've managed to get my TV working (none of the commands above worked at all) just in a Python console though, but I had to add extra commands ...
samsungctl --host 192.168.1.130 --port 8001 KEY_POWER --method websocket --name "home-assista
nt" --id 1234567890 --timeout 30 -v
No idea how to check what home assistant is doing and if these extra commands are being sent or not?
--EDIT
Although, now nothing is working again!?
Smadgerano,
Are you sure you have an:
samsung TV type -> hu7500
Thanks Gerrit
2017-10-29 0:03 GMT+02:00 smadgerano notifications@github.com:
I've managed to get my TV working (none of the commands above worked at
all) just in a Python console though, but I had to add extra commands ...samsungctl --host 192.168.1.130 --port 8001 KEY_POWER --method websocket
--name "home-assista nt" --id 1234567890 --timeout 30 -vNo idea how to check what home assistant is doing and if these extra
commands are being sent or not?—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/8888#issuecomment-340222815,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQg1qiXX6einF5wyseGQZCUGjaaNMTxiks5sw6TCgaJpZM4OwZBJ
.