New Pioneer AVR Network Plugin

Do you have questions about writing plugins or scripts in Python? Meet the coders here.

Re: New Pioneer AVR Network Plugin

Postby piert » Sun May 20, 2012 7:28 pm

Thanks for the info and I am looking forward to your improvements.

I am not really in a hurry; just doing some experimenting out of curiosity and for the fun of it. I will not be making structural solutions in Eventghost on my main computer before the next issue of your plugin.

Thanks for your efforts.
Perry
piert
Experienced User
 
Posts: 116
Joined: Tue Jun 14, 2011 2:53 pm

Re: New Pioneer AVR Network Plugin

Postby Sat32 » Mon May 21, 2012 2:38 am

Hello
I've run into two issue's The plugin is not generating an event if the input is changed from a power on of a device connected to the Pioneer receiver.
For example turning on my PlayStation 3 automatically changes the Pioneer input but the plug doesn't generate FN25 event that it should. Will the update you mentioned
correct this??

Next I've run into a connection problem if the PC is started before the Pioneer the plugin wont connect or work untill I disable and enable it.

Thanks.
Sat32
 
Posts: 9
Joined: Sun May 13, 2012 8:57 pm

Re: New Pioneer AVR Network Plugin

Postby Sem;colon » Mon May 21, 2012 6:33 pm

@Sat32:
could it be that you didn't enable "net standby" in the network configuration menu of your receiver?
My receiver is responding to my commands even if it is off!

When you didn't even get an information message from the plugin, then your receiver didn't send something..
Sem;colon
 
Posts: 28
Joined: Sat Feb 18, 2012 10:51 am

Re: New Pioneer AVR Network Plugin

Postby Sat32 » Tue May 22, 2012 10:23 am

Hello
I did a little more testing, As far as the not connecting issue I'm still working on the config so have been physically turning off the receiver, maybe that makes a difference?
The net standby setting has been turned on the whole time. The Issue only happened a few times next time it does I see if I can isolate it a little more.

As for Input change from an external source that is not working. If the input on the receiver is changed via the remote or your plugin it generates a FN## event.
If the input is changed on the receiver from powering on of a device "ps3" the plugin generates {pasted from logger}

VTA001110111111111111000000000000
Pioneer_AV_NET.LM0401

multiple times but no FN25 event.

I can work around this If I need to just trying to help you make your plugin better.
Still great work

Thanks
Sat32
 
Posts: 9
Joined: Sun May 13, 2012 8:57 pm

Re: New Pioneer AVR Network Plugin

Postby Sem;colon » Tue May 22, 2012 5:24 pm

if by "tuning physically off" you mean something like pulling out the power cord - then yes.
When using the power standby/on button on my receiver, it sometimes happens that my receiver "crashes" which means it seems to be off, but the MCACC light is still on... In this state I can't even power it on unless I pull out the power cord and stick it in again... I hope there will be a firmware update soon...

I really like getting feedback on how the plugin is working and what does not but I think your issues are caused by the receiver..
Sem;colon
 
Posts: 28
Joined: Sat Feb 18, 2012 10:51 am

Re: New Pioneer AVR Network Plugin

Postby Sat32 » Tue May 22, 2012 9:04 pm

Hello
My receiver has never crashed like you described the connection issue hasn't been a big thing it's only happened
like a few times and a simple disable/enable startup macro would fix it.

The thing about not triggering an event or the correct event it should. I Think that is your plugin
cause the other pioneer plugin did trigger the events, just not reliably.

Thanks
Sat32
 
Posts: 9
Joined: Sun May 13, 2012 8:57 pm

Re: New Pioneer AVR Network Plugin

Postby Sat32 » Sat May 26, 2012 2:50 pm

Helle again
Been working on my setup more, I'm try to get start up shutdown macros going. Having trouble getting S3 suspend
to work so been S4 hibernate. The plug in doesn't want to connect on resume at all. Even disable / enable plugin
doesn't work at times.

Any ideas,
Sat32
 
Posts: 9
Joined: Sun May 13, 2012 8:57 pm

Re: New Pioneer AVR Network Plugin

Postby piert » Mon May 28, 2012 9:44 pm

I have to also report an unfortunate disconnection issue:
"Pioneer_AV_NET ERROR: [Errno 10054] De externe host heeft een verbinding verbroken" The Dutch message means "external host has disconnected a connection"
There is no possibility of sending commands to the Pioneer from Eventghost. When I try, I get the message: "Error sending command, retrying timed out"

I have also a windows application 'AirFoil', which is a paid program for windows that allows to simulate Apple AirPlay on a Windows PC.
This program lets me, without fail, switch the Pioneer On when it is off initially (mind you, the Network Standby function is always on on the Pioneer).
piert
Experienced User
 
Posts: 116
Joined: Tue Jun 14, 2011 2:53 pm

Re: New Pioneer AVR Network Plugin

Postby Sem;colon » Tue May 29, 2012 6:28 pm

Hi all,

sorry for my late reply, I was very busy last week.
Yes, there was a bug with reconnect after standby...
I never noticed it because my PC is never going to standby.. But I fixed it!
I also made some other small changes..

