Onkyo Network Remote Feedback and Discussion

User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Onkyo Network Remote Feedback and Discussion

Post by RogueProeliator »

Sorry for the delay, Matt... things have been hectic around here lately. I believe I found the issue (hopefully) that you are experiencing -- it was related to my previous attempt to fix the volume query except I applied the fix to only one of two places. :-( I applied the same fix to the second location, so please give this a release candidate a try and let me know how it goes...

Onkyo Plugin Release Candidate v1.8.19

Adam
angel2014
Posts: 12
Joined: Sat Apr 05, 2014 10:04 am

Re: Onkyo Network Remote Feedback and Discussion

Post by angel2014 »

I used your plugin to manage my Onkyo TX-NR545 through Indigo. Everything seems to work fine but I have this problem:

...

Code: Select all

Onkyo Network Remote Plugin Error	Error in plugin execution InitializeMain:

Traceback (most recent call last):
  File "plugin.py", line 49, in <module>
<type 'exceptions.ImportError'>: No module named RPFramework

2016-03-07 00:00:46.394	Application	Stopping plugin "Onkyo Network Remote Plugin 1.8.19" (pid 93613)
2016-03-07 00:00:47.403	Application	Stopped plugin "Onkyo Network Remote Plugin 1.8.19"
.....

Thank's
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Onkyo Network Remote Feedback and Discussion

Post by RogueProeliator »

There is no reason that I can think of for that error unless something has muddled with file/folder names or permissions. I would recommend re-installing the latest version or the release candidate (linked below). I just checked both and the RPFramework directory is in both of them as it should be.

You could remove the plugin completely before re-installation, but be warned if you do that your devices will be lost.

If after a reinstall with the latest you still have the issue, let me know and we can dive a bit deeper.

Adam
JohnS
Posts: 25
Joined: Wed Mar 26, 2014 9:54 am

Re: Onkyo Network Remote Feedback and Discussion

Post by JohnS »

I tried your plugin for the first time today. I used v1.8.19 with an Onkyo TX-NR906. When I edited the Device Settings no Onkyo Receiver is found. I manually put in the IP address which yielded the following with limited testing.

I can turn on and off the receiver and change its input successfully (that all that I tried). When I change the on/off state successfully, the device status does not change It remains false. When I change the input, the current input does not display on a control page.

I also created an Onkyo Receiver Volume Device. I can mute the volume, but any change in level does not happen.
When I update the device status, I get the following error:

Onkyo Network Remote Plugin Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Onkyo Network Remote.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkPlugin.py", line 1261, in actionControlDimmerRelay
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Onkyo Network Remote.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkPlugin.py", line 1157, in executeAction
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Onkyo Network Remote.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkIndigoAction.py", line 140, in generateActionCommands
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Onkyo Network Remote.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkPlugin.py", line 1280, in substituteIndigoValues
<type 'exceptions.KeyError'>: (u'zoneNumber',)

Any help you could provide would be appreciated

John
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Onkyo Network Remote Feedback and Discussion

Post by RogueProeliator »

Try putting the plugin in Debug mode on High and letting it run an update and try controlling something that doesn't work. This sounds suspiciously like a similar issue we had on one receiver where they (Onkyo) ever so slightly changed the return value which caused an error in the plugin. Well, I say changed, but could be a regional difference or model difference, but you get the idea.

Adam
JohnS
Posts: 25
Joined: Wed Mar 26, 2014 9:54 am

Re: Onkyo Network Remote Feedback and Discussion

Post by JohnS »

Adam,
With the receiver on, I set the debug to high and waited for an update. The following is the resulting log file;

Onkyo Network Remote Plugin Debug Command queue has 1 command(s) waiting
Onkyo Network Remote Plugin Debug Executing full status update request...
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 44 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Execute condition failed, skipping execution for command: sendEISCPCommand
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Execute condition failed, skipping execution for command: sendEISCPCommand
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Execute condition failed, skipping execution for command: sendEISCPCommand
Onkyo Network Remote Plugin Debug Command queue has 15 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: PWRQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('system-power', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 14 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 14 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: MVLQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: (('master-volume', 'volume'), 4)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 2 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Found response match: deviceMasterVolumeQuery
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Effect execution: Update state "masterVolumeLevel" to "4"
Onkyo Network Remote Plugin Debug Effect execution: Calling function updateVirtualMasterVolume
Onkyo Network Remote Plugin Debug Setting Master Volume Virtual Controller brightness to 4
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 9 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 13 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: AMTQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('audio-muting', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 12 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: HAOQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Command queue has 11 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: SLIQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('input-selector', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 10 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: SPAQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('speaker-a', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 9 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: SPBQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('speaker-b', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 8 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: SLPQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('sleep-set', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 7 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: HDOQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('hdmi-output-selector', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 6 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: RESQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('monitor-out-resolution', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 5 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: VWMQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Command queue has 4 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: VPMQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Command queue has 3 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: LMDQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('listening-mode', 8)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 2 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: SLAQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('audio-selector', 0)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
Onkyo Network Remote Plugin Debug Command queue has 1 command(s) waiting
Onkyo Network Remote Plugin Debug Sending eISCP Command: TUNQSTN
Onkyo Network Remote Plugin Debug Send command completed.
Onkyo Network Remote Plugin Debug Received: ('tuning', '1021')
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice
…..(error repeats an additional 13 times, not shown)
Onkyo Network Remote Plugin Debug Returning default GUIConfigValue for onkyoReceiverNetworkRemoteDevice:deviceIsChildDevice

Thanks for your help,

John
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Onkyo Network Remote Feedback and Discussion

Post by RogueProeliator »

Your device is returning different values for the commands as compared to when I originally wrote this... but I think we can get you fixed up. I'm going to make a beta build for you after a code up the alternate responses, but obviously will need your help in testing it out to ensure all updates properly.

Adam
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Onkyo Network Remote Feedback and Discussion

Post by RogueProeliator »

So I looked a little more carefully as I was starting to make the changes and indeed some of the responses were as I said previously - unexpected returns (pretty simple to deal with), but there are a few other issues... your receiver does not seem to be returning a valid value for either the power status or the current input which is why you are not getting an update on your control pages. If you look at the return:

('system-power', 0)

That should be 'On', 'Off', or 'Standby'.... Even if we assume it is returning 0 and 1 for off and on, you said that the receiver was ON when you ran that debug report -- and this is showing a 0 value. I also noticed the 0 return on several others that should never be zero ("Current Input" for instance).

I double checked the latest documentation that I could find and don't see any other power query commands... is this a fairly new receiver?

Adam
JohnS
Posts: 25
Joined: Wed Mar 26, 2014 9:54 am

Re: Onkyo Network Remote Feedback and Discussion

Post by JohnS »

Adam,

The TX-N906 is at least 5 years old. I'll test any update you generate as soon as it is available.

John
hamw
Posts: 1342
Joined: Mon Mar 31, 2008 7:45 pm

Re: Onkyo Network Remote Feedback and Discussion

Post by hamw »

Does the plugin return feedback for tuner frequency and internet radio? Am hoping to be able to plug that in to a control page. And is it possible to directly specify, say, a particular pandora station and have the artist, album and song come up?
JohnS
Posts: 25
Joined: Wed Mar 26, 2014 9:54 am

Re: Onkyo Network Remote Feedback and Discussion

Post by JohnS »

I used a control page to change the Input to Radio and to change the Input to Internet Radio. The control page was able to change the Onkyo input in both cases. However the status was not returned to the control page. The remained blank. There were no error messages.

John
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Onkyo Network Remote Feedback and Discussion

Post by RogueProeliator »

Does the plugin return feedback for tuner frequency and internet radio? Am hoping to be able to plug that in to a control page. And is it possible to directly specify, say, a particular pandora station and have the artist, album and song come up?
No, not currently... I'm pretty sure the tuner wouldn't be an issue to add, but not really sure about the internet radio information that is available from the receiver. I can take a look and see...

Adam
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Onkyo Network Remote Feedback and Discussion

Post by RogueProeliator »

The TX-N906 is at least 5 years old. I'll test any update you generate as soon as it is available.
Something is different about your receiver -- nobody else has had an issue getting the statuses back and there are quite a few users of the plugin. What's weird is that your receiver is returning a value for the power, but it is not a valid return code as per Onkyo. There are a few states that we can read that are returning a different value, so I will get those accounted for and will have to do some more research on that particular model and see if the control codes are different for some reason.

Adam
hamw
Posts: 1342
Joined: Mon Mar 31, 2008 7:45 pm

Re: Onkyo Network Remote Feedback and Discussion

Post by hamw »

I can confirm the plugin (v 2.0) works well with the TX-NR636. Thanks very much!

Quick question regarding the arbitrary command function, now available as a device action which can be executed from a control page:

I set up a variable called "Onkyo_Direct_Send" that will popup in a control page button so I can insert text, such as SLZ24. I set up a button to execute the arbitrary command. The command wants a value inserted. I was thinking the way to get that variable sent was to put %%Onkyo_Direct_Send%% or to put the Indigo unique ID in that space %%105002993%% then the command would grab that variable. Is that the correct way to do it?
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Onkyo Network Remote Feedback and Discussion

Post by RogueProeliator »

Right now you would need to call the action from a script and pass in the value of the variable; that might be something to consider adding (the call to do the substitution) though as it is easy and might make sense for the arbitrary command action.

Adam
Post Reply

Return to “Onkyo Receiver”