Yamaha RX Plugin - a/v receiver control

Posted on
Mon May 16, 2022 3:51 pm
jltnol offline
Posts: 862
Joined: Oct 15, 2013

Re: Yamaha RX Plugin - a/v receiver control

Much obliged. Will let you know if I run into any issue.

THANKS!

Posted on
Mon May 16, 2022 6:37 pm
jltnol offline
Posts: 862
Joined: Oct 15, 2013

Re: Yamaha RX Plugin - a/v receiver control

Ok. So FWIW:
Code: Select all
May 16, 2022 at 7:35:29 PM
   Reloading plugin "Yamaha RX Receiver 2022.0.0" using API v3.0
   Starting plugin "Yamaha RX Receiver 2022.0.0" (pid 39828)
   Yamaha RX Receiver Error        Error in plugin execution InitializeMain:

  File "plugin.py", line 10, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/Yahama_RX.indigoPlugin/Contents/Server Plugin/rxv/__init__.py", line 7, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/Yahama_RX.indigoPlugin/Contents/Server Plugin/rxv/ssdp.py", line 11, in <module>
type: No module named 'defusedxml'

Posted on
Tue May 17, 2022 6:28 am
autolog offline
Posts: 3732
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Yamaha RX Plugin - a/v receiver control

Next beta version is available here: Yamaha RX Update for Indigo 2022.1 - Bug Fix

:idea: It occurred to me that I could use my Yamaha NX-500 speakers to do some basic testing and so it should hopefully get a bit further this time. :wink:

Posted on
Tue May 17, 2022 11:13 am
jltnol offline
Posts: 862
Joined: Oct 15, 2013

Re: Yamaha RX Plugin - a/v receiver control

First off, I can't possibly thank you enough for taking this on. But aside from the initial hiccup, the latest version seems to be working just fine. I went thru all the actions possible and it worked. I did not run thru all the inputs as I'm sure different models handle that with respect to what inputs they have, but the 3 I tried... the three I use the MOST, worked perfectly.

FWIW, I have a Yamaha RX-A3070, and am using the Vx73 version of the plugin, and all is well.

Thanks ever so much!

Posted on
Fri Jul 15, 2022 9:34 am
Bleasel offline
Posts: 77
Joined: Mar 05, 2014
Location: Sydney, AUSTRALIA

Re: Yamaha RX Plugin - a/v receiver control

I have an RX-A1010 (although as the plugin does not load, this is not the problem at the moment).
Mac Pro 2012
Os 10.14.6


I am getting the following errors:

Loading plugin "Yamaha RX Receiver 2022.0.1" using API v3.0
Starting plugin "Yamaha RX Receiver 2022.0.1" (pid 7945)

Yamaha RX Receiver Error Error in plugin execution InitializeMain:

File "<string>", line 1, in <module>
File "plugin.py", line 143, in __init__
File "plugin.py", line 255, in refresh_receiver_list
File "/Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/Yahama RX-3.indigoPlugin/Contents/Server Plugin/rxv/__init__.py", line 19, in find
File "/Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/Yahama RX-3.indigoPlugin/Contents/Server Plugin/rxv/ssdp.py", line 73, in discover
File "/Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/Yahama RX-3.indigoPlugin/Contents/Server Plugin/rxv/ssdp.py", line 92, in rxv_details
type: 'NoneType' object has no attribute 'text'

Stopping plugin "Yamaha RX Receiver 2022.0.1" (pid 7945)
Stopped plugin "Yamaha RX Receiver 2022.0.1"


Thanks

Posted on
Tue Jul 19, 2022 8:43 am
jltnol offline
Posts: 862
Joined: Oct 15, 2013

Re: Yamaha RX Plugin - a/v receiver control

So I am NOT the person to help you with this, but I'd manually delete the plugin from my Mac, restart Indigo, and then re-install the plugin and see if that helps. And you might tool around on your receiver and make sure you've got an valid IP address... I just checked and didn't see any "enable remote control" on mine, but that would be the setting I'd be looking for(if there is one....)

Unfortunately the person who started this plugin has kind of abandoned it, so not sure who's around to help.

Posted on
Tue Jul 19, 2022 5:42 pm
Bleasel offline
Posts: 77
Joined: Mar 05, 2014
Location: Sydney, AUSTRALIA

Re: Yamaha RX Plugin - a/v receiver control

Thanks

I have done that.

The receiver has a static IP address, and I have changed the default IP address in the code to no avail.

The original version using Python 2.7 worked. (And still works when I reload it)

As the new plugin does not load, my guess is that is not an issue with the receiver, and probably something to do with the plugin / python modules.

Posted on
Tue Jul 19, 2022 7:22 pm
Bleasel offline
Posts: 77
Joined: Mar 05, 2014
Location: Sydney, AUSTRALIA

Re: Yamaha RX Plugin - a/v receiver control

Update.

I am not a programmer. But with the help of Google ...

I modified an early version that was started by Chad and modified by Ben.

Changed the API version to 3

Changed the import modules to "http.client, urllib.request, urllib.error, urllib.parse, sys, os" in plugin.py"
(having said that urllib.error and urllib.parse do not appear in the code, so I don't know if they are needed)

Changed urllib2 to urllib.request where appearing.

partially working . still work to do

So changed some Inputs, and scenes to the Australian Version of RX-A1010.

Still works. Sorry I don't know how to post this version, but happy to share it yet other than by email. I probably need to change the bundle identifier, but my first attempt on this, and whilst no error messages, the plugin was noted as disabled. So I need to work on that.
Last edited by Bleasel on Fri Sep 16, 2022 12:48 am, edited 1 time in total.

Posted on
Thu Aug 18, 2022 3:35 pm
Different Computers offline
User avatar
Posts: 2282
Joined: Jan 02, 2016
Location: East Coast

Re: Yamaha RX Plugin - a/v receiver control

I'll probably reach out about your version in a day or so. About to get an M1 Mini and begin the migration!

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Who is online

Users browsing this forum: No registered users and 1 guest

cron