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:

– NodeMCU Arduino Code:

– FauxmoESP Software Library:

– More Information on NodeMCU “Light Sleep” Mode:

– Bill of Materials (All links are Amazon affiliate links):
— 1x NodeMCU:
— Breakaway PCB Header Set:
— PCB Prototyping Board:
— MG90S Micro Servo:
— Transistor Set:
— Resistor Set:
— AA Battery Pack Holder:
— AA Rechargeable Batteries with Charger:
— AA Rechargeable Batteries:
— Metric Screw Set (Also Includes Nuts and Washers):
— 3M Command Strips:
— Yellow PLA:
— Red PLA:
— Blue PLA:
— PCB Jumper Wire:

– Tools I Used During the Build:
— Monoprice Maker Select 3D Printer:
— Adjustable PCB Holder:
— Hakko FX-901/P Cordless Soldering Iron:
— Hakko Micro Flush Cutter:
— Wire Stripper:
— Jackly 45 In 1 Screwdriver Set:
— Hakko Wire Type Soldering Iron Tip Cleaner:
— Solder: 60-40 Tin-Lead Solder:

– Other Amazon Echo Enabled and Compatible Devices:
— Amazon Echo Plus:
— Amazon Echo:
— Amazon Echo Dot:
— Alexa Compatible Lightbulbs:
— Alexa Compatible Smart Plug:

Check out the DIY Arc Reactor build here:

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:
You can also use the following link for your Amazon shopping:
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!

Music credits:
Outro: “Clear Mind” – Play on Loop (

#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 *