The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


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

RE: Homevision Schedule question...


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: Homevision Schedule question...
  • From: "Mark Harrison" <Mark.Harrison@xxxxxxx>
  • Date: Tue, 8 Jan 2002 11:27:24 -0000
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

Andy,

I think that you're over-complicating things with this "extra 2
mins".
What happens if the PIR triggers every 15-20 seconds while you're in the
room? the light could stay on for hours!


Here are the appropriate bits from my HV schedule. I use an event, a
macro and a timer as follows....

Mine is slightly more complex as follows:

- I only turn on the lights if it's after dark OR I'm on holiday (set
with a flag elsewhere)
- I send stuff to the video screen, more as debugging output while I'm
testing than as anything I use long-term


------------------------

X-10 SIGNAL 'ON' EVENT # H 3  'Mark Study  IR Detect'

Do macro #10 (Mark Study PIR ON) once

-----------------------


TIMER EVENT # 2 'Someone in Mark Study'

X-10: B 3 (Mark Study - main) Force Off
Video: Display text 'Study - clear'
Video: Do line feed and carriage return


-------------------------


MACRO EVENT # 10 'Mark Study PIR ON'

;
; This works with the timer "Someone in Mark Study"
; If its dark, or we're on holiday, then it turns on the light and sets
the timer running
; If the timer's already running, it resets it to 90 seconds
;
If
Timer #2 (Someone in Mark Study) is not running
Then
Video: Display text 'Study - detected'
Video: Do line feed and carriage return
If
Flag #0 (Holiday) is set
Or  Time is dark (after sunset & before sunrise)
Then
X-10: B 3 (Mark Study - main) Force On
Load timer #2 (Someone in Mark Study) with 0:01:30.00
and start
End If
Else
Load timer #2 (Someone in Mark Study) with 0:01:30.00 and start
End If


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.