GithubHelp home page GithubHelp logo

homebridge-rfoutlets's Introduction

homebridge-rfoutlets

Homebridge plugin purpose-built for controlling 433MHz radio frequency outlets which can be purchased inexpensively. (i.e. these). Homebridge maintains state information, so you can always know if you left that lamp on.

Tested on a Raspberry Pi 2 - Model B running Raspbian (Debian) and Node.js v6.9.0. This should work on most Raspberry Pi models, however YMMV

Supports lights, switches, and fans

Installation

  • Install homebridge
    sudo npm install -g homebridge

  • Install homebridge-rfoutlets
    sudo npm install -g homebridge-rfoutlets

  • Update your homebridge configuration

Notes

  • The user which homebridge is run from must be on the list of sudoers as the codesend executable requires root privileges
  • A great guide on how to record RF signals and set up your Pi to transmit can be found here. Note: the web portion of the guide is not required

Configuration

  • name: Name of your device
  • type: Light, Switch, or Fan (required)
  • manufacturer: manufacturer of the device plugged into the outlet (optional, defaults to blank)
  • model: model of the device plugged into the outlet (optional, defaults to blank)
  • serial: serial number of the device plugged into the outlet (optional, defaults to blank)
  • rf_on: RF signal to turn the outlet on (required)
  • rf_off: RF signal to turn the outlet off (required)
  • pulselength: RF transmission pulse length (optional, defaults to 189)
  • pin: GPIO pin of the 433MHz transmitter (optional, defaults to 0)

See sample-config.json

homebridge-rfoutlets's People

Contributors

senyoltw avatar wstameris avatar

Stargazers

 avatar Pascal Reitermann avatar derMick avatar Ian Hutchinson avatar  avatar  avatar  avatar Pierre Burel avatar Dean Maslic avatar

Watchers

 avatar Toshi Taka avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.