Samsung TV

From Domoticz
Jump to: navigation, search

Samsung TV

Unfortunately there is currently no other way than scripting and using virtual sensors to add a Samsung TV to Domoticz. Luckily there are several ways to poll & control a Samsung TV To set up virtual devices see Virtual Weather Devices or Denon AV

  • CEC
  • IR
  • Network

CEC

See CEC section

IR

You can do everything (and more) with the Network, no need for flacky IR signals. Still you can use an IR device to send the same codes. Lirc is an option or any other 433Mhz or Zwave device capable of sending codes, but I stopped using remotes a long time ago. The only remote currently in use is the one from the TV itself which controls through CEC the volume and Kodi. So here is room to add your IR knowledge, enlighten us ;)

Network

To use the network capabilities of the Samsung TV, we are going to use command line interface to talk to (not with) the TV. Works only with series C, D, E and F.

Download Command Line

The command line interface can be downloaded (precompiled for osx and the raspberry pi (arm) from https://github.com/Tristan79/iSamsungTV

Features

  • Message Popup Capability
  • Remote Control
  • Youtube Search (? don't think we need it, but ok :-)

What it can't do

  • Read the current TV source
  • Read the current Volume
  • Get the TV out of Stand-by

The Series C and D (and E ??? onwards???) do not have wake-on-lan so you have to use a power switch, IR transmittor or CEC get it out of standby. Either turn the power completly off, power it on with a (z-wave, 433) power switch, and select the right input with script or use CEC (PulseEight Adapter or internal in the Pi) or an IR device. There is no other way except pushing the buttons on the remote or on the television itself.

Domotics Usage

Just place the popup.sh script and the compiled command line interface in your scripts folder. Create a virtual light switch sensor and use the "on action", "off action" or other actions to call the script with the correct parameters.

Links