Please login or register.

Login with username, password and session length

Author Topic: Noob Question - Using motion senor  (Read 10678 times)

drakethib

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 21
Noob Question - Using motion senor
« on: March 21, 2009, 10:54:46 PM »

I have a MS14a and I want to build a macro where if it detects motion it will turn on a light WS467 only if motion is detected between 10:00 PM and 4:00AM. I am using AHP.

I know this is a noob questiob but I tried to find the answer and cant

Logged

bitman

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 597
Re: Noob Question - Using motion senor
« Reply #1 on: March 22, 2009, 08:12:27 AM »

Easy.

Set ms14 to transmit desired house code and unit code. Create new "Smart macro" and assign the macro to the same HC/UC as the ms14. In the macro creator screen, before you drag a module such as the wall switch in there, click the button "Use Conditions". Now, on the right you can look at the conditions and drag the on that is a time window. (I forget what it is called) to the condition area. Set your desired time windows up.
Now drag your wall switch to be under the time window condition.

Thus if it between such and such a time, do something to the switch.

I found out the hard way that you can only have 3 decisions (I think) in a given macro. Notice a time window takes two.  B:(

 
Logged
Long live X10! - Because I just like it is all.....

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: Noob Question - Using motion senor
« Reply #2 on: March 22, 2009, 09:36:55 AM »

I found out the hard way that you can only have 3 decisions (I think) in a given macro. Notice a time window takes two. 

Never heistate to create a another macro. Many (if not most) macro failures are because the creator tries to cram too much into one macro... instead of using two or three macros.

You may what to create a timer macro that turns on a (dummy, ghost, or) fake module (ON at 10pm OFF at 4AM). The module will need to be on the "monitored" House code. The monitored House Code is the one house (letter) code selected for the interface to "remember" the status of the modules.

Then you could use a simple conditional macro with the condition being that the assigned fake monitored module is also ON. 

The "tricky part" to wrap your head around... is the sensor now becomes nothing more than a trigger. Meaning the sensor will need to be set to a code different from the light that it is turning ON.

It will look something like this:

  • Timer macros turns ON and OFF M1 (monitored house code #1)
  • Motion sensor set to A1 sends trigger A1 for motion
  • Light is set to L1
  • Trigger A1 causes macro to look for condition (is M1 ON) if M1 is ON it turns on light L1

And.... of course everything turned on... must also be turned off. This may be as simple as a 5 minute delay built into the conditional macro... that delays for 5 minutes then turns L1 OFF.

« Last Edit: March 22, 2009, 09:40:28 AM by Dave_x10_L »
Logged
Home Automation is an always changing technology

bitman

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 597
Re: Noob Question - Using motion senor
« Reply #3 on: March 22, 2009, 10:16:04 PM »

You're welcome btw.
Logged
Long live X10! - Because I just like it is all.....

Kramer Chins

  • Hero Member
  • *****
  • Helpful Post Rating: 16
  • Posts: 262
    • Kramer Chins
Re: Noob Question - Using motion senor
« Reply #4 on: March 22, 2009, 11:10:38 PM »

drakethib,

  This is a pretty simple set up Trust Me !! This is how I have my Front Porch Light set up


 If I can do it, I know you can.......
>!
Logged
Registered Members of MCBA... WWW.KRAMERCHINS.COM

Trying to learn X10 Day by Day...........

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: Noob Question - Using motion senor
« Reply #5 on: March 23, 2009, 10:03:51 AM »

  This is a pretty simple set up Trust Me !!

I am retired from civil service. I used to enjoy telling the venders I would work with:

 You can trust me... I work for your government.

It was interesting to watch the venders reactions. The cleverest... laughed out loud.  rofl
Logged
Home Automation is an always changing technology
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.