I am trying to integrate my Samsung TV (model UA65CU7000UXZN UHD) with Home Assistant to control it and launch apps like Netflix. I have followed several methods, including using the SamsungTV Custom
integration and the SmartThings integration, but I am facing issues with executing commands to launch apps.
Steps Taken:
- Installed SamsungTV Custom Integration:
- Installed via HACS (Home Assistant Community Store).
- Configured the integration with the IP address of my TV and a SmartThings personal access token.
- Created a Script to Launch Netflix:
- Added the following script in
scripts.yaml
:
select_netflix_on_samsung_tv:
alias: Select Netflix on Samsung TV
sequence:
- action: media_player.play_media
target:
entity_id: media_player.samsung_tv
data:
media_content_id: "11101200001" # Netflix App ID
media_content_type: "app"
- Added a Picture Card to Lovelace Dashboard:
- Configured a picture card to call the script when tapped:
views:
- title: Media
cards:
- type: grid
cards:
- type: picture
image: /local/netflix.png
tap_action:
action: call-service
service: script.select_netflix_on_samsung_tv
service_data: {}
hold_action:
action: call-service
service: script.select_netflix_on_samsung_tv
service_data: {}
- Tested the Script:
- Manually called the script from Developer Tools > Services, but the TV did not respond as expected.
Issues Encountered:
- The script runs without errors, but the TV does not launch Netflix.
- Checked Home Assistant logs and found no relevant errors.
- Verified the app ID for Netflix (
11101200001
) and confirmed it should be correct for Samsung Tizen TVs.
Additional Information:
- I also tried using the SmartThings integration to send commands, but faced similar issues.
- The TV is correctly integrated and recognized by Home Assistant.
- Other commands like volume control work, but launching apps does not.
Request:
I am seeking help to troubleshoot and resolve this issue. Any guidance on correctly configuring the script or alternative methods to launch apps on my Samsung TV through Home Assistant would be greatly appreciated.
Device Info:
MN : UA65CU7000UXZN
PD : 2/21/2024
FW : T-KSU2ECUABC-2003.0