Cynical Denon - Denon and Marantz AV Receiver control

Posted on
Tue Apr 09, 2013 8:13 pm
bmoraes offline
Posts: 47
Joined: Feb 05, 2007
Location: Rio de Janeiro, Brazil

Re: Cynical Denon - Denon and Marantz AV Receiver control

Perry,

I have an AVR-4810 and an AVR-4310. If you need help testing the plugin I'm willing to help!

Cheers, Bruno

Posted on
Fri Apr 26, 2013 9:11 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Denon - Denon and Marantz AV Receiver control

I have an AVR-4810 and an AVR-4310. If you need help testing the plugin I'm willing to help!

Try out Cynical Denon version 1.5.0 (just posted). I've made a small change to tolerate a second radio (by sticking with the HD Radio and ignoring the other one, essentially). Let me know if it solves your problem (or if not, send me your Indigo log on how it fails).

Cheers
-- perry

Posted on
Fri Jun 07, 2013 9:37 am
nicb offline
User avatar
Posts: 70
Joined: Feb 17, 2008

Re: Cynical Denon - Denon and Marantz AV Receiver control

Perry,

I was using a 1.x version of the plugin for a while and it was reasonably reliable, with it sometimes loosing track of my amps. You suggested that there would be networking improvements in the a future version and I eagerly installed v1.5. This now seems to be 'crashing' regularly. After running for about a day I get the following and need to restart the plugin

Code: Select all
 Cynical Denon Error             in runConcurrentThread: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 46, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/debugging.py", line 56, in diagnose_call
    return method(*args, **kwargs)
  File ".../Server Plugin/cyin/asynplugin.py", line 51, in runConcurrentThread
    self.run()
  File ".../Server Plugin/asyn/inject.py", line 49, in run
    asyn.Controller.run(self)
  File ".../Server Plugin/asyn/controller.py", line 95, in run
    self._dispatch()
  File ".../Server Plugin/asyn/controller.py", line 227, in _dispatch
    top.callout(Ctx('TIMER', sched=top, control=self, when=top.when, now=now))
  File ".../Server Plugin/asyn/core.py", line 140, in callout
    results = [cb(ctx, *args) for cb in list(self._callbacks)]   # latch callback list
  File ".../Server Plugin/denon/avr.py", line 440, in _cmdxmit
    self.xmit_idle()
  File ".../Server Plugin/denon/avr.py", line 412, in xmit_idle
    self._next_discovery()
  File ".../Server Plugin/denon/avr.py", line 391, in _next_discovery
    self._schedule_discovery()
  File ".../Server Plugin/denon/avr.py", line 372, in _schedule_discovery
    self.callout('discover', 'done')
  File ".../Server Plugin/asyn/core.py", line 140, in callout
    results = [cb(ctx, *args) for cb in list(self._callbacks)]   # latch callback list
  File "plugin.py", line 141, in _event
    self.discovery(*args)
  File "plugin.py", line 170, in discovery
    self.proceed("on" if self.avr.main_power else "standby", recovered=True)
  File ".../Server Plugin/cyin/devstate.py", line 155, in proceed
    self.callout('change', self)
  File ".../Server Plugin/asyn/core.py", line 140, in callout
    results = [cb(ctx, *args) for cb in list(self._callbacks)]   # latch callback list
  File ".../Server Plugin/cyin/devstate.py", line 118, in _base_change
    self.start()
  File ".../Server Plugin/cyin/devstate.py", line 398, in start
    self.set_display_address("%s %s %s" % (self.hostdev.name, self.PARTNAME, self.subaddress))
  File ".../Server Plugin/cyin/iom.py", line 453, in set_display_address
    self.io.replacePluginPropsOnServer(props)
ValueError: ElementNotFoundError -- could not find device with element ID 10805398


Note that I don't have a device with element ID 10805398

Any suggestions, anything I can do to track down the issue?

Thanks in advance

Posted on
Fri Jun 07, 2013 9:50 am
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Denon - Denon and Marantz AV Receiver control

Interesting. It looks like there's device depending on your receiver device that got messed up. You're crashing at the point where the Receiver device says, "I'm ready to go now," and broadcasts to its dependent devices to come up, and one of them refers to itself by a device ID that Indigo says doesn't exist. Weird.

Do you have any devices other than the Receiver itself in your Indigo setup? Which ones?

