当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-gpio-rgb-ledstrip

授权协议 GPL-3.0 License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 施招
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

homebridge-gpio-rgb-ledstrip

RPi GPIO based LED Strip plugin for Homebridge

Due to all the changes and updated that have occured in Homebridge since the original release of this plugin, i decided to replace its core to extend its usability and compatibility.This plugin now relies on pi-blaster.js which you need to install beforehand.

Originally inspired by GiniaE/homebridge-gpio-ledstrip

Installation

  1. Install pi-blaster.
  2. Update pi-blaster DAEMON_OPTS configuration under the path /etc/default/pi-blaster to enable your specific pin layout (instructions).
  3. Install [homebridge-gpio-rgb-ledstrip] directly from Homebridge Plugin Page or by running sudo npm install -g homebridge-gpio-rgb-ledstrip.
  4. Update your configuration file. See sample config.json snippet below. Remember to use BCM GPIO layout.

To identify the correct pin configuration, have a look at the following layout

pi-blaster pinout

P.S: if pi-blaster seems not to work (e.g running the command 'echo "$PIN=1" > /dev/pi-blaster' doesn't yield the desired output), try restarting manually the service with root privileges

Configuration

Configuration sample:

   "accessories": [
     {
       "accessory": "SmartLedStrip",
       "name": "Bedroom LedStrip",
       "rPin": 22,
       "gPin": 27,
       "bPin": 17
     }
   ]

Fields:

  • "accessory": Must always be "SmartLedStrip" (required)
  • "name": Can be anything (required)
  • "rPin": GPIO pin that is used to set red value (required)
  • "gPin": GPIO pin that is used to set green value (required)
  • "bPin": GPIO pin that is used to set blue value (required)
 相关资料
  • Homebridge GPIO WiringPi - Platform Plugin WORK IN PROGRESS Please report issues at https://github.com/rsg98/homebridge-gpio-wpi2/issues Supports triggering General Purpose Input Output (GPIO) pins on

  • ESP32 RGB LED for homebridge This is a project made for homebridge-better-http-rgb on HomeBridge. HTTP server implemented from lwip-allnetworks. Sample HomeBridge config: { "bridge": { "name

  • homebridge-fake-rgb An homebridge plugin that create an Fake RGB Bulb HomeKit accessory Installation Follow the instruction in homebridge for the homebridge server installation. The plugin is publishe

  • homebridge-http-rgb-push Homebridge plugin to control a HTTP-based RGB device. Supports RGB HTTP(S) devices on the HomeBridge Platform and provides a readablecallback for getting and setting the follo

  • homebridge-http-rgb-bulb Supports HTTP/HTTPS devices on Homebridge Platform. This plugin requires/uses a simple interface with the enpoint (only a set color URI and a get color URI). I decided to crea

  • 1.1. GPIO Setting 1.1.1. GPIO Domain 1.1.2. GPIO Utilization Method in Linux Kernel 1.1.3. GPIO Utilization Method in MCU 1.1.4. GPIO Utilization Method in User Space 1.1. GPIO Setting 1.1.1. GPIO Dom