Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Questions and comments specific to a particular plugin should go here.
Post Reply
lja
Posts: 16
Joined: Tue Jun 17, 2014 4:23 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by lja »

Dragon470 wrote:The one under the Basic_Status is only to GET the volume level.

The first example: <Main_Zone><Vol><Up_Down>Up</Up_Down></Vol></Main_Zone>
will increase the volume.

If you have a need to set the volume at a specific volume it is a bit different but you can use this:

<Main_Zone><Vol><Lvl><Val>***</Val><Exp>1</Exp><Unit>dB</Unit></Lvl></Vol></Main_Zone>

the *** is in the range of -805 to 165

The volume like this is the only one that requires a multi field PUT command.

@Dragon470
Thanks for all your help. I now have the volume and power working. I will next try setting the specific volume.
lja
Posts: 16
Joined: Tue Jun 17, 2014 4:23 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by lja »

@Dragon470

Yamaha RX-V3900

All working well (volume, exact volume). Found how to change input source for V-Aux, Phono, Tuner using ir codes (Tuner:7A8516E9) but cannot find the code for CBL/Sat or others such as DVR, DVD etc. Would again appreciate any help. Thanks.
Dragon470
Experienced User
Posts: 205
Joined: Thu Feb 10, 2011 2:16 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Dragon470 »

Some remote codes are not set statically to a specific input. This could be your problem.

On many models labels can be substituted or assigned to different inputs so you can end up with odd names for inputs.

Some models like Yamaha RX-V3900 has some names set from the start.

Here is the put command :

<Main_Zone><Input><Input_Sel>***</Input_Sel></Input></Main_Zone>



*** can be any of these

"SIRIUS"
"XM"
"TUNER"
"MULTI CH"
"PHONO"
"CD"
"TV"
"MD/CD-R"
"BD/HD DVD"
"DVD"
"CBL/SAT"
"DVR"
"VCR"
"V-AUX"
"DOCK"
"iPod"
"Bluetooth"
"USB/NET"
"PC/MCX"
"NET RADIO"
"Rhapsody"
"SIRIUS InternetRadio"
"USB"
lja
Posts: 16
Joined: Tue Jun 17, 2014 4:23 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by lja »

@Dragon470

Thanks very much. All working. Appreciated.
lowend15
Posts: 1
Joined: Tue Oct 28, 2014 1:27 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by lowend15 »

Firstly, I love Eventghost. Secondly, I love the forum. Thirdly, Someone asked how to generate an event based on, a state of the Yamaha processor. While this probably isn't the most efficient way, it is probably the easiest to follow :). I have attached the code and a screenshot of it.

I have both Denon and Yamaha receivers. The Denons return events. The Yamaha doesn't. But this plugin DOES bury the result of the GET query in "eg.result". So with some iffing, you can mimic an event by testing the receiver state to a known condition, and jump appropriately.

In my case, I have a whole house audio with multiple receivers. (In hindsight, this is the best way to do it I think; I ended up here by being cheap and on accident sort of; I spent less on my whole system than on a typical whole house receiver). I wanted to ability to, when listening to the whole house, implement a toggle of the master bedroom AVR if there was not a desire for music in there. I also have a similar routine to toggle one of my Denon's Zone 2 to flip state of the Lanai speakers (which is much easier to just use events for, but I digress). Although I have local volume knobs, it seemed like the functionality may be necessary at some point. So with this forum's help, I managed to scrap this together :). Just thought I'd share to show my true thanks.

PS, the mceremote command is a dummy command on my Logitech. I don't adjust the computer MCE volume; I adjust my living room AVR volume via direct IR via the Logitech.
PS, if you have more than one Denon receiver (I have an X2000 and X4000) you can also just copy/rename the plugin and rename some key variables within the code via find/replace and defeat the single "Marantz" limitation.

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1669">
    <Folder Name="BED-RXV475 (BED AVR) POWER TOGGLE" Expanded="True">
        <Macro Name="Yamaha: POWER TOGGLE BUFFER" id="426" Expanded="True">
            <Event Name="MceRemote.Mce.VolumeUp" />
            <Action>
                EventGhost.EnableItem(XmlIdLink(432))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(436))
            </Action>
            <Action>
                YamahaRX.Get Info('Power', 'Main Zone')
            </Action>
            <Action>
                EventGhost.PythonCommand(u'print eg.result')
            </Action>
            <Action Name='eg.result == "  Standby"'>
                EventGhost.PythonCommand(u'eg.result == "Standby"')
            </Action>
            <Action>
                EventGhost.PythonCommand(u'print eg.result')
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(432), 0, False)
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(436), 1, False)
            </Action>
        </Macro>
        <Macro Name="Yamaha: POWER TOGGLE - IF OFF, TURN ON" id="432" Enabled="False" Expanded="True">
            <Action>
                EventGhost.EnableExclusive(XmlIdLink(426))
            </Action>
            <Action>
                YamahaRX.Set Power Status('Main Zone', 'On')
            </Action>
        </Macro>
        <Macro Name="Yamaha: POWER TOGGLE - IF ON, TURN OFF" id="436" Enabled="False" Expanded="True">
            <Action>
                EventGhost.EnableExclusive(XmlIdLink(426))
            </Action>
            <Action>
                YamahaRX.Set Power Status('Active Zone', 'Standby')
            </Action>
        </Macro>
    </Folder>