Obviously, if your first priority is to just get things working again, you may want to consider recreating your device(s), starting with the dependent (if any). Or we can try to figure this out...

Cheers
-- perry

Posted on
Fri Jun 07, 2013 10:09 am
nicb offline
User avatar
Posts: 70
Joined: Feb 17, 2008

Re: Cynical Denon - Denon and Marantz AV Receiver control

Thanks for the quick response. I'm happy to work this though for a bit.

The only related devices I have are these

AVDevices.png
AVDevices.png (22.54 KiB) Viewed 6674 times


Though your comment has reminded me that I have an Action Group, relating to the second zone I deleted. The AG isn't triggered by anything that is enabled, but there is a disabled trigger which calls the AG - possibly that's where the validation is failing? That zone was also on the amp which caused this error.

I have deleted the AG and will see what happens...

Posted on
Fri Aug 09, 2013 3:48 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Cynical Denon - Denon and Marantz AV Receiver control

Having a problem getting control of my Denon AVR-3806. I am using a Startec RS232_1 to make the connection to my router. I did the same thing with my Russound receiver and it works great. For some reason I cannot get the port to be active on the second Startech. I have attached screen shot of the settings. They are the same as I use with the Russound, except for the IP address. The port shows as inactive. Any suggestions?

John R Patrick
Author of
Home Attitude

Posted on
Fri Aug 09, 2013 4:18 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Denon - Denon and Marantz AV Receiver control

wideglidejrp wrote:
Having a problem getting control of my Denon AVR-3806. I am using a Startec RS232_1 to make the connection to my router. I did the same thing with my Russound receiver and it works great. For some reason I cannot get the port to be active on the second Startech. I have attached screen shot of the settings. They are the same as I use with the Russound, except for the IP address. The port shows as inactive. Any suggestions?

I don't see that screen shot offhand...

