Cant make a macro work with door/window sensor HELP please!

Started by blaib, October 29, 2009, 09:53:39 PM

Previous topic - Next topic

blaib

Hello, I just received my X-10 CM15A, I have been into x10 for several years but never tried the PC interface.  I also bought some Door/window sensors DS10A.  What I want to do is what I thought would be simple.  Install the door sensors on the front and back doors, and between 11:00 PM and 5:00 am if someone opens the door have the door sensors send a command to the CM15A and turn on a few lights and sound the Mini powerhorn.  We’ll I set up the macro and go to the top and hit “use security” then where it says “If these are true”  I then clicked on the condition “if time is between” then I set it up 11:00pm and 5:00 am, then clicked on the condition “security sensor state” I made sure that it says sensor open.  It doesn’t matter what time I tell it the marco always runs, and I only want it to run between 11 and 5.  Any ideas? 

Thanks A lot
Brian Laib

-Bill- (of wgjohns.com)

Quote from: blaib on October 29, 2009, 09:53:39 PM
Hello, I just received my X-10 CM15A, I have been into x10 for several years but never tried the PC interface.  I also bought some Door/window sensors DS10A.  What I want to do is what I thought would be simple.  Install the door sensors on the front and back doors, and between 11:00 PM and 5:00 am if someone opens the door have the door sensors send a command to the CM15A and turn on a few lights and sound the Mini powerhorn.  We’ll I set up the macro and go to the top and hit “use security” then where it says “If these are true”  I then clicked on the condition “if time is between” then I set it up 11:00pm and 5:00 am, then clicked on the condition “security sensor state” I made sure that it says sensor open.  It doesn’t matter what time I tell it the marco always runs, and I only want it to run between 11 and 5.  Any ideas? 

Thanks A lot
Brian Laib


If you're "testing" the macro by clicking its button in the AHP software, it will always run and ignore the conditions.  ;)

>!
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

blaib

I am actually opening the door to test it. I have checked my time in settings and everything seems ok. But it still always performs the macro B:(

HA Dave

Quote from: blaib on October 29, 2009, 09:53:39 PM
.........  I then clicked on the condition “if time is between” then I set it up 11:00pm and 5:00 am, then clicked on the condition “security sensor state” I made sure that it says sensor open.  It doesn’t matter what time I tell it the marco always runs, and I only want it to run between 11 and 5.  Any ideas? 

I always try to keep my macros as simple as possible. I use the timers to turn on and off a monitored fake/dummy module. I then use the status (on/off state) of the fake monitored module as the condition. My way of doing this would mean 2 or 3 separate... but very simple macros.

Also.. keep in mind that all security module macros (like ones that use the DS10A) run only on the PC.
Home Automation is an always changing technology

JMac

You need to research "OnAlert and Time Conditionals" here on the Forum.  KDR devised a security macro which will do what you want.  There are three macros involved and only one will include the timing conditionals.  Cumbersome looking but it works.

Noam

From my experience, a time condition that crosses midnight (such as from 11 PM until 5 AM) doesn't work right.
I wrote mine as "Before 5 AM OR After 11 PM". Those seem to work better for me.

--Noam

blaib

Dave, I think I understand what you are saying but I cant completly make sense of it. Could you PLEASE give me a step by step?
I would sure appreciate it. Because for some reason my conditions will not work, but I think your way would If I could figure it out.
Thanks
Brian

HA Dave

create a room, your macro and modules for this will be in that room.

Have your timer turn on and off an appliance module. On at 11 and then off at 5. Or two timers... one turning the module ON.. then a 2nd timer turning the module OFF. The module doesn't need to be real... it's just a module in the new room you made. One of the house codes you use is monitored use a monitored code for your new fake module.

Make your new fake module the condition in your macro (also in the same room). If the module is ON then......
Home Automation is an always changing technology

SMF spam blocked by CleanTalk