Samsung TV component not working correctly

The samsungtv component is not working correctly in my case. It doesn’t detect when its turned off. It takes more than 20 minutes before it is detecting it is turned off. It does detect when its “on”. I have a Samsung UE55F7000

I want to automate the following:

  • if tv turned off and sun is below horizon and after 23:00
  • then turn all lights off and turn thermostate to sleep programm

I like to have the tv as the trigger because I have the remote very close to me (of course). But that should only be convenient when it is almost instantly detecting the tv is turned off.

ANy help would be appriciated.

Same thing here but even worse. After installing the code @ the configuration file. HA stops working.
No clue what is do wrong.

Could someone help us?`

Samsung TV

media_player:
platform: samsungtv
host: 10.0.1.16
name: Tv

I believe Samsung shuts down the network connection when its not on with some sets. I have a 7100 and i believe this is the case. Check your router for confirmation. My work around is that you can power on the tv with HDMI-CEC device. Samsung brands it as AnyNet+. I was messing with my directv box to do this which I am able to send a power on command and it wakes up/turns on the tv. I believe chromecast has it as well. Although I run into problems with my directv genie clients that are powered off and no way to turn on via genie itself. You can also change the polling I think to get the turn off state.

1 Like

Just in case: the formatting of your entry here is wrong… there has to be some spaces as the first char on those subsuquent lines… or is this just a problem with the forum post? Just in case! :slight_smile:

1 Like

Probably more helpful to give an example: :slight_smile:

# SAMSUNG TV
media_player Bedroom Samsung:
  platform: samsungtv
  host: 10.1.1.238
  name: 'Bedroom Samsung'

Also - the term “media_player” can only be used once - that’s why I have ‘media_player Bedroom Samsung’

1 Like

That was wrong. I used Media_player two times. So now its working.

Thanks for your help! its working now.

I have tried the Samsung TV component with a KS8500 model (2016) tv. It seems to do absolutely nothing for me.
Any ideas why? If it’s not compatible then maybe it should be noted on the Samsung TV component page.