Alexa Enabled Light Switch (DIY Home Automation, NodeMCU, ESP8266, IoT, Arduino, 3D Printing)

Alexa Enabled Light Switch (DIY Home Automation, NodeMCU, ESP8266, IoT, Arduino, 3D Printing)

Amazon’s Alexa voice assistant is found in many consumer electronic devices, and is a great way to get started with home automation. I recently purchased several Echo Dots, and while some of the came bundled with smart plugs that can turn my floor lamps into IoT devices, Alexa cannot be used for my home’s overhead lights unless I purchase a new set of lightbulbs or rewire my light switches and install internet enabled relays. To solve this problem, I decided to use 3D printing and a NodeMCU microcontroller equipped with an ESP8266 chip to create a battery powered, internet enabled smart switch that can be easily mounted over the existing light switches in my home!

Interested in building a switch for yourself? Check out the following links:

– STL Files for 3D Printing: https://www.thingiverse.com/thing:3437276

– NodeMCU Arduino Code: https://github.com/SuperMakeSomething/alexa-light-switch

– FauxmoESP Software Library: https://bitbucket.org/xoseperez/fauxmoesp

– More Information on NodeMCU “Light Sleep” Mode: https://community.blynk.cc/t/esp8266-light-sleep/13584

– Bill of Materials (All links are Amazon affiliate links):
— 1x NodeMCU: https://amzn.to/2X7ziIC
— Breakaway PCB Header Set: https://amzn.to/2EeU95o
— PCB Prototyping Board: https://amzn.to/2TWr3gs
— MG90S Micro Servo: https://amzn.to/2DRmSff
— Transistor Set: https://amzn.to/2DPXjed
— Resistor Set: https://amzn.to/2EgAUIM
— AA Battery Pack Holder: https://amzn.to/2IlJvO8
— AA Rechargeable Batteries with Charger: https://amzn.to/2X79agO
— AA Rechargeable Batteries: https://amzn.to/2EeaK9e
— Metric Screw Set (Also Includes Nuts and Washers): https://amzn.to/2IjPvHo
— 3M Command Strips: https://amzn.to/2X9fd4t
— Yellow PLA: https://amzn.to/2DMbGQR
— Red PLA: https://amzn.to/2EfH0sw
— Blue PLA: https://amzn.to/2DIQpaA
— PCB Jumper Wire: https://amzn.to/2IlJQQU

– Tools I Used During the Build:
— Monoprice Maker Select 3D Printer: https://amzn.to/2GSwMjT
— Adjustable PCB Holder: https://amzn.to/2GOsQjO
— Hakko FX-901/P Cordless Soldering Iron: https://amzn.to/2TUE2z6
— Hakko Micro Flush Cutter: https://amzn.to/2SW2CCI
— Wire Stripper: https://amzn.to/2IjQ8ke
— Jackly 45 In 1 Screwdriver Set: https://amzn.to/2DRiNYn
— Hakko Wire Type Soldering Iron Tip Cleaner: https://amzn.to/2EgQLqK
— Solder: 60-40 Tin-Lead Solder: https://amzn.to/2GtinuZ

– Other Amazon Echo Enabled and Compatible Devices:
— Amazon Echo Plus: https://amzn.to/2DQrbqO
— Amazon Echo: https://amzn.to/2Ef7qdY
— Amazon Echo Dot: https://amzn.to/2Egy7z9
— Alexa Compatible Lightbulbs: https://amzn.to/2Gy3GXm
— Alexa Compatible Smart Plug: https://amzn.to/2EgKnj6

Check out the DIY Arc Reactor build here: https://youtu.be/QTlXr9m182c

Comments or questions? Connect with me on Twitter @SuperMakeSmthng
You can also follow me on Instagram for updates on my latest projects: @SuperMakeSomething

Want to support Super Make Something?
You can buy me a coffee here: https://www.buymeacoffee.com/supermakesmthng
You can also use the following link for your Amazon shopping: http://amzn.to/2kV2PRo
Or use the link below to buy a shirt and show your Super Make Something pride!

Finally, be sure to check out the newly-launched home of Super Make Something on the web! http://www.SuperMakeSomething.com

Music credits:
Outro: “Clear Mind” – Play on Loop (http://www.playonloop.com)

#NodeMCU #HomeAutomation #3DPrinting

Learn what you can do with your smartphone

Leave a Reply

Your email address will not be published. Required fields are marked *