Denon AVR Sensors

Has anyone been able to create sensor for Denon receivers that show the status of different options like: Dynamic EQ: On, Dynamic Volume: Light, LFC: Off, etc?

I can send command just fine but I can’t figure out how to get the status back with commands like:
PSLFC ?
PSDYNVOL ?
PSREFLEV ?

Is this even possible?

I used this API on my Marantz SACD 30n (same family) but only for checking power status. I use following code to create switch, that powers on/off an checks status:

switch:
  - platform: telnet
    switches:
      marantz_sacd30n:
        resource: 192.168.52.57
        port: 23
        command_on: "PWON"
        command_off: "PWSTANDBY"
        command_state: "PW?"
        value_template: '{{ value == "PWON" }}'
        timeout: 0.5

As DYNVOL have more than 2 parameters, it won’t be possible to set all of available options (perhaps using more than one switch), but checking the status would be even more complex, as switch platform allows for only 2 states to be returned, and Denon API would return one of 4 possible states… maybe there is some clever solution to this…

Thanks. Does your receiver not support the default Denon integration (which supports status/power)?

The default integration already returns the dynamic_eq value so I’m not sure why it doesn’t just retrieve the other ones as well.

Looks like I’ll be able to make a POST call to /goform/AppCommand0300.xml with this XML which will return most of what I’m looking for.

<?xml version="1.0" encoding="utf-8"?>
<tx>
    <cmd id="3">
        <name>GetAudyssyInfo</name>
        <list>
            <param name="eqname"></param>
            <param name="eqvalue"></param>
            <param name="dynamiceq"></param>
            <param name="dynamicvol"></param>
        </list>
    </cmd>
</tx>

Will just need to parse the results. I also want to be able to get the LFC setting but looks like I’d have to use Wireshark to see what the parameter name is for it since it doesn’t seem to be documented. Probably not worth the effort since I can just send the commands without knowing the current status.

1 Like

In fact I use set of Maranz Model 30 integrated amplifier and SACD 30n CD player/network streamer. These support Heos integration, that I use to control them, with exception of power on/off that is not working. In fact it is also not possible to control volume (Heaos controls variable level output of player, instead of master volume of integrated). Marantz does not support full Denon integration, as it is based on some web responses, not implemented in Marantz devices. But REST API is implemented, so I’m using media player template to integrate it with HEOS and have full control over my equipment.

I was wondering if you got anywhere with this. I am trying to gain the value of the Dynamic Volume, in particular, by using a sensor as below.

sensor:
  - platform: rest
    name: Test
    method: POST
    resource: 'http://xxx.xxx.xxx.xxx:8080/goform/AppCommand0300.xml'
    payload: >
        <?xml version="1.0" encoding="utf-8"?>
            <tx>
              <cmd id="3">
                <name>GetAudysseyInfo</name>
                <list>
                  <param name="dynamiceq"></param>
                  <param name="dynamicvol"></param>
                </list>
              </cmd>
            </tx>
    headers:
        content_type: application/xml

but appear to receive

<?xml version="1.0" encoding="utf-8" ?> <rx> <cmd> <name>GetAudysseyInfo</name> <list> <CMD ERR> </list> </cmd> </rx>

Any ideas?

Replace <name>GetAudysseyInfo</name> with <name>GetAudyssyInfo</name>