[HELP] Controlling denon media player from google assistant

I have a Denon receiver. I’m able to control it via service calls (change source, set volume). I’ve connected HA to Google Assistant and it’s working for other stuff.

How do I:

  • Add a GA command to change source? My best idea so far is to define switches for each source and associating that. Looking to see if there’s a better option.
  • Control volume “Hey google, set volume to 55”? no idea how to make progress there
1 Like

You ever get this running? I was able to get my Marantz receiver into Google Home through HA but the only thing I can control in the app is on/off and the volume via the brightness. After checking the https://www.home-assistant.io/components/google_assistant/ page, I’m not sure where to add the hard-coded strings that it talks about for the Modes trait. Anyone else have any info?

For me “Set Denon to 50” actually works in Google home. Did nothing special.

Yeah that works for me but are you able to select an input?

I created script per input and I’m using these for voice control.

Do you mind sharing your script?

'1543682866307':
  alias: Android TV
  sequence:
  - data:
      entity_id: media_player.denon_avrx1100w
      source: MI BOX
    service: media_player.select_source
# this part is irrelevant
  - data:
      entity_id: switch.lr_tv
    service: switch.turn_on

how do you guys now set volume up/down with media player exposed to GA?
i have now created switches to make volume up and down
but saying volume on/off is not obvious :slight_smile:
i want to say, like volume up => and it needs to increase some volume

is that possible?