npm

Does your artifact manager get in the way? Join us on Oct. 8 at 10am PT, to discuss how npm can help.Sign up »

homebridge-rfswitch

0.0.2 • Public • Published

homebridge-rfswitch

control RF outlets with homebridge

Installation

  1. Install homebridge: npm install -g homebridge
  2. Install homebridge-rfswitch: npm install -g homebridge-rfswitch
  3. Update your config.json

Make sure that /dev/gpiomem exists and is writeable by you (usually by adding yourself to the gpio group).

If /dev/gpiomem exists but is not owned by the group gpio (e.g. on Arch Linux) see here.

Configuration

Configuration sample:

{
  "bridge": {...},
  "description": "...",
  "accessories": [
    {
      "accessory": "RFSwitch",
      "name": "Switch C",
      "onCode": "0F00FFF0FF0F",
      "offCode": "0F00FFF0FF0F",
    }
  ]
}

The accessory must be RFSwitch and name can be anything.

Every rfswitch option is valid and at least onCode and offCode must be provided.

install

npm i homebridge-rfswitch

Downloadsweekly downloads

5

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability