Use a NodeMCU (ESP-12E) to control literally Anything in your house by turning into a Smart Switch. View my video tutorial on YouTube for more information: https://youtu.be/0Z1pR3cehHQ
- NodeMCU - http://a.co/d/eVLpLl1
- Mini USB Cables - http://a.co/d/7UUkQWU
- Arduino IDE - https://www.arduino.cc/en/Main/Software
- Download or Clone Repository
- Download and Include the following Libraries:
- #include <WebSocketsClient.h> // https://github.com/kakopappa/sinric/wiki/How-to-add-dependency-libraries
- #include <ArduinoJson.h> // https://github.com/kakopappa/sinric/wiki/How-to-add-dependency-libraries
- Open Arduino.IDE and go to Board Manager > ESP8266 and get boards
- Open the sketch needed (NodeMCU-Alexa.ino)
- Upload to NodeMCU chip
-
Register for an account (https://sinric.com) if you do not have one (Use Chrome, FireFox)
-
Login and create a smart home device (Dashboard -> Add smart home device)
-
Copy your API Key from dashboard
-
Connect to Sinric IOT server - Use NodeMCU-Alexa.ino sketch. For other examples: https://github.com/kakopappa/sinric/blob/master/arduino_examples
-
Change the Arduino Sketch. Replace the API Key, Wifi SSID and Password
-
Change the Device ID in Arduino Code to that supplied on Sinric website
-
Install Amazon Alexa Smart Home Skill (Available in US, German, India, UK, Canada, Australia, New Zealand, Italy) here and Link to your Sinric account. https://www.amazon.com/dp/B078RGYWQQ
-
Discover for new devices.