Page 1 of 1

eventghost windows exec linux shell

Posted: Sun Apr 12, 2009 10:28 pm
by Kroonen
Hi,

I have build the nodo project, with only the 433mhz receiver and transmitter. It works with eventghost, but my server works all on linux.

Is there a simple, smart way in eventghost to execute scripts on the linux server. I was thinking about ssh, but it must be fast light in windows simple

eventghost windows exec linux shell

Posted: Mon Apr 13, 2009 8:24 am
by Jfn
You probably have a webserver running on your linux box.

I do not know whether EventGhost supports event-types like posting to an URL, but what about something like this:

Code: Select all

http://yoursite/do_action.php?device=A1&command=ON
Then let the php script take care of triggering an action on your domotica server.

eventghost windows exec linux shell

Posted: Mon Apr 13, 2009 10:41 pm
by Kroonen
Well found a soultion with winscp, you can execute linux scripts

winscp421.exe /command "option batch abort" "option confirm off" "open user:password@example.com" "call examplefile" "exit"