[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: Determinators
- Subject: RE: Determinators
- From: "Neil Frost" <neil@xxxxxxxxxxxxx>
- Date: Tue, 22 Mar 2005 07:12:14 -0000
Odd... It's working now...
I left a {SYS::DATE} {SYS::TIME} in the determinator the other day.
Checked the db yesterday and low and behold, the it's been updating it.
I added the rest of the details and now xPLHAL is reading the TOM10 and
is updating the db...
Weird, oh well it's working
Neil
-----Original Message-----
From: Neil Frost [mailto:neil@xxxxxxx]
Sent: 21 March 2005 10:19
To: ukha_xpl@xxxxxxx
Subject: RE: [ukha_xpl] Determinators
Hi John,
It happens whenever I put a {SYS::WHATEVER} in the determinator.
I even tried a simple osd.basic message but got the same problem...
The olny thing that has changed is that I'm now using small business
server....????
Neil
________________________________
From: John B [mailto:home-automation@xxxxxxx]
Sent: Mon 21/03/2005 07:30
To: ukha_xpl@xxxxxxx
Subject: RE: [ukha_xpl] Determinators
Hi Neil,
I'm not a TOM10 user, but looking at the error, something's going wrong
with the determinator - but I'm not sure what.
There's currently an open bug that I'm looking into that affects
determinators in a similar way to the error you're seeing - but I'm not
sure why this has worked previously for you, but isn't working now.
Regards,
John
> -----Original Message-----
> From: Neil Frost [mailto:neil@xxxxxxx]
> Sent: 20 March 2005 18:53
> To: ukha_xpl@xxxxxxx
> Subject: RE: [ukha_xpl] Determinators
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
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
|