0.0.4 • Published 6 years ago

homebridge-unitec v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago