Skip to content
Michael Higgins edited this page Dec 9, 2016 · 11 revisions

Welcome to the ESP8266-HTTP-IR-Blaster wiki!

Here is a step by step guide to flashing and getting the script up and running.

  1. Download the firmware (a .bin file) from here: https://github.com/esp8266/Basic/tree/master/Flasher/Build/4M

Filename should be ESP8266Basic.cpp.bin

  1. NodeMCU-flasher software

  2. Wire the board and your IR Receiver and LED as below fwdyrhrittd0ofg

  3. Connect your ESP8266 via USB to your computer

  4. Determine your COM port by opening device manager after the device has been connected. image1 In this case its COM4, look for the same text in your device manager

  5. Extract NodeMCU Flasher and Run ESP8266Flasher.exe (found in /Win32/Release or /Win64/Release)

  6. Point to your ESP8266Basic.cpp.bin file image2 image3

  7. Set your baud rate to 9600 and your flash size to 4M image4

  8. Flash (this may take 5-10 minutes). Reboot the device by unplugging and replugging image5

  9. Connect to the WiFi network being broadcast by your ESP8266, starts with ESP** image7

  10. Navigate in your browser to http://192.168.4.1/ image8

  11. Paste the code from default.bas on Github into your textbox for default.bas in the browser image10

  12. Click run which should bring you to the following page image11

  13. Point your remote at the IR receiver and press whichever button you wish to capture. Name this code and save it to one of the 6 slots image12

  14. Connect you ESP8266 to your wireless router. This will change the IP address of the ESP8266 and you will need to enter a different address in the URL to access it. Your router should be able to display a list of wireless clients to get you this IP address, or you could hardcode it in the settings panel. image9

  15. Execute IR commands using the http://[IPAddress]/msg?code# where the # corresponds to one of the 6 slots you previously saved.

  16. Add pulse/repeat options as needed (see readme)

  17. To set this up with Alexa you will need to forward an external port to this device and make an IFTTT trigger that points to the device ifttt-example

Clone this wiki locally