Make a ESP8266 Dev Board Into a WeMo

3,236

16

5

Published

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!

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!

Share

    Recommendations

    • Make it Move Contest

      Make it Move Contest
    • Microcontroller Contest

      Microcontroller Contest
    • Casting Contest

      Casting Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    2 Questions

    0

    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

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

    please provide guidance to do so...

    thx
    Scott

    5 Comments

    This no longer works with newer firmware on Echo.

    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);

    2 replies

    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.

    Basically the same as turning a led low and high.

    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