Box
I just wanted to build a cheap switch that can be controlled by Amazon Alexa by emulating a delkin device.
You can do this using WeMos D1-mini + Relay or use SonOff
Using WeMos D1-mini + Relay
-
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
-
AC-DC HLK-PM01 module voltage 220V to 5V (Optinal) to convert 220V to 5V for D1-mini
Relay is connected to D1
To controlled this switch via Amazon Alexa.
- Download the code
- Change the WI-FI settings.
- Flash
сканируем устройство мажордомо модуль ссдпфиндер
и используем по назначению.