GithubHelp home page GithubHelp logo

piets / homebridge-unitec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wstameris/homebridge-rfoutlets

0.0 1.0 0.0 37 KB

Unitec plugin for homebridge to control RF outlets.

License: Other

JavaScript 100.00%

homebridge-unitec's Introduction

homebridge-unitec

Homebridge plugin purpose-built for controlling 433MHz radio frequency outlets by unitec. The plugin is based on homebridge-rfoutlets. Homebridge maintains state information, so you can always know if you left that lamp on. It uses unitec-rfsend.

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-unitec

  • Update your homebridge configuration

Notes

  • The user which homebridge is run from must be on the list of sudoers as the unitec-rfsend 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 device off (required)
  • pin: The pin the RF transmitter is connected to (required)

See sample-config.json

homebridge-unitec's People

Contributors

piets avatar senyoltw avatar

Watchers

 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.