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: Re: 1 Wire Temperature


  • Subject: Re: Re: 1 Wire Temperature
  • From: steve.cooper@xxxx
  • Date: Tue, 16 Mar 2004 08:38:00 +0000


> I read the instructions on the website which talks about setting
> rules.. and says...

> This rule looks for scripts of type class and message type (CF).
> How do I do that....

Ok off the top off my head here but something like this.

1. First you need to set xplhal so it can match a message and carry on to
process further messages.
2. Right click the server name in the xpl manager app and select edit the
xml. In this you need to set the option for carry on after successfully
match (John - what's the option called). Then select OK to save. You may
need to restart xplhal for this to take effect (John ??)

3. Right click the server name in the xpl manager app and select
properties.
4. On the rules tab select new rule and in the dialog box type CF in the
subs box then ok.
5. Move this rule to the top and ensure it is set to continue on match
(should be a green arrow icon next to it rather than a red cross)
6. That's it.

xPLhal will now match on rountines that have the form [Schema type]
_[Message_Type]

There is an alternative way though that I think is simplier to implement as
the above was done before determinators.

1. Create a determinator that triggers when you receive a sensor.basic
xpl-stat meesage where Type =TEMP.
2. Create an Action with the following in it

type = xpl-cmnd
to=tonyt-xql.master
schema=DB.XQL

parameter pairs
SQL=select * from temperature
dateadded=NOW() -- Not sure if NOW() will work John can you advise
name={DEVICE}
temperature={CURRENT}

John? What is the current syntax for pulling out the values of the trigger
message is it {DEVICE}?

I'll try the bottom method later at home and document all the step required
on my website, so if it doesn't work check the website later or tomorrow
am.

S



___________________________________________________________________________
The information contained in this message is confidential and may be
legally privileged. If you are not the intended recipient, please do not
read, copy or otherwise use it and do not disclose it to anyone else.
Please notify the sender of the delivery error and then delete the
message from your system.
Any views or opinions expressed in this email are those of the author only.
Communications will be monitored regularly to improve our service and for
security and regulatory purposes.
Thank you for your assistance.
___________________________________________________________________________






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.