Denon / Marantz 2.0 Binding

Why are you using the http binding? Maybe should have asked in the first place :slight_smile:
The DenonMarantz binding has a channel to send commands (select “show more” in the Paper UI to see the channel).
Eg. denonmarantz:avr:123456:general#command, then try sending the command using an item linked to this channel.

Holy shit!
Never saw this…
Ok how to do this ?
Can i make a new item with VsCode (textual) linked to this command channel ?
Maybe can you give me an example ? Because its the first time i do it like that ?

BR Peter

Yes, create an item in a .items file
String marantz_command {channel="denonmarantz:avr:1:general#command"}

Then you can use sitemap mappings, or Rules to send commands. There are also examples in this topic if you scroll up.

YEHA!

Thank you it works flawlessly without any delay!

Many many thanks!

BR Peter

1 Like

Good to hear Peter, happy new year with many more home automations! :slight_smile:

1 Like

Here in Hessen we say #GUDE2020 :slight_smile:
But one last question:
this is my item:

String DenonCommand "Denon Remote" { channel="denonmarantz:avr:0005cd3a0e8e:general#command" }

an now the Sitemap:

Switch item=DenonCommand         icon="movecontrol"   mappings=['MNMEN ON'="SETUP ON",'MNMEN OFF'="SETUP OFF",MNENT="ENTER"]
Switch item=DenonCommand         icon="movecontrol"   mappings=[MNCLT="⬅️",MNCUP="⬆️",MNCDN="⬇️",MNCRT="➡️"]
Switch item=DenonCommand         icon="movecontrol"   mappings=[MNRTN="BACK",MNINF="INFO",MNOPT="OPTION"]

And when i use all this my sitemap looks like that:
48
when i switch to Setup ON it looks like that:
02
So the actual Status of the command channel is shown in the Sitemap ???
Never see that anywhere.

The Command channel does not get updated by the binding, it will have the value you set it to. That is why the last command is highlighted in the interface I think.

Can i hide that ?

Yes, for example by creating an intermediate item.
Then create a rule (… received command) to send the same command to the actual linked item.
After sending the command set the intermediate item (with postUpdate to not trigger the rule) to blank or some value that is not mapped.

Ah ok,
maybe later.
I dont use use the Setup im my Denon so much but now its done with in OH.

Once again thank you for your support!

Br Peter

1 Like

So why does the binding communicate so fast ?
Is it also http or telnet ?

Br Peter

I changed the thing to that:

String DenonCommand "Denon Remote []" { channel="denonmarantz:avr:0005cd3a0e8e:general#command" }

Now the Status is not shown anymore in the UI

It can do telnet or http, depends on how you configured it (or how it auto detected the AVR).

Then here its not telnet.
But whats the reason that it is faster then the http binding ? (an no errors in the log)

So for those who are intrested, here my custom commands for my Denon X2000.
I realised the commands to replace the manual remote and direct access to the channel volume.

my custom command string item:

String DenonCommand "[]" { channel="denonmarantz:avr:<mydenonuniqeid>:general#command" }

my relevant part of the sitemap:

Switch item=DenonCommand         icon=""              mappings=['MNMEN ON'="SETUP ON",'MNMEN OFF'="SETUP OFF"] //Setup Menue On Off
Switch item=DenonCommand         icon="movecontrol"   mappings=[MNCLT="⬅️",MNCUP="⬆️",MNCDN="⬇️",MNCRT="➡️"] //The Arrowkeys 
Switch item=DenonCommand         icon=""              mappings=[MNENT="ENTER",MNRTN="BACK",MNINF="INFO",MNOPT="OPTION"] //Enter Back Info and Option Keys
Switch item=DenonCommand         icon="soundvolume-0" mappings=['CVSW UP'="SUBW +",'CVSW DOWN'="SUBW -",'CVC UP'="CENTER +",'CVC DOWN'="CENTER -"] //Subwoofer and Center Volume
Switch item=DenonCommand         icon="soundvolume-0" mappings=['CVFL UP'="FRONT L +",'CVFL DOWN'="FRONT L -",'CVFR UP'="FRONT R +",'CVFR DOWN'="FRONT R -"] //Frontspeaker Volume
Switch item=DenonCommand         icon="soundvolume-0" mappings=['CVSL UP'="SURR L +",'CVSL DOWN'="SURR L -",'CVSR UP'="SURR R +",'CVSR DOWN'="SURR R -"] //Sourroundspeaker Volume
Selection item=DenonCommand         icon="soundvolume-0"   label="Sourround Mode" mappings=[MSMOVIE="Movie",MSMUSIC="Music",MSGAME="Game",'MSPURE DIRECT'="Pure Direct",MSDIRECT="Direct",MSSTEREO="Stereo",MSSTANDARD="Standard",'MSDOLBY DIGITAL'="Dolby Digital",'MSDTS SURROUND'="Dts Surround",'MSMCH STEREO'="Multi Ch Stereo",'MSROCK ARENA'="Rock Arena",'MSJAZZ CLUB'="Jazz Club",'MSMONO MOVIE'="Mono Movie",MSMATRIX="Matrix",'MSVIDEO GAME'="Video Game",MSVIRTUAL="Virtual"] // Select SURROUND mode

have fun with it.

Br Peter

1 Like

hi there again,

did somebody try to operate a Denon Blu-Ray player with OpenHab ?
I read at the Denon Website that Denon Blu-Ray players IF they are connected with HDMI to an
AVR from Denon they can be controlled by remote with the Denon Remote App.
Therefore i guess it can be possible to control them with OpenHab.

Iam trying to find that out because my old LG BD doesnt support that.

BR
Peter

Hi all!
I wrote a topic here: Denon&Marantz binding ZONE4 operation but I can’t deal with it myself. Can anybody help? It would be best to add 4th zone…

1 Like

Hi, I’m working on official support for a 4th zone. Track progress here: https://github.com/openhab/openhab-addons/issues/7197

Hi there,

since a few days i have a lot of messages like that in the log:

2020-03-29 11:51:15.049 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel mainZone#input although the handler was already disposed.

2020-03-29 11:51:15.052 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#surroundProgram although the handler was already disposed.

2020-03-29 11:52:50.953 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#surroundProgram although the handler was already disposed.

2020-03-29 11:52:56.191 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel mainZone#volume although the handler was already disposed.

2020-03-29 11:52:56.197 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel mainZone#volumeDB although the handler was already disposed.

2020-03-29 11:55:02.921 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel mainZone#volume although the handler was already disposed.

2020-03-29 11:55:02.926 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel mainZone#volumeDB although the handler was already disposed.

2020-03-29 11:56:46.951 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:05:38.062 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:09:39.002 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:12:56.205 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:17:12.578 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:22:03.951 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:25:04.124 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:27:43.449 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:31:54.616 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:35:59.232 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:39:22.768 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:40:58.819 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel mainZone#input although the handler was already disposed.

2020-03-29 12:41:04.048 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel mainZone#volume although the handler was already disposed.

2020-03-29 12:41:04.052 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel mainZone#volumeDB although the handler was already disposed.

2020-03-29 12:44:12.110 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:47:33.851 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:50:41.664 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:54:28.823 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

2020-03-29 12:57:24.978 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DenonMarantzHandler of thing denonmarantz:avr:0005cd3a0e8e tried updating channel general#track although the handler was already disposed.

I´m on OH 2.4 with a Denon AVR X2000

Br Peter

I’d did a restart of OpenHab.
Now the messages are gone…

1 Like