roberodin/ha-samsungtv-custom

TV status allways OFF

Opened this issue · 18 comments

Same problem as before with other components.

TV status allways show that TV is OFF.

My code:

  - platform: samsungtv_custom
    host: 192.168.3.61
    name: HDTV KSLB

  - platform: samsungtv_custom
    host: 192.168.3.62
    name: HDTV Spodaj

Also, I tried with adding MAC, but still the same..

Hi,
I'm having the same issue with my ue55mu6500 Samsung TV

My 2 TVs:
UE43MU6172U
UE40H6200AK

Maybe is there some websocket problem but I do not know how to fix it..
Using RP4 and lastest HA version..

Same issue with my NU8000.

Same problem with js8500.

Same issue with QE49Q6F2018

same for GQ55Q7FN.

Same here with an UM43MU6179.

- platform: samsungtv_custom
  host: 192.168.178.XX
  port: 8001 (optional)
  mac: 28:39:5E:XX:XX:XX (optional)

The only thing working is "power on" via WOL when the MAC-Address is configured.
Same behaviour as the original component.

Home Assistant 0.100.2 on Docker.

@ pitoganzado
Which port are you using?

@ pitoganzado
Which port are you using?

  • platform: samsungtv_custom
    host: xxx.xxx.xxx.xxx
    sourcelist: '{"PlayStation": "KEY_HDMI1", "RaspberryPi": "KEY_HDMI2", "Chromecast": "KEY_HDMI3"}'
    port: 8001
    mac: xx:xx:xx:xx:xx

Port 8000 gives me proper on/off states using the official integration with that model. I use a rmmini
WiFi/IR. I haven’t had a chance to test this custom integration. Does it work well outside of the always off state issue?

Hi, I have uploaded the latest version 2.0. Try changing the protocol to "ws" for 2016+ TVs model! (maybe all tizen family)...

  • platform: samsungtv_custom
    host: xxx.xxx.xxx.xxx
    sourcelist: '{"PlayStation": "KEY_HDMI1", "RaspberryPi": "KEY_HDMI2", "Chromecast": "KEY_HDMI3"}'
    port: (8001 or 8002)
    mac: xx:xx:xx:xx:xx
    protocol: ws

@roberodin Does not work even with protocol: ws. I tried with both ports on my NU8000.

Same for me, using UE55NU7096. Never get any notice on tv to allow connection on tv, but when running"http://192.168.1.218:8001/api/v2/" it pops up.

Update to version 3.0.0 and try the new protocols:
-ws (fixed from @xchwarze)
-ctl_beta
-ctl_qled

Worked fine for me after some quick tests (ws, port 8002). Will test more later today. Thanks!

The following config mostly worked for me:

  - platform: samsungtv_custom
    host: 192.168.2.252
    protocol: ws
    port: 8002
    mac: !secret samsung_tv_mac

I was able to add the TV (UN75NU8000) to HA. I am able to turn the TV on/off. However, there is one bug. After I turn off the TV, the status turns back to on in HA after about a minute or so.

This is all I have in the logs

2019-10-18 08:50:55 INFO (SyncWorker_23) [custom_components.samsungtv_custom.media_player] Samsung TV 192.168.2.252:8002 added as 'Samsung TV Remote'
2019-10-18 08:52:06 INFO (SyncWorker_9) [custom_components.samsungtv_custom.media_player] TV is powering off, not sending command: KEY
2019-10-18 08:52:20 INFO (SyncWorker_10) [custom_components.samsungtv_custom.media_player] TV is powering off, not sending command: KEY
2019-10-18 08:57:05 INFO (SyncWorker_16) [custom_components.samsungtv_custom.media_player] TV is powering off, not sending command: KEY
2019-10-18 08:57:16 INFO (SyncWorker_36) [custom_components.samsungtv_custom.media_player] TV is powering off, not sending command: KEY
2019-10-18 08:58:00 INFO (SyncWorker_22) [custom_components.samsungtv_custom.media_player] TV is powering off, not sending command: KEY
2019-10-18 08:58:11 INFO (SyncWorker_25) [custom_components.samsungtv_custom.media_player] TV is powering off, not sending command: KEY

When I turn the TV off from HA the second time, it stays `off.

Also, the TV keeps randomly turning on even after I turn it off from the remote.

Anybody got this working on 2015 series?

Doesn't work on ue40h6200. How can I help you with debug it?