Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Yamaha RX-Vxxx (or similar) Ethernet Plugin!
This is a plugin for EventGhost which allows you to control your Yamaha AV Receivers over the internet (local network). It should work with most/all Yamaha RX-Vxxx models which contain either an ethernet connection or a wireless connection. The computer running EventGhost should be on the same local network, or you will need to use port forwarding.
LINKS: NOTICE:
BirdAPI and Dragon470 have teamed up and are collaborating on this new version of the plugin!
If you would like to view Dragon470's old and defunct version of the plugin, click HERE
If you would like to view BirdAPI's old and defunct version of the plugin, click HERE
EDIT (September 26th, 2013):
- Dragon470 has merged in his GetInfo functionality from his old plugin
EDIT (September 19th, 2013):
- Zone 2 is now working for a lot of things, as should zones 3 and 4 (untested)
- Ability to set the active zone with the "SetActiveZone" action, and any action you use that has "Active Zone" as its selected zone will apply to that zone. This allows you to use the same buttons for both zones, and just toggle the active zones to change what it controls at that moment.
EDIT (September 13th, 2013):
I have merged in some of changes in this thread, including:
Scene change fix (thanks DoXer!)
The following have been merged in from Dragon470's code, and I added a GUI for them:
Cursor Actions (Choose Main Zone / Zone 2):
Up, Down, Left, Right, Enter, Return, Option, Top Menu, Pop Up Menu
NumChar Actions (Choose Main Zone / Zone 2):
1, 2, 3, 4, 5, 6, 7, 8, 9, +10, ENT
Operation Actions (Choose Main Zone / Zone 2):
Play, Stop, Pause, Search-, Search+, Skip-, Skip+, FM, AM
I have also started some work on getting various things to work on Main Zone, Zone 2, Zone 3, or Zone 4. The GUI is there to select them, but most of them don't seem to be fully working at the moment.
EDIT (September 10th, 2013):
I have recently worked on a newer version of this plugin, with the main focus on user customizeable settings, and cleaning up the clutter when it comes to events (one user defined increase volume function instead of 5 hard coded ones).
It features a GUI to setup static ip address, port, automatic ip detection, and more!
LINKS: NOTICE:
BirdAPI and Dragon470 have teamed up and are collaborating on this new version of the plugin!
If you would like to view Dragon470's old and defunct version of the plugin, click HERE
If you would like to view BirdAPI's old and defunct version of the plugin, click HERE
EDIT (September 26th, 2013):
- Dragon470 has merged in his GetInfo functionality from his old plugin
EDIT (September 19th, 2013):
- Zone 2 is now working for a lot of things, as should zones 3 and 4 (untested)
- Ability to set the active zone with the "SetActiveZone" action, and any action you use that has "Active Zone" as its selected zone will apply to that zone. This allows you to use the same buttons for both zones, and just toggle the active zones to change what it controls at that moment.
EDIT (September 13th, 2013):
I have merged in some of changes in this thread, including:
Scene change fix (thanks DoXer!)
The following have been merged in from Dragon470's code, and I added a GUI for them:
Cursor Actions (Choose Main Zone / Zone 2):
Up, Down, Left, Right, Enter, Return, Option, Top Menu, Pop Up Menu
NumChar Actions (Choose Main Zone / Zone 2):
1, 2, 3, 4, 5, 6, 7, 8, 9, +10, ENT
Operation Actions (Choose Main Zone / Zone 2):
Play, Stop, Pause, Search-, Search+, Skip-, Skip+, FM, AM
I have also started some work on getting various things to work on Main Zone, Zone 2, Zone 3, or Zone 4. The GUI is there to select them, but most of them don't seem to be fully working at the moment.
EDIT (September 10th, 2013):
I have recently worked on a newer version of this plugin, with the main focus on user customizeable settings, and cleaning up the clutter when it comes to events (one user defined increase volume function instead of 5 hard coded ones).
It features a GUI to setup static ip address, port, automatic ip detection, and more!
Last edited by birdapi on Fri Sep 27, 2013 4:48 pm, edited 12 times in total.
Re: Yamaha RX-V867 Ethernet Plugin!
Hi Birdapi,
i´ve tested your plugin with my RX-V2067 and it works. Big thx for that!
But one thing is missing for me. All the "Scene" funktions (5-12) would be highly appreciated.
Because there are no buttons on the remote for these scenes, but with eventghost and your plugin i could do it with my logitech harmony!
regards,
v!
i´ve tested your plugin with my RX-V2067 and it works. Big thx for that!

