Denon IP Control?
vining
Posts: 4,368
I wrting a module to control the Denon TU604 and my original intent was to control it via IP (coded for serial or IP depending on DEV.NUMBER) which so far seems a little unreliable since it tends to lock up or simply stops responding and occasionaly responds with a the wrong response for the command queried. If I query it for a slot 1 status (tuner slot 1) I sometimes get a response for a different slot number. I've never controlled a Denon product via IP before and I'm wondering if this problem I'm having is inherant to all Denon IP socket connections or maybe just this device.
Has anyone had good reliability with Denon IP comms with this or any other Denon device or should I abandon the IP socket route and just code for serial comms?
Has anyone had good reliability with Denon IP comms with this or any other Denon device or should I abandon the IP socket route and just code for serial comms?
0
Comments
I think I have one with a receiver, however I don't think we close the connection every time and just keep it open as if it were a serial connection.
The Denon IP connection will lock up if you leave it open perpetually. It doesn't matter what else you do. Sometimes it will stay OK for a few hours, sometimes a few days, but eventually it will just stop working, while actually staying connected; you won't get an offline event. It just won't work.
I didn't think making and breaking the connection for every command would be a good idea, both because of the inefficiency and because of the feedback. So, in my module, I set a timer. If there is no activity on the IP port for over five minutes, it closes the connection. When a command needs to be sent, it opens it again. There is no noticeable delay; it connects very quickly. As long as stuff is going on, it will remain connected, but after the five minutes of inactivity, it closes the port again.
I normally use Marantz receivers, and only have one Denon in the wild, but that solution has proven to be completely stable for it. I have not had to make a service call to reset the receiver, and I was originally making them a few times a week. There have been no customer complaints, and said customer is not contracted for a big expansion and a new theater room. So, in all, I think it was a success.
Thanks Dave I'll keep your suggestion in mind should I determine I'm not causing the lock up by over polling or something. I'll probably maintain the connection if any TP is on page just for the RDS feedback and wait 5 minutes or so after all TPs are "off page" which should be most of the time.
I've too noticed the keep-it-open-and-it-fails mode of operation, hence this addition to my module. By the way, it works well.
I should've said that I'm using vantage to control it, but the connection doesn't lock up for me. I don't know the model number, but it's been working for over a year now.