The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Apples stuck pixel policy...


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HomeVision programming query...


  • To: <ukha_d@xxxxxxx>
  • Subject: HomeVision programming query...
  • From: "Phillip Harris" <phillip.harris1@xxxxxxx>
  • Date: Sun, 8 Apr 2001 18:37:17 +0100
  • Delivered-to: rich@xxxxxxx
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx


Hi Guys,

Just starting to actually look at *programming* HomeVision rather than
using
it as an expensive X10 timer ... looking for a pointer as to how to
implement the following:

I have a macro "Cinema Mode" in which the X10 part drops my
screen (using an
SW10G), turns on my video scaler (using an LW10) and - with this being the
part I need help with - dims my lights with an AD10/11 (DIN rail dimmer
with
preset dim capability). There is a further macro "TV Mode" in
which the X10
part reverses that process.

I know I'll need three variables "tv dim" "cinema dim"
and "lights were on"
to implement this but I'm just having trouble deciding how to code this as
I
want the lights to work semi intelligently but I guess the following is
what
I need to do...

Upon execution of the "Cinema Mode" macro:

IF (lights are on) THEN
lights were on = TRUE
tv dim = (current lamp brightness)
IF (cinema dim < tv dim) THEN
SET(current lamp brightness) = cinema dim
ENDIF
ELSE
lights were on = FALSE
ENDIF

Upon the execution of the "TV Mode" macro:

cinema dim = (current lamp brightness)

IF (lights were on = TRUE) THEN
SET(current lamp brightness) = tv dim
ENDIF

Just haven't been able to get my head quite round the HomeVision
programming
instructions yet to be able to do this ... any starting points would be
greatly appreciated as I've just got a complete mental no go area of even
how to start getting HV to do this!

Cheers

Phil



Home | Main Index | Thread Index

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.