Skip to content
My Account

Software

Homebridge Plugin for a NeoPixel Strip

A Homebridge plugin that adds on, brightness, hue and saturation to a NeoPixel strip in the Home app.

  • Homebridge
  • Archived
  • 2 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 Homebridge plugin for a NeoPixel light strip. It gives the strip four characteristics in HomeKit: on, brightness, hue and saturation, so the Home app can show a colour wheel and a brightness slider.

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.

How it works

The plugin talks over HTTP to a device that drives the strip, such as the ESP8266 sketch in the Homebridge NeoPixel light project. It calls addresses for turning the strip on and off, and for reading and setting the state, the colour and the brightness.

CharacteristicWhat it does
OnSwitches the strip on and off
BrightnessHow bright the strip is
HueThe colour
SaturationHow strong the colour is

In the configuration, powerOn and powerOff can be a string or an object. A string is used as the address, with an empty body. The purpose of powerOn and powerOff for a NeoPixel strip is not to switch the power of the strip.

Install

  1. Install Homebridge with npm install -g homebridge.
  2. Install the plugin with npm install -g homebridge-neopixel.
  3. Add the accessory to the configuration file of Homebridge.

Good to know

  • The package is homebridge-neopixel, version 3.3.2, with the description “Homebridge plugin to control a NeoPixel Strip”. The repository also has an Arduino sketch for the strip.
  • The repository is under the ISC licence.
  • Apple, HomeKit and Homebridge are trademarks of their owners. This project is not made or approved by them.

The project is in the HomeBridge-NeoPixel 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