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: Dallas temp sensors


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

RE: Re: Wiring light switches...


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: Re: Wiring light switches...
  • From: "Kenneth Watt" <kennwatt@xxxxxxx>
  • Date: Thu, 18 Jul 2002 12:39:51 +0100
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

Paul,

I have all the PIRs connected directly to the HV expansion board, IIRC
there are 10 PIRs connected and one pressure mat in terms of occupancy
detection and the schedule reads something like this from memory:

If
      Input Port D1 goes high
      And time is after sunset and before sunrise<= BR>       And Flag XXXX is clear
      And timer PIR timer (for this PIR) is not ru= nning
Then
      X10 A1: Lounge lamps On
      Set X10 device A1 directly to level 32
      Load Timer PIR timer (for this PIR) with 2.3= 0 and start
End if
If
      timer PIR timer (for this PIR) is running Then
      Stop timer PIR timer (for this PIR)
      Load Timer PIR timer (for this PIR) with 2.3= 0 and start
End if
If
      Input Port D1 goes high
      And time is after sunset and before sunrise<= BR>       And Flag XXXX is set
      And timer PIR timer (for this PIR) is not ru= nning
Then
      X10 A1: Lounge lamps On
      Set X10 device A1 directly to level 20
      Load Timer PIR timer (for this PIR) with 2.3= 0 and start
End if

In this way you can control the level of lighting dependant on the flag
or, indeed, another X10 device, simply insert the "and X10 device XXX = is
on" or off instead of a flag.

This also saves HV sending out X10 commands repeatedly by using a timer, so the commands are more accurate and tend to get through, in my place,
I would reckon it works 99.9999999% of the time ;). By using the
dependant on the timer thing the way I do, HV sends no signal unless
there is no movement detected for more than, in this case, two minutes
thirty seconds and only then sends an OFF command. If the PIR is tripped while the timer is running then HV simply cancels the timer and restarts it, loops and repeats until it detects no movement. Repeating the ON
command seems a common mistake and if HV is trying to fire out signals
repeatedly then this will cause huge delays due the traffic on the
powerline of X10 commands, this was designed to get around that problem.
HTH

K.

> -----Original Message-----
> From: psghome2002 [mailto:psghome@xxxxxxx]
> Sent: 18 July 2002 12:20
> To: ukha_d@xxxxxxx > Subject: [ukha_d] Re: Wiring light switches...
>
> Ken,
>
> What X10 command do you use - I've used the standard ON command and > the 'Set X10 device directly to' command. Both seem to take the same > amount of time.
>
> I've got a pretty big setup here and am limited by the number of
> zones or inputs to Comfort / HomeVision. I've currently got 32
> Comfort zones active and am planning to connect my A/V matrix
> switcher and mic mixer logic terminals to HV. That equals a lot of
> inputs, more than I've got even with the expansion board connected :(<= BR> >
> I was trying to keep the cost as low as I can (even then I've spent > way over =A315K so far!) and using Comfort for the dual purpose of
> alarm and lighting triggering is ideal (and it works well apart from > the speed). However, I need to check exactly how long it takes
> Comfort to send the serial report to HV (no ACE in the loop for
> this - a direct connection from Comfort to a second serial port on
> HV).
>
> I'll try the direct PIR - HV input and see if this improves the time.<= BR> >
> Cheers,
>
> Paul.
>
> --- In ukha_d@y..., "Kenneth Watt" <kennwatt@b...> wro= te:
> > Paul,
> >
> > I think your problem with response times could be down to the way=
> you
> > are getting HV to send the on command. I have PIRs connected
> directly to
> > HV, no Comfort in the way or a PC, you walk into the room and the=
> lights
> > come on in well under a second, in fact it's almost instantaneous= ,
> Phil
> > has seen this in action too, he can confirm this if he reads it.<= BR> > >
> > In many rooms, such as my AV room or the bathroom, all I need to<= BR> > do is
> > wave at the PIR and the lights come on. I have said before, I
> rarely
> > touch a light switch in the house, or an X10/momentary switch, > virtually
> > everything is either off a PIR or done by IR in some cases.
> >
> > Having said that, I have noticed a huge difference between
> different
> > PIRs and, additionally if HV is stuffed full of conditions to
> check then
> > the response time drops. Also if you read the command to Comfort,=
> then
> > to ACE and then to HV then, inevitably, there will be a huge dela= y
> in
> > that and one I would not find acceptable never mind SWMBO! ;)
> >
> > Not having Comfort (yet) I've never tried routing PIRs through > another
> > machine and, even if/when I install Comfort I would not choose to=
> go
> > down that route simply due to the problems you describe.
> >
> > K.
>
>
> ------------------------ Yahoo! Groups Sponsor
>
> For more information: 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/te= rms/



Yahoo! Groups Spons= or
ADVERTISEMENT
3D""

For more information: 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 the Yahoo! Terms of Service.

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.