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.
You must learn your remote's On and Off buttons. Here is the learning example code to do that.
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.
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
Signup for Sinric account. Connect your ESP to Sinric platform. (Detail instructions are on Sinric home page)
You can find the complete Google Home integration here