Changing Samsung TV Source with PHP

At the core of this functionality is a PHP script I wrote. You can download it here. The zip file contains HDMI1 and HDMI2.

You must change the IP address at the very top of each script. Most importantly $tvip. You can find that in the Network Status section of the Samsung settings. You will also need to add the MAC address of the machine running your PHP script in the variable $mymac.

You will need to Allow this script permission to control your TV. A little prompt will appear on the tv.

Download (4KB)


Published June 20, 2016 & Filed in Scripts & Stuff


October 22, 2017