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: Determinators


  • Subject: RE: Determinators
  • From: "Neil Frost" <neil@xxxxxxxxxxxxx>
  • Date: Sun, 20 Mar 2005 18:53:17 -0000


Any ideas please??

-----Original Message-----
From: Neil Frost [mailto:neil@xxxxxxx]
Sent: 19 March 2005 23:39
To: ukha_xpl@xxxxxxx
Subject: [ukha_xpl] Determinators


Hi all



I've just finished rebuilding my server after serious hw failure.



I have xpl working, just can't find the script for recording temperature
from a TOM10.



I have followed these instructions:



To log the values of my temperature sensors I use a determinator. The
condition is a sensor.basic message with type=Temp. I then have an
action of

Type=Command
Target=TONYT-XQL.SCOOP (put your instance of TONYT-XQL here)
Schema=db.xql
Parameter Values
command=add
sql=select * from temperature
dateadded={SYS::DATE} {SYS::TIME}
name={XPL::DEVICE}
temperature={XPL::CURRENT}





But I get this in the error log



Sat 19/03/05 23:35:45 : Error executing action: :
System.NullReferenceException: Object reference not set to an instance
of an object.

at xPLHal.xplAction.Execute(XplMsg& xSource)

at xPLHal.DeterminatorAction.Execute(String ruleName, XplMsg&
xSource)



any ideas where I'm going wrong???



Thanks



Neil



[Non-text portions of this message have been removed]



xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

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.