Introduction: 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.
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 tvonoff.py 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.
We have a be nice policy.
Please be positive and constructive.
I was wondering if you would be willing to sell me one.?