[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
Re: Sending commands between Linux and Windows
It's not, I run the original Smarthome USB interface.
HOWEVER I have found a supercool way to send commands back and forth between
a Linux server and a PC!
Web interfaces. It's easy enough to code a shellscript with a web frontend
and run it in a secure directory. Use .htaccess to make it accept
connections only from internal LAN addresses. I suppose you could even run
a whole seperate web server process for that to make it even more secure,
and run it on a random high port. If you wanted even more, you could run a
whole seperate NIC interface dedicated to stuff like this.
On the PC side, check out this:
http://www.redbrick.dcu.ie/~den4b/Projects/Shutter/Shutter.exe
I just copied the syntax of the URL to run command lines, made a wget script
in Linux to authenticate against it, and boom. Could use Microsoft's tool
from their developer's kit to run this as a system service easily enough.
"Charles Sullivan" <cwsulliv@xxxxxxxxxxxx> wrote in message
news:pan.2006.05.13.19.51.20.781902@xxxxxxxxxxxxxxx
> If your X10 interface is a CM11A, consider running it on the Linux server
> instead of the Win XP machine and using Heyu (http://www.heyu.org) to
> handle the X10 signals and run your scripts for you.
>
> Regards,
> Charles Sullivan
>
> On Mon, 08 May 2006 06:11:23 +0000, Renoir wrote:
>
>> I run all my X10 hardware on my PC, and alot of other applications on
>> my
>> dedicated Linux server (Fedora Core 3).
>>
>> What I want to be able to do is have scripts run commands on the other
>> machine in response to events. For instance, if my Apache server goes
>> down,
>> the Linux server tells the PC to ring an X10 chime and turn on a light.
>> Or
>> if I get frontdoor motion, the PC tells the Linux server to log the
>> event
>> in
>> a secured web directory.
>>
>> The problem is that, as obvious as the issue seems to be, I can find no
>> solutions. I'm thinking something like rsh would do the trick, but I
>> can't
>> find any decent and free rsh stuff for Windows/XP. I found some choppy
>> source codes for a Windows port of rshd that I couldn't compile, but I
>> couldn't find any ready solution.
>>
>> Does anybody have good solutions for this? And does anybody have a good
>> rsh
>> client and server for a Windows XP machine?
>>
>> Thanks
>> Curtis
>
>
comp.home.automation Main Index |
comp.home.automation Thread Index |
comp.home.automation Home |
Archives Home