But one thing is missing for me. All the "Scene" funktions (5-12) would be highly appreciated.
Because there are no buttons on the remote for these scenes, but with eventghost and your plugin i could do it with my logitech harmony!

regards,
v!
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
v!rus,
I'm glad you were able to get it to work on your receiver! I added the functionality to set a specific scene (1-12). Hopefully this does what you were asking for. Initially i wasn't even sure if it was possible, but i dug around and was able to figure something out. Visit the same link to download it again. Make sure you restart EventGhost. i changed the name of some functions and removed some functions which were broken, so hopefully this doesn't break your config file.
I'm glad you were able to get it to work on your receiver! I added the functionality to set a specific scene (1-12). Hopefully this does what you were asking for. Initially i wasn't even sure if it was possible, but i dug around and was able to figure something out. Visit the same link to download it again. Make sure you restart EventGhost. i changed the name of some functions and removed some functions which were broken, so hopefully this doesn't break your config file.
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
You´re really fast!
I will test the new plugin tonight, when i´m at home. Thx in advance!

I will test the new plugin tonight, when i´m at home. Thx in advance!
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
And it works!
Thank you very much!
Thank you very much!

Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
Hi birdapi,
great work! Worked quite well - with one issue:
It seems in the rxv867.py File there was still an IP address hardcoded. When i exchanged this with the IP of my Receiver, the plugin worked perfectly!
Thanks again for this work!
Best regards,
Klaas.
great work! Worked quite well - with one issue:
It seems in the rxv867.py File there was still an IP address hardcoded. When i exchanged this with the IP of my Receiver, the plugin worked perfectly!
Thanks again for this work!
Best regards,
Klaas.
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
First, thanks for the plugin. Second, I am not a practicing programmer, so my knowledge is really lacking in python. Here are my questions:
From a script how can I access the various status info from the receiver? Mute, playing info, source, etc.
Do you have a list of all the commands to and from a yamaha receiver? I would greatly like to have it. Searching only results in the av control app.
I am wanting to make a new front end that can work on much older tablets. I also want just one page to see not one for the receiver, one for the MC extender, and one for the TV. The av control app needs android 2.1.
From a script how can I access the various status info from the receiver? Mute, playing info, source, etc.
Do you have a list of all the commands to and from a yamaha receiver? I would greatly like to have it. Searching only results in the av control app.
I am wanting to make a new front end that can work on much older tablets. I also want just one page to see not one for the receiver, one for the MC extender, and one for the TV. The av control app needs android 2.1.
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
THIS is now outdated version. Here only for people to use in transition to new version.
Many updates, with little or no refinement to up front commands. Many more things are now available in the plugin including getting the status of numerous settings. Please take a long look at the code before asking questions.
Below is an old defunct version. You should refer to the very first post to the newest github version. Both BirdAPI and I are working on that version.
Many updates, with little or no refinement to up front commands. Many more things are now available in the plugin including getting the status of numerous settings. Please take a long look at the code before asking questions.
Below is an old defunct version. You should refer to the very first post to the newest github version. Both BirdAPI and I are working on that version.
Last edited by Dragon470 on Thu Oct 24, 2013 12:00 am, edited 5 times in total.
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
Great stuff, thanks for the update.Dragon470 wrote:Many updates, with little or no refinement to up front commands. Many more things are now available in the plugin including getting the status of numerous settings. Please take a long look at the code before asking questions.
Just curious though, which .py file do I need to use, or do I need both? I have the exact same receiver as you, the 671. Thanks
-
- Experienced User
- Posts: 113
- Joined: Sat May 19, 2012 4:33 am
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
This is awesome stuff! I don't yet have my Yamaha RX-V573 Receiver connected to the network... so unfortunately I can't test to see if it will work. I assume it will.
Speaking of which, I'd rather not run another ethernet cable to my receiver. Would connecting it to my HTPC via Ethernet someone work?
Speaking of which, I'd rather not run another ethernet cable to my receiver. Would connecting it to my HTPC via Ethernet someone work?
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
Sorry for the long delayed response, but I don't have much time for this hobby.
As far as updating the plugin, I will be adding actual actions to go with the functions that are already in place. This might not happen until later this summer.
You do need both files the init.py calls the other file.Chris wrote:
Just curious though, which .py file do I need to use, or do I need both? I have the exact same receiver as you, the 671. Thanks
Thanks, I do have a possible solution. If your htpc sits next to the receiver. You could install a second network card in the htpc and run a small cord in to your receiver. There are other caveats to this such as bridging the network cards, and or setting static ip address and routing tables. I hope that answers your question.therealbiglou wrote:This is awesome stuff! I don't yet have my Yamaha RX-V573 Receiver connected to the network... so unfortunately I can't test to see if it will work. I assume it will.
Speaking of which, I'd rather not run another ethernet cable to my receiver. Would connecting it to my HTPC via Ethernet someone work?
As far as updating the plugin, I will be adding actual actions to go with the functions that are already in place. This might not happen until later this summer.
-
- Experienced User
- Posts: 113
- Joined: Sat May 19, 2012 4:33 am
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
I ended up using an ethernet switch to split the connection between my HTPC and receiver and now I have a network connection to both. I was really happy to see this plugin worked perfectly with my RX-V573!
The only thing that seemed to not line up is that my receiver simply has "Audio" as one of the inputs I use and the list of functions include "Audio1" and "Audio2", and unfortunately neither work. Could I request this be added at a later date? Additionally, I would love actions for Zone A and Zone B so I can control power to my main TV's surround and the outdoor speakers separately.
Thank you for creating this plugin, it has worked wonders! For whatever reason, my USB-UIRT would take ~1 second per 0.5dB volume change. This meant mashing the volume buttons when wanting to change the volume quickly would result in a period of many seconds where the volume slowly trickled up or down. With this plugin, volume changes instantaneously. Perfect!!
The only thing that seemed to not line up is that my receiver simply has "Audio" as one of the inputs I use and the list of functions include "Audio1" and "Audio2", and unfortunately neither work. Could I request this be added at a later date? Additionally, I would love actions for Zone A and Zone B so I can control power to my main TV's surround and the outdoor speakers separately.
Thank you for creating this plugin, it has worked wonders! For whatever reason, my USB-UIRT would take ~1 second per 0.5dB volume change. This meant mashing the volume buttons when wanting to change the volume quickly would result in a period of many seconds where the volume slowly trickled up or down. With this plugin, volume changes instantaneously. Perfect!!
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
Hi,
first, thank you for your plugin.
I have a RX-V475 and selecting a scene is not working. I changed it in your script to work for the RX-V475.
Original:
Modification:
first, thank you for your plugin.
I have a RX-V475 and selecting a scene is not working. I changed it in your script to work for the RX-V475.
Original:
Code: Select all
def set_scene(scene_num):
send_xml('<YAMAHA_AV cmd="PUT"><Main_Zone><Scene><Scene_Load>Scene %i</Scene_Load></Scene></Main_Zone></YAMAHA_AV>' % scene_num)
Code: Select all
def set_scene(scene_num):
send_xml('<YAMAHA_AV cmd="PUT"><Main_Zone><Scene><Scene_Sel>Scene %i</Scene_Sel></Scene></Main_Zone></YAMAHA_AV>' % scene_num)
-
- Experienced User
- Posts: 113
- Joined: Sat May 19, 2012 4:33 am
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
Doxer, how did you find out what code to change to fix that? There are a few things I may want to alter for my receiver as well.
Additionally, could someone guide me in how I would take the information of one of the status events and send the status (let's say of power) to the Network Event Sender plugin?
Thanks!
Additionally, could someone guide me in how I would take the information of one of the status events and send the status (let's say of power) to the Network Event Sender plugin?
Thanks!
Re: Yamaha RX-V867 (or similar) Ethernet Plugin!
Thanks for the information, I will test and update my post.DoXer wrote:Hi,
first, thank you for your plugin.
I have a RX-V475 and selecting a scene is not working. I changed it in your script to work for the RX-V475.
Original:Modification:Code: Select all
def set_scene(scene_num): send_xml('<YAMAHA_AV cmd="PUT"><Main_Zone><Scene><Scene_Load>Scene %i</Scene_Load></Scene></Main_Zone></YAMAHA_AV>' % scene_num)
Code: Select all
def set_scene(scene_num): send_xml('<YAMAHA_AV cmd="PUT"><Main_Zone><Scene><Scene_Sel>Scene %i</Scene_Sel></Scene></Main_Zone></YAMAHA_AV>' % scene_num)
I have not used the scene selection, but I can tell you the various scene commands are Scene_Load, Scene_Save, and Scene_Sel