Samsung Smart TV - No control?

Hi

I’ve installed @roberodin 's component and I have 2 questions:

  1. Do I only get a remote entity? I was expecting a media.player.samsung_tv or something?
  2. What card do people use in Lovelace UI? Anyone willing to share config/picture?

I have a QLED Q6

Thanks in advance :slightly_smiling_face:

Hey @xchwarze, I’m having some trouble with the custom Samsung components. I’m currently using yours but I feel like I’ve tried them all, same result. I’ve got 2 Samsungs in my house but they both setup up just fine and behave On port 8002. But, when I turn them off and HA restarts, they disappear. Entities become unavailable. I’ve just tried updating the ping method with no change.

One is Wi-Fi, one is Ethernet. Same result. Wi-Fi is still active on my network when it’s off so it doesn’t appear to be a network sleep issue.

Running 0.106, also happened on 105.5

Really hoping you might have some insite :slight_smile:

Thank you,

Linton

Hi!
I running 0.106.2 and setup the tv in config.yml and all work fine

Thanks @xchwarze, they are micalously surviving a reboot now, no idea why :stuck_out_tongue:

I do Sometimes have some trouble with on/off or heavy delays to do so.

I get a lot of task exceptions like this at boot:

Log Details (ERROR)
Logger: homeassistant.core 
First occured: 12:19:32 AM (2 occurences) 
Last logged: 12:20:42 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 434, in _async_add_entity
    await entity.async_update_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 314, in _async_write_ha_state
    attr = self.capability_attributes
  File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 774, in capability_attributes
    source_list = self.source_list
  File "/config/custom_components/samsungtv_custom/media_player.py", line 316, in source_list
    self._gen_installed_app_list()
  File "/config/custom_components/samsungtv_custom/media_player.py", line 224, in _gen_installed_app_list
    app_list = self._remote.app_list()
  File "/usr/local/lib/python3.7/site-packages/samsungtvws/remote.py", line 190, in app_list
    'to': 'host'
  File "/usr/local/lib/python3.7/site-packages/samsungtvws/remote.py", line 99, in _ws_send
    self.open()
  File "/usr/local/lib/python3.7/site-packages/samsungtvws/remote.py", line 117, in open
    sslopt=sslopt
  File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 514, in create_connection
    websock.connect(url, **options)
  File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 223, in connect
    options.pop('socket', None))
  File "/usr/local/lib/python3.7/site-packages/websocket/_http.py", line 120, in connect
    sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
  File "/usr/local/lib/python3.7/site-packages/websocket/_http.py", line 189, in _open_socket
    raise error
  File "/usr/local/lib/python3.7/site-packages/websocket/_http.py", line 172, in _open_socket
    sock.connect(address)
OSError: [Errno 113] Host is unreachable

Any idea what this? I’ll try and capture the next exception logs that appear when trying to do things

Thank you very much

Linton

Yes I have A LOT of those errors too…

Hi xchwarze,

  1. Does your Samsung custom component work with pre 2016 models?
  2. Have you for implemented the “key_press” functionality for all the remote buttons?

The custom component I used stopped working recently after upgrading to the most recent HA version. I have now switched to the standard version, but find that the functions are too limited. Have you for instance implemented the “key_press” functionality for all the remote buttons? This service is not available in the standard version.

@xchwarze
Thanks for all your contributions. I tried my (European) MU7003 with the official component that’s now based on your lib, but it’s not supported. Any idea what’s needed to make it work?

Thanks!

OK, that ended up being a bug in the component, and was fixed in a minor version.

I have used this successfully for a few years, but the standard SamsungTV component was recently updated, and this key service no longer works for some reason. Have you found a solution for this by any change? All my SamsungTV scripts use this “key” service! It is brilliant.

Just found this on HACS, I’ve tried lots but this is the only one that has worked for me for 2 TVs:

I haven’t. I can’t remember what drove me over the edge but I ended up buying a harmony hub back in 2018. I saw the recent update to the samsung tv component and attempted to use it to integrate my tv directly, but still no luck with my particular model.

The standard Samsungtv component works for a limited set of commands in my setup. But I would like to use “send_key”, but for some reason this is not added as a service and therefore generates an error. I do not know enough how to add that service myself. Do you know how by any chance?

hello every one
i have a samsung tv UA50MU6100 connected to ha without any custom components.
first of all ,my tv worked only after updated my ha version to latest.
So, now the problem are

  1. I cannot switch on my tv with HA but i can turn it off
  2. My tv status in lovelace card is unavaible some times and comes again
  3. Source list shows me only “TV,HDMI” only
  4. Text to speak doesnt work

so now how can i make

  1. tv stable
  2. edit source list and add youtube,netflex,prime etc
  3. Text to speak work

and sorry i forgot the existing ones like volume,mute works fine
thank you

3 Likes

Yeah, same here. While earlier versions of jaruba have worked the same TV. His versions stopped working two months ago. This version does seem to work, however the setup is completely different.

I have an NU8000, and while the integration works now in showing me the state on/off. It does not show if it’s streaming or anything is playing…

This is a very handy aspect for me, does anyone know of a custom component that shows when you start to play something from Netflix or YouTube for example?

I have this same issue. TV and HDMI only, where i used to have full control for all the sources. it worked magically. then i updated to 0.108.3 (last i saw it working was a really long time ago)

hey
i solved my issue with custom component installed via HACS
search for SamsungTV Tizen in hacs or installed it via manual method your problem will be solved

I just installed this via HACS but when I set this up via the GUI it freezes home assistant until I manually restart the docker and then it never completes. Does anyone else have that issue?

Is there some explanation why I should choose this xchwarze version of SamungTv or why I should choose for the version of Jaruba or Ollo96 or roberodin version?

3 Likes

hi guys, I have a QE55Q7FNA that I can’t integrate, until a few days ago SAMSUNG TIZEN worked, but now it doesn’t work. which one could I use for my TV?