Re: Yamaha RX Plugin - a/v receiver control
Posted: Sat Nov 10, 2018 2:47 pm
Jay,
I did all of that and was able to get the plugin to run, but I still am getting errors. I knew it might be a long shot to get this receiver to work as it isn't in the RXV line, but their stereo line specifically the R-N303. If can get it to work be a great way to add higher powered airplay to different rooms.
Here is the error when using the RX-vx73 and find receivers button:
Yamaha RX Receiver Error Error in plugin execution UiAction:
Traceback (most recent call last):
File "plugin.py", line 252, in refresh_receiver_list
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/__init__.py", line 26, in find
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 88, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 94, in _discover_features
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
ParseError: no element found: line 1, column 0
Here is error when using manual ip:
Yamaha RX Receiver Error Error in plugin execution ServerReplacedElem:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 1179, in deviceUpdated
File "plugin.py", line 178, in deviceStartComm
File "plugin.py", line 284, in updateStatus
File "plugin.py", line 252, in refresh_receiver_list
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/__init__.py", line 26, in find
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 88, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 94, in _discover_features
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
ParseError: no element found: line 1, column 0
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 284, in updateStatus
self.refresh_receiver_list()
File "plugin.py", line 252, in refresh_receiver_list
self.receivers = {r.ctrl_url: r for r in rxv.find()}
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/__init__.py", line 26, in find
for ri in ssdp.discover(timeout=timeout)
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 88, in __init__
self._discover_features()
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 94, in _discover_features
self._desc_xml = ET.fromstring(desc_xml)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
return parser.close()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: no element found: line 1, column 0
Yamaha RX Receiver Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Yamaha RX Receiver Error Error in plugin execution ServerReplacedElem:
And then here is different error when using the RX-v3900
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 1179, in deviceUpdated
File "plugin.py", line 178, in deviceStartComm
File "plugin.py", line 266, in updateStatus
File "plugin.py", line 62, in xmitToReceiver
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
HTTPError: HTTP Error 404: Not Found
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 266, in updateStatus
root = ClassicReceiver.xmitToReceiver(dev, xml_string)
File "plugin.py", line 62, in xmitToReceiver
resp = urllib2.urlopen(req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
I did all of that and was able to get the plugin to run, but I still am getting errors. I knew it might be a long shot to get this receiver to work as it isn't in the RXV line, but their stereo line specifically the R-N303. If can get it to work be a great way to add higher powered airplay to different rooms.
Here is the error when using the RX-vx73 and find receivers button:
Yamaha RX Receiver Error Error in plugin execution UiAction:
Traceback (most recent call last):
File "plugin.py", line 252, in refresh_receiver_list
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/__init__.py", line 26, in find
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 88, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 94, in _discover_features
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
ParseError: no element found: line 1, column 0
Here is error when using manual ip:
Yamaha RX Receiver Error Error in plugin execution ServerReplacedElem:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 1179, in deviceUpdated
File "plugin.py", line 178, in deviceStartComm
File "plugin.py", line 284, in updateStatus
File "plugin.py", line 252, in refresh_receiver_list
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/__init__.py", line 26, in find
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 88, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 94, in _discover_features
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
ParseError: no element found: line 1, column 0
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 284, in updateStatus
self.refresh_receiver_list()
File "plugin.py", line 252, in refresh_receiver_list
self.receivers = {r.ctrl_url: r for r in rxv.find()}
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/__init__.py", line 26, in find
for ri in ssdp.discover(timeout=timeout)
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 88, in __init__
self._discover_features()
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Yahama RX.indigoPlugin/Contents/Server Plugin/rxv/rxv.py", line 94, in _discover_features
self._desc_xml = ET.fromstring(desc_xml)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
return parser.close()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: no element found: line 1, column 0
Yamaha RX Receiver Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Yamaha RX Receiver Error Error in plugin execution ServerReplacedElem:
And then here is different error when using the RX-v3900
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 1179, in deviceUpdated
File "plugin.py", line 178, in deviceStartComm
File "plugin.py", line 266, in updateStatus
File "plugin.py", line 62, in xmitToReceiver
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
HTTPError: HTTP Error 404: Not Found
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 266, in updateStatus
root = ClassicReceiver.xmitToReceiver(dev, xml_string)
File "plugin.py", line 62, in xmitToReceiver
resp = urllib2.urlopen(req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found