This instructable use ALEXA ECHO direct control ESP8266.
My server just support authorization ESP8266 to Amazon server.
My server do not backup your data.
Vote for me :D Thank you!
ESP8266 WiFi 5V 1 Channel Relay Delay Module
https://www.amazon.com/WHDTS-ESP8266-Channel-Trans...
FTDI USB to serial module (not required if use nodemcu)
https://www.amazon.com/Qunqi-FT232RL-Serial-Adapter-Arduino/dp/B014Y1IMNM
1. Unplug ESP8266 from module
2.Connect module to USB to Uart module:
GND -------- | GND TX | -------- RX
------- | IO2 EN | -------- 3V3
GND ------- | IO0 RST | -------- BUTTON -------- GND
TX ------- | RX 3V3 | -------- 3V3
==================================================
BEFORE FLASH, PRESS BUTTON TO RESET
(IO0 alway connect to GND -> ESP8266 goto flash mode after reset)
==================================================
3.Flash my firmware
4.Connect ESP to module again
5.Connect power plug
We need open port (default 666) to control from Amazon server to our ESP8266.
I just illustrated with my router. You can find out how to open your router port on the internet and open TCP port 666 to the configured ip in step 2
https://m.wikihow.com/Open-Ports
if you do not have a fixed ip. You must use a dynamic domain name. You can find many free DDNS service providers.
1.Enable my skill named "ESP8266 Smart Power Plug
2.Discover device
Alexa app > Select menu > SmartHome
3.Control:
"Alexa, turn on/off <your ESP named in step 2>"