ESP8266 TV Remote for Homekit




Hi, in this instructable, i want to show my latest project.

ESP8266-03 TV remote board.

Can control with Homekit, or any TCP socket client.

Powered from 5V with micro USB connector.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Step 1: the PCB and the Circuit.

The circuit is very simple.

A basic voltage regulator circuit powering the ESP8266-03.

There is only 1 pinout used for the ir led control (GPIO13).

Used a XC6206 voltage regulator, maybe you can use AMS1117 or same with higher output current.

The SMD IR led have surprisingly good range.

Circuit printed to special PCB paper. (better than regular copy papers)

Step 2: Step 2: ESP8266 Code


For the ESP programming, im used Arduino IDE with sparkfun ESP8266 library.

ESP ir library found on github:

In the code, you need to add your net ssid and password on the proper place (see in the pic)

And need to change the ir value too for your tv type.

In this tutorial im not show again how to get you tv remote ir codes, here is my old tutorial link for that (from 3:13):


There is a previous homekit tutorail too, so im not repeat myself, there is the link:

Im created a new accessory for the tv remote (just copy of a light accessory) and added reference to call the file. This file control the tv. (see the pic).

There is the link for the files (homekit accessory js, homekit py, ESP arduino code):

Upload the .ino file to your ESP with arduino IDE

Copy the .py file to the homekit HAP-NodeJS folder

Copy the .js file to the homekit HAP/NodeJS/accessoires folder.

Don't forget to change the ESP ip address in the python file.

Check the youtube video for testing.

Thanks: Imre

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    5 Discussions


    2 years ago

    Why do you need the Raspberry Pi? Can't you just implement a HomeKit Server on the ESP8266 directly?

    2 replies

    Reply 1 year ago

    I presume you already found your answer, but in case you didnt, the answer is "NO".


    2 years ago

    This is awesome- thanks for sharing. Do you have a parts list for the build? Where can I get the PCB etching file?