1.1.2 • Published 8 years ago

homebridge-led-strip v1.1.2

Weekly downloads
21
License
-
Repository
-
Last release
8 years ago

homebridge-ledstrip

Switch Led's with Homebridge at GPIO-Pins. Can change Brightness as well, but homebridge need to run as root.

https://www.npmjs.com/package/homebridge-led-strip

Install

 npm install homebridge-led-strip

Usage

config.json sample:

"accessories": [
   {
       	"accessory": "ledStrip",
       	"name": "Blue",
       	"pin": 18,
       	"brightness": 1
   }
]

You need declare a pin to use this plugin.

With brightness you specify if you want to use the brightness function on your leds. When you set brightness to 1 or true, homebridge must run as root, if otherwise it must not run as root.

If you use the brightness function you must follow the installation steps for "pigpio":
https://www.npmjs.com/package/pigpio
https://github.com/fivdi/pigpio

Default Values for config.json: name: "Led-Strip" brightness: false

Other Information

My Homepage:

http://a-berisha.de

This Plugin use the "rpio" - Module from "jperkin":

https://www.npmjs.com/package/rpio
https://github.com/jperkin/node-rpio

This Plugin use the "pigpio" - Module from "fivdi":

https://www.npmjs.com/package/pigpio
https://github.com/fivdi/pigpio

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago