Help with gate alarm

Started by thejfk, November 21, 2008, 05:25:35 PM

Previous topic - Next topic

thejfk

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

HA Dave

#1
Quote from: thejfk on November 21, 2008, 05:25:35 PM
I used A3 for the powerflash because "A" is the monitored house code. Are powerflash units monitored? or am I missing the "monitored" concept?

I think you understand monitored. Monitored simply means that the interface will keep track of and "remember" the modules status... so it always knows... if it is off or on. I don't understand why you didn't run the entire macro as monitored.

Your gate macro looks a bit like my Garage Door Macro that I've used for notification and a reminders for some time now. I have delays... before the reminder starts in my macro. I also use a conditional macro... instead of a flag.
Home Automation is an always changing technology

thejfk

Dave I didn't run the entire macro monitored because I don't have any "A" unit codes available.
I guess I could move some things around to free up some "A" slots.
IF the powerflash is monitored, shouldn't AHP see when it is off, even if it misses the initial  A3 "off" when the mag switch opens?
What's happening is, the macro (sometimes) continues to run after the gate is closed...

HA Dave

#3
Quote from: thejfk on November 21, 2008, 07:03:39 PM
... IF the powerflash is monitored, shouldn't AHP see when it is off....

AHP can't see the monitored devices... or even their true status... it merely watchs the On Off signals and remembers the status. If the (Off) signal is missed... AHP/CM15A will remember it as ON.

I think.... your macro might work better if you used conditionals... and delays. It worked for me with my Garage Door Macro.
Home Automation is an always changing technology

PajamaGuy

QuoteGarage door reminder:  (trigger D6 ON)
trigger conditions B6 On and
module status Off - Power flash unit
end trigger conditions
turn nightlight OFF
wait 2 seconds
Turn ghost mod OFF
Wait 2 seconds
Turn nightlight ON

Dave - I've been making some of these "Timer" macros - and I have 2 questions:
1.  You'all refer to making the "macro monitored" - what does that mean?
QuoteI didn't run the entire macro monitored because I don't have any "A" unit codes available.

I understand (and use) Monitored modules, but the term "Monitored Macro" has me wondering?

and 2. In the above chunk of your Garage Timer -
Quotetrigger conditions B6 On and
- do you really mean "D6" instead of "B6"?  And if not, what is B6?
PajamaGuy
Win-7 - Dell XPS -Automation
VA12a on a dedicated desktop - Video
XTB-IIR & V572RF32

Remote via LogMeIn (FREE) and Ignition

HA Dave

#5
Quote from: PajamaGuy on November 22, 2008, 07:22:20 AM

Dave - I've been making some of these "Timer" macros - and I have 2 questions:
1.  You'all refer to making the "macro monitored" - what does that mean?

Likely NOT a proper term. AHP can monitor [remember the status] of one entire house code [16 Units]... and NO MORE. My "garage door macro" depends on [is conditional upon] the the status of a module(s). Hence the module MUST be a monitored House/Unit code. The proper term for the macro... I Think is "conditional".

Quote from: PajamaGuy on November 22, 2008, 07:22:20 AM
2.  In the above chunk of your Garage Timer - trigger conditions B6 On and - do you really mean "D6" instead of "B6"?  And if not, what is B6?

Yes I did mean D6... B6 was a typo. Thank you for pointing that out... I can't believe how long that has been posted in error. [I corrected it]

I never cared to publish the Garage Door Macro.. as I am sure it can be done better than I have done. I hope someone cleans it up and re-posts it as I continue to get requests for this. I know this works.. as I have been using it for months. (now years)

I originally purchased AHP (and the CM15A) only so I could run BVC. I wrote the Garage door macro to get voice announcements from my voice setup. I think a good clean reminder macro based on flags COULD be accomplished. At least.... I think a good clean basic conditional reminder macro could be created and posted.

I wish some one would jump on that. :'
Home Automation is an always changing technology

SMF spam blocked by CleanTalk