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: Re: Possible bug in xPLHVision


  • Subject: Re: Re: Possible bug in xPLHVision
  • From: "Bob & Linda Gardner" <gardner.bob@xxxxxxx>
  • Date: Sat, 01 Jan 2005 10:23:00 -0800
  • References: <41D50F22.4068.42EA3197@localhost>


Thanks Steve,

Certainly no hurry.  Like I mentioned, I used a macro instead to set
the timer.  Just thought I could set the timer directly and save a
macro.  I'm sure the coding for all this HV stuff must be extensive
and all of us HV users certainly appreciate your efforts.

Bob

>
> I'll take a look at this, it's not something I use so it's not been
> extensively tested.
>
> S.
>
> Bob & Linda Gardner wrote:
> > Hi George,
> >
> > The reason you got 0d instead of 0b in the command string is that
> > you were using a different timer.  I was using timer 11 (0b hex)
and
> > you were using timer 13 (od hex).
> >
> > I did not get xPLDev runtime error and my timers actually reset.
> > Not sure why you got the error.  I don't have the docs in front
of
> > me but I think you should have used current=start instead of
> > current=set.  Also, since HV expects hex, 00300000 would have
> > actually been 48 seconds since 30 hex = 48 dec.
> >
> > Bob
> >
> >
> >>
> >>As a follow up on this. I redid the terminator to again try
the
> >>timer. The action consists of this
> >>
> >>Message type = command
> >>Target = GSHED-HVISION.HOMEVISION
> >>Schema = contol.basic
> >>
> >>Device=13
> >>Type=Timer
> >>Current=Set
> >>data1=00300000  (As bob said ssssmmhh)
> >>
> >>In the four boxes of the GSHED-HVISION.HOMEVISION view I get
this:
> >>
> >>,=0d0400300000 (not 0b like Bob)     conrtol.confirm
> >>
> >>
> >>
> >>DEVICE=13TYPE=TIMERCURRENT         OUTPUT:13
> >>the rest is cut off
> >>
> >>
> >>
> >>And then I get an error box from xPLDEV
> >>
> >>
> >>Run-time error "9":
> >>Subscrip out of range
> >>
> >>
> >>Can the control.basic schema take extended (data1) paramaters?
> >>By the way Bob, this did not reset all my timers. That may be
> >>because it shut down with the error.
> >>
> >>George M
> >>
> >>
> >>
> >>
> >>
> >>
> >>--- In ukha_xpl@xxxxxxx, "gmotichka"
<gmotichka@h...> wrote:
> >>>
> >>
> >>>Bob, I'm glad you found this. > > I have been
struggling all week
> >>
> >>trying to get a determinator to work > that involves a
timer. > > I
> >>have an IR detector at the drive. when motion is sensed it
>
> >>triggers a macro that checks a timer and if it is stopped to
then >
> >>announce someone is arriving. The determinator is then to
start a >
> >>timer with 30 secs so that I dont here the announcement
contunually
> >>> on every "on" action received. Once the timer
is stopped then it
> >>can > announce again. When it seeemed the timer wasn't
working I
> >>tried to > disable the macro, but it seems that executing a
macro
> >>from xPL is > like manually executing it in HV -- it will
run even
> >>if disabled. > > George M > > > > > >
> > --- In
> >>ukha_xpl@xxxxxxx, "Bob Gardner"
<gardner.bob@g...> > wrote:
> >>> > > > Steve, > > > > I think I may
have found a timer problem.  I
> >>defined an action in > a > > determinator that was
supposed to load
> >>and start a timer in HV > with
> >>
> >>>>one hour and 30 minutes.  The parameters I used were:
> > > >
> >>
> >>device=11 > > type=timer > > current=start >
> data1=01300000 > > >
> >>> I think this is correct according to your docs.  The
problem is >
> >>that
> >>
> >>>>the corresponding dde command sent is: > > >
> ,=0B0401300000 > >
> >>>>Two problems - the 04 is the command in HV to reset
all timers, >
> >>
> >>this > > should be 00 to load and start a timer. 
Second, although
> >>some of > the > > docs from HV are a little
confusing, the time
> >>values need to be in > > reverse order i.e. SSSSMMHH and
they need
> >>to be in hex. Thus for > an > > hour and a half,
which is what I
> >>wanted, the time string should be > > 00001E01.  While
entering the
> >>values in reverse into data1 is no > real > >
problem, the 1E caused
> >>problems and resulted in an incorrect dde > > command.
> > > > I
> >>tried the other three timer commands - HALT, RESUME, and STOP
-
> >>
> >>
> >>>and
> >>>
> >>>>they appeared to be correct.
> >>>>
> >>>>I have gotten around this by firing a macro which does
the timer
> >>>>stuff so there is no need to do anything but put it on
your list
> >>>
> >>>for
> >>>
> >>>>a future fix.  I just thought you might want it
documented.
> >>>>
> >>>>As always, thanks for everything.
> >>>>
> >>>>Bob
> >>
> >>
> >>
> >>
> >>
> >>------------------------ Yahoo! Groups Sponsor
> >>--------------------~--> $4.98 domain names from Yahoo!.
Register
> >>anything. http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/h6uqlB/TM
>
>>--------------------------------------------------------------------
> >>~-
> >>
> >>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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 30/12/2004
>
>
>
> 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

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.