GithubHelp home page GithubHelp logo

iamorion / esp8266wemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from torinnguyen/esp8266wemo

0.0 2.0 0.0 4 KB

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

Arduino 100.00%

esp8266wemo's Introduction

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/

esp8266wemo's People

Contributors

torinnguyen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.