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.

Global Cache EG support

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
vortexrotor
Posts: 8
Joined: Thu Dec 24, 2009 1:30 am

Global Cache EG support

Post by vortexrotor »

This is a simple command line utility I wrote to issue commands to a Global Cache GC-100 IR controller.

You can use EG to send pre-defined IR and/or GC Sensor code/commands.

Setup is easy (in EG):

1) Create a folder
2) Create a Macro
|--> Select "Start Program"
3) Then browse to the destination of the gcIRcom.exe (where you
install/unzipped it to.

Usage:
simpleIRClient -p <protocol> -n <server> -e <endpoint> -m <moduleaddress> -c <connectornumber>

Where:

-p protocol - is TCP
-n server - is the string address or name of server
-e endpoint - is the port to listen on
-m module - is the IR module number
-c connector - is the connector on IR module
-g gcircom - is the native GC IR command string to send

Defaults:

TCP, 192.168.1.70, 4998, 2 and 1 - (You must specify the GC IR command string using the -g)

e.g.: e.g: gcIRcom.exe -p TCP -n 192.168.1.1 -e 4998 -m 4 -c 1 -g 36000,3,1,15,10,6,10,6,22,6,10,6,28,6,16,6,10,6,10,6,10,6,22,6,22,6,16,6,22,6,10,6,10,6,28,6,10,6,3100

On successful completion of the code, the GC-100 will send:

completeir,<module>:<connector>,ID.

Then terminate.



By: VortexRotor Enjoy!



The utility is rock solid and a readme is included in the zip file.

As time permits, I will wrap it into a plugin for future release for EG.

Enjoy!
Attachments
gcIRcom_v1.zip
(142.45 KiB) Downloaded 197 times
jstplyn331
Posts: 1
Joined: Thu Feb 18, 2010 9:07 pm

Re: Global Cache EG support

Post by jstplyn331 »

Just trying to understand I have everything down you have said Start Application then in the command line I posted what you said and after that I am curious as were to send out the IR command or were to input it to send out the IR command if you have a few minutes to explain i would great fully appreciate it. Thanks

Also I guess what I am trying to send is a Pronto CCF IR command thanks
Post Reply