Denon AVR X3400H volume at startup/turn on

Hello,
I have created a script to turn on my Denon receiver and play a radio station from my Heos favorites.
I have include a volume setting to have a reasonably low volume early morning.
The steps in my script code now are:

  • Turn on Denon
  • Set Volume
  • Play radio station

However, somehow Denon overrules the volume command and sets the volume at the power on volume configured in the receiver itself, which is much higher.
How can I remedy this and have the Denon play on the volume I’m trying to set from the HA script?

The script code is:

alias: Radio NPO1
sequence:
  - service: media_player.turn_on
    data: {}
    target:
      entity_id: media_player.denon_avr_x3400h_denon
  - service: media_player.volume_set
    data:
      volume_level: 0.23
    target:
      entity_id: media_player.denon_avr_x3400h_denon
  - service: media_player.play_media
    data:
      media_content_id: "1"
      media_content_type: favorite
    target:
      entity_id: media_player.denon_avr_x3400h_heos_2
mode: single
icon: mdi:radio

You set this default (low) volume on the receiver, which for me is logical too :slight_smile:

I’d rather not since that is the desired volume when turning on tv screen, receiver and cable when watching TV or movies during day- or nighttime.

So why not change it to that volume when (!) you switch on the TV (with or without HA supporting this)? It seems you want both but the basis is that the machine needs to accept a volume without being on which then also need to allow default values… clearly a lot you ask

I’d be interested why the Denon goes to its power on value while I’m having HA send it a set volume command to a lower value?

Try this order:

  • Turn on Denon
  • Select radio station
  • Delay 1 or 2 seconds
  • Set Volume

I would expect that to happen as Denon has no clue of any outside connections when powering on.
They could (!) have implemented something to check external-volume-input before setting default but possibly too complex. Looking at my (old) Denon, when it powers on and I press volume down on remote, it is slow too. Still, I donot see any reason to set it low default and change when using HA…but this is my view :slight_smile:

Turn on denon
Pause a while
Set volume
Play radio

I just found another solution that works for my oldie…
using service calls, the first one sets it on, the second to 20db…works for me

alias: Denon Test
description: ""
trigger: []
condition: []
action:
  - service: denonavr.get_command
    data:
      command: /goform/formiPhoneAppDirect.xml?ZMON
    target:
      entity_id: media_player.denon_avr_4520_2
  - service: denonavr.get_command
    data:
      command: /goform/formiPhoneAppDirect.xml?MV20
    target:
      entity_id: media_player.denon_avr_4520_2
mode: single