1.0.1 • Published 3 years ago

homebridge-apa102-rgb v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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": []
}
NameValueRequiredNotes
accessoryAPA102-RGByesMust be set to "APA102-RGB"
name(custom)yesName of accessory that will appear in HomeKit app
ledCount(custom)yesNumber of leds on your strip
dataPin(custom)yesGPIO number of your data
clockPin(custom)yesGPIO number of your clock
manufacturer(custom)optionalThe text of manufacturer
model(custom)optionalThe text of model
serial(custom)optionalThe text of serial
1.0.1

3 years ago

1.0.0

3 years ago