Alexa, turn on the light

My first Alexa smart home skill. My light switch is far away from by bed but I'm too cheap to buy a wifi light bulb. Instead, I hacked together an IOT power switch with an ESP8266 and a surge protector with a digital on/off input. Alexa changes the light state on my backend server via an http api and the ESP8266 polls it.

Unable to share the souce code because the credentials were hard coded...

Next Post Previous Post