Welcome to the wonderful world of relays and voice-activation with this fun Amazon Echo-controlled ‘smart lamp’ by Becky Stern (video below). The lamp still includes a physical on-off switch and as the human in control you know whether “the light” is already on or off, and issue your commands accordingly.
This Instructable guides you along with me in upgrading a vintage lamp with voice-control using an ESP8266 microntroller and Amazon Echo/Alexa. The Arduino code emulates a Belkin WeMo device using the fauxmoESP library, which makes setup a breeze.
Featured Adafruit Products!
Adafruit Feather HUZZAH with ESP8266 WiFi: This is the Adafruit Feather HUZZAH ESP8266 – our take on an ‘all-in-one’ ESP8266 WiFi development board with built in USB and battery charging. Its an ESP8266 WiFi module with all the extras you need, ready to rock! Read more.
Adafruit Power Relay FeatherWing: A Feather board without ambition is a Feather board without FeatherWings! This is the Power Relay FeatherWing. It gives you power to control, and control over power. Put simply, you can now turn on and off lamps, fans, solenoids, and other small appliances that run on up to 250VAC or DC power using any Feather board. Compared to our smaller Relay FeatherWings, this one can handle a beefy 1200 Watts! Read more.