Make a ESP8266 Dev Board Into a WeMo

3,007

16

9

Posted

Introduction: Make a ESP8266 Dev Board Into a WeMo

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

  • Epilog Challenge 9

    Epilog Challenge 9
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
  • Gluten Free Challenge

    Gluten Free Challenge
user

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

Tips

Questions

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

please provide guidance to do so...

thx
Scott

4 Comments

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

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