Giter VIP home page Giter VIP logo

lightstrip_homekit's Introduction

Custom addressable lightstrip in the iOS Home app using ESP32

Enables control over color and brightness of a strip of WS2812b addressable LEDs via iOS natively in the Home app.

Components

  • ESP32 module
  • WS2812b LED strip
  • iOS device such as iPhone or iPad
  • External power supply for LEDs

Building

  1. Obtain ESP-IDF
  • git clone https://github.com/espressif/esp-idf.git release/v4.4
  • git submodule update --init --recursive
  1. Obtain ESP-Homekit-SDK
  • git clone https://github.com/espressif/esp-homekit-sdk.git
  • git submodule update --init --recursive
  1. Clone this repository into the examples directory of ESP-Homekit
  • cd esp-homekit/examples
  • clone https://github.com/andrewteta/lightstrip_homekit.git
  1. Install ESP-IDF VSCode extension
  2. Configure ESP-IDF project
  3. Connect ESP32 to your computer
  4. Run VSCode task "ESP-IDF: Build, Flash, and monitor your program"

iOS Setup

  1. Obtain ESP Provisioning app from iOS App Store
  2. Provision device using app and POP code shown in the serial monitor output
  3. Open iOS Home app and select "Add accessory"
  4. Press "More options..."
  5. Select device and enter code (default setup code is 11122333

lightstrip_homekit's People

Contributors

andrewteta avatar

Watchers

 avatar  avatar

lightstrip_homekit's Issues

label:enhancement Add patterns

It would be cool to have some animated patterns such as a fade, breathing effect, etc.

Need to investigate how this may be possible through the HomeKit API and services that can be added to the "lamp" device.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.