[BETA RELEASE] Denon AVR Driver

After a few weeks of development, I am releasing my Denon AVR Driver for some brave souls to try. It is a BETA driver, and does some VERY non-traditional driver development. It might do bad things, there is no warranty. That said, I have built this driver to be FULLY configurable so I can add children devices and ANY command easily. If you are brave, take a look!

FAQ

  • Will this work on my device? I Have no idea. This is workiing on a Denon 3400H. That being said, it is based on the API documentation located HERE
  • Wow, my whole hub crashed. Please read my introduction
  • I want other features! I have included the one I care about. Let me know, I'll take a look
  • I looked at your driver. I have no idea what is going on! Welcome to the club. As I said, this driver is doing some Groovy magic

Features

  • Entire driver is BUILT at runtime based on configuration structures. Adding support for new commands is simply as adding a line or so of code.
  • Zone 2 support - Yea!
  • Speaker support
  • Zone 3 support (if someone asks for it)
  • Supports about 70% of available commands (let's be honest, there are alot of them).

I have put it through the paces and it seems to be working, I need some community eyes on it.

File Locations

Please install all these files. They are the main and child device drivers. Set up a virtual device of the Main Driver type and then setup the child devices from the Main Driver configuration page.

Main Driver: https://raw.githubusercontent.com/tchoward/Hubitat/master/Denon_AVR_Master.groovy
Zone 2: https://raw.githubusercontent.com/tchoward/Hubitat/master/Denon_AVR_Zone2_Child.groovy
Speakers: https://raw.githubusercontent.com/tchoward/Hubitat/master/Denon_AVR_Speaker_Child.groovy

4 Likes

Zone 2 (and even 3) support is huge! Looking forward to trying this driver out.

Will you add to HPM at some point?

Thanks for sharing!

Edit: my Marantz receiver has a zone 3, I don’t really use it yet but I’m happy to test it out if support for that is added at some point.

Try out the driver and let me know. Adding Zone 3 support would take 5 minutes. I have not provided too many details, but the driver auto-generates the commands and functions. I want to make sure it does not do anything "bad" to people's hubs before making it available more generally. I'll add Zone 3 tonight.

1 Like

Sorry that took longer to try out than I intended!

Driver seems to be working fine in terms of basic features. Nothing’s blown up on the hub since I installed it either.

I don’t quite understand what the speaker child device does?

YES!

So... my device has the ability to control speaker volume individually (it’s in the API). It was an experiment in using the config method... It works... is it useful? I doubt it.

1 Like

2021-01-28 08:07:33.514 am errorjava.lang.StackOverflowError: null on line 285 (installed)

Error is from zone 2 device. Which also got created as "null Zone2" and it doesn't look like it's taking a rename.

Also, I'm not seeing where the "source" is selectable?

Also seems to be missing a refresh or current states (input) on zone 2.

SOOOOO not complaining and trying to aid in testing :slight_smile: If you get this all sorted out this will be awesome for those of us that have really been wanting Zone 2 support!

I see. It can adjust the volume to each channel manually. I have a Marantz SR8015 and I think it could probably do that, but I use the Audessey tuning to automatically set each speaker level.

Nice driver, works well with my AVR-S650H. Thanks!

Been waiting for this since I switched from Vera. Works great with my receiver--thanks!