Skip to content

torinnguyen/ESP8266Wemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

ESP8266Wemo

Make ESP8266 works directly with Amazone Echo by emulating a WeMo switch using nothing but standard ESP8266 libraries

Getting Started

  1. Fill in your SSID & Password at the begining of the sketch

  2. Change the LED pin to suit your board

  3. Power it on and wait for it to be connected to WiFi

  4. Ask "Alexa, discover devices"

  5. After the discovery is successful, ask "Alexa, turn on/off your "

[Advanced] Control multiple pins/devices

Here's the outline of the steps:

  1. Modify responseToSearchUdp function, use a for-loop to give 1 response for each GPIO pin you want to control. Each pin must be assign a unique serialNumber, uuid & port. (IP Address is the same for all, it is always the IP Address of your ESP8266)

  2. For each of the port/pin you have setup above, create a ESP8266WebServer for it.

  3. Modify handleUpnpControl function to handle on/off logic for each different port/webserver.

Demo

Demo video

Reference

http://www.makermusings.com/2015/07/18/virtual-wemo-code-for-amazon-echo/

About

Make ESP8266 works directly with Amazone Echo by emulating a WeMo switch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%