</EventGhost>
Attachments
2014-10-27 21_39_26-EventGhost 0.4.1.r1669 - HTPC.png
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Mastiff »

Would it be possible to have bass and treble accessible from this? There is no way to change that with the IR remote, but I can do it with the Android app. Still I'd like to have it in the plug-in so I can use a remote to adjust them, if possible. :D
Dragon470
Experienced User
Posts: 205
Joined: Thu Feb 10, 2011 2:16 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Dragon470 »

Mastiff wrote:Would it be possible to have bass and treble accessible from this? There is no way to change that with the IR remote, but I can do it with the Android app. Still I'd like to have it in the plug-in so I can use a remote to adjust them, if possible. :D
I am unsure what command(s) adjust the bass and tremble. I have noticed in the function tree there are multiple spots available, but neither of my receivers respond to these commands. I have a v671 and v775. Are you wanting to use scene based modifications or are you talking about global bass and tremble?

I have not used the android app for years but I will test it this weekend. Maybe then I will see where it is changing the bass and tremble.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Mastiff »

Thanks for answering! Yeah, I mean the global bass & treble. In the Android app you will find them under Options (I believe, I have the Norwegian version, where it's called "Valg". It's the three dots to the far right in the line at the bottom. I have a 3067 (while waiting to buy two 3040 some time next year to run a system with 11.2 + 6 ceiling speakers (Atmos). At least I hope that will work. It's kind of a shot in the dark, given that at least on AVS Forum (which probably is the biggest of it's kind) nobody has ever tried to run a dual receiver setup...so again I'm threading the bleeding edge! :mrgreen:
Dragon470
Experienced User
Posts: 205
Joined: Thu Feb 10, 2011 2:16 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Dragon470 »

Mastiff,

I currently don't own an android device with a new enough version to install the yamaha app. I also tried to setup a vm of the 4.x android version. The VM works, but the app doesn't connect even though it finds my receivers.

I also tried all commands from my now ageing function tree list. I never got any repose from my receivers. This does not mean one of them would have worked on your receiver. Some models don't have certain features.

I will continue to see if I can get the android VM app to work, but for now I am sorry to say I have nothing to offer at this time.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Mastiff »

OK, no worries. It would simply be a nice function to have. :) I can use it without problems on my 3067 for the regular functions.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Mastiff »

Hi again! I have found what should be the correct command for bass on my receiver, @MAIN:TONEBASS=Parameter (where parameter is from -6.0 to 6.0). But I keep getting the error message that the command didn't go through. Is there more stuff needed in the "send any command"? I kind of struggle to fathom the structure of that send any command, I'm afraid. I'm unable to send any type of command through that.
Dragon470
Experienced User
Posts: 205
Joined: Thu Feb 10, 2011 2:16 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Dragon470 »

I finally took the time and have added the tone bass and tone treble control for any available zone. I have also added in the GetInfo for the main zone bass and treble.


On a side note the SendAny command function doesn't work MOST of the time. I have left it in for now but will probably separate it to two different functions in order to get better functionality.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Mastiff »

Wow, great! Thank you! I will test that. Would it be just as easy to add subwoofer volume adjustment?
Dragon470
Experienced User
Posts: 205
Joined: Thu Feb 10, 2011 2:16 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Dragon470 »

I am not really sure where the setup settings are in the function tree. I can add it to the to do list.

While getting the bass and treble I am thinking of looking in to the volume trim for each input. Ex. This would let you set these so when you switch from hdmi to tuner you won't have to change the volume so much. It basically lets you normalize across all inputs. That is also on my to do list.
Dragon470
Experienced User
Posts: 205
Joined: Thu Feb 10, 2011 2:16 am

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Post by Dragon470 »

The only individual speaker volume control I can find are the Speaker PreOut values. These range from -10db to +10db. Is this what you wanted?
Post Reply