Google Home

How to turn On/Off TV or Air Conditioner via Google Home

It is very easy to control TVs, Air conditioners or any device that supports infrared communication with Google Home using IRDevKit. In this tutorial we will learn how to control home applicances with On and Off requests using Google Home.

Step 1

You must learn your remote's On and Off buttons. Here is the learning example code to do that.

Step 2

Once you have learned On and Off button IR codes, you are ready to transmit it back. Here is the learning example code to do that.

Step 3

Now you are ready to integrate with Google Home. You already know how to emit the On and Off buttons in previous steps. Now you need to integrate the Turn on and Turn Off Google Home voice commands. To do that you have to connect your board to Sinric

Step 4

Signup for Sinric account. Connect your ESP to Sinric platform. (Detail instructions are on Sinric home page)

Complete Code

You can find the complete Google Home integration here