Search found 205 matches

by Dragon470
Sat Mar 30, 2019 12:17 am
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 211
Views: 70830

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

Here is a script for testing the "Active Speaker" You need to set your IPADDRESS in the script near the top. # stand alone yamaha sender receiver to do testing. # this one is checking the "Active Speakers" in "System" Get_Info from xml.dom import minidom import httplib import socket #Manual setting ...
by Dragon470
Fri Mar 29, 2019 11:39 am
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 211
Views: 70830

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

I am unsure at this time as to why you are getting the error. As for checking if Zone B is ON, you should have a Zone B category and check the power info. If you don't have a Zone B or Zone 2 then the auto population of available functions of the receiver is not getting the information. This might a...
by Dragon470
Thu Nov 08, 2018 12:23 am
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 211
Views: 70830

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

The code if you used the macros would be: eg.plugins.YamahaRX.GetInfo('Input Selection', 'Main Zone') eg.plugins.EventGhost.DumpResult() if putting it in a script do something like: VarInput = eg.plugins.YamahaRX.GetInfo('Input Selection', 'Main Zone') if VarInput == "": #do whatever else: #do this ...
by Dragon470
Fri Oct 06, 2017 11:50 am
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 211
Views: 70830

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: 211
Views: 70830

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: 211
Views: 70830

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: 3811

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: 1946

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: 211
Views: 70830

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: 211
Views: 70830

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: 211
Views: 70830

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: 211
Views: 70830

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: 211
Views: 70830

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: 211
Views: 70830

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: 211
Views: 70830

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 ==...