IR-thropod
IR-thropod is a phone controlled IR-Blaster hosted at an ESP8266, centralizing the control of more than one appliance that had their own individual remote controller. The full code and documentation can also be found on my GitHub page .
This was my first project using Arduino and my first time using HTML/CSS. Some lines of this code are probably useless, but were kept either because I didn't know what I was doing, or because I wanted to leave them in the code for future reference (such as the ones related to the HOSTNAME).
My next steps on this project will be:
- Review my code after I learn more about coding for Arduino and HTML (which I currently started studying in a more systematic manner for this very own website).
- Adding a receiver, to make it easier to reverse-engineer the IR code from future controllers.
- Add a Plex button.
- Make it more aeshtetically pleasing somehow and solder everything in a way that I can still replace the LED in case it burns.
If you are just copying this code, remember to properly fill out the information regarding your own wi-fi on lines 22 and 23:
const char* kSsid = "*****";
const char* kPassword = "*****";
For anyone trying to attempt this, more important than my code are the tutorials I followed to achieve the final results:
- Ravi Singh's How to make a DIY IR Blaster using ESP8266: This is the most important tutorial used on this project. Stil, I was very unhappy with the solution of using http shortcuts to control things, since I wanted friends and guests to be able to use the controller as well.
- ESP32/ESP8266 Web Server: Control Outputs with Momentary Switch, by Random Nerd Tutorials: this short exercise/tutorial helped me grasp the process of creating a button that could be used in place of the links in the screen when accessing the webserver.
- techtutorialsx's ESP8266 HTTP server: Serving HTML, JavaScript and CSS: this tutorial helped me understand better what I was doing with the Arduino code, and finally helped me style it the way I wanted
As I previously mentioned, the full code can be found in my GitHub page .