|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | any tips on this? Scott Reston Thu, 04 Feb 1999 08:22:13 -0500 |
i use several DM10a motion sensors in my house (sends X10 on/off
commands via RF transciever). more often than not, i'll have several
things happen when a single motion sensor senses activity. the code
to handle this is in several events, but all look something like
if plc button A is 1/On
then do some things...
i've decided to switch unit codes on a couple of the sensors, and i'm
finding it tedious to go through and find all instances of a
plc-code. i'm guessing that there is a more elegant way to handle
this such as an event that translates x10 codes into a true/false
status... something like:
if plc button A is 1/On
then Motion Front Porch set True
if plc button A is not now 1/On
then Motion Front Porch set False
and have events look for "motion front porch is now true"
this way, if i need to change a unit code on my motion sensor, i only
change it in one place...
does this look like the best way to handle this? any tips or
thoughts?
thanks..
scott reston
ih8gates@concentric.net
http://www.indelible-blue.com/scott/
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects