The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: x-10 hardware documentation


  • Subject: Re: x-10 hardware documentation
  • From: mark_harrison_uk2
  • Date: Tue, 15 Apr 2003 15:51:00 +0000

--- In <a
href="/group/xap_automation/post?postID=15t3ecz87luxl1CZ5cvIGrrpZfMCKxPJrcaBXum3M-7bmhNHmU7WroTarfT_W3d3vqt2W44Zh9Dme7AVOGyl_VlDwmtg">xap_automation@xxxxxxx</a>,
Stuart Booth <lists@s...>
wrote:
> >- a PC with a HTPP server;
>
> Some means of sending a xAP message that targets that lamp and tells
> it what state is required here. There are many possibilities I'm
> sure! Web browsers are on my own ToDo list. Somewhere... ;-)

Here's what I do :-)

Win2k.
Apache 2.
PERL.

I have a PERL "xap-script" in cgi-bin that takes a parameter. The
parameter is the name of the pre-defined xap mesasge I want to send.

The PERL script does the following:

- Outputs a standard HTML header, including a meta refresh directive
pointing at a more useful page :-)
- Execs "xap-send <name of file that was the passed
argument>"

If you remind me, I'll post the full (not long) PERL script here.

Web servers aren't high on my personal "things to automate with
xAP"
list, but it turned out to be so easy that it just happened one
evening :-)

Regards,

Mark









xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.