Use Google Home to change the channel on your Samsung Smart TV without using Logitech Harmony

The purpose of this project is to change the channel on TV using only the human voice. Google Home is a good candiate for this, but you can also use Alexa. Sadly, these devices are not enough for this job and you will need a second one, a Logitech Harmony let’s say. If you don’t want to spend 100$ on a Harmony Hub device, this project is for you.

Now, let’s suppose we are able to interpret the voice and transform it into a command. The only thing left to do is to send that command to the TV. There are 2 options.

  1. Use an IR sensor connected to a Raspberry Pi (or a similar device). This device will act like your TV remote.
  2. Use the API provided by your Smart TV (if it has one).

This project use the second option and it is working with Samsung Smart TVs. In the future we may update it with an IR sensor to work with all TVs, but, if you have a non-Samsung Smart TV, the only thing that you need to change on this project is some Python code (according with the API of your TV).

What do you need?

  1. A Google Home / Amazon Alexa device.
  2. An IFTTT account. It’s free.
  3. A DeviceHub account. It’s free.
  4. A PC that will run a Python code. We used a Raspberry Pi.

Google Home will understand your command and will use IFTTT to sent it to DeviceHub. Your PC will be connected to DeviceHub and will receive the command, transform it to something the TV will understand and send it. The only requirement is that the PC and the TV should be connected to the same network. For more details check this GitHub repository.

Fell free to contribute on this project there. 🙂

UPDATE: A new version of this project can be found here.

Power off your Plex Server using any Plex Client

One Comments

Leave a Reply