[RELEASE] - Denon HEOS Integration

Maybe. All I can say for sure is that’s a networking issue and the hub can’t talk to that device.

1 Like

I've been digging a little. It's actually dying on a HEOS amp I have on ethernet.
It can be a bit sluggish when started so I played some music through it to wake it up and retried. Still same result.
I was trying to figure out a way to increase the timeout on the httpGet , but don't really know groovy and I didn't even find anything about that function with a quick google.
Maybe this type of device needs to be excluded?

2021-10-13 05:28:19.795 pm errorjava.net.NoRouteToHostException: No route to host (Host unreachable) on line 171 (method prefListDevices)
2021-10-13 05:28:07.480 pm debugverifying 192.168.50.100

A timeout won’t help here. That would be a different error. That error is when Hubitat asks your router “how do I talk to device xyz?” Your router is responding “I don’t know. I can’t find device xyz” I have a HEOS amp myself and it works fine for me so I think it’s something with your setup.

Just an FYI. I think the IP address it fails on isn't shown in this scenario. It fails before hitting your debug statement. I slapped in a few more debugs to see what else i could find.
It looks like the device I deleted from HEOS is still somehow showing up. It's gone from my HEOS phone app and spotify but it still gets into the list here somehow. I'll wait awhile and try again - I'll code a bypass for it if I have to.

app:3752021-10-13 05:52:44.257 pm errorjava.net.NoRouteToHostException: No route to host (Host unreachable) on line 176 (method prefListDevices)

app:3752021-10-13 05:52:31.935 pm debugpARAMS [uri:http://192.168.50.176:60006, requestContentType:application/xml, contentType:application/xml, path:/upnp/desc/aios_device/aios_device.xml]

app:3752021-10-13 05:52:31.932 pm debugverifying 192.168.50.176:60006 /upnp/desc/aios_device/aios_device.xml

Yeah, you're right.

Ah, well that explains it, Hubitat doesn't know you deleted this device. I suspect you'll find there is a Hubitat device matching the HEOS device you deleted. You'll need to delete that device from Hubitat.

Nope. No devices got made at all in hubitat.

Looks like it got detected but not fully created. I think if you remove the HEOS app (click the Gear Icon then Remove) and readd it you should be good.

1 Like

I'll give it a whirl later. Thanks for the help.. I'll let you know what happens.

Sure, let me know. I wrote this one a while ago and haven't looked at it in a while so have to refresh my memory a bit on how the code works!

I hear you on that. Don't sweat it. I'm enjoying poking around a bit and learning.

AND....Boom!
It seems to be working. Found my 3 ethernet speakers stupid fast, one wireless one is taking a bit longer but certainly working as designed so far.

1 Like

I've skimmed this thread and it seems possible but can't find much in the way of details. Can anyone show me how to get the album art from this driver showing on the media player dashboard tile?

You can't. Media player tiles don't support that. You'd have to write some custom tiles with HTML.

Alrighty, how about as an image tile?

I think that would work but I've never tried. I don't really use dashboards.

Yes that should work. Pretty sure I tried that out in the past (although it’s been a while).

I'm new to hubitat and would love to integrate my HEOS environment. I installed the driver and app code but when I login it seems to never authorize my account. I saw that someone else had that issue back in 2020 and it seemed to be a version issue. I'm currently in 2.3.2.139 and not sure how to revert to a previous version or even what version to revert to. Any advice is greatly appreciated. Thanks all!

Trying to revive an old thread. I have been using the custom Denon Heos Integration for a year plus. It detects all my Heos speakers and up until recently I was able to use Amazon PlayTopResults for stations. Other options (playlist, album or artist, etc.) never worked for me as a prime music member. With Amazon changing how prime music works, now all I can do is select the speaker volume. None of the options shown in the speaker device to call Amazon music works. I had a rule that played a certain station when a door was opened, which no longer works.
My question is more general, is there any chance of further work on this custom integration or potentially an official one as a feature request that works with Amazon music and Heos directly without using Alexa/Echo speaks as the middle man?

A community dev would have to be motivated to take it over. @thebearmay seems to get bored easily and sometimes takes on requests like this, even for devices/services he doesn’t use himself :grin:.

You can always make an official feature request but as a cloud-based integration with a network media player it may not be much of a priority for the staff.

2 Likes

The Heos wifi speakers have excellent quality, but it is always an issue to integrate them with other systems. I was vey thankful when I found this solution and it would be fantastic if someone would take this forward (or just maintain it for that matter).