Please login or register.

Login with username, password and session length

Author Topic: Introducing a motion sensor in a macro  (Read 4371 times)

rmd

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 9
Introducing a motion sensor in a macro
« on: February 11, 2007, 06:37:17 PM »

Hello everybody from a new member:

I am new with AHP, new software and hardware too. 15 switches, all works good manually.

I am trying to build a simple macro, a motion sensor MS14A triggering on a lamp for a few minutes and then off.

The problem is I cannot introduce any motion sensors in the macro. When I am building the room I am placing the motion sensor with the switch in the appropriate field, then I switch to macro. I cannot get the motion sensor to appear in the right hand field of the macro next to the switch and above the timer. If I try other type of module they appear allright. Is there any special tricks to make these motion sensors do their job >:(

Thanks
Logged

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: Introducing a motion sensor in a macro
« Reply #1 on: February 11, 2007, 06:47:48 PM »

rmd: Welcome to the forum. You cannot add motion sensors to a macro; I guess the reason being is that you cannot control them and thats why you cannot see it in the room when editting a macro.

Motion sensors are a prime source for triggering macros however. Make your macro have the same address as the MS14A, and select the macro to trigger when it receives a motion ON signal. Within that macro you can have a time delay for the light to go out, or you can create a 2nd macro that triggers on the MS14A's motion OFF signal (which occurs x minutes after no motion is detected).
Logged

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: Introducing a motion sensor in a macro
« Reply #2 on: February 11, 2007, 07:47:28 PM »

Yes, as Puck said, make the motion sensor the TRIGGER.

All kinds of things can happen once your macro is triggered.
Logged
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm

DC

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Introducing a motion sensor in a macro
« Reply #3 on: February 12, 2007, 02:44:00 PM »

Since your on the subject, I use the motion sensor to activate a sprinkler valve to keep my dog off the grass. How do I set it up so I can disable the macro so I don't get wet when mowing the lawn.

DC
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Introducing a motion sensor in a macro
« Reply #4 on: February 12, 2007, 02:55:42 PM »

DC: create a condition for the macro!
eg: if B3 off then do your macro!
B3 would have to be in your monitored house code then just turn it on before you try to mow the lawn!
Note : B3 could be a phantom module(one that does nothing)
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

DC

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Introducing a motion sensor in a macro
« Reply #5 on: February 13, 2007, 02:40:31 PM »

Thanks, I'll give it a try.

DC
Logged

rmd

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 9
Re: Introducing a motion sensor in a macro
« Reply #6 on: March 03, 2007, 10:58:53 AM »

Thanks for all the answers, every is settled and working fine. :D
Logged
 

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