Page 8 of 15

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

Posted: Sat Jan 24, 2015 2:52 pm
by Mastiff

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

Posted: Sat Jan 24, 2015 2:58 pm
by Mastiff
I belive I have misread the document. What I thought was sub volume is only max vol, it seems. So adjusting the sub volume is probably not possible. :cry:

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

Posted: Sat Jan 24, 2015 3:01 pm
by Mastiff
Come to think of it, it has to be possible since the receiver manager can do it. But that would mean sniffing the IP package when it sends, and that's way beyond me. :)

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

Posted: Sat Jan 24, 2015 3:13 pm
by Dragon470
That function tree is only 2 versions newer that mine. The one I have is v671. There maybe some changes but most of it looks to be in the available inputs. Also the relevant input specific functions.

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

Posted: Sat Jan 24, 2015 3:18 pm
by Mastiff
Very possible, yeah. Well, I remembered something else: The serial commands are supposed to be the same as the TCP commands. You don't by any chance have a serial connection and a serial receiver manager to your receiver? Then it should be easy to sniff the correct syntax.

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

Posted: Sat Jan 24, 2015 8:48 pm
by Dragon470
Added setting of the preout levels of each individual speaker. Can also use GetInfo to get current levels. They are under a new category System. This category will be expanded with future additions also as more setting functions are added.

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

Posted: Sun Jan 25, 2015 10:58 am
by Mastiff
Brilliant! :mrgreen: Thanks! I didn't answer yesterday since I was using the receiver to listen to heavy metal (in all shapes and sizes, from 70's Deep Purple to Five Finger Death Punch's latest) and drinking substantial amounts of beer with 7 other guys around 40-50! :lol: If I had answered you probably wouldn't have understood anything anyway...

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

Posted: Thu Jan 29, 2015 2:24 am
by Dragon470
I have to report that the plugin has undergone a major overhaul to support having multiple instances of itself (If you have 2 or more receivers). I got a second yamaha receiver (rx-v775) a while ago and tested it and discovered severe issues with multiple instances.

So I updated the plugin to support this. For most people you will notice no change.

There are a few Items you might have to readd these actions in your event tree:

ToggleMute()
RadioFreqUp()
RadioFreqDown()
RadioAutoFreqUp()
RadioAutoFreqDown()
ToggleEnhancer() (This one is for sure wrong)
ToggleRadioAM/FM()
NextRadioPreset()
PreviousRadioPreset()


If you had any custom python script that you used, you might have to update them.

Last item, it is possible something went amiss and would like to hear about any glitches.

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

Posted: Sun Mar 01, 2015 2:00 pm
by Mastiff
Hi again! Sorry about the long time to answer, I have been to the cabin only twice, and it was with full family, so not much time to experiment. This time I let them go home a few days before me, so I could stay to iron out a bunch of kinks in the system. Thanks for the new version of the plugin, it seems to work except for one thing. And with your plugin what I can't get to work is the speaker level. There are a few problems:

First what can be either a design problem or a bug: Adding an action adds the level commands for all the speakers, which in my opinion is a bit counter productive. It should be possible to choose one speaker to control (if it's possible, I'm sorry, I didn't find it).

Second this list of all speakers goes down below the space that's allocated in the add command window, so the Surround R value is cut in half and no speakers below is shown.

Third, the command just doesn't work, at least I can't get it working. I tried to copy it to a Python script, and the script will not compile. I'm guessing that there is a bug somewhere.

Fourth, and final (and this may not be possible), I would like not to have an absolute volume, but the ability to control the volume in steps. It's not a problem if that's not possible, I can code around that by using a variable for the volume and go plus one for each button press.

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

Posted: Sun Mar 01, 2015 6:41 pm
by Dragon470
I see I didn't upload my newest: which fixes your 3rd problem.

1. I did all speakers as one for convenience as I don't really see the need to keep adjusting them. I only use it to set them correctly as the YPAO never gets it right.
It would be possible to add each speaker individually, and could be done in a future version.

2. For not being able to see everything, This is an issue that has been raised before as it is a ConfigDialog() problem within EG. To fix it might require really breaking EG. Alternatively, for now you can always resize the window from the edges.
There are workarounds to making a completely custom dialog, but I have not experimented with it. I can look at the schedulghost plugin as an example.

4. It might be best to use the existing get function and keep your own variables and then call the set function.

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

Posted: Sun Mar 01, 2015 6:51 pm
by Mastiff
Well, if that is fixed I can get a long way on that. For me the main thing is to be able to adjust the level of the subwoofers from a remote, so when we're having the metal nights (and sometimes on movies that are badly mixed) I can increase or decrease the sub volume if it's to high or low. When do you think you can upload the working version? I just tried to download again, and that was the same one I took earlier today. :mrgreen:

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

Posted: Sun Mar 01, 2015 7:30 pm
by Dragon470
I am having problems finding my fix, I do remember having a loading issue (of the action). And having a setting issue with the action (after I changed the plugin to a multiload)

Which issue are you having? (If it the copy as python , then it should become YamahaRX.SetPattern1(.....)) I will have to see why it changes it to Set Speaker Levels(..)

do you get an error? If so what?

I just tried in a new virtual machine from the github code and it works.

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

Posted: Sun Mar 01, 2015 7:38 pm
by Mastiff
The full Python copy is:

Code: Select all

eg.plugins.YamahaRX.Set Speaker Levels([['Front_R', -0.5], ['Front_L', 0.0], ['Center', 0.5], ['Sur_R', -0.5], ['Sur_L', -0.5], ['Sur_Back_R', -1.0], ['Sur_Back_L', -1.0], ['Subwoofer_1', 8.0], ['Subwoofer_2', 7.5]])
The error when pushing compile is:

Code: Select all

20:36:57   Error compiling script.
20:36:57   Traceback (most recent call last):
20:36:57   SyntaxError: invalid syntax (47, line 1)
I don't get an error when trying to fire the original event (not copied to Python), but I really don't want to do that because it will mess up my YPAO settings (which usually are spot on, btw).

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

Posted: Sun Mar 01, 2015 7:49 pm
by Dragon470
Change:
eg.plugins.YamahaRX.Set Speaker Levels([['Front_R', -0.5], ['Front_L', 0.0], ['Center', 0.5], ['Sur_R', -0.5], ['Sur_L', -0.5], ['Sur_Back_R', -1.0], ['Sur_Back_L', -1.0], ['Subwoofer_1', 8.0], ['Subwoofer_2', 7.5]])
To:

Code: Select all

eg.plugins.YamahaRX.SetPattern1([['Front_R', -0.5], ['Front_L', 0.0], ['Center', 0.5], ['Sur_R', -0.5], ['Sur_L', -0.5], ['Sur_Back_R', -1.0], ['Sur_Back_L', -1.0], ['Subwoofer_1', 8.0], ['Subwoofer_2', 7.5]])
I will be looking in to why using the "copy python as" does this on all of my actions with this plugin.

For your information the set function does not have to have all the speakers sent to it. So in a script you could just do:

Code: Select all

eg.plugins.YamahaRX.SetPattern1([['Subwoofer_1', 8.0]])
that just sets subwoofer 1.

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

Posted: Sun Mar 01, 2015 8:04 pm
by Mastiff
Thanks! I'll try that tomorrow, and I'll let you know if it doesn't work. If I actually shut up for a change, I managed to adjust the sub as I wanted to! :lol: