Skip to content

Homebridge plugin for rgb APA102 LED strip on Raspberry PI connected via GPIO (not SPI)

Notifications You must be signed in to change notification settings

romaintalleu/homebridge-apa102-rgb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homebridge plugin for RGB APA102 LED strip

npm npm

Homebridge pluging for RGB APA102 Led strip on Raspberry Pi.

Installation

Before installing this plugin, you should install Homebridge using the official instructions.

Install via Homebridge Config UI X

  1. Search for APA102 RGB on the Plugins tab of Config UI X.
  2. Install the Homebridge APA102 RGB plugin.

Manual Installation

  1. Install this plugin using: npm install -g --unsafe-perm homebridge-apa102-rgb.
  2. Edit config.json manually to add your apa102.

Note: depending on your platform you might need to run npm install -g with root privileges.

See the Homebridge documentation for more information.

Wiring

Scheme

Configuration

Update your Homebridge config.json file. See config-sample.json for a complete example.

{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},
	"description": "An example configuration of RGB APA102 LED strip with Raspberry PI",
	"accessories": [
		{
			"accessory": "APA102-RGB",
			"name": "APA102 Led strip",
			"ledCount": 8,
			"dataPin": 23,
			"clockPin": 24,
			"manufacturer": "APA102-RBG",
			"model": "APA102-RGB",
			"serial": "15822776-AB07-4DF8-9E0A-D17EE5ED0DA1"
		}
	],
	"platforms": []
}
Name Value Required Notes
accessory APA102-RGB yes Must be set to "APA102-RGB"
name (custom) yes Name of accessory that will appear in HomeKit app
ledCount (custom) yes Number of leds on your strip
dataPin (custom) yes GPIO number of your data
clockPin (custom) yes GPIO number of your clock
manufacturer (custom) optional The text of manufacturer
model (custom) optional The text of model
serial (custom) optional The text of serial

About

Homebridge plugin for rgb APA102 LED strip on Raspberry PI connected via GPIO (not SPI)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published