DenonAVR with AVR-X6300?

Hello,

I’m trying to set up HA to work with my AVR-X6300 and I’m using the following configuration:

media_player:
  - platform: denonavr
    host: 192.168.1.12

Its producing the following errors:

17-03-31 03:22:32 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
17-03-31 03:22:32 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
17-03-31 03:22:33 ERROR (Thread-8) [DenonAVR] Host 192.168.1.12 returned HTTP status code 403 when trying to receive data
17-03-31 03:22:33 ERROR (Thread-8) [DenonAVR] Connection Error: Receiver sources list empty
17-03-31 03:22:33 ERROR (Thread-8) [DenonAVR] Host 192.168.1.12 returned HTTP status code 403 >when trying to receive data
17-03-31 03:22:44 ERROR (Thread-8) [DenonAVR] Host 192.168.1.12 returned HTTP status code 403 when trying to receive data
17-03-31 03:22:54 ERROR (Thread-3) [DenonAVR] Host 192.168.1.12 returned HTTP status code 403 when trying to receive data

I noticed the device is not in the list of confirmed, does the config look right?

Yes look correct.
Try with just denon, not denonavr

That works better, thanks!
Looks like I won’t get support for all the inputs or zones though…

Check the entity I. Dev tab.
Should support input change.

Zone 2 support Being added I think

The denon platform uses a telnet interface while denonavr uses an http interface that more or less replicates what the remote control applications (e.g. for iOS) do.

It looks like your device doesn’t support the URLs used by denonavr (or requires authentication - HTTP code 403 is forbidden, so maybe they’ve added some kind of authentication, although that seems unlikely)

One of the URLs it calls is /goform/Deviceinfo.xml - if you go to that in a browser I assume you’d get the same 403 error?

There is an alternative method via http. Can you try the following:

curl http://192.168.1.12/goform/AppCommand.xml -d '<?xml version="1.0" encoding="utf-8"?> <tx><cmd id="1">GetSourceStatus</cmd> </tx>'

If you get an XML response that shows the current source, it might be possible to get the web version running. The denonavr developer is pretty responsive and I’m working with him to get it running with my Marantz system - i.e. I’m sending him XML files and he’s doing the coding :smile:

This is what I’mgetting in return:

# curl http://192.168.1.12/goform/AppCommand.xml -d '<?xml version="1.0" encoding="utf-8"?> <tx><cmd id="1">GetSourceStatus</cmd> </tx>'
Error 403: Forbidden

It is working with the AVR Remote app without me needing to enter any credentials.

According to this thread they have removed the web control interface from my model

I’m mostly concerened because the source list using the telnet interface does not appear to be complete:
source_list: AUX1,AUX2,Blu-ray,CBL/SAT,CD,DVD,Game,Media Player,Phono,TV Audio
(missing: HD Radio, Bluetooth, Online Music)
I wonder if the dennonavr developer knows a new way of doing this?

If they’ve removed the web interface your only option will be the denon component rather than denonavr.

They did not removed the web interface but changed the port to 8080 as @arseneyr found out.

3 Likes

@Devanl, did you ever get this to work? Having similar issues with my x6300H.