RS-232, IP and other control methods for AV gear

Post Reply
User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

RS-232, IP and other control methods for AV gear

#1

Post by STC » Wed Mar 28, 2012 3:43 pm

[Split thread from http://thegreenbutton.tv/forums/viewtop ... 686#p15043 - STC]

Does your amp have IP barnabas?
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

barnabas1969

Posts: 5738
Joined: Tue Jun 21, 2011 7:23 pm
Location: Titusville, Florida, USA

HTPC Specs: Show details

#2

Post by barnabas1969 » Wed Mar 28, 2012 4:11 pm

stonethecrows wrote:>Side question off topic> Does your amp have IP barnabas?
No, I'm using RS-232 to control my amp. But the one I want has both RS-232 and IP control.

My amp is an old Sony STR-DA2ES. It actually uses S-Link or Control-A1. I bought a little adapter that converts RS-232 commands to S-Link or Control-A1. The one I want is the Yamaha RX-A2000 (or 2010 or 3000 or 3010).

Why do you ask?

User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

#3

Post by STC » Wed Mar 28, 2012 6:15 pm

barnabas1969 wrote:Why do you ask?
Just to see what transport mechanism and language you use to control the AVR externally. You answered my question.
I too would really have to see some sort of implementation for this app to be able to flag or trigger a control that in turn lowers and raises the AVR volume, rather then just mute it. Muting would loose a lot of the magic for me.
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

barnabas1969

Posts: 5738
Joined: Tue Jun 21, 2011 7:23 pm
Location: Titusville, Florida, USA

HTPC Specs: Show details

#4

Post by barnabas1969 » Wed Mar 28, 2012 6:46 pm

stonethecrows wrote:
barnabas1969 wrote:Why do you ask?
Just to see what transport mechanism and language you use to control the AVR externally. You answered my question.
I too would really have to see some sort of implementation for this app to be able to flag or trigger a control that in turn lowers and raises the AVR volume, rather then just mute it. Muting would loose a lot of the magic for me.
Ah. Well, the commands on S-Link are a bit of a mystery. There was never any "official" documentation of the protocol from Sony. Some people figured it out by using an oscilloscope and made adapters like the one I have. The commands are all strings of hex, which gets translated to binary when sent out on the S-Link or Control-A1 bus. There are a few sites with some commands listed, and most of them work for me... but doing anything other than what is listed on those sites takes a lot of patience and experimentation. I wrote a little program that cycles through a series of hex strings. I used it to discover some of the things I wanted to do with my AVR. Even doing it that way takes time.

On the other hand, the commands for the Yamaha receiver that I want are well-documented. Yamaha has a program that you can download and run on Windows to communicate with their receivers, and several folks have written apps for iPhone and Android phones too. The Yamaha receivers have built-in Pandora, last.fm, and other services that can all be controlled from those apps... so it makes an ideal whole-house audio system that can be controlled by your phone.

EDIT: I just thought I should mention that I control my TV via RS-232 also. I have one un-used serial port in the PC that I would like to use in the future for a projector. :)

EDIT2: In case anyone wants a device to control a Sony component via S-Link or Control-A1, here's the link where I bought my SAVR3 device.

bobbob

Posts: 676
Joined: Wed Oct 26, 2011 11:21 am
Location:

HTPC Specs: Show details

#5

Post by bobbob » Wed Mar 28, 2012 8:15 pm

yeah, all my hardware is RS-232, it just seems like another thing i need to learn whereas the harmony remote does it all at the moment. whats a good resource to read up on this?

barnabas1969

Posts: 5738
Joined: Tue Jun 21, 2011 7:23 pm
Location: Titusville, Florida, USA

HTPC Specs: Show details

#6

Post by barnabas1969 » Wed Mar 28, 2012 10:42 pm

I'm currently using IR Server Suite (IRSS), but I plan to move to Event Ghost. Both will allow you to send RS-232 commands. You'll need to find out what commands each of your devices supports though.

The nice thing about RS-232 control is that it doesn't require line of sight between your remote control and the device you want to control (which is a problem when someone walks between you and the device while your remote control macro is running). Also, you can make your computer do things when it wakes from sleep, goes to sleep, etc.

For example, I use MCE Sleep Timer... and when the sleep timer expires, I want my TV and AVR to be turned off when the PC goes to sleep.

Post Reply