Error interacting with Samsung TV

Samsung PDP51 (PN51F8500) is discover and shows correct power state.
However when I try to interact with it (e.g. power off) I get the below error. With other controls, volumn, play or pause nothing seem to happen

2019-05-10 22:31:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140089055551616]
Traceback (most recent call last):
File “/usr/src/app/homeassistant/components/websocket_api/commands.py”, line 121, in handle_call_service
connection.context(msg))
File “/usr/src/app/homeassistant/core.py”, line 1141, in async_call
self._execute_service(handler, service_call))
File “/usr/src/app/homeassistant/core.py”, line 1163, in _execute_service
await handler.func(service_call)
File “/usr/src/app/homeassistant/helpers/entity_component.py”, line 194, in handle_service
required_features
File “/usr/src/app/homeassistant/helpers/service.py”, line 316, in entity_service_call
future.result() # pop exception if have
File “/usr/src/app/homeassistant/helpers/service.py”, line 337, in _handle_service_platform_call
await getattr(entity, func)(**data)
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/samsungtv/media_player.py”, line 207, in turn_off
self.get_remote().close()
File “/usr/src/app/homeassistant/components/samsungtv/media_player.py”, line 131, in get_remote
self._remote = self._remote_class(self._config)
File “/usr/local/lib/python3.7/site-packages/samsungctl/remote.py”, line 9, in init
self.remote = RemoteLegacy(config)
File “/usr/local/lib/python3.7/site-packages/samsungctl/remote_legacy.py”, line 32, in init
self._read_response(True)
File “/usr/local/lib/python3.7/site-packages/samsungctl/remote_legacy.py”, line 83, in _read_response
raise exceptions.AccessDenied()
samsungctl.exceptions.AccessDenied

Home Assistant version 93 in docker container

Hello,

Did you receieve any help with resolving your error?

I have a simlar error message which I believe is related to my Samsung TV. The error message reads as follows:

2019-08-09 18:07:04 WARNING (zeroconf-ServiceBrowser__axis-video._tcp.local.) [zeroconf] Exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/zeroconf.py", line 2245, in send
    bytes_sent = s.sendto(packet, 0, (addr, port))
PermissionError: [Errno 1] Operation not permitted
2019-08-09 18:24:56 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 500, in uvloop.loop.SSLProtocol._on_handshake_complete
  File "uvloop/sslproto.pyx", line 484, in uvloop.loop.SSLProtocol._do_handshake
  File "/usr/local/lib/python3.7/ssl.py", line 774, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)

My config.yaml file reads as follows:

# Samsung UA55MU6100
media_player:
  - platform: samsungtv
    host: 192.168.20.X
    port: 8001
    mac: "9C:8C:6E:XX:XX:XX"

Any help with this error message would be greatly appreciated! :slight_smile: