Here the AVR-S920W is working, except the little rounded buttons (Quick and Zone2).
I started doing some looking into how to make Zone 2 work with this and I think Iâm on to something. As an example the string to turn zone 2 on is:
{ipaddress}/MainZone/index.put.asp?cmd0=PutZone_OnOff%2FON&ZoneName=ZONE2
tested URL in browser and it works. Iâm playing with the code to see if I can create a âzone2â DTH so I can have a seperate DTH for ZONE2 which would give control as itâs own instance.
OK, thanks to SBDOBRESCU, with a little help from Samsung chat (who are excellent BTW) hereâs the end to end guide for overly ambitious absolute beginners (I got my hub less than 24 hours ago).
Youâll need to have set up your hub, app and smartthings account.
-
Goto:
Europe: https://graph-eu01-euwest1.api.smartthings.com/
or
US: https://graph-na02-useast1.api.smartthings.com/
Note: Samsung chat can tell you which you are hosted on if youâre not US or Europe based.
-
Login with your smartthings account BUT select SAMSUNG account, not smartthings, for new accounts.
-
âmy locationsâ and log in to your hub
You now need to enable GutHub integration. You should be able to go to âMy Device Handlersâ and enable it from there, youâll probably need to set up and verify a GitHub account. If you donât see an âEnable GitHub Integrationâ button towards the top right (next to âCreate new device handlerâ) then use this link:
Europe: https://graph-eu01-euwest1.api.smartthings.com/githubAuth/step1
or hopefully
US: https://graph-na02-useast1.api.smartthings.com/githubAuth/step1
You should now be able to:
- Settings > "Add new repository"
Owner: sbdobrescu
Name: DenonAVR
Branch: Master - then âsaveâ
- âUpdate from repoâ
- select "DenonAVR (master)
- select the device handler from (updated in GitHub)
- check OFF âPublishâ
- âExecute updateâ
âSB : Denon AVRâ should now appear as a Device Handler. Now you need to add it as a Device.
- Go to âMy Devicesâ > âNew Deviceâ
- Name & Device Network ID up to you
- Type > scroll down to DenonAVR (may be at the bottom of the list)
- Version > Published
- Location, Hub and Group as per your Hubâs configuration (you may not have a Group)
Then go to your Smartthings App.
- Select âMy Homeâ
- Select DenonAVR (or whatever you called the Device)
- Select the gear âSettingsâ icon
- Enter the device IP
Doh! Having done all that I think my Denon AVR-4306 (a 2006 model) may not be supported. The âDenonAVRâ Device has come through from the IDE to my iPhone Smartthings app but none of the buttons do anything. I know the amp is working remotely OK because the web page control works (from the same phone as the app is installed on):
http://192.168.1.140/index.htm
Might have to Wireshark network trace what the control web page does vs the app:
Iâm using a Denon AVR-S720W, with my HTPC (movies and TV shows archived and using Plex) connected to the HDTV via HDMI; Alexa (Dot) connected via optical audio cable; Satellite TV connected to HDTV via HDMI; the HDTVâs sound output connects to the AVR via optical audio cable. My issue is that I want Alexa to be âalways on,â able to utilize the surround speakers at any time. However, if I forget to switch the audio output setting/button to âAlexaâ (i.e. optical audio input 2), Alexa wonât be heard. Is there a way to mitigate this using the above IDE and ST integration? Has anyone run into this issue? I know I can use the multi-channel, multi-zone option at the same time, but I feel like this might be a âworkaroundâ rather than the best possible solution⊠Any help is appreciated.
Hi, I have the 4308a model and was waiting to see if anyone got this working on one/similar to mine. I will watch with interest.
Hello,
I have installed the DTH and created a Device. I can see my receiver in the ST app, however nothing works. When logged into the IDE and viewing Live logging I get this error for every command:
7:26:51 PM: error org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. @ line 175
7:26:47 PM: error org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. @ line 175
7:26:40 PM: error org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. @ line 175
Any help would be appreciated.
JR, did you ever get this working? If so would you mind sharing your code? I realized the other day that my zone2 was on for several days. Doh! Would be nice to make sure it turns off automatically. Thanks in advance.
Never fullyâŠas I just ended up using my harmonyâŠhowever what was causing me the issues was near the end of the code it was using the IP address as the unique device IDâŠwhich I didnât realize and it was driving things crazy with 2 of the same devices with the same device IDâŠI do think I might have some code that works at least for turning off and on but havenât looked at it in a while.
Will it work with AVR-S730H / AVR-S930H?
I am having trouble loading the device handler. I added the repo but when I click Update From Repo, there is nothing under New.
You first need to install it manually.
Iâm slow today. I was trying to add it as a SmartApp instead of a device handler. Thanks!
Hi all, just bought the AVR-S930H receiver. Installed the DH, changed the IP in the settings, but it doesnât control the device. Any idea what Iâm missing?
Is it possible Denon disabled web control? Iâm getting 403 error when trying to send post requests.
This is what I see in the log:
Itâs unlikely, as there are professional installers who are associated with them who would be out of business were that to occur. Certainly, Denon is not going to step backwards to RS232 or some proprietary cabled protocolâŠ
Are you able to access this page (replace ip.address with your ip) ?
No. Iâm getting 403 error. I used POSTMAN to try and post the request you have in code, but got 403 as well.
Hmmm, looks like Web Control feature is no longer provided for the new Denon modelsâŠ
The Denon site says this AVR can be controlled by the âDenon AVR Remoteâ app on android or IOS:
https://usa.denon.com/us/product/hometheater/receivers/avrs930h
If thatâs the case, then indeed it can accept Web Control. Because thatâs exactly what the AVR Remote app does.
So to Maor_Levy: have you downloaded the AVR Remote app to a phone or tablet?
If so, does it work?
And one other question: do you have an older app also connected to the AVR, or have you established a telnet connection to it? If youâve telnetted into the AVR, that connection will tend to persist and will block out other communications. Http commands are momentary; telnet stays connected unless you send a specific disconnect command.
have you downloaded the AVR Remote app to a phone or tablet?
If so, does it work?
Yes. The Denon and HEOS apps are working just fine.
Update: I just got the AVR-X1400H and I get the same 403 error when accessing this path: http://ipaddress/goform/formMainZone_MainZoneXml.xml
I guess I can listen to the command over the network to see which protocol Denon is using.