Pioneer Receiver discussion

Posted on
Tue Oct 14, 2014 6:41 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Pioneer Receiver discussion

My pleasure and thank you for this awesome plugin. I have two Pioneer receivers and really want to take advantage of their features. I'm continuing to work through the on-screendisplay and will have the need to support unicode. Can you tell me a bit about this bug:

Code: Select all
#                               0.9.11 (26-Oct-2012, unreleased)
#                               *  Continued work on fixing the text encoding bug in the
#                                  processResponse method.  Changed the unicode() call by
#                                  specifying "errors='replace'" to force ASCII output. Also
#                                  added code to the readData method to force the response
#                                  from the receiver to be in ASCII.


I'd like to see if I can fix it.

Thanks.

nsheldon wrote:
Hi Nick

Great! Thanks for the help!

Posted on
Tue Oct 14, 2014 9:38 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Pioneer Receiver discussion

Hi Nick.

Yes. That particular bug was related to a plugin crash caused by a combination of outputting unicode characters in Indigo log output and a flaw in how Indigo 5 handled unicode in log output from plugins. I don't remember which version of Indigo 5 addressed that limitation, but I'm pretty sure it was fixed well before the most recent Indigo 5 patch and also shouldn't be an issue in Indigo 6 at all. Feel free to PM or email me if you'd like to discuss it or other coding issues in more detail.

Best of luck!

Posted on
Wed Oct 22, 2014 10:36 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Pioneer Receiver discussion

Hi Nathan,

I'm trying to use this great plugin to control my Pioneer 1120-k receiver. I was using it with the 1021-k selected but would get lots of command errors when turning on the receiver and the input sources were not returned correctly. Now I've tried selecting the 1123-k. It does not give the command errors and does a better job returning the sources. However, I frequently get the following messages in the log:

Pioneer Receiver Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 481, in runConcurrentThread
File "plugin.py", line 1821, in processResponse
<type 'exceptions.KeyError'>: u''

Pioneer Receiver Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Any ideas?

Thanks for this very useful plugin.

--Dave

Posted on
Wed Oct 22, 2014 11:33 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Pioneer Receiver discussion

Hi Dave.

Looking over Pioneer's RS-232 codes for the VSX-1120-K, it's really a lot more like the VSX-1021-K. The reason you're getting that error while controlling the VSX-1120-K as if it were a VSX-1123-K is because the 1120 is giving audio output status information in a different format than the 1123 does. Does the plugin work better if you define it as a VSX-1122-K or a SC-75?

Posted on
Thu Oct 23, 2014 12:04 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Pioneer Receiver discussion

As an 1122-k, it gives many command errors when querying the full receiver status as it loads. However, it returns a different subset of inputs with a bunch of blank lines as does the 1121-k configuration. Gives a state error in the device table also. No runconcurrentthread errors though.

An a SC-75, it gives some command errors when it gets the full receiver status and a state error. It also gives the runconcurrentthread errors. Nothing gets populated in the source list.

1123-k is the only one that doesn't give error as the state.

Hope this helps. Thanks.

--Dave

Posted on
Thu Oct 23, 2014 12:42 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Pioneer Receiver discussion

Okay. Thanks for the info. It looks as though the 1120 will have to be added as a separate device on its own in order to avoid those errors. That may take some time as it's a fairly tedious process to go through the Pioneer's RS-232 code definitions for a particular receiver and add or remove functions based on the model's specific abilities. I appreciate the feedback on the plugin.

Posted on
Thu Oct 23, 2014 12:47 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Pioneer Receiver discussion

That would be great, Nathan. Thanks so much. Let me know if there is anything I can do to help.

--Dave

Posted on
Mon Nov 10, 2014 2:01 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Pioneer Receiver discussion

Nathan,

While waiting for a possible 1120 device, is there anything I can do to suppress or filter the log entries. Not only do the errors clutter up the log, but every time I change the channel or skip ahead on the DVR (for example), I get a bunch of log entries dealing with listen mode, channel levels, etc.

Not a big deal but just thought I'd ask in case there was something easy I can do.

Thanks.

--Dave

Posted on
Mon Nov 10, 2014 10:15 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Pioneer Receiver discussion

Hi Dave.

Sorry man. Unfortunately there isn't any way to decrease the number of log messages. I know it can get to be a lot if there's a lot of activity on the receiver.

Regards,
Nathan

Posted on
Mon Nov 10, 2014 10:18 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Pioneer Receiver discussion

No prob. Thanks for letting me know, Nathan.

--Dave

Posted on
Fri Sep 25, 2015 3:13 pm
CraigM offline
Posts: 589
Joined: Oct 28, 2007

