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: xPLHal hung on startup - but working!


  • Subject: Re: xPLHal hung on startup - but working!
  • From: "Bob Gardner" <gardner.bob@xxxxxxx>
  • Date: Sun, 12 Dec 2004 00:54:06 -0000



Hi Frank,

I actually got my determinators to work.  What I had to do was start
everything manually and in the correct order.  I had to set the
service to manual, and take xPLHvision out of the startup folder.
Then I rebooted the PC, started the xPLHal service, and then started
xPLHvision.  When I did everything in this order, things seemed to
begin working correctly.  I guess the secret will be figuring out how
to get the service to start cleanly withough hanging.

I'll keep plugging away.

Thanks,

Bob

--- In ukha_xpl@xxxxxxx, "Frank Mc Alinden" <fmcalind@b...>
wrote:
> Hi Bob
>             Just to be sure ...try and activate the  x10 device from
> Homevision x10 screen....
> can you copy and paste into an email the commands that are recorded
in
> xplmonitor whan you press a button on your rf remote  please........
> Frank
>
>
> ----- Original Message -----
> From: "Bob Gardner" <gardner.bob@g...>
> To: <ukha_xpl@xxxxxxx>
> Sent: Sunday, December 12, 2004 10:26 AM
> Subject: [ukha_xpl] Re: xPLHal hung on startup
>
>
> >
> >
> > Hi Frank,
> >
> > Well I figured out the 5 seconds.  There is another config item
> > called lastsent that was set to 5.  I set it to 3 and the confirm
> > message was 3 seconds later.  I lalso tried 500 ms for the dde
config
> > item but that still didn't get the message through to
Homevision.  I
> > also shut down ACE and that didn't seem to change anything.
Still no
> > Homevision activity.
> >
> > Any other ideas?
> >
> > Bob
> >
> > --- In ukha_xpl@xxxxxxx, "Frank Mc Alinden"
<fmcalind@b...>
> > wrote:
> > > Hi Bob
> > >
> > > > 11/12/04 14:25:44
> > > >
> > > > xpl-trig
> > > > {
> > > > hop=1
> > > > source=gshed-hvision.homecontro105634
> > > > target=*
> > > > }
> > > > x10.confirm
> > > > {
> > > > command=ON
> > > > device=F16
> > > > name=Air Compressor
> > > > }
> > > >
> > > > Does this all look OK?
> > >
> > > Yes that looks ok...so it should have turned on the
compressor ????
> > only
> > > issue is the 5 seconds...
> > >
> > >
> > > > ACE has a Homevision DDE monitor that I can open and I
never
see
> > any
> > > > DDE messages form xPL.  Is there something else that I
might
need
> > to
> > > > configure for the xPL DDE?
> > >
> > > Go back into xplmanager and click on xpl devices click on
xpl
> > hvision and
> > > have a look at the
> > > ddespeed setting (not sure what the initial value is) i have
mine
> > set to 500
> > > and works ok....
> > > If this doesnt speed things up i would suggest closing the
ace
app
> > and then
> > > retry to see if that makes any difference...
> > >
> > > The only dde enabling is done in hv and i assume this is
already
> > done if ace
> > > is using dde
> > >
> > > HTH
> > > Frank
> > >
> > >
> > > ----- Original Message -----
> > > From: "Bob Gardner" <gardner.bob@g...>
> > > To: <ukha_xpl@xxxxxxx>
> > > Sent: Sunday, December 12, 2004 9:33 AM
> > > Subject: [ukha_xpl] Re: xPLHal hung on startup
> > >
> > >
> > > >
> > > >
> > > > Hi Frank,
> > > >
> > > > Still plugging away.  The second instance of hvision is
gone
now
> > and
> > > > everything appears good.  Still get three messages in
the xPL
> > monitor
> > > > window when I press a button on the remote, but still
get no
> > action
> > > > from Homevision.  I thought it might help if I copied
the
script
> > from
> > > > the hvision windows.  When I press the button I see
this in
the RX
> > > > window:
> > > >
> > > > 11/12/04 14:25:39
> > > >
> > > > xpl-cmnd
> > > > {
> > > > hop=1
> > > > source=XPL-XPLHAL.HOMECONTROL1
> > > > target=GSHED-HVISION.HOMECONTRO105634
> > > > }
> > > > x10.basic
> > > > {
> > > > command=on
> > > > device=F16
> > > > }
> > > >
> > > > The 5 seconds later I see this in both the TX and RX
window:
> > > >
> > > > 11/12/04 14:25:44
> > > >
> > > > xpl-trig
> > > > {
> > > > hop=1
> > > > source=gshed-hvision.homecontro105634
> > > > target=*
> > > > }
> > > > x10.confirm
> > > > {
> > > > command=ON
> > > > device=F16
> > > > name=Air Compressor
> > > > }
> > > >
> > > > Does this all look OK?
> > > >
> > > > ACE has a Homevision DDE monitor that I can open and I
never
see
> > any
> > > > DDE messages form xPL.  Is there something else that I
might
need
> > to
> > > > configure for the xPL DDE?
> > > >
> > > > Thanks,
> > > >
> > > > Bob
> > > >
> > > > --- In ukha_xpl@xxxxxxx, "Frank Mc Alinden"
> > <fmcalind@b...>
> > > > wrote:
> > > > > Hi Bob
> > > > >
> > > > > > I figured out the plugin thing and updated
all of the
plugins
> > so
> > > > that
> > > > > > the monitor would work.
> > > > >
> > > > > Thats good....
> > > > >
> > > > >
> > > > > >When I press a button on an RF remote, I
> > > > > > see a CMND type message to Homevision and a
TRIG message
from
> > the
> > > > > > W800 and then about 5 seconds later I see a
TRIG message
from
> > > > > > Homevision.  The first two messages are
X10.BASIC and the
> > third
> > > > one
> > > > > > is an X10.CONFIRM.
> > > > >
> > > > >
> > > > > Thats correct although the 5 seconds later is too
long this
> > could
> > > > be due to
> > > > > having  two instances of xplhvision running......
> > > > >
> > > > > >One thing I see is that
> > > > > > somehow I have managed to get two copies of
the HV plugin
in
> > the
> > > > xPL
> > > > > > devices.  Don't know if this is contributing
or not
> > > > >
> > > > > In the tray at the bottom there are xpl icons
,move the
mouse
> > over
> > > > then to
> > > > > see if there are two gshed-hvision,s...if so right
click on
one
> > and
> > > > close it
> > > > > .....
> > > > >
> > > > > >so I get a
> > > > > > dialog box that says Homevision isn't running
and I need
to
> > start
> > > > >
> > > > > Yep thats correct hv must be running first
> > > > >
> > > > > > The next thing I need to figure out is this
message that
the
> > > > xPLHal
> > > > > > service hung at startup.
> > > > >
> > > > > Sorry  John / Tony will have to help here........
> > > > >
> > > > > > I also got some DS10A remote sensors and they
work
great.  I
> > look
> > > > > > forward to Mal adding this capability at some
point they
will
> > be
> > > > very
> > > > > > helpful for remote wireless sensing.
> > > > > >
> > > > >
> > > > > Im sure he will do his best to have the update
done in the
very
> > near
> > > > > future...
> > > > >
> > > > > Frank
> > > > >
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Bob Gardner"
<gardner.bob@g...>
> > > > > To: <ukha_xpl@xxxxxxx>
> > > > > Sent: Sunday, December 12, 2004 7:24 AM
> > > > > Subject: [ukha_xpl] Re: xPLHal hung on startup
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > Hi Frank,
> > > > > >
> > > > > > Thanks for sticking with me - I'm really
close.
> > > > > >
> > > > > > I figured out the plugin thing and updated
all of the
plugins
> > so
> > > > that
> > > > > > the monitor would work.
> > > > > >
> > > > > > I do have my W800 and I can see the commands
in the
monitor
> > > > window.
> > > > > > Following your directions to George, I tried
to add a few
> > > > > > determinators.  I started with easy ones that
receive X10
> > signals
> > > > > > from the W800 and send X10 commands to HV. 
In the
monitor,
> > > > > > everything appears to work.  When I press a
button on an
RF
> > > > remote, I
> > > > > > see a CMND type message to Homevision and a
TRIG message
from
> > the
> > > > > > W800 and then about 5 seconds later I see a
TRIG message
from
> > > > > > Homevision.  The first two messages are
X10.BASIC and the
> > third
> > > > one
> > > > > > is an X10.CONFIRM.  Unfortunately Homevision
never
responds
> > to the
> > > > > > command and doesn't send an X10 signal.  One
thing I see
is
> > that
> > > > > > somehow I have managed to get two copies of
the HV plugin
in
> > the
> > > > xPL
> > > > > > devices.  Don't know if this is contributing
or not.  I
have
> > > > tried to
> > > > > > delete one but haven't figured out how to do
that - any
> > > > suggestions?
> > > > > >
> > > > > > I need to have this PC reboot and start
everything
unattended
> > for
> > > > > > when we are not here - power glitches, etc.,
so I tried to
> > put the
> > > > > > xPLHvision fle in the startup folder.  This
works but it
> > seems to
> > > > > > start up before Homevision which is in the
same folder so
I
> > get a
> > > > > > dialog box that says Homevision isn't running
and I need
to
> > start
> > > > > > it.  I think I can fix this by starting
xp\PLHvision from
a
> > macro
> > > > > > that does some other configuration things at
startup.
I'll
> > try
> > > > that.
> > > > > >
> > > > > > The next thing I need to figure out is this
message that
the
> > > > xPLHal
> > > > > > service hung at startup.
> > > > > >
> > > > > > I also got some DS10A remote sensors and they
work
great.  I
> > look
> > > > > > forward to Mal adding this capability at some
point they
will
> > be
> > > > very
> > > > > > helpful for remote wireless sensing.
> > > > > >
> > > > > > Thanks again,
> > > > > >
> > > > > > Bob
> > > > > >
> > > > > > --- In ukha_xpl@xxxxxxx, "Frank Mc
Alinden"
> > > > <fmcalind@b...>
> > > > > > wrote:
> > > > > > > Hi Bob
> > > > > > >             I will try and answer some
questions ,hopefully
> > John
> > > > > > will answer
> > > > > > > the hard ones ;-)
> > > > > > >
> > > > > > > xPLHAL issue John will have to advise
> > > > > > >
> > > > > > > >Now that this is done, do I need to
do anything with
the
> > > > > > > > xPLHvision.exe file like put it
into the startup
folder
> > or is
> > > > it
> > > > > > now
> > > > > > > > installed in xPLHal
> > > > > > >
> > > > > > > In my setup i start it manually
everytime after the pc
boots
> > > > up.....
> > > > > > >
> > > > > > > >However, when I
> > > > > > > > select the monitor in xPLHal, I get
a message that the
> > xpl-
> > > > schema-
> > > > > > > > collection.xml file is missing and
I must upgrade it
in
> > the
> > > > > > plugins
> > > > > > > > folder.  What is this all about?
> > > > > > >
> > > > > > > You have installed the xplhvision app
and w800
app...these
> > > > plugin
> > > > > > files have
> > > > > > > information regarding the apps ...Having
this info
makes it
> > nice
> > > > > > and easy to
> > > > > > > create Determinators...
> > > > > > > In the mani screen of xPLHAL  click on
help , then
plugin
> > > > > > library..this will
> > > > > > > bring up the  plugin  screen , select
all and then
OK.....a
> > > > little
> > > > > > while
> > > > > > > later it will say all the  plugins are
loaded.......
> > > > > > >
> > > > > > > >  Once this is fixed, am I correct
> > > > > > > > that I should be able to at least
monitor the W800RF
> > messages?
> > > > > > >
> > > > > > > If all is ok yes you should see messages
from the
> > w800...Have
> > > > you
> > > > > > received
> > > > > > > your w800 ??
> > > > > > > HTH
> > > > > > > Frank
> > > > > > >
> > > > > > >
> > > > > > > ----- Original Message -----
> > > > > > > From: "Bob Gardner"
<gardner.bob@g...>
> > > > > > > To: <ukha_xpl@xxxxxxx>
> > > > > > > Sent: Sunday, December 12, 2004 5:17 AM
> > > > > > > Subject: [ukha_xpl] Re: xPLHal hung on
startup
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John,
> > > > > > > >
> > > > > > > > Well I set the service to Manual,
rebooted, and then
> > started
> > > > the
> > > > > > > > service.  It started fine - took
about 5 seconds and
no
> > > > errors.  I
> > > > > > > > followed your recommendations,
opened xPLHal Manager
and
> > > > > > configured
> > > > > > > > xPLHal and xPLHal showed up under
xPL Devices just as
you
> > > > said.
> > > > > > > >
> > > > > > > > Then I put the service back in
automatic and rebooted
and
> > had
> > > > the
> > > > > > > > same problem.  I get a dialog box
that says some
service
> > has
> > > > > > failed
> > > > > > > > to start and to review the event
viewer.  When I look
at
> > the
> > > > > > viewer,
> > > > > > > > it says that xPLHal service has
hung on startup.
Although
> > > > when I
> > > > > > go
> > > > > > > > into services it shows that the
service is running
fine.
> > I
> > > > need
> > > > > > to
> > > > > > > > get Windows to stop thinking the
service has hung -
any
> > ideas?
> > > > > > > >
> > > > > > > > Since I got that far, I also ran
the xPLHvision.exe
> > plugin and
> > > > > > > > installed the W800RF plugin.  The I
went into xPLHal
> > manager
> > > > and
> > > > > > > > configured them both so that they
now show up as xPL
> > devices.
> > > > > > > > Question - Now that this is done,
do I need to do
anything
> > > > with
> > > > > > the
> > > > > > > > xPLHvision.exe file like put it
into the startup
folder
> > or is
> > > > it
> > > > > > now
> > > > > > > > installed in xPLHal and I don't
need to do anything
else
> > with
> > > > it?
> > > > > > > >
> > > > > > > > So now I figure I should at least
be able to go into
the
> > > > monitor
> > > > > > and
> > > > > > > > see messages being sent from the
W800RF receiver.
> > However,
> > > > when I
> > > > > > > > select the monitor in xPLHal, I get
a message that the
> > xpl-
> > > > schema-
> > > > > > > > collection.xml file is missing and
I must upgrade it
in
> > the
> > > > > > plugins
> > > > > > > > folder.  What is this all about? 
Once this is fixed,
am I
> > > > correct
> > > > > > > > that I should be able to at least
monitor the W800RF
> > messages?
> > > > > > > >
> > > > > > > > Progress seems slow but there is a
lot to learn.
Thanks
> > for
> > > > all
> > > > > > the
> > > > > > > > help so far.
> > > > > > > >
> > > > > > > > Bob
> > > > > > > >
> > > > > > > > --- In ukha_xpl@xxxxxxx, "John
B" <home-
> > > > automation@j...>
> > > > > > > > wrote:
> > > > > > > > > Hi Bob,
> > > > > > > > >
> > > > > > > > > > So far I have installed
the .NET framework, the
DevCom
> > > > > > > > installation
> > > > > > > > > > package and xPLHal.  The
problem is that, when I
> > boot, I
> > > > get a
> > > > > > > > > > message that a service
has not started.  When I
look
> > at
> > > > the
> > > > > > Event
> > > > > > > > > > Viewer, the message is
that the xPLHal service
hung
> > during
> > > > > > > > startup.
> > > > > > > > > > When I look at services
it says that the xPLHal
> > service is
> > > > > > > > running.
> > > > > > > > > > I also notice that the
computer mouse is very
sluggish
> > > > all of
> > > > > > a
> > > > > > > > > > sudden.  If I disable the
service and reboot
> > everything is
> > > > > > good
> > > > > > > > again.
> > > > > > > > >
> > > > > > > > > Try setting the service
startup type to "Manual" -
this
> > will
> > > > > > > > prevent it from starting
automatically when Windows
> > starts,
> > > > which
> > > > > > > > should help to debug the problem.
> > > > > > > > > Then, reboot your computer,
and once it's rebooted,
try
> > > > starting
> > > > > > > > the xPLHal service manually
(right-click on xPLHal in
the
> > > > list of
> > > > > > > > services and click Start).
> > > > > > > > > See how long the service takes
to start - it
shouldn't
> > be
> > > > more
> > > > > > than
> > > > > > > > a few seconds.
> > > > > > > > > (maybe 8-10 seconds max.)
> > > > > > > > >
> > > > > > > > > Once started (assuming it does
start with no
errors),
> > open
> > > > up
> > > > > > the
> > > > > > > > xPLHal Manager (there should be a
link under your
Start
> > > > > > Menu/Programs
> > > > > > > > for xPLHal Manager).
> > > > > > > > >
> > > > > > > > > When xPLHal Manager starts up,
click on xPL Devices
and
> > see
> > > > if
> > > > > > > > anything is listed.
> > > > > > > > >
> > > > > > > > > Then expand the xPL Devices
node in the tree and
click
> > on
> > > > > > Awaiting
> > > > > > > > Configuration - again, see if
anything is listed.
> > > > > > > > > If you see something like
XPL-XPLHAL.<your computer
> > name>1
> > > > > > listed
> > > > > > > > under the awaiting configuration
node, double-click
on it.
> > > > > > > > > This will bring up it's
configuration screen.
> > > > > > > > > Select "newconf"
from the list of configurable items
> > > > (probably
> > > > > > > > already selected by default) and
enter a name for your
> > xPLHal
> > > > > > server -
> > > > > > > >  you may just want to use your
computer name.
> > > > > > > > > Click OK to close the config
dialog.
> > > > > > > > >
> > > > > > > > > Now, when you look under the
xPL Devices node, you
> > should
> > > > see
> > > > > > > > xPLHal listed, along with the new
name that you've
given
> > it.
> > > > > > > > >
> > > > > > > > > Let us know how you get on
with the above -
hopefully
> > we can
> > > > > > > > pinpoint what the problem could be
depend on how much
of
> > the
> > > > above
> > > > > > > > works for you.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > >
> > > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 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
> > > > 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 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.