I want to see if I can get a home automation web page up and running, you know, click a button on a web page, from work, and my mediabox responds.
I have a server (PC1) and a mediabox (PC2) both inside my firewall.
PC1 has a web server (visible on the internet port 80) but not EG.
PC2 has EG running on it but no web server (or maybe the webserver plugin).
I know how to surf my web server, from work, click a button (on the web page) and PC1 processes the result (via a form using cgi, php or asp etc...)
That works....
Now how do i get the web server (on PC1) to send something to EG on my PC2?
I'm thinking some of my options are:-
a) Get the web server (PC1) to execute a stub proggie (using psexec) that sends events to EG on PC2 (does a stub proggie exist like girder has?).
b) Write a php or asp network event sender to interact with PC2's network event receiver (ouch, has this been done already?).
c) Dump events in a file on PC2's HDD and use directory watcher plugin and python script to process them.
d) Get php (on PC1) to "surf" the webserver plugin on PC2.
Is there another / easier / quicker / non-complex way?
Has anyone done anything similar?
I hope I haven't confused anyone.
Cheers!