Enables control over color and brightness of a strip of WS2812b addressable LEDs via iOS natively in the Home app.
- ESP32 module
- WS2812b LED strip
- iOS device such as iPhone or iPad
- External power supply for LEDs
- Obtain ESP-IDF
git clone https://github.com/espressif/esp-idf.git release/v4.4
git submodule update --init --recursive
- Obtain ESP-Homekit-SDK
git clone https://github.com/espressif/esp-homekit-sdk.git
git submodule update --init --recursive
- Clone this repository into the examples directory of ESP-Homekit
cd esp-homekit/examples
clone https://github.com/andrewteta/lightstrip_homekit.git
- Install ESP-IDF VSCode extension
- Configure ESP-IDF project
- Connect ESP32 to your computer
- Run VSCode task "ESP-IDF: Build, Flash, and monitor your program"
- Obtain ESP Provisioning app from iOS App Store
- Provision device using app and POP code shown in the serial monitor output
- Open iOS Home app and select "Add accessory"
- Press "More options..."
- Select device and enter code (default setup code is
11122333