power_on_and_hdm2.lua (example)
: The software can trigger the hidden "Extended Service Menu," allowing users to unlock options that are grayed out or invisible in the standard user interface.
alias: "Включить TV перед фильмом" trigger: - platform: state entity_id: sensor.movie_time to: "on" action: - service: media_player.turn_on target: entity_id: media_player.гостиная_tv - service: media_player.select_source data: source: "HDMI 2" target: entity_id: media_player.гостиная_tv rusamsungtvcommunicator
If it doesn’t work for your TV, try SamsungTVCompanion (more active development) or just use the SmartThings app (official but slower).
-- Power on tv:sendKey("POWER") sleep(2000) -- Switch to HDMI2 tv:sendKey("HDMI_2") sleep(500) -- Set volume to 15 for i=1,15 do tv:sendKey("VOL_UP") end power_on_and_hdm2
: Users often employ it to change the "Local Set" (region) to enable features like PVR (Personal Video Recorder) or local apps that might be restricted in certain markets.
: When the tool first connects, a popup appears on the TV screen. You must select "Allow" to grant the PC remote control permissions. : When the tool first connects, a popup
Best with Samsung E/F/H/J/K series (2012–2016). Works partially on some 2017–2019 models, but many newer Tizen TVs block unauthenticated HTTP commands.