Yamaha Receiver (RX-Axxxx) Control Plugin

Anyone have any experiences with developing receiver control plugins? Would be appreciative for any pointers or assistances with the development of a plugin for the Yamaha RX-Axxxx series receivers.

There are Denon and Onkyo receiver plugins over on Code.mios.com that can readily be transformed into another if you have the relevant API documentation.

Typically they’re not hard to write.

Two Approaches can be done … RS232 or Ethernet.
You will need the the Specs and Function tree for your receiver.
I am sure the most common features are the same between the various models.
I have the RX-Z11.
I found the info for my receiver on the net … can’t remember where … but the file was called: “RS232 Z11 codes.zip”
For the internet it uses UPnP protocol for device detection.
HTTP Post Protocol for Commands with an XML content to define the command.
The structure of the XML follows the Function Tree defined for the receiver.
i.e.: To get the current sleep time:

<?xml version="1.0" encoding="utf-8"?>

Did you get this working? I have a Yamaha RX- that I’d love to control via RS232 but I haven’t a clue how to go about it. I know guessed says it’s easy, but I can only dream of having his skills. I feel really good about finally getting the IR control of it figured out!

Since I have other devices to control … that do not have serial or ethernet interfaces I figured I would go with the least common denominator … and that is IR links.

I reckon you can do it. I’ve listed the key data below, from that and the code of the Onkyo:

you should be able to get up and running with basic On/Off functionality, and a bunch more if you want to venture further.

Start with this post on RemoteCentral:

you’ll get most of the key commands that need to be sent. If you want to take the existing plugin, and open it in a text editor, then you can either do this with a [Vera] [tt][/tt] element of “[tt]raw[/tt]” and then send the commands like:

For a line in their Forum page like:

serialstring "Power ON" "\x0207A1D\x03"

it becomes the following, inside the corresponding [tt][/tt] block’s [tt][/tt] element in Vera:

<name>On</name> <run> -- Power On luup.io.write("\00207A1D\003") </run>

…effectively replacing each call to “[tt]sendCommand(…)[/tt]” that’s there now.

or you can change the protocol element from [tt]raw[/tt] to [tt]stxetx[/tt] (same as what the Panasonic TV uses) and then use simplified calls like:

<name>On</name> <run> -- Power On luup.io.write("07A1D") </run>

If you run into trouble, attach the conversion you’ve done “so far” and I’m sure folks can help out.

Thanks! Now I know how I’ll be spending my evenings this week :slight_smile:

How did you go piecing it together? Yell out if you need any extra help getting it working.

[quote=“guessed, post:8, topic:169849”]@CMRancho,
How did you go piecing it together? Yell out if you need any extra help getting it working.[/quote]
This got pushed to priority level 2. I got a Somfy SRTSI so I’ve been busy building and installing motorized shades like a madman. My plan is to get back to the A/V conversion in a week or so. Thanks!

Has any progress seen made with this? I have just received my rx v671 AVR and it would be great if I could integrate it into my HA

I have been hoping (silly me) that the promised March 15 release of the IR remote maker version of the software would be released so I wouldn’t have to work so hard to make this work. In the meantime, I’m installing so many blinds that I’ve finally decided to order a 100 foot roll of 96" Phifer Sheerweave fabric to make them with. I should have bought stock in Somfy…

Any progress on this idea? I have an RX-A3010 and it would be amazing to be able to add it to my devices via ethernet/network. I have a separate app on my phone but that obviously doesn’t help with automation.

I’m also interested, no ethernet, but RS232 on my Yam RX-V767

It has to be doable as there are many apps on phones that can control the units

If you ask the OP nicely in this thread http://forum.micasaverde.com/index.php/topic,10986.0.html
he may be able to help you out

I have no need of a plugin for my RX-A2010 since I use DemopadHD to control everything. But I did need to power everything on based on a trigger from a Kwikset lock pin. So After much searching and trial and error, I have scenes for each device that sends a power on command using luup code.
The Dune HD MAX was easy since it’s just an http call. The JVC RS-45 projector was a royal pain.
If anyone is interested, I could post the code when I get home.

I was happy to find this plugin. So far I found that on and off work with my RX-V671. Volume says No Implementation. On the dashboard the input is superimposed over the Off button. I am trying to understand how the JSON file works to fix that.

At first just controlling the power was all I wanted. Now I can see value in controlling the input and volume. :slight_smile:


Does this plugin support Zone controls? Such as Enabling 2nd Zone, selecting source and controlling volume of say a v675?

There are 2 plugin’s out there for the Yamaha RX-V/HTR series that have ethernet. One uses LUUP and the other uses direct HTTP calls. Both can control power, volume, input and zones.

The Yamaha Network Control Alias plugin is in the App store. See http://forum.micasaverde.com/index.php/topic,18469.0.html

The Yamaha HTTP plugin can be found in this thread http://forum.micasaverde.com/index.php/topic,23079.0.html

Both appear UI5 and UI7 compatible,