Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions source/_components/harman_kardon_avr.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,52 @@ port:
required: false
default: 10025
type: integer
key_interval:
description: The interval between the keys to send, to stabilise the http requests.
required: false
default: 0.2
type: small_float
simulate_volume_set:
description: Act as if the volume can be set on the receiver. This can be usefull to integrate with the Google Assistant to control the volume. The volume returned is always 0.5
required: false
default: False
type: boolean
sources:
description: List of sources to be able to control
required: false
default: STB, Radio, TV, Game, AUX
type: list
keys:
name:
description: The visible source input to choose from
required: true
type: string
source:
description: The name of the source as the receiver would understand
required: false
type: string
default: Defaults to the name of the source
{% endconfiguration %}

A few notes:

- The newest firmware automatically shuts down the AVR after a certain amount of time. The AVR is then not available on the network anymore, so the 'on' command will not work.
- The AVR has no endpoints to determine the volume, muted, playing etc., so if the remote control is used, HA will not know the new states of the device.

Full example:

```yaml
# Example configuration.yaml entry
media_player:
- platform: harman_kardon_avr
name: NAME
host: IP_ADDRESS
port: 10025
key_interval: 0.2
simulate_volume_set: False
sources:
- name: Television
source: TV
- name: Xbox One
source: Game
```