Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (24 loc) · 1.49 KB

README.md

File metadata and controls

27 lines (24 loc) · 1.49 KB

Build Status

FauxMoESP_WS2812FX

Control WS2812 RGB & RGBW pixels from Alexa using a NodeMCU ESP8266.

Requirements

Hardware

This code was tested on a HiLetgo NodeMCU ESP8266 board. You need some WS2812B LEDs (e.g. NeoPixel) connected to 5V and GND and a data pin of the ESP8266. I used an 74AHCT125 level-shifter in my project but I've found that it will do fine without one.
alt text

Software

You need to install the following additional libraries to compile the code:
Adafruit_NeoPixel: https://github.com/adafruit/Adafruit_NeoPixel
ESPAsyncTCP: https://github.com/me-no-dev/ESPAsyncTCP
ESPAsyncWebServer: https://github.com/me-no-dev/ESPAsyncWebServer
FauxmoESP: https://bitbucket.org/xoseperez/fauxmoesp
WS2812FX: https://github.com/kitesurfer1404/WS2812FX

How to use

  1. Update the credentials.h with your WIFI_SSID & WIFI_PASS
#define WIFI_SSID "EnterYourSSID"
#define WIFI_PASS "EnterYourPASS"
  1. Update the LED_COUNT & LED_PIN variables.
  2. Compile and run on your NodeMCU
  3. Execute the Discover Devices option from your Alexa app or tell Echo/Dot to do it.
  • You should see several new "WeMo Switch" devices that the fauxmoESP has created.