This code helps the Echo discover and control the 8266 by spoofing as a Belkin WeMo device.
Controls that function: "Alexa Turn Light 1 On" "Alexa Turn Light 1 Off"
"Alexa Turn Light 2 On" "Alexa Turn Light 2 Off"
"Alexa Turn Flicker On"
Items used to make this project
- (2) 33ft 120 LED Dimmable Lights (Waterproof) - $20 https://www.amazon.com/gp/product/B01LW1IIH4/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
- 16.4ft Led Flexible Light Strip - $7 https://www.amazon.com/gp/product/B01E3ID592/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
- SainSmart 4 Channel Relay Module - $7 https://www.amazon.com/gp/product/B0057OC5O8/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1
- NodeMCU 8266 - $7 https://www.amazon.com/NodeMCU-ESP8266-ESP-12E-Development-Board/dp/B0741WPPDY/ref=sr_1_5?ie=UTF8&qid=1506723614&sr=8-5&keywords=nodemcu+8266
- 5V 3A Power Supply For Power - $7 https://www.amazon.com/KNACRO-Transformers-Suitable-equipment-Communications/dp/B072HSDDTR/ref=sr_1_13?ie=UTF8&qid=1506723709&sr=8-13&keywords=5v+3a+power+supply
All these items were bought on Amazon for approximately $50 but could be bought cheaper someplace else like eBay or AliExpress.
Schematic could be found on engluna.metsli.com
Once the schematic is found just upload the code.
Code could be modified to implement up to 14 WeMo "switches"