Yamaha RX Plugin - a/v receiver control

Posted on
Thu Jan 31, 2019 1:35 pm
jay (support) offline
Site Admin
User avatar
Posts: 15833
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Yamaha RX Plugin - a/v receiver control

Ramias wrote:
The python library this is built on here: https://github.com/wuub/rxv/blob/master/rxv/rxv.py looks like it was updated recently to support scenes. Any chance we can get that added here?


Unfortunately, I no longer have a Yamaha amp to test with, so I won't be making any more changes to the plugin aside from super easy ones (like adding an input). But the source is on GitHub if anyone else wants to tackle it - we'll gladly accept pull requests and generate new releases in the Plugin Store.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon May 06, 2019 6:17 pm
welchgregusa offline
Posts: 29
Joined: May 29, 2013

Re: Yamaha RX Plugin - a/v receiver control

Seems to work with my RX-V685 — both main and zone 2. ( RX-Vx73 series selected.) Thanks guys — I really appreciate it!!!

Posted on
Mon Oct 21, 2019 2:25 pm
Different Computers offline
User avatar
Posts: 1924
Joined: Jan 02, 2016
Location: East Coast

Re: Yamaha RX Plugin - a/v receiver control

Thought I'd post a quick compatibility note that at least initially, before other testing, the Yamaha TSR-7850 seems compatible with your plugin.

I say initially because I'm remoting to my Indigo setup, and I can't test sending commands to the receiver without upsetting my wife. But the plugin instantly found the receiver, and it gets statuses that make sense from it.

This might be interesting to readers here because this receiver is (or at least was) available online as a refurb for just $250, and it also supports Airplay 2.

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Wed Oct 30, 2019 9:24 am
Different Computers offline
User avatar
Posts: 1924
Joined: Jan 02, 2016
Location: East Coast

Re: Yamaha RX Plugin - a/v receiver control

I can now confirm that the the Yamaha TSR-7850 is compatible with this plugin for on/off, source, and volume control. That seems like 90% of what most people would want this for.

If my TV supported CEC, I wouldn't need any other AV control!

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Wed Oct 30, 2019 9:43 am
jay (support) offline
Site Admin
User avatar
Posts: 15833
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Yamaha RX Plugin - a/v receiver control

Thanks for the report.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Nov 13, 2019 8:17 am
Betacruxis offline
Posts: 33
Joined: Apr 03, 2010

Yamaha RX Plugin - a/v receiver control v1.0.4

I was using the version 0.1.2, because non of the 1.--- were working for me.
I am trying to edit and correct the latest version (1.0.4) and so far I manage to find and correct some errors.
I must add I am not skilled in plug-in or script making. I'm just trying to track and trial-and-error correct them.
That is also because I don't have any docs describing Yamaha Receptors web server behavior.
So far I resolved this errors:

Yamaha RX Receiver Error exception in deviceStartComm(Amplificador Living): 'NoneType' object has no attribute 'text'
Yamaha RX Receiver Error runConcurrentThread error:
Traceback (most recent call last):
File "plugin.py", line 190, in runConcurrentThread
self.updateStatus(devId)
File "plugin.py", line 270, in updateStatus
volume = root.find("./Main_Zone/Basic_Status/Vol/Lvl/Val").text
AttributeError: 'NoneType' object has no attribute 'text'

I got rid of them mainly tacking the lines on the py files and correcting the syntax.

But now I get this one:

Upgrading plugin Yamaha RX Receiver to newer version 1.0.4 (previous version moved to trash)
Loading plugin "Yamaha RX Receiver 1.0.4"
Starting plugin "Yamaha RX Receiver 1.0.4" (pid 11913)
Started plugin "Yamaha RX Receiver 1.0.4"
Error cannot update device state for key input to value NET RADIO (invalid enumeration value)
Trigger Sintoamplificador Living Volumen
Action Group Amplificador - Actualizar
Error cannot update device state for key input to value NET RADIO (invalid enumeration value)
Schedule Amplificador - Actualizar
Schedule Sintoamplificador Living Volumen (delayed action)
Error cannot update device state for key input to value NET RADIO (invalid enumeration value)
Error cannot update device state for key input to value NET RADIO (invalid enumeration value)
Error cannot update device state for key input to value NET RADIO (invalid enumeration value)
Error cannot update device state for key input to value NET RADIO (invalid enumeration value)

This error repites itself until I disable the plug-in.
What is causing this error?
Looks like is the plug-in, but I have no clue on how to track it or where to look for it.

Thanks in advance.

Posted on
Wed Nov 13, 2019 9:39 am
jay (support) offline
Site Admin
User avatar
Posts: 15833
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Yamaha RX Plugin - a/v receiver control

The first error you identify means that the value for the volume in the XML isn't a text value. It may mean that the volume information is no longer on the path that it was when the original developer of this plugin created it.

The second error makes less sense, because the ClassicReceiver object does in fact define NET RADIO (actual value net_radio) as a valid input. I think the best option would be to post the actual XML that's returned from the receiver in the root variable:

Code: Select all
root = ClassicReceiver.xmitToReceiver(dev, xml_string)


That's line 266 in the current version of the plugin (in the updateStatus method).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Who is online

Users browsing this forum: No registered users and 1 guest