• Stars
    star
    274
  • Rank 145,167 (Top 3 %)
  • Language
    C++
  • License
    MIT License
  • Created about 8 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Amazon Alexa + WeMos switch made with Arduino D1 Mini

Box

If you have issues discovering please consider using Sinric Pro Smart Home Skill.

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

  1. 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

  2. WeMos Relay ($1.90) http://www.aliexpress.com/store/product/Relay-Shield-for-WeMos-D1-mini-button/1331105_32596395175.html

  3. 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.

  1. Download the code
  2. Change the WI-FI settings.
  3. Flash
  4. Scan for new devices in Alexa
  5. Say "turn on" box

Do you want to turn on / off your TV, AirCon (AC) using Amazon Alexa? Checkout my latest project https://irdevkit.com/

Looking for a Cheap DIY Alexa Light Bulb?

https://github.com/kakopappa/ble-light-bulb

##Using Sonoff##

Sonoff - Thanks @joeman2116 (#6)

Use a ftdi 3.3v as the programmer. I tried type as a generic 1meg flash but got reboot problems. So I used the nodemcu.9 choice.

Change the ssid Change password Change device name to (your choice)

Pins I use d6 for the relay and d7 for the led.(optional)

If you want to control more than 1 switch checkout my other project https://github.com/kakopappa/arduino-esp8266-alexa-multiple-wemo-switch

Articles about the Wemos switch

Credits

Developed By

  • Aruna Tennakoon
  • paypal.me/arunat
  • Bitcon 1JnmhzTbW9MRb7FK7UReoWdUZ18MDn6aNv
  • 3 beers from dougstrickland - Thanks
  • 2 beers from Michael Berna
  • 1 beer Keg from Phillip Ryals
  • 5 beers from Steven Boger
  • 5 Kegs from Robert Paradiso

More Repositories

1

arduino-esp8266-alexa-multiple-wemo-switch

multiple belkin wemos switch emulator using ESP8266
C++
305
star
2

sinric

Amazon Alexa Smart home skill / Google Home Action for ESP8266 / ESP32 / Arduino
C++
283
star
3

bluetooth_android_esp32_example

How to send data (String) from Android to ESP32 via Bluetooth
Java
51
star
4

esp8266_smartconfig_flutter_example

Esp8266 smartconfig(onetouch) config using flutter example
Java
36
star
5

arduino-esp8266-aes-encryption-with-nodejs

How to encrypt a string using AES in ESP 8226 and decrypt it in NodeJS
C++
34
star
6

arduino-esp8266-aes-lib

Lib for https://github.com/kakopappa/arduino-esp8266-aes-encryption-with-nodejs
C++
30
star
7

AndroidMMS

How to send an MMS message in Android
Java
20
star
8

android-socket.io-file-uploader

Android + Node.js File uploader example
Java
10
star
9

ble-light-bulb

Control Consmart/Triones/Flyidea light bulb with ESP32 BLE
C++
8
star
10

esp8266-aes-cbc-encryption-decryption

AES CBC encryption/decryption using BearSSL for ESP8266.
C++
7
star
11

AndroidRemoteServiceExample

Example to demonstrate how to use make a simple Android Remote Service
Java
7
star
12

SecurityLogAgentFix

Java
6
star
13

getdevcicename

How to get the Samsung device name in About
Java
5
star
14

idf_esp32_platformio_websocket_example

How to use websocket with ESP IDF in PlatformIO example
C
5
star
15

esp32-rtsp-camera

C
1
star
16

IntArrayToHexArray

Convert int array to hex array. Made to convert IRDEVKIT copied IR codes to hex
C#
1
star
17

bittrex_scanner

Scan bittrex cryptos using EMA10, EMA50 and EMA200 and look for good coins to buy
JavaScript
1
star
18

DisableCameraShutterSoundExample

How to disable Android camera shutter sound using reflection
Java
1
star
19

flutter_demo_app

Dart
1
star
20

esp32-github-ota

ESP32 GitHub OTA version check and update example
C++
1
star
21

esp8266_pm25_sensor_PMS3003_sinric_pro

Outdoor PM 2.5 Sensor with Sinric Pro
C++
1
star
22

esp8266_public_private_key_encryption_example_with_aes_128_cbc_nodejs

This example demonstrate how to communicate securely in an unsecure WiFi
C++
1
star