Git Product home page Git Product logo

arduino-esp8266-alexa-wemo-switch's Introduction

Box

I just wanted to build a cheap switch that can be controlled by Amazon Alexa by emulating a delkin device.

You can do this using WeMos D1-mini + Relay or use SonOff

##Using WeMos D1-mini + Relay##

  1. WeMos D1-mini ($4.00) http://www.aliexpress.com/store/product/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/1331105_32529101036.html

  2. WeMos Relay ($1.90) http://www.aliexpress.com/store/product/Relay-Shield-for-WeMos-D1-mini-button/1331105_32596395175.html

  3. AC-DC HLK-PM01 module voltage 220V to 5V (Optinal) to convert 220V to 5V for D1-mini

Relay is connected to D1

To controlled this switch via Amazon Alexa.

  1. Download the code
  2. Change the WI-FI settings.
  3. Flash
  4. Scan for new devices in Alexa
  5. Say "turn on" box

##Using Sonoff##

Sonoff - Thanks @joeman2116 (kakopappa#6)

Use a ftdi 3.3v as the programmer. I tried type as a generic 1meg flash but got reboot problems. So I used the nodemcu.9 choice.

Change the ssid Change password Change device name to (your choice)

Pins I use d6 for the relay and d7 for the led.(optional)

If you want to control more than 1 switch checkout my other project https://github.com/kakopappa/arduino-esp8266-alexa-multiple-wemo-switch

##Articles about the Wemos switch

##Credits

##Developed By

  • Aruna Tennakoon
  • paypal.me/arunat
  • Bitcon 1JnmhzTbW9MRb7FK7UReoWdUZ18MDn6aNv
  • 3 beers from dougstrickland - Thanks
  • 2 beers from Michael Berna
  • 1 beer Keg from Phillip Ryals
  • 5 beers from Steven Boger
  • 5 Kegs from Robert Paradiso

arduino-esp8266-alexa-wemo-switch's People

Contributors

kakopappa 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.