Are you looking to control your LED light strips?
Maybe from your Phone or Computer?
Look no further. WLED is here for you.
WLED information on GitHub.
Introduction
Control WS2812B, WS2811, or SK6812 LED light strips via Wi-Fi.
I will be using a WS2812B LED light strip from Amazon and control it with an ESP8266.
Also, some old USB cables and these Power Adaptors, make sure they’re not more than 5V.
As well as these small boards and insulated copper cables.
1. Installation
1.1 Downloading files
Install Arduino on your device.
Start Arduino. Go to “Sketch” -> “Include Library” -> “Manage Libraries”
Install the Libraries: NeoPixelBus
And FastLED
Then download these as a zip:
For ESP8266 download:
For ESP32 download:
After downloading all these files go back to Arduino and go to
“Sketch” -> “Include Library” -> “Add .ZIP Library” and add the downloaded libraries.
Now download the WLED library and unzip it in a convenient location.
Open the “wled00.cpp” file.
1.2 Installing WLED
Connect your ESP device to your computer.
Go to “Tools” and select these settings:
- Arduino Core v2.7.4
- Board: NodeMCU 1.0 (ESP-12E module) (or select your ESP board)
- CPU frequency: 80 MHz
- Flash size : 4MB (1MB SPIFFS)
- LwIP variant: v1.4 Higher Bandwidth (try 2 if you experience issues)
- Upload speed: 921600 recommended
Then click upload.
1.3 Connecting the LED light strip to the board
Connect the data pin from the LED strip to D2 of your ESP.
Then cut up a USB cable and connect red to power and black to ground.
Connect power to VCC on your board and the LED.
Connect Ground to any Ground pin on your Board and the LED.
It should look like this (ESP8266):
dIn and dOut will probably be the same connector for you!
There are some ESP Boards that can’t take more than 3.3V, in that case just connect some resistors in between VCC and power.
Plug the USB cable into the Power adaptor.
1.4 Connect to your Home Wi-Fi
Download the IOS or Android App.
Then go to your Wi-Fi settings and connect to the newly found “WLED-AP”.
The password is “wled1234”.
Open your Browser and go to “4.3.2.1”.
Go to the Settings Panel and connect to your Home Wi-Fi with your credentials.
After that is completed go to the App and search for new devices.
And you’re done!
1.5 Print LED light strip holders (optional)
I like to stick the LEDs to the top of my cupboard for example, so I just used my 3d Printer and printed out this.
Here are some more search results.
2. Import into Home Assistant
Open Home Assistant.
On the messages panel you will see newly discovered devices.
Click on “check it out” and add the WLED devices.