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: Scripted events


  • Subject: RE: Scripted events
  • From: "Kevin Hawkins" <lists@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 1 Jun 2004 14:52:08 +0100

PS I do realise this masqerading as another device  would require faking a
source address and borrowing its UID and that seems intrinsically wrong to
me.

> -----Original Message-----
> From: Kevin Hawkins [mailto:lists@xxxxxxx]
> Sent: 01 June 2004 14:50
> To: xAP_developer@xxxxxxx
> Subject: [xAP_developer] Scripted events
>
>
>
> Just wondering here..
>
> 	If you create a script that basically says 'when this
> switch goes ON then turn these two lights OFF" what should
> the source address of the final commands be.
>
> Source=ACME.switch.test   	<originates the message
>
> Source =mi4.HomeSeer.test    	<watches the switch and
> sends out two new
> messages targeted at
>
> Target=ACME.Lamp.Landing
> Target=ACME.Lamp.BedRoom  	< but what should the source be ?
>
> There is the obvious where it is source=mi4.HomeSeer.test
> and the other possibility is source=ACME.switch.test - is
> the second definitely wrong for any reason where you
> create such a defined linkage - the same for example could
> be reasoned for xAP Mapper ie pass the source :-)
>
> If the source is mi4.HomeSeer.test then the lamp can't
> filter this 'engine'
> out whereas if it was the original switch it can which
> gives it some inbuilt security. However some more complex
> interactions don't have an obvious source eg 'When Light A
> AND light B are ON then turn OFF C
>
> 	K
>





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