- ESP 8266 (tested on NodeMCU)
- 4 channel relay board
- Alexa device (tested with original Echo Dot)
- A common Wifi network to connect Echo Device and ESP Module
Note: This project is created using PlatformIO and [VSCode]{https://code.visualstudio.com/}. So the further steps assume you have PlatformIO core installed on your system. If not please follow the installation guide for your system at PlatformIO Core installation.
- Clone the repository
git clone https://github.com/vakshit/alexa-controls-esp8266.git
- Change the device names, pin numbers, SSID and password in the
src/main.cpp
file - Use the PlatformIO VSCode extension to upload to the device or from the terminal run
platformio run --target upload
Note: You need the appropriate driver for the board to be installed for the binary to be flashed successfully.