I checked the samsung tv I have and it is smart. It’s in my wife’s work room so I don’t normally use it, I just set it up. I can control netflix as set up. I use this custom integration to communicate with the tv. As it is connected via wifi to my network I had to use the method documented in my post above to turn the TV on and off transimitting the IR signal.
It’s not connected to cable tv, we use mythtv to record anything we watch from cable and so the remote set up doesn’t have any channel controls. Below is picture of the remote I’ve set up for it. It’s nothing fancy but works. The 9 square icon gives access to the applications menu.
This is created via the following lovelace card:
type: custom:stack-in-card
title: TV Controls
mode: vertical
cards:
- type: custom:tv-card
entity: media_player.backbed_samsung
tv: true
enable_button_feedback: false
media_control_row:
- samsung_power
- mythtv
- music
- select_app
- tv
channel_row:
- return
- info
navigation_row: buttons
volume_row: buttons
custom_keys:
samsung_power:
icon: mdi:power
service: shell_command.wake_samsung_tv
tv:
icon: mdi:television-classic
service: media_player.play_media
service_data:
media_content_id: KEY_SOURCE+KEY_LEFT+KEY_LEFT+KEY_LEFT+KEY_ENTER
media_content_type: send_key
entity_id: media_player.backbed_samsung
mythtv:
icon: mdi:television-play
service: media_player.play_media
service_data:
media_content_id: KEY_SOURCE+KEY_LEFT+KEY_LEFT+KEY_LEFT+KEY_RIGHT+KEY_ENTER
media_content_type: send_key
entity_id: media_player.backbed_samsung
music:
icon: mdi:music
service: media_player.play_media
service_data:
media_content_id: KEY_SOURCE+KEY_LEFT+KEY_LEFT+KEY_LEFT+KEY_RIGHT+KEY_RIGHT+KEY_ENTER
media_content_type: send_key
entity_id: media_player.backbed_samsung
select_app:
icon: mdi:apps
service: media_player.play_media
service_data:
media_content_id: KEY_HOME
media_content_type: send_key
entity_id: media_player.backbed_samsung
The shell command wake_samsung_tv contains:
#!/bin/bash
ssh -i /config/.ssh/id_rsa -o StrictHostKeyChecking=no [email protected] ./ir-wake-samsung
Then on the pi that sends the wake ir signal the script ir-wake-samsung has the following
#!/bin/bash
ir-ctl -d /dev/lirc1 --send=samsung_power1.key
This link speaks more to the IR setup. IR was only required to wake the tv because WOL didn’t work with WiFi when the TV was off.