homebridge-sainsmart-16-usb

1.0.0 • Public • Published

Accessory type for the sainsmart 16-relay usb board.

Please note that currently only a single board is supported.

Installation

npm install -g homebridge-sainsmart-16-usb

You will need to ensure the user running homebridge has access to your usb device. To do this setup a udev rule.

"accessories": [
  {
    "accessory": "Sainsmart16USBRelay",
    "name": "Coffee Maker",
    "relay": 0 #zero-based index (0-15)
  },
  {
    "accessory": "Sainsmart16USBRelay",
    "name": "Lamp",
    "relay": 3
  }
]

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i homebridge-sainsmart-16-usb

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.5 kB

    Total Files

    3

    Last publish

    Collaborators

    • underbluewaters