So I recently upgrade from AVR-X1000 to AVR-X3800H. This now gives me the chance to connect speakers in the garden to the ZONE2 on the receiver.
Of course, I want to be able to send music to this zone independent from the MAIN zone.
I can't seem to find a way to make this work.
- my old denon got discovered in dlna integration, however the new one isn't being discovered this way (it has received the same IP, if that matters. it's in a different vlan as HA)
- The new Denon has HEOS built in, however the Heos integration doesn't see the different zones.
- the Denon AVR integration does see the MAIN and ZONE2 zones, and I can control the device as in turn on/of and volume and so on. But I can't seem to send for example the command to play music on either of them. (tested in Music Assistant and via Media, playercommand failed)
- I tried to create 2 universal media players following the configure found here, but then they both seemed to just send music to the Main zone.
I'm a bit lost here...any help would be appreciated
UPDATE 1:
I was able to set up DLNA by capturing the SSDP packets and the getting the URL and configure manually. However, this resulted only in the box being visible, not the 2 zones separately.
UPDATE 2:
I found a solution for the favoriote Radio station buttons in my dashboard, by updating my old scripts to check a drop down and then turn on the respective zones using the Denon AVR integration and then playing the Radio via the Heos integration
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_select.denon_player
state:
- Living Room
sequence:
- action: media_player.turn_on
metadata: {}
target:
entity_id: media_player.living_room
data: {}
- conditions:
- condition: state
entity_id: input_select.denon_player
state:
- Garden
sequence:
- action: media_player.turn_on
metadata: {}
target:
entity_id: media_player.backyard
data: {}
- conditions:
- condition: state
entity_id: input_select.denon_player
state:
- All
sequence:
- action: media_player.turn_on
metadata: {}
target:
entity_id:
- media_player.backyard
- media_player.living_room
data: {}
- action: media_player.play_media
data:
media:
media_content_id: media-source://radio_browser/957af496-47ae-4d2e-845a-bcc7e562c158
media_content_type: audio/mpeg
metadata:
title: Studio Brussel UNTZ
thumbnail: >-
https://www.vrt.be/content/dam/vrtvideo/branding/logos/stubru-untz/v3/color.svg
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://radio_browser
- media_content_type: music
media_content_id: media-source://radio_browser/country/BE
target:
entity_id: media_player.home_theater_heos
alias: Play StuBru Untz
description: ""
icon: mdi:radio
STILL OPEN:
How can I achieve the same with Music Assistant without having to go and manually turn on or off certain zone?
as per number 4, Itried using these universal media players:
media_player:
- platform: universal
name: Denon Living Room
unique_id: denon_universal_living_room
device_class: receiver
children:
- media_player.living_room # Denon AVR Integration entity
- media_player.home_theater_heos # Denon HEOS Integration entity
browse_media_entity: media_player.home_theater_heos
commands:
turn_off:
action: media_player.turn_off
data:
entity_id: media_player.living_room
turn_on:
action: media_player.turn_on
data:
entity_id: media_player.living_room
volume_up:
action: media_player.volume_up
data:
entity_id: media_player.living_room
volume_down:
action: media_player.volume_down
data:
entity_id: media_player.living_room
select_sound_mode:
action: media_player.select_sound_mode
target:
entity_id: media_player.living_room
data:
sound_mode: "{{ sound_mode }}"
attributes:
sound_mode: media_player.living_room|sound_mode
sound_mode_raw: media_player.living_room|sound_mode_raw
sound_mode_list: media_player.living_room|sound_mode_list
- platform: universal
name: Denon Garden
unique_id: denon_universal_garden
device_class: receiver
children:
- media_player.backyard # Denon AVR Integration entity
- media_player.home_theater_heos # Denon HEOS Integration entity
browse_media_entity: media_player.home_theater_heos
commands:
turn_off:
action: media_player.turn_off
data:
entity_id: media_player.backyard
turn_on:
action: media_player.turn_on
data:
entity_id: media_player.backyard
volume_up:
action: media_player.volume_up
data:
entity_id: media_player.backyard
volume_down:
action: media_player.volume_down
data:
entity_id: media_player.backyard
select_sound_mode:
action: media_player.select_sound_mode
target:
entity_id: media_player.backyard
data:
sound_mode: "{{ sound_mode }}"
attributes:
sound_mode: media_player.backyard|sound_mode
sound_mode_raw: media_player.backyard|sound_mode_raw
sound_mode_list: media_player.backyard|sound_mode_list
However they behave nowhere as expected:
Denon Living Room shows like this:
Denon Garden shows like this:
selecting the checkbox creates an error.
Selecting either of them just results in the MAIN zone playing, unless I go turn on the ZONE2 in the denon AVR integration.
Anyone suggestion to have a player in Music Assitant that can turn on the correct zone(s) when tryign to play a track ?

