This wiring is NOT best practice, however, for th epurposes of testing it’ll work just fine. If you want a proper setup I suggest reading Adafruit’s NeoPixel UberGuide.
The main issue here is that the LEDs are being powered directly from the board, on a 3v3 line, rather than an external power supply. Furthermore, there is 0 protection against power surges whihc could potentially fry the LEDs.
WLED is a piece of software that will run on an ESP8266 enabled device with both a web GUI and an Android application to control it. There are many pre-programmed effects with the ability to set the number of LEDs and even split LED strips into different segments, allowing for separate control of segments
This is for the NodeMCU with an ESP8266. If you flash a different device you could end up bricking your device
Installing WLED requires a custom binary to be flashed to the device.
- First step is to install the flashing tool called ‘esptool.py’
$ pip3 install esptool
- Download the binary file (contains the firmware) here
- Connect the NodeMCU device
- Run the ESPTool flasher
$ esptool.py write_flash 0x0 ./wled_0.9.1.bin
- Use a WiFi enabled device and connect to the NodeMCU access point: ‘WLED-AP’
- Go to the address
http://188.8.131.52in your browser
- Configure the NodeMCU to connect to your own access point. This is under the settings menu (small cog)
The device is now setup. You can connect back to you home network and enter the IP address of the NodeMCU. This should present you with a dashboard and I would encourage you to have a play around before going straight to Googling things.
Furthermore, there is an Android app which provides a slightly better interface when on mobile. The app can be downloaded here
To add to the RGB awesome, there is a Home Assistant integration for WLED devices. Have a look at the HomeAssistant website