Skip to content

TV Volume Control

jsiegenthaler edited this page Nov 30, 2022 · 3 revisions

A collection of scripts to control your TV Volume and Mute functions, using the Apple TV Remote capability of your iDevice. Replace the IP address shown in the examples below with the IP address of your TV.

If you have any examples you would like to share, please create a feature request.

Samsung TVs using samsungctl

Uses samsungctl, a library and a command line tool for remote controlling Samsung televisions via a TCP/IP connection. It currently supports both pre-2016 TVs as well most of the modern Tizen-OS TVs with Ethernet or Wi-Fi connectivity. See the Key Codes wiki page for a list of common key codes for Samsung TVs.

Volume Up

samsungctl --host 192.168.0.151 --name HomeKit --timeout 0.2 KEY_VOLUP

Volume Down

samsungctl --host 192.168.0.151 --name HomeKit --timeout 0.2 KEY_VOLDOWN

Mute

samsungctl --host 192.168.0.151 --name HomeKit --timeout 0.2 KEY_MUTE

Clone this wiki locally