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: Problems with xpl_x10cache and xplhal_globals


  • Subject: Re: Problems with xpl_x10cache and xplhal_globals
  • From: John Gorst <ukha@xxxxxxxxxxx>
  • Date: Sun, 12 Jun 2005 19:37:32 +0100
  • References: <0MKqlY-1DfhKf2G7P-0003oP@mxeu4.kundenserver.de> <42AAC5BE.7030201@gorst.me.uk>

John Gorst wrote:

>Tony Tofts wrote:
>
>
>
>>Hi John,
>>
>>I think the issue with x10 cache is very odd
>>
>>The manager is showing unknown due to the -2 state (-2 is an xplhal
value
>>for unknown state)
>>
>>The state should be 2 or 3 (not -2) for on/off
>>
>>The only instance where it can get set to -2 is when loading
devices (xplhal
>>startup) the state <> 2 or 3
>>
>>Can you try shutting shown xplhal, and editing the x10 cache xml to
state=2
>>(or 3)
>>
>>And start up xplhal and then see what the manager does when you
turn a
>>device off/on and refresh please?
>>
>>Having said all this, when you turn a device off/on I'd expect the
cache to
>>get written with a 2 or 3 for the particular device... So not sure
what's
>>going on!
>>
>>
>>
>>
>Thanks for the reply.
>Just tried the above, but oddly the state=2 when I shut it down.
>
>So I fired it back up, and it said that the device was on. So I tunred
>it off in xplhal manager, restarted the service and it was saying the
>device was 'on'. So I stitched it off in xplhal and it then updated to
>off. I then refreshed the view and it said it was on again!!! Ahhgggg!
>
>The fact I am running NT4 has caused problems before, does that give
you
>any ideas? Could it be a permissions issue? What user should I be
>running xplhal as?
>
>
I just tried stopping xplhal, deleting x10cache.xml and then restarting
xplhal. This deleted all my x10 devices from xplhal manager.

I then recreated an x10 object and the status was unknown. I then
switched it off in xplmgr and clicked on refresh - and it then went back
to saying status unknown. Of note the xplcache file is not recreated
again until I shutdown xplhal - should this not be updated every time
there is a change  or is it kept in memory?

I really hope I get to the bottom of this soon!
P.s. is anyone else running this successfully of NT4?


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.