Pioneer Receiver discussion
Re: Pioneer Receiver discussion
Thanks Nathan. Tried that but no go. Odd how so many functions with the plugin
are working, even AirPlay from my other mobile devices is working, but the receiver
seemingly won't report anything back. Doubt that this is a plugin issue but I do appreciate
any thoughts you may have on it.
Maybe try a different IP address?
Carl
are working, even AirPlay from my other mobile devices is working, but the receiver
seemingly won't report anything back. Doubt that this is a plugin issue but I do appreciate
any thoughts you may have on it.
Maybe try a different IP address?
Carl
Re: Pioneer Receiver discussion
Hmm... Well, even if it isn't something specific to the plugin, with your receiver turned on, perhaps you could turn on debug logging in the Pioneer Receiver plugin then reload the plugin and paste the log into a reply. Perhaps something in the log will give a clue as to what's going on.
Re: Pioneer Receiver discussion
Doh. If only my little brain could think of the simplest things first. Just unplugged it's
ac for a few mins and all is fine.
Thanks,
Carl
ac for a few mins and all is fine.
Thanks,
Carl
Re: Pioneer Receiver discussion
Ugh. It's always the simple things. Well, at least it's fixed. 
Re: Pioneer Receiver discussion
For what it's worth, I have the plugin talking to my VSX-1022 with one simple change to the source code. I added port 8102 to the telnet call in line 426 of plugin.py. I realize that my receiver will run only a subset of the commands of the VSX-1021, but at least I can control the basics.
Nathan - would you be willing to add the 1022 as a supported receiver to the plugin? I also found some data with supported commands:
Nathan - would you be willing to add the 1022 as a supported receiver to the plugin? I also found some data with supported commands:
Code: Select all
Name Command Return string
== Query ==
Power Status ?PWR PWR2: Off (network standby), PWR1: Off (cold standby), PWR0: On
Get Input Function ?FN FN01: CD, FN02: Tuner, FN04: DVD, FN05: TV, FN06: SAT/CBL, FN10: Video, FN15: DVR/BDR, FN17: iPod/USB, FN25: BD, FN33: ADAPTER PORT, FN38: INTERNET RADIO, FN41: PANDORA, FN44: MEDIA SERVER, FN45: FAVORITES, FN46: AirPlay, FN47: DMR, FN49: GAME
Get Product Info ?RGD RGD<001><VSX-1022/CUXESM> (<generaton><model name>)
Get Network Standby Mode ?RGC RGC0: Network standby on, RGC1: Network standby off (check this)
Get Input Info ?RGF RGF0110112000100002020000000100000001000010010011110100000000000000
Get Mute Status ?MUT MUT1: mute off, MUT0: mute on
Get Volume ?VOL VOLNNN (where NNN is the volume padded with zeros) [000-161]
Get Screen Info ?GAP GBP (Screen Info Max Num List), GCP (Screen Information), GDP (List And Line Information), GEP*n (Display Information)
Get iPod Function Info ?ICA ICA0: iPod off, ICA1: iPod on
== Actions ==
* note: Airplay (FN46) and DMR (FN47) inputs cannot be selected directly
Power On PO FN10, PWR0, MUT1 (indicates the selected function, power status, and mute status)
Power Off PF PWR2 || PWR1
Volumne Up VU returns ?VOL [000-161]
Volume Down VD returns ?VOL [000-161]
Mute On MO MUT0
Mute Off MF MUT1
Change Listening Mode: Auto/Direct 0005SR N/A
Change Listening Mode: ALC/Standard 0010SR N/A
Change Listening Mode: Advanced Surround 0100SR N/A
Input function up FU
Input function down FD
CD 01FN returns ?FN
Tuner (control) 02FN returns ?FN
DVD 04FN returns ?FN
TV 05FN returns ?FN
Sat/Cable 06FN returns ?FN
Video 10FN returns ?FN
DVR/BR 15FN returns ?FN
iPod/USB (control) 17FN returns ?ICA, ?FN, ?GAP
BD 25FN returns ?FN
Adapter Port 33FN returns ?FN
Internet Radio (control) 38FN returns ?FN, ?GAP
Pandora (control) 41FN returns ?FN, ?GAP
Media Server (control) 44FN returns ?FN, ?GAP
Favorites (control) 45FN returns ?FN, ?GAP
== Tuner Presets ==
Tuner preset [01-30] NNPR where NN is 01-30
== Network Media Info ==
Details:
?GAP provides information that mirrors the on-screen data. The resulting data
is organized into several sections: GBP, GCP, GDP, and GEP entries.
GBPNN, where:
NN is a zero padded count of displayed GEP entries
GCPWWXY0Z0"SCREEN_NAME_LABEL", where:
WW is a zero-padded value representing the screen type [00-99]
X is the hierarchical list update flag [0/1]
Y is the top menu key enable flag [0/1]
Z is the return key enable flag [0/1]
SCREEN_NAME_LABEL is the label for the current screen
GDPAAAAABBBBBCCCCC, where:
AAAAA is a zero-padded start index of the displayed information in the GEP entries
BBBBB is a zero-padded end index of the displayed information in the GEP entries
CCCCC is a zero-padded count of all GEP entries
For example:
GBP08 would indicate there are 8 displayed GEP entries.
GCP0110010"Your Stations" would indicate screen type '01', hierarchical list update flag=1,
top menu flag=0, and return key enable flag=1, with a display name of "Your Stations".
GDP000010000800031 would indicate GEP entries 1 through 8 of 31 total entries.
== Navigation Keys ==
Return Key 31PB
Enter Key 30PB
Skip Reverse Key 12PB
Stop Key 20PB
Skip Forward Key 13PB
Pause Key 11PB
Play Key 10PB
Select List Item NNNNNGHP where N is a 5 digit zero-padded number indicating the item index to select
Scroll Page NNNNNGGP where N is a 5 digit zero-padded number representing the item index to scroll to
== E.g. Navigating Pandora Stations ==
Selection Pandora input 41FN
Show display ?GAP
Move up one level 31PB
Show display ?GAP
Select item #2 00002GHP
Enter key 30PB
Show display ?GAPRe: Pioneer Receiver discussion
Hi.
Thanks for doing the testing and sharing the information. I'll work on adding support for the 1022. I don't see any information on Pioneer's custom integration web site documenting control of the 1022 though, so support would have to be experimental, especially since I don't have a VSX-1022 of my own with which to test. It looks like there are a few small differences in the commands for the 1022 compared to the 1021 and 1122, so it'll take a bit more code modifications than just adding a new device and modifying line 426 in the code, but I'll post the updated plugin as soon as I get those changes in place.
Another thing to note with 1022 support is that, if it's like the other VSX models, if the plugin were connected to port 8102, that means that nothing else can connect to that port (like the iControl iOS app). With the 1021 and 1122, connecting on the standard telnet port doesn't prevent you from connecting your iOS device to the receiver. I suspect that by connecting to the VSX-1022 on port 8102, the 1022 won't accept any connections to any iOS devices. Since I can't test this myself, maybe you could test this to see if that's the case.
Thanks for doing the testing and sharing the information. I'll work on adding support for the 1022. I don't see any information on Pioneer's custom integration web site documenting control of the 1022 though, so support would have to be experimental, especially since I don't have a VSX-1022 of my own with which to test. It looks like there are a few small differences in the commands for the 1022 compared to the 1021 and 1122, so it'll take a bit more code modifications than just adding a new device and modifying line 426 in the code, but I'll post the updated plugin as soon as I get those changes in place.
Another thing to note with 1022 support is that, if it's like the other VSX models, if the plugin were connected to port 8102, that means that nothing else can connect to that port (like the iControl iOS app). With the 1021 and 1122, connecting on the standard telnet port doesn't prevent you from connecting your iOS device to the receiver. I suspect that by connecting to the VSX-1022 on port 8102, the 1022 won't accept any connections to any iOS devices. Since I can't test this myself, maybe you could test this to see if that's the case.
Re: Pioneer Receiver discussion
You are exactly right - the receiver will only allow one connection on the port so the iControl app would not work with the plugin active.
I appreciate the effort and will gladly test when you put out the next release.
I appreciate the effort and will gladly test when you put out the next release.
Re: Pioneer Receiver discussion
I've posted version 1.0.1 (in the main announcement thread) of the Pioneer Receiver plugin with experimental support for the VSX-1022-K. Try it out and let me know how it works for you.
Re: Pioneer Receiver discussion
Thanks Nathan. So far so good.
Re: Pioneer Receiver discussion
Version 1.0.2 Released
(See main Pioneer Receiver announcement thread for download link).
(See main Pioneer Receiver announcement thread for download link).
- Added: optional automatic version checking (enabled by default) and email notification (configurable in the plugin configuration window).
Re: Pioneer Receiver discussion
I've been using the plugin for the last couple of days; wonderful job! Thank you. I have run into an issue though, where it sometimes won't report anything back to Indigo. I can have the plugin get it by adjusting the Zone Volume virtual device twice.
I put it through an ApplianceLinc to do a power reset every morning, but the issue still happens at least once a day. Any ideas?
I put it through an ApplianceLinc to do a power reset every morning, but the issue still happens at least once a day. Any ideas?
Re: Pioneer Receiver discussion
Hi davvi.davvi wrote:I've been using the plugin for the last couple of days; wonderful job! Thank you. I have run into an issue though, where it sometimes won't report anything back to Indigo. I can have the plugin get it by adjusting the Zone Volume virtual device twice.
I put it through an ApplianceLinc to do a power reset every morning, but the issue still happens at least once a day. Any ideas?
Thanks. Glad you like the plugin.
So, exactly what do you mean by "it sometimes won't report anything back to Indigo?" Do you mean the plugin isn't reporting changes in the receiver's settings? Could you maybe give a step-by-step example of what's going on? So, the ApplianceLinc is resetting the power on the receiver? Which receiver model are you using?
- durosity
- Posts: 4810
- Joined: Thu May 10, 2012 3:21 pm
- Location: Newcastle Upon Tyne, Ye Ol' England.
Re: Pioneer Receiver discussion
You don't have another instance of indigo server running elsewhere do you? I had it running as a test on my MBP and it kept stealing the connection from the main server and had the exact same kinda issues.
Computer says no.
Re: Pioneer Receiver discussion
Yea, that would definitely cause a problem. The Pioneer receivers seem to only allow 1 telnet connection per TCP port at a time. Additional connection attempts are rejected by the receiver (at least in my testing).durosity wrote:You don't have another instance of indigo server running elsewhere do you? I had it running as a test on my MBP and it kept stealing the connection from the main server and had the exact same kinda issues.
Re: Pioneer Receiver discussion
Sorry for the vague post.
There is only one instance of Indigo on the network. I did use iControlAV2 to connect to the receiver a few days ago, but even on days that I don't use it the problem appears.
- I've got a VSX-1021-K connected using an Airport Express that extends the wireless network.
- I use a "Listen to Music" button on a Logitech Harmony Smart Control which turns the receiver ON and sets the input to H.M.G.
- I have a trigger in Indigo that looks for the mode on the receiver to change to H.M.G. then it executes an action group that streams Pandora through AirPlay (the Action Group works when triggered so I won't get into details).
There is only one instance of Indigo on the network. I did use iControlAV2 to connect to the receiver a few days ago, but even on days that I don't use it the problem appears.