Search found 202 matches

by Dragon470
Fri Oct 06, 2017 11:50 am
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

objects.append(["Input Selection", "Main Zone"]) Is what you need for source. For figuring out any others you can make a new macro of the "Get Info" Then afterwords right click and do copy as python. In any text editor or script paste it. Example: eg.plugins.YamahaRX.GetInfo('Input Selection', 'Mai...
by Dragon470
Tue Sep 12, 2017 11:20 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

I have been looking and have discovered answers on both for the scene information and digital audio signal input. For the scene information I never did implement any code for it. I found my old notes on why I didn't finish, and it is because the scene presets are just a set of variables that are to ...
by Dragon470
Sat Sep 09, 2017 5:41 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

objects.append(["Input Selection", "Main Zone"]) is what you want for the input. I tested this and it works. objects.append(["Scene", "Main Zone"]) The scene part is not working with the get info on mine, I might have never checked if that worked on the newer models. I will be checking on that. For ...
by Dragon470
Wed Sep 06, 2017 12:09 pm
Forum: Feature Requests
Topic: Syslog forward
Replies: 12
Views: 1083

Re: Syslog forward

There are lots of examples out there that use the PyWin32 wrapper. I use it to monitor a few specific events. Like was said earlier, this needs to be put in a thread. The other issue that I have run into is permissions. In the Windows Logs I can access System and Application, but not Security. I eve...
by Dragon470
Sat Mar 25, 2017 1:13 am
Forum: Coding Corner
Topic: Windows 10 Active Hours
Replies: 2
Views: 927

Windows 10 Active Hours

So for the second time I have lost valuable data to my Windows 10 computer deciding to update and restart on the concept of "Active Hours". If you don't know what I am talking about, just look it up. This is my solution to the computer randomly restarting on me. Just change the registry keys for the...
by Dragon470
Wed Mar 15, 2017 7:54 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

jachin99, As far as I know there is no way of checking if there is an active video signal on a particular input. Likewise I don't think there is a way to know if there is an active audio on a particular input. For the HDMI CEC it is up to the manufacturer of either side of the connection to implemen...
by Dragon470
Tue Jan 31, 2017 8:27 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

I guess I am not sure what you want. If you want the worker thread to output the the information and THEN have the other script pick it up and tell you the individual speakers (subwoofers) are and put them in to you variables. This can be done in something like this. the script: speakers = [] #local...
by Dragon470
Tue Jan 31, 2017 7:02 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

Mastiff,

I just updated the plugin on github, this will resolve the intermittent connection issues without causing errors on external scripts.

In your script the PreOut level of sub_1 is variable eg.globals.Subwoofer15

Call the whole string to check what it is.
Ex. print eg.globals.Subwoofer15
by Dragon470
Tue Jan 31, 2017 2:58 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

I added the PreOut Levels and worked fine. import threading import time #eg.TriggerEvent(suffix, payload,prefix) #could call this from the start of eg. #should delay as to make sure the plugin was started. #class worker(threading.Thread): def worker(element, zone, kill=False): #setup PreviousVar wit...
by Dragon470
Sun Jan 29, 2017 8:47 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

So the error occurred in the plugin when the script was calling it. The plugin did not get a proper response from the receiver. It either timed out (which I thought the plugin would not throw the error if that happened), or got back a garbage response and could not parse it. If you keep getting this...
by Dragon470
Fri Jan 27, 2017 10:32 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

I just got a chance to finish the scripts. This is a little closer and in some ways easier than what I had years ago. First script allows you to add as many "objects" you want to monitor. The second script kills them all. import threading import time #eg.TriggerEvent(suffix, payload,prefix) #could c...
by Dragon470
Fri Jan 27, 2017 1:40 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

Here is a very crude example using the built in Get Info action. import threading import time #eg.TriggerEvent(suffix, payload,prefix) #could call this from the start of eg. #should delay as to make sure the plugin was started. def worker(element, zone, PreviousVar="", kill=False): if PreviousVar ==...
by Dragon470
Thu Jan 26, 2017 11:29 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

Yamaha receivers do not push out any data unless asked. It has to be polled to do events. I had made a script to do checks every 5 seconds (for everything), and found out it would freeze and lock my older rx-v671. An update years ago did stop the locking but I don't have a use for it anymore and don...
by Dragon470
Wed Jan 25, 2017 6:06 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

The volume controls that are hard coded values to be set via the YNC protocol allow for only: Down Up Down 1 dB Up 1 dB Down 2 dB Up 2 dB Down 5 dB Up 5 dB otherwise you need to set the exact value you want. That is why the increase volume command actually gets the current volume and then goes up th...
by Dragon470
Wed Jan 25, 2017 12:44 pm
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 201
Views: 51643

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

Mastiff According to the YNCA protocol the correct syntax should be @MAIN:MUTE=on This plugin uses the YNC protocols not the YNCA. I do think they could have come up with a little more distinct names. So, the commands in the "Send Any Command" should be. Main Zone <Main_Zone><Volume><Mute>On</Mute><...