[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: SlimP3 - XPL = Homeseer 2
- Subject: Re: SlimP3 - XPL = Homeseer 2
- From: "JohnQuirk" <johnquirk@xxxxxxxxx>
- Date: Tue, 06 Sep 2005 21:19:50 -0000
Hello all, thanks for your comments. I've managed to get this
working now. Sort of. If I use the XPLHALEXE.exe, rather than the
service it works fine. This is ok for now, but I would really like
to be able to use the service version so I don't need to keep the
machine logged on.
Anyone got any tips on this.
Thanks
John
--- In ukha_xpl@xxxxxxx, "rleong1" <rleong1@y...> wrote:
> not elegant, but remove 1 line at a time from your xpl script until
> the error goes away. this will help narrow down what's causing the
> problem. or start with an empty sub and add the lines back one by
one.
>
> one thing i noticed in your script is you'll probably want to put
this:
>
> Set hs = CreateObject("HomeSeer.Application")
>
> inside the if statement or put this:
>
> Set hs = Nothing
>
> after the end if statement. because in the event the keypress isn't
> what you want, you'll never set hs = Nothing. i assume that means
it
> won't release the memory allocated to hs.
>
>
>
> --- In ukha_xpl@xxxxxxx, "JohnQuirk" <johnquirk@y...>
wrote:
> > Spoke too soon. It doesn't work following a reboot. There's
nothing
> > in the evenlog from DCOM. Can I enable more verbose logging for
this.
> > All I'm getting in the XPLHAL log is the same :
> > Sun 28/08/05 20:59:43 : Error Executing
> > Script 'SLIMDEV_SLIMSERV_127001_Trigger' (Object variable or
With
> > block variable not set)
> >
> > Thanks
> >
> > John
> >
> > --- In ukha_xpl@xxxxxxx, "JohnQuirk"
<johnquirk@y...>
wrote:
> > > Tremendous stuff Tom. I've changed Homeseer to run as a
service as
> > > local system, changed XPL HAL to run as a service as local
system
> > > too. I also changed the configuration rights (probably not
required)
> > > within DCOM config. Somehow it now works.
> > >
> > > Thanks very much indeed.
> > >
> > > John
> > > --- In ukha_xpl@xxxxxxx, Tom Van den Panhuyzen
> > <tomvdp@g...>
> > > wrote:
> > > > Maybe the user running the xplhal service (localsystem
?)
doesn't
> > > have the
> > > > permission to launch the dcom server
"HomeSeer.Application" ?
> > > > Goto "Start/Run...", type
"dcomcnfg". In the management
console,
> > > navigate to
> > > > My Computer/DCOM Config. Locate the HomeSeer Class.
Check
the
> > > properties,
> > > > especially under Security the Launch and Access
Permissions.
If
> > > these are
> > > > set to Use Default, then click look at the properties
of My
> > > Computer in the
> > > > treeview of the management console (i.e. not the My
Computer
on
> > > the
> > > > desktop).
> > > > But first examine the eventlog. If it is related to
what I
> > > describe here
> > > > you should find entries there.
> > > > Hth,
> > > > Tom
> > > >
> > > > On 8/26/05, JohnQuirk <johnquirk@y...> wrote:
> > > > >
> > > > > Hi John,
> > > > > Good to hear from you again. I can confirm that
the script
> > works
> > > > > fine outside of XPL, which is what I'm finding so
frustrating.
> > > > >
> > > > > Any advice on debugging.
> > > > >
> > > > > Thanks
> > > > >
> > > > > JohnQ
> > > > >
> > > > >
> > > > > --- In ukha_xpl@xxxxxxx, "John B"
<home-
> > automation@j...>
> > > > > wrote:
> > > > > > Hi John,
> > > > > >
> > > > > > As Tony says, this looks like a problem
creating the HS
> > object.
> > > > > > CreateObject should work fine from within
xPLHal - I use
it
> > to
> > > do
> > > > > stuff
> > > > > > with databases using ADO.
> > > > > >
> > > > > > Can you try putting the following lines into
a file in
> > Notepad:
> > > > > >
> > > > > > Set hs =
CreateObject("HomeSeer.Application")
> > > > > > hs.Writelog "XPL","M2"
> > > > > > hs.ExecX10 "M2", "on", 0,
0
> > > > > > Set hs = Nothing
> > > > > >
> > > > > >
> > > > > > Then save it as a VBS file and try running
it.
> > > > > >
> > > > > > If it fails with the same error (Object
variable or with
> > block
> > > > > variable
> > > > > > not set) then you know it's an error within
HS.
> > > > > > If it works, then we need to look at why it
doesn't work
from
> > > > > within
> > > > > > xPLHal.
> > > > > >
> > > > > > HTH,
> > > > > >
> > > > > > 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
> > > > >
> > > > >
> > > > > - Visit your
> > > group "ukha_xpl<http://groups.yahoo.com/group/ukha_xpl>"
> > > > > on the web.
> > > > > - To unsubscribe from this group, send an
email to:
> > > > > ukha_xpl-unsubscribe@xxxxxxx<ukha_xpl-
> > > unsubscribe@xxxxxxx?subject=Unsubscribe>
> > > > > - Your use of Yahoo! Groups is subject to the
Yahoo!
Terms
> > > of
> > > > > Service <http://docs.yahoo.com/info/terms/>.
> > > > >
> > > > >
> > > > > ------------------------------
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|