Denon AVR Plugin

I can help. Which plugin version are you using and what zone 2 functions do you need?

1 Like

Hi Greg,
Iā€™m using the plugin you posted above on November 20th. Thereā€™s quite a few functions Iā€™m looking to addā€¦ For now, just being able to switch Zone 2ā€™s output to CBL/SAT, GAME, MEDIA PLAYER would be great!

Being able to change Zone 1 Inputs would also be great. Iā€™m unable to get these working using the plugin.

Thereā€™s a few other settings Iā€™m looking for (unrelated to Zone 2), such as Dolby Atmos.

Is there a tutorial somewhere that would save you the trouble from doing this for me?

Really appreciate your offer to assist, thanks in advance Greg!

Yes, the input stopped working for me as well, Iā€™m not sure what changed but Iā€™m sure thereā€™s something wrong with my code. I didnā€™t really care about mapping my input sources to common names so I took all of that code out and itā€™s back how it was before where you put in ā€œCBL/SATā€ or ā€œMPLAYā€ for the input source. Hereā€™s the updated plugin with those changes. Iā€™ll respond later with info for your other questions.
DenonAVR_2021-02-04.plugin (12.0 KB)

Thereā€™s not a tutorial on how to exactly write a plugin, I learned by opening one up and reading through it to see what each element does. Hereā€™s the Denon IP Protocol https://www.heimkinoraum.de/upload/files/product/IP_Protocol_AVR-Xx100.pdf
I will work on putting in some zone 2 functions. What exactly are you wanting to do with Atmos? I donā€™t think you can turn it on or offā€¦let me know if Iā€™m wrong. We could recognize when itā€™s on and show a logo.

Thanks Greg!

The Atmos EQ looks like the attached image on my Harmony App. I can see something on the OSD when I turn it on.

Do you still have the original remote? If so, toggle the ā€œmovieā€ sound button and tell me if the same icon on the OSD changes. I donā€™t have Atmos so I canā€™t test here.

At risk of me complicating things further with a weak explanationā€¦I do want to see if I can clear up the Input Sources issue.

The 2 most critical fields I use on the input sources are _CommonName and _DenonProtocolID. To switch Input Sources, I send the _CommonName to the plugin (e.g. ā€œLiving Room TVā€). The onChangeRequest function looks for the _DenonProtocolID (e.g. ā€œTVā€) that corresponds with that _CommonName and sends it via the ā€œSIā€¦ā€ command (e.g. ā€œSITVā€). Thatā€™s really all there is to it.

The reason I did it this way is to avoid ā€˜hard codingā€™ the commands either in the xaml or in the plugin itself. For instance, if I move devices around on my receiver, I can remap each _CommonName (consider the same ā€œLiving Room TVā€) and _DenonProtocolID (now moved to ā€œSAT/CBLā€, so the command is ā€œSISAT/CBLā€). This can be done very easily via the app.

The _DeviceID and _HomeRemoteID have more to do with how I navigate my different pages, so they are likely less relevant to others. They should be able to be left empty without any impact on this plugin.

Just my two cents.

Hi Greg,

When Pressing Menu, you can keep pressing it to cycle through these:

When pressing Atmos, this shows up (not cycling, I think itā€™s like hitting a sound mode, such as CinemaEq):

image

Hope this helps! I can send a screenshot of the Harmony remote that shows up. All the possibilities, lol.

@amingle thank you for the help. My first input was working but none of the others so I think I missed something in a loop somewhere. I might go back and revisit it sometime.

@drift_645 try this one and use the binding DenonAVR.Dolby and report back.
DenonAVR_2021-02-05.plugin (12.1 KB)

This one has zone 2:

Binding: .Z2Power
Values: On, Off

Binding: .Z2Volume
Values: Up, Down

Binding: Z2Mute
Values: Muted, Unmuted

Binding: Z2InputSource
Values: CD, DVD, MPLAY, etc

Iā€™m not sure about the Atmos. There is no Atmos toggle. There is a Dolby Digital On, and then itā€™s up to the source - if itā€™s Dolby Digital Plus, thatā€™s what it will play. If itā€™s Dolby Atmos, thatā€™s what it will play. When you toggle Atmos off with harmony, what is the audio signal that you receive?
DenonAVR_2021-02-05.1.plugin (12.5 KB)

Hey Greg,

Thanks for the file. The inputs are working as is the new Dolby button you set up. I think I found a mistake I may have been making earlier. The changes I was making to the plug-in werenā€™t being applied. I had to install your plug-in as cutting/pasting your code wasnā€™t ā€œtakingā€.

This is awesome!

Is it possible to get the status of ā€œDolbyā€ being on or off to update the button? The inputs do it perfectly.

Iā€™ll try the Zone 2 stuff tomorrow,

Thank you!!

To show the status of Atmos, create a data trigger like you did with the input. Put the binding to DenonAVR.SurroundType, make sure ā€œisRegularExpressionā€ is checked, and then put ā€œ^DOLBY ATMOS$ā€ without the quotes in the value field.

1 Like

Sounds good. If you want to send me the original one you did before taking out all that code, I would be glad to look at it.

The changes I was making to the plug-in werenā€™t being applied.

After you make changes to the plugin, right click the device and synchronize.

1 Like

@amingle itā€™s the first one I posted above 11-06-20 https://community.thehomeremote.com/uploads/short-url/djSsyFAT40Iu0ckIuWZRUfrsuMe.plugin

Hey Greg,

I tried the Zone 2 commands. They arenā€™t having any impact. The zone change command is changing Zone 1ā€™s input source.

Maybe this is a limitation of the Denon command-set?

I just tested Z2 commands and they are all working on mine. I would make sure your HR buttons are referencing ā€œDenonAVR.Z2InputSourceā€.

Hi Greg,
Input sources are working! The status (current mode) isnā€™t populating when checking. Any ideas on polling for the current zone 2 input and power state?

The way the Denon handles zone 2 inputs isnā€™t quite as easy. There are over 40 possibilities for input and they have to be handled separately in the code. If you want to tell me what inputs you use, I can write those into the plugin.

Hi Greg,

Can you try CBL/SAT? I can then try to look at your code and add in other inputs (GAME, TV Audio, MPLAY)

Thanks!!