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.

EventGhost "light" client

If you have a question or need help, this is the place to be.
Post Reply
ih8gates
Posts: 11
Joined: Wed Mar 21, 2007 2:59 am

EventGhost "light" client

Post by ih8gates »

I'd like to kick off an EG macro from a remote computer. I'd prefer not to run EG on the remote machine all of the time (and use the Event Sender plugin).

I saw some code in this forum that shows how to write a light client in PHP to handle EG's password handshake/cookie exchange.

Has anyone created an EXE that'll do this from a command line?
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

I have just uploaded EG 0.3.6.913 to the experimental directory:
http://www.eventghost.org/forum/viewtop ... =2190#2190

This version support the "-n" argument from the command line. The command line is a bit more complex. You have to additionally supply the remote IP or hostname, the port and the password of the receiving machine. Lets assume the PC you want to send the event to, has the IP 192.168.0.1 and port 32333. The commandline should look like this:

EventGhost.exe -n 192.168.0.1:32333 password MyEvent

This will not starup EG the normal way. It will only send the event through TCP/IP and then leave the program. But you have to install the full EG setup on the remote machine.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
ih8gates
Posts: 11
Joined: Wed Mar 21, 2007 2:59 am

Post by ih8gates »

Bitmonster wrote: EventGhost.exe -n 192.168.0.1:32333 password MyEvent

This will not starup EG the normal way. It will only send the event through TCP/IP and then leave the program. But you have to install the full EG setup on the remote machine.
Great. Thanks.
ih8gates
Posts: 11
Joined: Wed Mar 21, 2007 2:59 am

Post by ih8gates »

I've been using this for about a week, so that my Home Automation server (MisterHouse) can talk to my media PC (running EG). It's working great. Thanks.
Post Reply