Does anyone have it done to read the mute status with the HA Configuration?
If I view Developer tools → Current entity states → media_player.denon_avc_x3700h → State attributes (YAML, optional)
Mute state is always “is_volume_muted: false”
Otherwise I must make a sensor (every 10 seconds and, run the script if press te button)
Hi,
I am new to Home Assistant and also have a Denon Reciever.
Thank you for this nice application to control the Denon. I managed to create the Custom button card.
However, when I want to save the script I get the following message:
Message malformed: extra keys not allowed @ data[‘denon_mute_unmute’]
The standard controls (volume, device) now work well, but because I cannot save the scripts I cannot call them.
This is an old post, so it is possible that there have been adjustments in Home Assistant over time, which means that saving the scripts is no longer possible.
# Denon AVR - Mute OR Unmute sound (toggle)
denon_mute_unmute:
description: Toggle Denon Mute/Unmute status
sequence:
- choose:
# IF Denon is currently MUTED, then unmute
- conditions: "{{ state_attr('media_player.office_2', 'is_volume_muted') }}"
sequence:
- service: denonavr.get_command
data:
entity_id: media_player.office_2
command: /goform/formiPhoneAppDirect.xml?MUOFF
# IF Denon is currently UNMUTED, then mute (Note: few seconds delay in state update after change)
default:
- service: denonavr.get_command
data:
entity_id: media_player.office_2
command: /goform/formiPhoneAppDirect.xml?MUON
Use the Template Editor to validate:
HA → Developer Options → Template → Template Editor
So I was able to trigger the command to switch the output mode to “Mon 1” (vs Mon 2 or Auto) in the receiver by using the following code.
action: denonavr.get_command
metadata: {}
data:
command: /goform/formiPhoneAppDirect.xml?VSMONI1
target:
device_id: (here is where the ID of my device goes)
Can’t remember where I got it from. Either here, or AI, or another source. It does seem to work.
HOWEVER…HA is suddenly showing an error where updates are usually listed in the settings screen, which says the following:
The automation “Theater - Movie Mode” (automation.theater_movie_mode_in_work) has an unknown action: denonavr.get_command.
This error prevents the automation from running correctly. Maybe this action is no longer available, or perhaps a typo caused it.
To fix this error, [edit the automation] and remove this action.
Select Submit below to confirm you have fixed this automation.
Which is odd since it does work. Is there a better way of writing this YAML?
I have a Denon AVR-X2300W and i never got it to work within music assistant. i tried via these: air-play, dlna, all kinds of differend codecs pcm stream, dolby codecs you name it i tried them all. i can control is via power on/off volume control no problem there. but it never plays any audio from music assistant.
i checked that the Denon AVR-X2300W is on the supported list Denon AVR Network Receivers - Home Assistant
MA works very well on all of my other speakers thru bluetooth and google-cast speakers.
really frustrated, i plan to buy another receiver that works out of the box like any receiver that supports google-cast like Onkyo TX-NR5100
Would that be a good buy for MA? or is there anyone in here who can tell me what i’m doing wrong?
i tried to add HEOS integration, it asks for an ip-address while adding. i entered the ipaddress of my Denon AVR-X2300W but returned an error it could not connect. i doublechecked the ip it’s correct (web interface works)
it turns out that Denon AVR-X2300W does not have HEOS compatibility