UNPKG

homebridge-rpiradio-light

Version:
55 lines (46 loc) 1.75 kB
# homebridge-433mhz-light Control your light through 433mhz # config.json ``` "accessories": [ { "accessory": "433Light", "name": "test1", "host": "192.168.1.74", "port": 4210, "on_payload": "5555554", "off_payload": "3333334" }, { "accessory": "433Light", "name": "test2", "host": "192.168.1.74", "port": 4210, "on_payload": "2222224", "off_payload": "1111114" }, { "accessory": "433Light", "name": "test3", "host": "192.168.1.74", "port": 4210, "on_payload": "5143345", "off_payload": "5143346" } ], ``` ## Configuration Params | Parameter | Description | Required | | -------------------------------- | ------------------------------------------------------- |:--------:| | `name` | name of the accessory | ✓ | | `host` | endpoint for whatever is receiving these requests | ✓ | | `port` | port of destination | ✓ | | `on_payload` | payload for the unlock state | ✓ | | `off_payload` | payload for the lock state | ✓ | ## Help - Make sure to specify a port and host in the config file. ## Installation 1. dependence on : `rpi-433` 1. Install homebridge using: `npm install -g homebridge` 2. Install this plugin using: `npm install -g homebridge-433mhz-light` 3. Update your config file