Plugin for Pioneer VSX-1021 receiver released

I’ve released a plugin for the Pioneer VSX-1021 receiver.

You can find it on the mios website here:
http://code.mios.com/trac/mios_pioneer-receiver/wiki/WikiStart

KNOWN COMPATIBLE LIST:
VSX-1021

SUSPECTED COMPATIBLE LIST:
VSX-1026
VSX-926
VSX-921

Pioneer has reused their protocol a lot over the years so it is possible that this works on even more Pioneer receivers, but I don’t know. I’d be interested in people with other Pioneer receivers trying this out to see if it works. Respond to this thread if you try it out.

Hi Richard,

I’ve got this set up, but the tile in my Vera control panel is showing up empty. Any ideas?

I’ve uploaded the two files and created my device with D_PioneerReceiver1.xml. The Pioneer and Vera is connected on the same router though. Am I missing a step?

Hi,

The device isn’t showing up at all after you restarted the Lua engine (using the icon that looks like a recyling icon)? Are you using UI4 or UI5?
(I’ve only tested this with UI4 as I am not running UI5)

If the device is showing up but not connecting, you need to open the device and go to the advanced tab and fill out the “ip” field with the IP address of your receiver.

Richard

Grrr… annoyed I missed out on some of the deals around Christmas now for one of these for about $250.

I’ve been wanting to update my 1019 for a while (no Ethernet support). Guess I may have to keep on the look out a bit better now then :slight_smile:

Yes, I did a restart, but no luck. I’ve entered my receiver’s IP and even tried entering the MAC address too. I can access the receiver’s web interface, but no luck through the plugin.

I am on UI4 version 1.1.1362. Any ideas?

[quote=“Richard, post:3, topic:170135”]Hi,

The device isn’t showing up at all after you restarted the Lua engine (using the icon that looks like a recyling icon)? Are you using UI4 or UI5?
(I’ve only tested this with UI4 as I am not running UI5)

If the device is showing up but not connecting, you need to open the device and go to the advanced tab and fill out the “ip” field with the IP address of your receiver.

Richard[/quote]

If you were able to enter the receiver’s IP address, then that means you were successful in adding the device.
The MAC address field is not needed and should be empty.

What are you trying to do with the plugin that is not working?
Once the device has been added and you have filled in your IP address, then you can use it in a scene.

For instance:
Create a new Scene. Let’s call it “Pioneer Receiver Power Off”
Then in the scene go to the advanced tab.
Ignore the “Scene is active:” setting, it doesn’t matter for this example
Then for “Pick a device” pick your Pioneer Receiver device that you have already created and click the Add button.
Then select “Off” from the drop down under “DiscretePower1”.
Close the scene.
Click the SAVE button (which should be red now).

You have now created a scene that when run will power off your receiver.

PS - You might be wondering why the receiver doesn’t show up in a scene under events. It is a problem with the Vera2 that happens with IR controlled AV devices as well. I believe it is related to the issues discussed in this thread:
http://forum.micasaverde.com/index.php/topic,6475.msg39915.html#msg39915

@strangely Yeah, I’ve been very happy with it. The ability to automatically powerup and start playing music when it is selected as the Airplay destination from an iOS device in particular has had high WAF.

Thanks for the instructions. I got it to work! I have a VSX-1120.

Awesome! I’ve added the VSX-1120 to the compatible list on the Wiki.

Has anyone gotten this to work with UI5?

I was wondering the same thing.

I installed plugin to UI5, but if I reboot Vera I see at center top this message:
Pioneer Receiver[16] : Running Lua Startup

Will this work on RS-232 over network? I have an ELK RS232 that has a static IP, I have a Pioneer Elite receiver and wondering if this is how I can control it by simply inputting the IP of the Ethernet -Serial device.

I noticed this in the Code; DO I need to modify anything in hopes of this working?

TELNET_PORT = 23 ipAddress = luup.devices[lul_device].ip if (ipAddress ~= "") then luup.log("Running Network Attached I_PioneerReceiver1.xml on " .. ipAddress) luup.io.open(lul_device, ipAddress, TELNET_PORT) else luup.log("Running Serial Attached I_PioneerReceiver1.xml - THIS IS UNTESTED") end

I did confirm all of the discrete codes match exactly for my receiver VSX-21TXH.

http://www.pioneerelectronics.com/StaticFiles/PUSA/Files/Home%20Custom%20Install/VSX-21TXH-RS232.pdf

I’m just hoping to save myself an entire weekend trying to make this plugin work in case there is something I need to do first for editing.

Thanks!

Communication error is being returned…
I’m setting the IPtoSerial device to 9600 baud, what port should TCP be? Is there any additional configuration needed in the implementation file?

Thanks,

Are you using the IP to serial plugin? If not then its likely you should be if the VXX-1021 plugin never implemented this.

You should be able to set the port to any free one you like, it just needs to be matched on both ends… so within the IP to serial device config, and then either with the IP to serial plugin (or within the VSX-1021 plugin).

Do I need to specify (controlled by) on either device? MCV Tech support on the phone w/ me now, probably reading this post also :slight_smile:

Not having any luck. Do i need to configure with ipserial plugin? If so how? Im using ELK IP232 device. Static ip, 9600 baud. Port 5000 tcp. Does UDP port matter?
Looks like this plugin is using port 23(telnet). Im wondering if i should try a different ugin that connects to a device via serial and just copy these commands pver?

Thanks in advance.

I’ve only used the IPserial plugin with WIZnet devices, but I’d assume the setup is the same for your device, and you only need to need to configure IP address and port in the IP serial plugin.

The baud rate setup would have to be done in your ELK device configuration since the IP-serial plugin does not need to worry about this.

Thanks, then what do i do with the pioneer plugin for the ip address? How do i specify this plugin to route through the ipserial plugin?

Install the plugin then it its configuration enter the IP address and port.

Then go to the Apps> Mios developers page and the serial port page, and configure it similarly to the attached. You just need to enter the IP and port of the serial adapter, and also point it to the Pioneer plugin.