Skip to content
My Account

Electronics

NeoPixel Light with an ESP8266 and Homebridge

An ESP8266-12E that drives a 144-pixel NeoPixel strip and answers the requests of a Homebridge plugin.

  • ESP8266
  • Homebridge
  • Archived
  • 1 min read
No ratings yet, be the first.

Archived project

The GitHub repository for this project is archived: it is read-only and no longer updated. What follows describes the project as it was, so check for a newer alternative before you build it.

A NeoPixel light with 144 pixels that you control from the Home app, with colour and brightness. The ESP8266-12E drives the strip and answers the web requests of the Homebridge NeoPixel plugin.

Homebridge is a program that runs on a computer such as a Raspberry Pi, and makes devices that do not support HomeKit show up in the Apple Home app. This project dates from the Homebridge years, before the native HomeKit firmware of this site. For how the site builds HomeKit devices today, see HomeKit or Matter for your ESP32.

The hardware

PartDetails
ESP8266-12EThe controller. The data line of the strip is on pin 13
NeoPixel strip144 pixels, GRB order at 800 kHz

How it works

The ESP8266 runs a small web server. It looks at the request of the plugin and reacts to the words on, off, set, status, colour and brightness: it switches the strip, sets a colour or a brightness, or answers with the state. The plugin that sends these requests is in Homebridge Plugin for a NeoPixel Strip.

Good to know

  • The sketch is version 6.0.3. Its header says GNU General Public License version 2 or later, so this article describes it and does not copy the code.
  • The repository is under the MIT licence.
  • Apple, HomeKit and Homebridge are trademarks of their owners. This project is not made or approved by them.

The project is in the Apple-Homebridge-NeoPixel-Light repository on GitHub.

Advertisement
All projects

More projects

Keep building.

Electronics, 3D printing and CNC builds, documented from the first idea to the last screw.

All projects