# homebridge-denon-avr
Denon rs232 AVR plugin for homebridge: https://github.com/nfarina/homebridge
This plugin communicates with Denon receiver using rs-232 and is tested with the AVR-3803. An usb to serial rs232 converter from [FTDI](https://www.ftdichip.com/Products/Cables/USBRS232.htm) is recommended. Cheaper converters may not function correctly.

Based on [homebridge-marantz-rs232] (https://github.com/rooi/homebridge-marantz-rs232) by [rooi] (https://github.com/rooi).

# Installation

1. Install homebridge using: npm install -g homebridge
2. Install this plugin using: sudo -E -n npm --no-update-notifier install --unsafe-perm homebridge-denon-avr@latest
3. Update your configuration file. See the sample below.

# Configuration

Configuration sample:

 ```
"accessories": [
		{
				"accessory": "Denon-RS232-Serial",
				"name": "My Denon Receiver",
				"path": "/dev/cu.usbserial-FTH7QVHK",
				"maxVolume": -20.0,
				"minVolume": -79.0
		}
]
```
