I wanted to build a cheap swich that can be controlled by Amazon Alexa.
Parts you need
-
WeMos D1-mini ($4.00) http://www.aliexpress.com/store/product/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/1331105_32529101036.html
-
WeMos Relay ($1.90) http://www.aliexpress.com/store/product/Relay-Shield-for-WeMos-D1-mini-button/1331105_32596395175.html
Relay is connected to D1
To controlled this switch via Amazon Alexa.
- Download the code
- Change the WI-FI settings.
- Flash
- Scan for new devices in Alexa
- Say "turn on" sinric