Make a ESP8266 Dev Board Into a WeMo

4,982

20

8

Introduction: Make a ESP8266 Dev Board Into a WeMo

About: A young scripter that loves helping others achieve things i achieve.

Hello!

Today I will be teaching you how to turn an esp8266 into a WeMo in just a few simple steps!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts

Well, For this project, the parts are pretty obvious...

ESP8266 Dev Board

Mico USB Cable

SmartHome Device (I used an Amazon Echo)

Bread Board (optional)

Step 2: Code

This is where all the important stuff... Gets really important.

Please download these libraries for the .ino file to work.

NOTE!!!!

fuaxmoesp.zip is the library!

fuaxmoESP.zip is the Arduino project!

Picture = fuaxmoESP.zip

Step 3: Program the WiFi

1) Locate credentials.h in fauxmoESP.ino

2) Replace the ###'s with your SSID and Password

Note! SSID and Password are CasEseNsiTive!

3) Save fauxmoESP.ino and upload to board

Step 4: Questions? Comments?

I hope that this guide was enough to help set up your new "ESP-Mo" (esp8266-wemo)!

If you have any questions or comments please ask them!

Build a Tool Contest 2017

Participated in the
Build a Tool Contest 2017

Sensors Contest 2017

Participated in the
Sensors Contest 2017

Be the First to Share

    Recommendations

    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    8 Discussions

    0
    jrpsys
    jrpsys

    1 year ago

    After running the fauxmo code on Alexa, the message "device is unresponsive" is displayed until I press the button again. Are there any solutions? Thanks for your time on this.

    0
    john.swander
    john.swander

    2 years ago

    This no longer works with newer firmware on Echo.

    0
    PiWiFio
    PiWiFio

    Question 2 years ago

    I have a naked Esp12-e PC board that I designed (not the NodeMCU Esp12-e)-

    The code compiles well,

    and completes the device upload on to the Esp12-e,

    no errors occur...

    I see the device connect to my WiFi...using the Asus Router Admin...

    but Wemo doesn't see the device...and Google Home doesen't see the device.

    I'm pretty inexperienced as a programmer- what exactly does this mean "add devices here" in the Arduino code...

    I need to toggle GPIO 13...

    but ultimately GPIO 12, 13 4 and 5 for the quad relay control.

    I'm trying VERY hard to have Google Home control my custom made devices based on Esp12-e. http://piwifio.com < Open source home control PC boards

    0
    SSIBENAC
    SSIBENAC

    Question 2 years ago on Step 4

    I can not get Alexa to discover the ESP device in the sketch?

    please provide guidance to do so...

    thx
    Scott

    0
    spgilbert
    spgilbert

    2 years ago

    So how would I go about connecting to a relay? I would assume adding the below code to the sketch?

    #define Relay1 7

    //Relay1

    pinMode(Relay1,OUTPUT);
    digitalWrite(Relay1, HIGH);

    0
    JTronix
    JTronix

    Reply 2 years ago

    Something along those lines, Just be sure to input the digitalWrite into a void loop or something like this

    #define Relay1 7

    void setup(); {

    pinMode(Relay1, OUTPUT);

    }

    void loop(); {

    digitalWrite(Relay1, HIGH);

    delay(100);

    digitalWrite(Relay1, LOW);

    }

    Something along those lines.

    0
    JTronix
    JTronix

    Reply 2 years ago

    Basically the same as turning a led low and high.

    0
    supermartuk
    supermartuk

    3 years ago

    Hiya, I get an error compiling...

    AsyncPrinter.cpp:151:34: error: 'class cbuf' has no member named 'available'

    size_t available = _tx_buffer->available();

    Any help or advice would be welcome, thanks