How one can construct a DIY NeoPixel HomeKit WS2812B LED Strip

HomeKit is the perfect answer on your good residence automation when you personal an iPhone, iPad or Mac. However sadly, HomeKit suitable gadgets do not come low-cost. In comparison with different good residence merchandise that may be managed utilizing Google Assistant or Alexa, Apple customers need to pay a premium value for HomeKit integration.

On this information, we are going to construct a NeoPixel RGB LED strip that you may set up on the ceiling, partitions, again of a TV panel, monitor, desk lamp, and so forth. and management the strip utilizing the HomeKit or Eve app in your Mac or iOS gadget.

Belongings you’ll have to construct a DIY HomeKit LED Strip

To construct a DIY HomeKit-enabled NeoPixel RGB LED Strip, you want the next:

  • An ESP8266-based microcontroller board, comparable to NodemCU, D1 Mini, or ESP-01
  • One WS2812B, WS2812B ECO or WS2813 RGB LED strip.
  • A ~ 2-5amp or extra energy provide based mostly on the variety of LEDs within the strip. The controller we’re constructing can run a most of 500 LEDs.
  • A 3D printed case (elective).
  • Few connecting cables.

Step 1: Flash the firmware

For this venture we shall be utilizing HomeKidd firmware on GitHub. You’ll be able to comply with the straightforward directions under.

  1. Obtain the rboot.bin and blank_config.bin recordsdata from GitHub.
  2. Go to the HomeKidd venture launch web page and obtain the most recent model of the ledstrip.bin firmware.
  3. Obtain the ESP flash obtain device for Home windows in your system and extract it. Mac customers can use the NodeMCU pyflasher device as an alternative.
  4. Join the D1 Mini or NodeMCU to your system utilizing a Micro USB cable and choose the COM port. Be sure to set up the USB to UART CH340G or CP210x drivers. In any other case, the gadget won’t be detected.
  5. Begin the Firmware obtain device and launch it.
  6. Test the primary checkbox, enter a worth 0x0000 then click on three dots to browse and choose the boot.bin file
  7. Likewise, tick the second checkbox, enter 0x1000 and select the blank_config.bin file.
  8. Test the third field, enter 0x2000 and select the ledstrip.bin file.
  9. To pick Baud price like 115200, GOD or QIO mode (based mostly on the recommendation), e 40 MHz frequency from choices.
  10. Click on Begin. The device shall be displayed Synchronize and it’ll begin flashing the firmware recordsdata.
  11. After flashing the firmware, shut the Firmware Obtain Software.
  12. Obtain and launch the ESPHome Flasher device.
  13. Choose the COM door and click on View logs. You should use it to examine the standing and see if all the pieces is working fantastic. Additionally, if one thing goes mistaken or would not work, this can make it easier to discover the issue.

MAKE USE OF THE VIDEO OF THE DAY

Step 2: Join the WS2812B LED Strip to D1 Mini or NodeMCU

Seek advice from the diagram under to attach the WS2812B LED Strip to NodeMCU or D1 Mini and to the facility provide.

As soon as linked, you may insert the D1 Mini or NodeMCU card right into a 3D printed case or comparable field.

Step 3: Join the facility provide

Now you may plug within the energy provide to activate the controller and linked LEDs. As quickly as the facility is linked, the microcontroller begins up in Entry Level or AP mode. Now, comply with these steps:

  1. Open the Wi-Fi settings and connect with the esp open community in your smartphone.
  2. Then, open an internet browser in your smartphone and go to 192.168.4.1.
  3. Select the Wi-Fi SSID and enter the password. Contact Save.
  4. The controller will connect with the native Wi-Fi community after rebooting.

Step 4: Add the gadget to HomeKit as an adjunct

As soon as the controller has established a steady connection along with your Wi-Fi community, here is what you’ll want to do:

  1. In your iPhone, iPad, or macOS gadget, open Wi-Fi Settings and join HomeKid-xxx entry level. The password is 12345678.
  2. After connecting, look ahead to the net web page to load. Select the Wi-Fi community, enter the password and sort the variety of LEDs in your NeoPixel or WS2812 strip. Contact Joint.
  3. The gadget will robotically connect with the Wi-Fi community and needs to be discoverable by the Apple House app.
  4. Open the House app in your iOS or macOS gadget linked to the identical community.
  5. Faucet the three dots on the prime proper and select Add accent.
  6. Faucet enter manually.
  7. Contact the overdraft NeoPixel-xxxx accent after which faucet Add anyway.
  8. Enter the code 021-82-017 and wait a number of seconds. The NeoPixel controller shall be added to HomeKit.
  9. You’ll be able to select a room and identify it in accordance with your wants. Then, faucet Executed.


You are nearly there. All you’ll want to do now could be discover ways to management the LED strip with the House app.

Step 5: Test the strip with HomeKit, the Eve app or Siri

After including the NeoPixel controller to the House app, you may activate / off the strip, change colours, alter brightness and create scenes.

  • Faucet and maintain on the NeoPixel accent you added to open the controls.
  • Faucet a coloration to alter it, then faucet once more to open the colour palette. You’ll be able to select or adapt to any coloration. The stripe helps 16.8 million colours.
  • To edit the sample or results, faucet this after which choose the specified sample,
  • You’ll be able to select from over 40 results utilizing the Eve app. You’ll be able to change these results by sliding the WS2812 Results slider within the Eve app. The app additionally supplies many extra options and choices to manage the NeoPixel mild strip.


You probably have HomePod in your house, you may ask Siri to examine the strip. Do not forget that you can not management it by way of an Android smartphone. However you may flash WLED firmware which provides greater than 100 totally different results.

You’ll be able to discuss with our guides to construct a sound responsive NeoPixel strip that additionally reacts to the music or the sound round it. You’ll be able to management the strip utilizing the WLED app or by way of the net interface which you’ll entry from any gadget. You may as well discover ways to make a Philips Ambilight different for any TV utilizing the WS2812B strip and Raspberry Pi.

Use Sensible HomeKit RGB lights to embellish your own home

Now that you’ve got efficiently constructed a DIY HomeKit-enabled NeoPixel LED strip, you may set up it in your ceiling, Christmas tree, behind your TV unit or panel, monitor, and so forth.

Utilizing scenes, you may add automation to mild the strip on the desired time or change the colour, brightness or patterns based mostly on the time of day or occasion. Nevertheless, you will want a HomePod or AppleTV to automate the controller.

Leave a Comment