The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Multiple Instances / Zoning Questions


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

RE: Re: 1 Wire Temperature


  • Subject: RE: Re: 1 Wire Temperature
  • From: Frost Neil
  • Date: Tue, 16 Mar 2004 10:39:00 +0000

Cheers Steve,

I'll have a go tonight and see how I get on...

Thanks
Neil

-----Original Message-----
From: <a
href="/group/ukha_xpl/post?postID=s1vnJ8kRwEBQXdgUK5cCikm79js7z3blBEe9mO-2cW3FTY3ppUvWAp2J09D7izhPKdypPFS_s51tWLHm1diAs3Y">steve.cooper@u...</a>
[mailto:<a
href="/group/ukha_xpl/post?postID=s1vnJ8kRwEBQXdgUK5cCikm79js7z3blBEe9mO-2cW3FTY3ppUvWAp2J09D7izhPKdypPFS_s51tWLHm1diAs3Y">steve.cooper@u...</a>]
Sent: 16 March 2004 08:38
To: <a
href="/group/ukha_xpl/post?postID=Kv8GXqHphpn7-Ss6lE8e8hxWsLqnjJlCTuXXVfEBgaZaS2eMxA1eeRlDSiDUpZDakzkh4lbOF_UvSy9E-yz8">ukha_xpl@xxxxxxx</a>
Subject: Re: [ukha_xpl] Re: 1 Wire Temperature


> 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 Links: <a href="http://www.xplproject.org.uk";>http://www.xplproject.org.uk</a>
<a href="http://www.xplhal.com";>http://www.xplhal.com</a>
<a href="http://www.xpl.myby.co.uk";>http://www.xpl.myby.co.uk</a>
To Post a Message: <a
href="/group/ukha_xpl/post?postID=Kv8GXqHphpn7-Ss6lE8e8hxWsLqnjJlCTuXXVfEBgaZaS2eMxA1eeRlDSiDUpZDakzkh4lbOF_UvSy9E-yz8">ukha_xpl@xxxxxxx</a>
To
Subscribe: <a
href="/group/ukha_xpl/post?postID=dgr_wO-nA_-cOw9xBCkg7s5QVkONrolO-rjgNy1J7BxQMlC2g7z4KlAciiH2Gfoss8ry7-OuYacDljr-okGLA8ehjHm0S6vjrrO_">ukha_xpl-subscribe@xxxxxxx</a>
To Unsubscribe: <a
href="/group/ukha_xpl/post?postID=6zjGknPX_obaDbckH2I4zZH6wLv5isdNy4rrEYszesz4s9GYwUgXIdZMp-MSDGj5PhKsVj34pWXB2Mskw7TsFIBOwMKzCNbLLv4e">ukha_xpl-unsubscribe@xxxxxxx</a>

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.