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: xPLHal scripting matches


  • Subject: RE: xPLHal scripting matches
  • From: Tony Tofts
  • Date: Fri, 12 Sep 2003 06:03:00 +0000

> I'm not sure that I can see why a script could run multiple
> times, but if Tony says it could, that's good enough for me :)
>

Example:
<schema msgtype="*" source_vendor="*"
source_device="*"
source_instance="*" schema_class="X10"
schema_type="*" subs="DMPXF" />

<schema msgtype="*" source_vendor="tonyt"
source_device="*"
source_instance="house1" schema_class="X10"
schema_type="*" subs="DMPXF" />

A standard x10 message would match both of these filters (if from my cm12
app, in this case), and generate the same sub. Therefore running it twice.

This is a simple example, of course.

Regards
Tony






xPL Main Index | xPL Thread Index | xPL 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.