Skip to content

Piets/homebridge-unitec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Unitec plugin for homebridge to control RF outlets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%