-
Notifications
You must be signed in to change notification settings - Fork 218
Home
Welcome to the ESP8266-HTTP-IR-Blaster wiki!
Here is a step by step guide to flashing and getting the script up and running.
- Download the firmware (a .bin file) from here: https://github.com/esp8266/Basic/tree/master/Flasher/Build/4M
Filename should be ESP8266Basic.cpp.bin
-
Wire the board and your IR Receiver and LED as below
-
Connect your ESP8266 via USB to your computer
-
Determine your COM port by opening device manager after the device has been connected. In this case its COM4, look for the same text in your device manager
-
Extract NodeMCU Flasher and Run
ESP8266Flasher.exe
(found in/Win32/Release
or/Win64/Release
) -
Point to your ESP8266Basic.cpp.bin file
-
Set your baud rate to 9600 and your flash size to 4M
-
Flash (this may take 5-10 minutes). Reboot the device by unplugging and replugging or pressing reset button.
-
Connect to the WiFi network being broadcast by your ESP8266, starts with ESP**
-
Navigate in your browser to
http://192.168.4.1/
-
Paste the code from default.bas on Github into your textbox for default.bas in the browser
-
Click run which should bring you to the following page
-
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
-
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.
-
Execute IR commands using the
http://[IPAddress]/msg?code#
where the#
corresponds to one of the 6 slots you previously saved. -
Add pulse/repeat options as needed (see readme)
-
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