Hello,
I am trying to move from domoticz to home assistant, it is a steep learning curve and most of things working in domoticz do not work as yet in home assistant.
I have a Marantz SR 7011 that works when I use the denon component. I can change input sources and volumes. But I would like to have also ability to turn on / off the Zones. I choose the denonavr component but that component does not do anything (also not the main zone). In the logs I see:
" Host 192.168.2.29 returned HTTP status code 403 to GET request at end point /goform/formMainZone_MainZoneXmlStatus.xml
2019-01-24 19:52:15 ERROR (SyncWorker_3) [DenonAVR] Host 192.168.2.29 returned HTTP status code 403 to GET request at end point /goform/formMainZone_MainZoneXml.xml
2019-01-24 19:52:15 ERROR (SyncWorker_3) [DenonAVR] Host 192.168.2.29 returned HTTP status code 403 to GET request at end point /goform/formZone2_Zone2XmlStatus.xml
2019-01-24 19:52:15 ERROR (SyncWorker_3) [DenonAVR] Host 192.168.2.29 returned HTTP status code 403 to GET request at end point /goform/formZone3_Zone3XmlStatus\
No unfortunately not.
I do not understand python programming so I am stuck. If you understand python you may check this topic in domoticz forum about marantz python plugin: https://www.domoticz.com/forum/viewtopic.php?t=16700
With that plugin my SR 7011 works fine.
I just upgraded from a SR7010 to a SR7013, and while the denonavr component worked on the SR7010, I now get the same error as you with my SR7013.
Would love to get this to work again!
I have no success as of yet. The denon component works a bit (it is working through telnet). But denonavr (using http) not. I saw on Github a topic on using different ports (i.e:8080). The port works in a browser but not in the component
Although I am just trying my way without knowing much about the technicalities of the way these components work, I think I am on to something that might eventually enable one of you to fix the denonavr component so it works with newer Marantz recievers.
If you enter your recievers ip address in a browser like <IP_ADDRESS>:10080 you shold get access to a web interface of the setup menu and where you can also do some very basic operations like turn on and off and select input source.
I then opened the browser inspect tool in chrome and observed what kind of information was sent when I clicked around in the web app. Eventually I discovered the Network tab in the inspect tool and there the REST commands (I think it is?) that were sent.
So far I have identified how to turn the reciever on and off:
On: GET http://<IP_ADDRESS>:10080/ajax/globals/set_config?type=4&data=<MainZone><Power>1</Power></MainZone>
Off: GET http://<IP_ADDRESS>:10080/ajax/globals/set_config?type=4&data=<MainZone><Power>3</Power></MainZone>
So at least it should now be possible to create some REST sensors in HA for the basic stuff. I will try that now. Oh I guess that is not how this works. Better to create some API call nodes in node-red.
I have the SR7011 working with the denonavr component. I had to change this line in the denonavr.py file found in /srv/homeassistant/lib/python3.5/site-packages/denonavr:
I changed SR60 to SR70 and everything works. The SR7011 is then using port 8080 instead of 80. The only problem I have right now is that my main home assistant device is using docker. And I cannot find the denonavr.py file in the docker systemā¦ If anyone can point me to that file location?
Did you find the file in the Docker Container? I also have a Marantz SR7011, and have the same issues as you stated, so Iām eagerly waiting to see this fixed
Unfortunately not. So it works if you have home assistant in virtual env and can change the denonavr.py file. I asked the author of the plugin to add the SR7011 to the denonavr but no response as of yet.
In the meanwhile i also tried putting the denonavr.py in the custom_components folder like suggested elsewhere (Editing Component Files in Hassio) But the denonavr in the configuration file seems to just ignore that. Maybe you have an idea how to do that?
I just came back to this issue and reading your suggested workaround I gave it another go, and I got it working with my SR7013
I created a denonavr subfolder in custom_components for the media_player.py etc. and then I created an additional denonavr subfolder and put the denonavr.py etc. there, like this:
Then in the denonavr.py i made the suggested addition:
Iām quite new to HA and can see my Marantz NR1710 in HA by adding the HEOS intergration.
The problem is that not all functions are working. for example the ON/OFF is not working.
Iām trying to follow your suggestion to add the NR1710 to the DEVICEINFO_AVR_X_PATTERN
used this for now
Hi Tom.
Thx for your reply.
Sry forgot to mention that.
Hassio: 3.11
HA: 0.106.2
Iām using a raspberry pi with hassio. Latest update.
Marantz is connected to the lan and is discovered by HA but with limited functionality. I can see whatās playing(internet radio), use volume up/down/mute/stop/start.
I even have a script to start playing heos favorite 1.
But I canāt get it to turn on/off.
I do have access by browsing to the IP address. There I can turn it on/off (in a chrome tab) I captured my network and have an URL to turn it ON and one for OFF.
But canāt quite understand why HA is not supporting this.
Have you checked other mediaplayer entities? For my marantz I have two media player entities: 1 is called: media_player.marantz_sr7011 which seems to be generated by heos integration. In that entity I cannot turn off the player. The other entity is called: media_player.sr7011 and with that entity I can turn off the amplifier.
If i go to Configuration -> integrations -> Heos:Controller than i see it has discoverd the correct device info like model. if i click this line i even see the firmware number.