Please login or register.

Login with username, password and session length
Advanced search  


The X10Hub (PiX10Hub) is here! Created by the Community, for the Community.:)% #:)

Author Topic: Help with gate alarm  (Read 5852 times)


  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 49
Help with gate alarm
« on: November 15, 2008, 01:40:34 PM »

I set up a gate alarm  for my pedestrian gate to my front yard.
I used a N/O magnetic switch connected to a powerflash (A3)

Macro 1(gate open)trigger A3/ON  =set flag 1 , turn on  dummy switch (M1)

Macro 2(gate closed) trigger A3/OFF=clear flag 1,turn M1 off

Macro 3, conditions: flag 1 set, trigger M1/ON= sound chime..turn M1 off...30 second delay...turn M1 on...2 second delay turn M1 off

IF the gate is left open (flag 1 set), every time A1 goes on it restarts Macro three.

The alarm system works , BUT the A3/OFF is not always heard(CM15/AHP),and Macro 3 continues to ring the chime even when the gate is closed .
 I used A3 for the powerflash because "A" is the monitored house code.
Are powerflash units monitored? or am I missing the "monitored" concept?
 Thanks Guys
« Last Edit: November 20, 2008, 09:58:21 PM by thejfk »


  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: Help with gate alarm
« Reply #1 on: December 08, 2008, 09:11:14 AM »

Within macro 3, which is triggered by M1 ON, you have a command "M1 ON"; this will cause it to execute multiple times and technically, it should never come out of this infinite loop. This is most likely why you are still hearing the chime even after the gate is closed.

What are you trying to do with macro 3?

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 174
  • Posts: 6890
Re: Help with gate alarm
« Reply #2 on: December 08, 2008, 05:11:32 PM »

Puck how did this guy slip through the posts since nov 15th?

I think... my garage door reminder would work fine for the gate thejfk is using. Of course I use a BVC voice announcement.... but a chime will work also. The Garage door announcement can be seen in my YouTube Video.
« Last Edit: October 14, 2009, 03:01:32 AM by -Bill- (of »
New ideas for marketing Smarthomes may alter the Home Automation world completely.... and forever.


  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 49
Re: Help with gate alarm
« Reply #3 on: December 09, 2008, 08:08:27 PM »

What I was trying to do with macro 3 is create a  "gate open" reminder,  which worked great, and as you said, continues to loop indefinitely. The idea was to have macro 3 only run when flag 1 is set, and closing the gate SHOULD clear flag 1,but it was not reliable...(why it is not reliable was the reason for the original post).
I have taken Dave's advice and copied his garage door reminder, which works great. Thanks Dave!
Logged | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 All rights reserved.