With a network/RS232 adapter, you're responsible for setting the port configuration. In this case, it's usually 9600 bps with no parity or flow control. One quick check is to (disable the plugin for a bit and) telnet to the host/port you set in the plugin. If telnet complains, you got the hostname or port wrong. If telnet succeeds, go and turn the volume up or down on your receiver (make sure it's on). You should see gibberish appear in telnet (something like MV65). If you see nothing, you've either misconfigured the serial port on the Startec, or your Denon is having trouble (try resetting its processor).

(It's possible that your Denon needs a different serial port speed; that's configurable on some devices. The 9600 is the usual default.)

Cheers
-- perry

Posted on
Fri Aug 09, 2013 4:36 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Cynical Denon - Denon and Marantz AV Receiver control

I know the default is 9600 but it took 19200 to get the Russound to work. Since my post, I found Denon manual that says to use 9600. Tried that but as you can see in screenshot (which I will not forget to upload this time) that the port is not active. The same screen shot of the Russound config would show the port as active. Does the screen shot trigger any ideas?
Attachments
Screen Shot 2013-08-09 at 6.32.37 PM.png
Screen Shot 2013-08-09 at 6.32.37 PM.png (40.69 KiB) Viewed 6603 times

John R Patrick
Author of
Home Attitude

Posted on
Fri Aug 09, 2013 4:38 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Cynical Denon - Denon and Marantz AV Receiver control

and here are the port config mode choices...
Attachments
Screen Shot 2013-08-09 at 6.37.03 PM.png
Screen Shot 2013-08-09 at 6.37.03 PM.png (36.64 KiB) Viewed 6603 times

John R Patrick
Author of
Home Attitude

Posted on
Fri Aug 09, 2013 4:51 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Denon - Denon and Marantz AV Receiver control

Well, did you actually try to telnet to that port 4098? From a quick glance at the Startec's manual, it'll be "inactive" until someone actually connects to it over the network.

(I've never used that Startec device, so I have no idea what interesting features or behaviors it may have. Cynical Denon simply makes a network connection to the host and port specified and talks Denon protocol over that. You seem to be having problems at the "connecting to" stage.

And what is the plugin saying? Turn on debugging, reload the plugin, and show me what it says.

Cheers
-- perry

Posted on
Fri Aug 09, 2013 5:09 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Cynical Denon - Denon and Marantz AV Receiver control

Telnet got me to the CMD line. When I turned on debug and reloaded the plugin I got....

ug 9, 2013 7:06:09 PM
Reloading plugin "Cynical Denon 1.5.1"
Stopping plugin "Cynical Denon 1.5.1" (pid 5269)
Cynical Denon shutdown sensed
Cynical Denon Denon Receiver stopping
Stopped plugin "Cynical Denon 1.5.1"
Starting plugin "Cynical Denon 1.5.1" (pid 5270)
Started plugin "Cynical Denon 1.5.1"
Cynical Denon mapping device "Denon Receiver" 73947687(avreceiver)
Cynical Denon Denon Receiver starting
Cynical Denon Denon Receiver connecting to host
Cynical Denon plugin starting asyn operation
Cynical Denon Denon Receiver is now exploring
Cynical Denon Denon Receiver enabling idle probes
Cynical Denon zones M
Cynical Denon Denon Receiver is now standby
Attachments
Screen Shot 2013-08-09 at 7.04.19 PM.png
Screen Shot 2013-08-09 at 7.04.19 PM.png (6.85 KiB) Viewed 6589 times

John R Patrick
Author of
Home Attitude

Posted on
Fri Aug 09, 2013 5:14 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Cynical Denon - Denon and Marantz AV Receiver control

I see your point about inactive unless something connects. The plugin connects but the result is that Denon is in Standby. I wonder if that is why I can't get it to do something. My test case is to set the volume to -100. It doesn't do anything. Maybe because the unit is in standby mode to the plugin. I don't know how to get it out of standby.

John R Patrick
Author of
Home Attitude

Posted on
Fri Aug 09, 2013 5:29 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Denon - Denon and Marantz AV Receiver control

wideglidejrp wrote:
I see your point about inactive unless something connects. The plugin connects but the result is that Denon is in Standby. I wonder if that is why I can't get it to do something. My test case is to set the volume to -100. It doesn't do anything. Maybe because the unit is in standby mode to the plugin. I don't know how to get it out of standby.

Well, Standby means turned off, so it wouldn't be surprising that you can't change the volume. Send it a turn-on command. Or just turn it on manually and see if the state switches to on.

And seriously, check the debug checkbox in the plugin's configuration dialog, reload the plugin, and post the output. Without that data, we can speculate endlessly about what's happening.

Cheers
-- perry

Posted on
Sat Aug 10, 2013 8:10 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Cynical Denon - Denon and Marantz AV Receiver control

Hi Perry. Thanks so much for helping me. I am a bit confused about the Denon. The plugin is saying it connected and that the unit is in standby. The unit is actually on and playing music. I tried the volume = -100 command and nothing happens. I guess that is because it is in standby. But how can it be in standby if it is playing. Here is what the plugin says...

Aug 10, 2013 10:05:08 AM
Reloading plugin "Cynical Denon 1.5.1"
Stopping plugin "Cynical Denon 1.5.1" (pid 5270)
Stopped plugin "Cynical Denon 1.5.1"
Starting plugin "Cynical Denon 1.5.1" (pid 6086)
Started plugin "Cynical Denon 1.5.1"
Cynical Denon mapping device "Denon Receiver" 73947687(avreceiver)
Cynical Denon Denon Receiver starting
Cynical Denon Denon Receiver connecting to host
Cynical Denon plugin starting asyn operation
Cynical Denon Denon Receiver is now exploring
Cynical Denon Denon Receiver enabling idle probes
Cynical Denon zones M
Cynical Denon Denon Receiver is now standby

John R Patrick
Author of
Home Attitude

Posted on
Sat Aug 10, 2013 8:52 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Cynical Denon - Denon and Marantz AV Receiver control

The messages imply that the device is off but the music is playing as I type this. Here are some new messages from the plugin. Do these offer any clues? I am wondering if there is some physical action needed with the receiver to put it in the proper mode to receive commands?

Aug 10, 2013 10:15:30 AM
Cynical Denon Error Denon Receiver unavailable: no response from device
Cynical Denon Denon Receiver connecting to host
Cynical Denon Error Denon Receiver unavailable: (60, 'Operation timed out')

Aug 10, 2013 10:49:00 AM
Action Group Denon Mute
Cynical Denon Error ignoring set_zone_power action for unready device Denon Receiver
Action Group

John R Patrick
Author of
Home Attitude

Page 4 of 16 1, 2, 3, 4, 5, 6, 7 ... 16

Who is online

Users browsing this forum: No registered users and 3 guests