Posted: November 10 2002 at 17:30 | IP Logged
|
|
|
Terry,
Macros can be exported from within the PowerHome explorer and the resulting SQL posted within a message. Ive done it a few times on the board myself. I encourage anyone who is willing to post any macros, scripts, etc to the board for others to use and learn. As far as other boards or groups, this is the only one that I know of .
Now for your problem...It could probably be solved several different ways but I'll outline what Im currently thinking of.
You probably have the motion sensor to only trigger when dark. The motion sensor is directly tied to the light by placing them on the same house and unit code. You've programmed in some amount of delay. The light that the motion sensor controls directly effects the light/dark sensor of the motion detector getting the behaviour you describe.
The way I would fix it would be to first place the motions sensors house/unit address to something completely different from the light. Program the motion sensor to work all the time, not just when it's dark. Set the timeout delay for the amount of time you would like for the light to turn off after there is no motion. With that done, program PowerHome to have a trigger when motion is detected on the sensor. If the motion sensor is set to A1, then create an X-10 RF In trigger for A1 On. In the action, check the X-10 status of the A2 (the light/dark sensor) and if it's dark, then send an X-10 command and turn the light on. As long as there is motion being detected, the motion sensor will send the A1 On command. Your trigger will process but will not turn on the light because it's no longer dark (it would not matter if it did...sending an on to a light that is already on makes no difference). When motion is no longer detected and the timeout delay expires, you will get an A1 Off command. Create a trigger for it and turn the light off.
The only problem with the above technique is that you might notice a slight delay in the light coming on. This is the way I control all my lights and the delay is not noticeable to me.
Let me know if you need help with the above and I can put it together for you.
Dave.
|