# Homebridge RF Outlet (Accessory Plugin)

This is an accessory plugin for [Homebridge](https://github.com/nfarina/homebridge) providing an interface to manage and control 433Mhz radio frequency power outlets.

## Example (standalone) usage

If you want to control your outlets with minimal setup requirements, check out [homekit-outlets](https://github.com/trentrand/homekit-outlets)
> **homekit-outlets** is a standalone and easy-to-use [homebridge](https://github.com/nfarina/homebridge) implementation which will allow you to setup and control your radio-frequency power outlets from any iOS device with Siri or the Home application.

## Install

After installing homebridge globally, install this plugin with

`npm install -g homebridge-rf-outlet`

## Configuration

Add one accessory to your `config.json` for each individual radio frequency power outlet you'd like to control.

##### Example config.json

```json
{
  "bridge": {
    "name": "Outlet Bridge",
    "username": "FC:10:A7:DD:90:B5",
    "port": 51826,
    "pin": "380-81-301"
  },
  "description": "Self-contained HomeKit server for controlling wireless electrical outlets over radio frequency",
  "accessories": [
    {
      "accessory": "Outlet",
      "name": "Lamp",
      "type": "Light",
      "manufacturer": "Ikea",
      "model": "SKEBY Lamp",
      "serial": "",
      "rf_on": 4480259,
      "rf_off": 4480268
    }
  ],
  "platforms": []
}

```

## License

Copyright 2017 by Trent Rand <contact@trentrand.com>. Licensed under MIT.
