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: moving away from the remote-control paradigm


  • To: ukha_d@xxxxxxx
  • Subject: RE: moving away from the remote-control paradigm
  • From: Mike Griffiths <mike@xxxxxxx>
  • Date: Wed, 8 Aug 2001 16:54:31 +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

I've got that working on the stairs
Two mats and some Homevision logic
Basically if it fires 1 then 2 I'm going up
2 then 1 I'm going down
I add or subtract from a vartiable so I always have a count of people
upstairs
I'm thinking of doing the same now with the PIR's now I can get to them
with
Comfort

The added nonsense turns the lights off instantly if you comedownstairs
with
someone in bed


INPUT PORT 'HIGH' EVENT # 26 'Stairs 1'

If
Flag #34 (Stairs 2) is set
And Flag #15 (reset) is cleared
Then
Var  #15 (Upstairs) = var #15 (Upstairs)  -  1
Serial port 1 transmit: "Display message "upstairs less
1""
End If
Set flag #33 (Stairs 1)
Load timer #13 (Stairs 1) with 0:00:02.00 and start
If
Var #15 (Upstairs) = 0
Then
Serial port 1 transmit: "Display message "timer running to switch
off""
Wait 0:10:00.00 with timer #18 (upstairs delay), Then:
If
Var #15 (Upstairs) = 0
Then
Do macro #4 (Upstairs off) once
End If
End Wait
End If
If
Flag #5 (Gone to bed Nest) is set
Or  Flag #6 (Gone to bed Mike) is set
Then
Do macro #4 (Upstairs off) once
End If
Clear flag #15 (reset)


INPUT PORT 'HIGH' EVENT # 27 'Stairs 2'

If
Flag #33 (Stairs 1) is set
Then
If
Var #15 (Upstairs) = 0
Then
Do macro #3 (Upstairs on) once
End If
If
Var #15 (Upstairs) = 1
And Flag #5 (Gone to bed Nest) is set
Then
Do macro #3 (Upstairs on) once
End If
If
Var #15 (Upstairs) = 1
And Flag #6 (Gone to bed Mike) is set
Then
Do macro #3 (Upstairs on) once
End If
Var  #15 (Upstairs) = var #15 (Upstairs)  +  1
Serial port 1 transmit: "Display message "Upstairs plus
1""
End If
Set flag #34 (Stairs 2)
Load timer #14 (Stairs 2) with 0:00:02.00 and start




Mike

Sent from Home

-----Original Message-----
From: Mark Harrison [mailto:Mark.Harrison@xxxxxxx]
Sent: Wed 08 Aug 01 16:39
To: ukha_d@xxxxxxx
Subject: RE: [ukha_d] moving away from the remote-control paradigm

Kieran,

Thanks.

Is there some way of sensing not just that I've been through a doorway
(broken a beam), but to tell which DIRECTION I was going in.

Given that there are only 2 of us in the house, it wouldn't be beyond
the wit of man to be able to say that "person enters room", ROOM
IS NOW
OCCUPIED, "person enters room", "person leaves",
"person leaves", ROOM
IS NOW EMPTY ... type of thing, but this is contingent on being able to
detect the diffence between "enters" and "leaves".

Regards,

Mark Harrison
Head of Systems, eKingfisher



____________________________________
Automated Home UK
http://www.automatedhome.co.uk
____________________________________

Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


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.