2.0 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | NAD | Instructions on how to integrate NAD receivers into Home Assistant. | 2016-01-05 20:00 | true | false | true | true | nad.png | Media Player | 0.36 | Local Polling |
The nad
platform allows you to control a NAD receiver through RS232 from Home Assistant.
To add an NAD receiver to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
media_player:
- platform: nad
serial_port: /dev/ttyUSB0
{% configuration %}
serial_port:
description: The serial port.
required: true
default: "/dev/ttyUSB0"
type: string
name:
description: Name of the device.
required: false
default: NAD Receiver
type: string
min_volume:
description: Minimum volume in dB to use with the slider.
required: false
default: -92
type: integer
max_volume:
description: Maximum volume in dB to use with the slider.
required: false
default: -20
type: integer
sources:
description: A list of mappings from source to source name. Valid sources are 1 to 10
.
required: false
type: [list, string]
{% endconfiguration %}
The min_volume and max_volume are there to protect you against misclicks on the slider so you will not blow up your speakers when you go from -92dB to +20dB. You can still force it to go higher or lower than the values set with the plus and minus buttons.
On linux the user running home-assistant needs `dialout` permissions to access the serial port. This can be added to the user by doing `sudo usermod -a -G dialout `. Be aware that the user might need to logout and logon again to activate these permissions.
A full configuration example could look like this:
# Example configuration.yaml entry
media_player:
- platform: nad
serial_port: /dev/ttyUSB0
name: NAD Receiver
min_volume: -60
max_volume: -20
sources:
1: 'Kodi'
2: 'TV'