Re: Pioneer Receiver discussion

Hey Nathan,
I finally got around to using your Pioneer plug-in :D , but I'm getting this error.
Code: Select all
Sep 25, 2015, 1:57:59 PM
  Pioneer Receiver Error          Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
  File "plugin.py", line 4876, in uiSourceList
<type 'exceptions.KeyError'>: key source48label not found in dict


It seems to be coming from "select input source", where there are no selections in the pull-down menu
Zone Input.png
Zone Input.png (39.01 KiB) Viewed 4328 times


Plugin v1.0.6
Pioneer VSX-1123
OS 10.10.3
Indigo 6.1.1

Posted on
Fri Sep 25, 2015 5:05 pm
CraigM offline
Posts: 589
Joined: Oct 28, 2007

Re: Pioneer Receiver discussion

I get this when ReLoading the plugin
Code: Select all
Sep 25, 2015, 4:02:50 PM
  Reloading plugin "Pioneer Receiver 1.0.6"
  Stopping plugin "Pioneer Receiver 1.0.6" (pid 34835)
  Stopped plugin "Pioneer Receiver 1.0.6"
  Starting plugin "Pioneer Receiver 1.0.6" (pid 35796)
  Received INSTEON                "HVAC Thermostat [casita]" temperature changed to 91.0
  Started plugin "Pioneer Receiver 1.0.6"
  AV [receiver]                   Connection established.
  AV [receiver]                   Gathering receiver system information.
  AV [receiver]                   volume (zone 1): -20.0 dB
  Pioneer Receiver Error          Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 481, in runConcurrentThread
  File "plugin.py", line 1854, in processResponse
  File "plugin.py", line 508, in updateDeviceState
<type 'exceptions.KeyError'>: 'key phaseControlPlusWorkingDelay not found in dict'

  Pioneer Receiver Error          plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Fri Sep 25, 2015 5:59 pm
CraigM offline
Posts: 589
Joined: Oct 28, 2007

Re: Pioneer Receiver discussion

Can anyone map out for me how I can achieve this:

KPL button pressed
iTunes on Indigo Server Mac
Play a "playlist"
Through Zone 2 of Pioneer Receiver


I'm confused as to what puzzle parts are needed, and what does what.
iTunes plugin?
Pioneer plugin [the only thing that could control zone 2]
AirFoil application? [Am I pointing it to the APPLICATION=iTunes?, if yes, then what is the speaker? The RECEIVER or Indigo Server Mac?]
AirFoil speakers? [Am I pointing it to the RECEIVER, or the Indigo Server Mac?]
AirFoil plugin?

What I've tried so far: [trigger]
Device State Changed
Keypad Button LED 8
Becomes On


[actions] PP= Pioneer Plugin, AF= Airfoil Plugin
PP - power ON (zone 2)
AF - airfoil: change audio source to iTunes
PP - select source (zone 2) *NO DATA IN MENU
PP - set volume (zone 2) to -20
AF - disconnect all speakers
AF - airfoil: connect to speaker Indigo Server Mac
- execute embedded Applescript
tell application "iTunes"
-- activate
-- delay 5
-- set shuffle of playlist "Security" to true
play playlist "Security"
end tell


Code: Select all
Pioneer Receiver Error          Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 3116, in zone2setSource
<type 'exceptions.KeyError'>: key source not found in dict

  AV [receiver]                   power (zone 2): on
  AV [receiver]                   input source (zone 2): MEDIA SERVER
  Pioneer Receiver Error          Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 481, in runConcurrentThread
  File "plugin.py", line 1854, in processResponse
  File "plugin.py", line 508, in updateDeviceState
<type 'exceptions.KeyError'>: 'key phaseControlPlusWorkingDelay not found in dict'

  Pioneer Receiver Error          plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


This seems to work BUT ONLY TO ZONE 1 speakers.

Pioneer Plugin v1.0.6
Pioneer VSX-1123
OS 10.10.3
Indigo 6.1.1
Airfoil 4.9
iTunes 12.1.0.50

Posted on
Sat Sep 26, 2015 1:09 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Pioneer Receiver discussion

Version 1.0.7 Released

  • Fixed 2 bugs that caused the plugin to crash when communicating with the VSX-1123-K.

Posted on
Sat Sep 26, 2015 1:14 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Pioneer Receiver discussion

Hi Craig.

Hope the 1.0.7 update fixes all the errors. However, there may be more as I don't have any VSX-1123K to test against. Let me know if you see other errors.

Who is online

Users browsing this forum: No registered users and 3 guests