would you please try the attached version of the plugin and give me some feedback what with this version works or not?

Thanks,
Sem;colon
Attachments
__init__.zip
(2.54 KiB) Downloaded 78 times
Sem;colon
 
Posts: 28
Joined: Sat Feb 18, 2012 10:51 am

Re: New Pioneer AVR Network Plugin

Postby piert » Wed May 30, 2012 6:14 am

Thanks, I will keep an eye on the new version of your plugin in the coming days and report back at some point. My laptop goes into and comes out of standby a lot, so this be a good testing environment for the reconnect issue.

I should also mention that it turned out that the DHCP server had given the Pioneer a new IP address, which was obviously now different from the one I set in your plugin. So the plugin could not reconnect anyway :roll:

Regards, Perry
piert
Experienced User
 
Posts: 116
Joined: Tue Jun 14, 2011 2:53 pm

Re: New Pioneer AVR Network Plugin

Postby Sat32 » Wed May 30, 2012 10:23 am

Hello,
Seems to work a little better, firing a macro to turn on the TV and Pioneer with System.Resume didn't work.
But when I changed the macro to this it worked.

start-up macro
wait 1 sec
Ping = Pioneer Reciever
Jump if unsuccessful = start-up macro
Disable = Pioneer Plugin
Enable = Pioneer Plugin
wait 1 sec
Power On = Pioneer
Power On = TV (USBuirt)

I think some of my issue was it tried to connect and send the command before the computer was connected to the network.
Adding the Ping loop seems to have fixed that issue.

Thanks good work
will keep testing
Sat32
 
Posts: 9
Joined: Sun May 13, 2012 8:57 pm

Re: New Pioneer AVR Network Plugin

Postby piert » Sun Jul 22, 2012 11:26 am

piert wrote:I should also mention that it turned out that the DHCP server had given the Pioneer a new IP address, which was obviously now different from the one I set in your plugin. So the plugin could not reconnect anywayy


I have a sort of catch-22 situation here. For some reason it is not possible to connect the Pioneer VSX-2021 to Pioneer internet radio if I set a fixed IP address for the VSX.
It tells me 'server error'. I AM able to connect to other stuff on my own LAN (for instance, I can play music from my laptop wirelessly over the VSX), so within the LAN network everything is OK.

So if I set it to accept IP over DHCP from the router, I am able to connect to Pioneer internet radio service without a problem. However, this makes it a problem to use your plugin to control the VSX via Eventghost, as the IP address frequently changes..... I have tried using the 'Friendly Name' option that the VSX offers to identify the Pioneer on the LAN network, but the Pioneer never shows up in my network by its friendly name (I use advanced IP scanner v1.5 from www.radmin.com to check the network components, their names and IP addresses), only its IP address.

I would have entered the VSX as a static IP address receiver based on MAC address in my router (Zyxel), but the router can only accept up to 8 components and I have used them all!

Do any of you have ideas on how to solve this? Preferably, I would like to use DHCP.

Thanks for any suggestions.
Perry
piert
Experienced User
 
Posts: 116
Joined: Tue Jun 14, 2011 2:53 pm

Re: New Pioneer AVR Network Plugin

Postby jonib » Sun Jul 22, 2012 4:07 pm

piert wrote:So if I set it to accept IP over DHCP from the router, I am able to connect to Pioneer internet radio service without a problem. However, this makes it a problem to use your plugin to control the VSX via Eventghost, as the IP address frequently changes.....
Can't you configure the router to send a specific IP? that's how I give stable IPs to my stuff.

I know nothing about this plugin or hardware.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 716
Joined: Thu Mar 26, 2009 9:33 pm

Re: New Pioneer AVR Network Plugin

Postby piert » Sun Jul 22, 2012 5:41 pm

jonib wrote:Can't you configure the router to send a specific IP? that's how I give stable IPs to my stuff.

Like I said in my post: I would have entered the VSX as a static IP address receiver based on MAC address in my router (Zyxel), but the router can only accept up to 8 components and I have used them all! :cry:
piert
Experienced User
 
Posts: 116
Joined: Tue Jun 14, 2011 2:53 pm

Re: New Pioneer AVR Network Plugin

Postby Sem;colon » Sun Jul 29, 2012 11:44 am

Hi Plert,
this usually happens if the default gateway is missing...
It is really weak from your router to just accept up to 8 IP reservations, because that would be the easiest solution.
What you maybe can do is:
-Shorten to DHCP scope of your router, or make an exclusion for one IP Address. (just to make sure that the router won't give the IP of the receiver to another device also)
-After that you turn of DHCP on your receiver and give the receiver one of these excluded IP addresses and the subnet mask (usually 255.255.255.0).
-also you have to give the receiver the IP address of your router as default gateway.
-and optionally the IP address of your router as DNS server.
Sem;colon
 
Posts: 28
Joined: Sat Feb 18, 2012 10:51 am

PreviousNext

Return to Coding Corner

Who is online

Users browsing this forum: No registered users and 0 guests