PDA

View Full Version : Network control of AV Receiver



Bruce Hartley
2006-01-06, 14:12
Just got myself a Denon AVR-4306, one of it's novel features is a network connection.

There is a web interface that allows you to control the amp.

My thinking is to investigate the network control protocol, then somehow to get slimserver to control it.

What do you guys think?

Does anyone else have one of these AVR-4306s yet?

Cheers,
Bruce.

Mark Lanctot
2006-01-06, 15:26
First I've got to say this sounds amazingly cool -
controlling both a Squeezebox and a receiver
through SlimServer. And you could have the
receiver connected to the network using the
Squeezebox wireless bridging feature!

While the operation would be through a fairly
simple parser, the GUI would be extensive - just
think of how many on-screen buttons it would have
to have.

Certainly sounds interesting though. Too bad I
don't have one of these or the skills to write a
plugin...

It would be great if AVR manufacturers moved away
from the old serial and even USB ports and put in
network ports instead.

Bruce Hartley wrote:
> Just got myself a Denon AVR-4306, one of it's novel
features is a
> network connection.
>
> There is a web interface that allows you to control
the amp.
>
> My thinking is to investigate the network control
protocol, then
> somehow to get slimserver to control it.
>
> What do you guys think?
>
> Does anyone else have one of these AVR-4306s yet?
>
> Cheers,
> Bruce.
>
>

--
___________________________________


Mark Lanctot
___________________________________

Bruce Hartley
2008-09-27, 12:24
Just got myself a squeezebox controller and this question has occurred to me again.
How easy is it to get Squeezecenter to control my Denon Reciver using it's telnet interface ?

Mark Lanctot
2008-09-29, 06:05
Just got myself a squeezebox controller and this question has occurred to me again.
How easy is it to get Squeezecenter to control my Denon Reciver using it's telnet interface ?

With the SBC/SBR this would be hard.

The SBR has no way to interface with the receiver so you'd have to do it through the SBC. The SBC has an IR out port, currently only working in a test mode. You'd have to write code for every AVR function via IR.

The SBC does have USB (?) access via the connector at the bottom but all the software would have to be written and a custom dock with the appropriate connector would have to be developed.

The SB Classic has an IR out port (the headphone socket) and the IR Blaster plugin would allow you to control the receiver with no further programming needed. The Transporter also has an IR out port as well as an RS-232 port.

It might be easier to get SqueezeCenter to send CLI commands to the software controlling the receiver, but again, this functionality would all have to be written.

Bruce Hartley
2008-09-29, 09:19
The receiver will accept command either by Telnet or by HTTP through it's network port.

I figured either:
a) I get the SBC to send the commands to the receiver.
Initially volume up & down, and power on / off would be more than enough.

b) I get the SBC to send commands to the Squeezecenter server that then sends the commands to the receiver.
Guess the bonus of this would be that the server could send command based on power on events on the players?

Have had a look at the template projects (and the media center controller app) for the SBC and I'm going to have a bash.

But any thoughts would be appreciate.

Mark Lanctot
2008-09-29, 10:11
I figured either:
a) I get the SBC to send the commands to the receiver.
Initially volume up & down, and power on / off would be more than enough.

I believe someone has worked on getting LIRC ported to the SBC, but it didn't seem to get too far.

There is an LIRC/SqueezeCenter integration through the IR Blaster plugin, which uses LIRC IR config files. If there was an SBC interface to IR Blaster you could use IR Blaster's commands and even perhaps "chain" the commands like IR Blaster does.


b) I get the SBC to send commands to the Squeezecenter server that then sends the commands to the receiver.
Guess the bonus of this would be that the server could send command based on power on events on the players?

Probably the most flexible and powerful of these options. I was going to say the most complex but if all you're doing is passing CLI commands from SqueezeCenter to the receiver maybe not?

I don't know if SqueezeCenter has a mechanism for passing CLI commands via telnet to a host on the network but if so it could work well.


Have had a look at the template projects (and the media center controller app) for the SBC and I'm going to have a bash.

Please consider making your efforts public - you'll be a community hero if you can get something working here. Many have asked for the SBC to act as a "universal remote" and it has the hardware to do it but the software has to be written. If you came up with something it'd be a start that someone else might be able to take further...

You might want to ask more technical questions in the Developers forum, http://forums.slimdevices.com/forumdisplay.php?f=5

flacfan
2008-09-29, 16:09
There's a little program for Windows that can act as a nice interface and alternative to Denon's Web GUI.
http://www.avsforum.com/avs-vb/showthread.php?t=949351
There has not been much development lately though.

It basically communicates via Telnet. Kinda what one would want SC to do.

Also, you could probably have the ExecuteScript plugin configured to send commands via telnet and control the Denon.

Bruce Hartley
2008-09-30, 12:38
Yay !

I've proved to myself.
a) The Squeezecontroller is capable of controlling the Denon Receiver
b) I can write it !

I've hacked the Doomsday demo app to mute and un-mute the amplifier using http commands.

So I can presumably expand from there to full one way functionality.

Ideally I'd liked to switch from using HTTP to using plain TCP so I could use the telnet commands and receive back status information to theoretically display on the remote.

I'll let you know how I proceed.

MrSinatra
2008-09-30, 22:13
does the Denon support DLNA?

there's a enh request to get that into SC. i see no good reason for someone to object to that support.

flacfan
2008-10-01, 09:10
does the Denon support DLNA?

there's a enh request to get that into SC. i see no good reason for someone to object to that support.

Denon uses DLNA for streaming.
I would love if SC would support DLNA and UPNP. I sometimes like to stream either to my Denon 3808CI or my PS3 but for that I have to use something like TVersity or Mediatomb.

MrSinatra
2008-10-01, 13:07
and isn't that crazy?

why should you have to use something else when you already have SC?

SC should support DLNA b/c the SBC is the natural tie in.

join bugzilla, and vote for it, and spread the word. i plan to push hard for this after 7.3 is out.

http://bugs.slimdevices.com/show_bug.cgi?id=5091

there are also several upnp related bugs you could vote for:

http://bugs.slimdevices.com/show_bug.cgi?id=819

http://bugs.slimdevices.com/show_bug.cgi?id=8113

http://bugs.slimdevices.com/show_bug.cgi?id=4239

http://bugs.slimdevices.com/show_bug.cgi?id=9152

http://bugs.slimdevices.com/show_bug.cgi?id=9587

flacfan
2008-10-02, 23:40
I voted for 5091 :-)
It's been filed a long time ago, though.
Hopefully it will get on the new features list soon.

chinablues
2008-10-05, 22:22
If Squeezecenter could control music flow to eg, Denon's range of Networked Audio devices does this not imply the death of Squeezboxes? Why have a transporter, squeezebox, duet receiver or boom when you can stream wirelessly directly to one of these:

http://www.usa.denon.com/ProductDetails/networked-audio-products.asp

OK, maybe the Denon gear does not match the Transporter specs, but I'd guess it would come pretty close to squeezebox/duet specs. It appears that FLAC (and WAV) is supported directly by the Denon boxes.

Dan

MrSinatra
2008-10-05, 22:30
b/c you now have the SBC.

the SBC is the tie in, as explained in 5091.

SBC or not, its backwards thinking to think that making the pgm more useful means less people will buy the hardware. people have a PS3 ANYWAY, or even the denon. this feature would expose them to the SB world.

chinablues
2008-10-05, 23:27
Agreed. I hadn't read 5091, but now that I have, I understand.

dan

flacfan
2008-10-06, 01:52
The SB3's interface is way better that Denon's
I'd always prefer using the SB3 to the Denon, but occasionally I'd like to.
In addition if the SC is a DLNA server it would probably be able to serve not only audio but also pictures to my PS3 for example.

Amnesiac
2008-10-06, 07:11
Interesting thread... and I'm thinking of a new AV receiver....

I recently came across xAP for home automation and there is a plug-in already for SC 7.x

http://www.automatedhome.co.uk/Software/xAP-Plug-in-v2.2.0-for-SqueezeCenter-Rleased.html

General information here:

http://www.xapautomation.org/index.php?title=xAP_Home_Automation_protocol

May be of use/relevance as there are also plug-ins for MediaPortal, X-10, HomeSeer etc etc.