Please login or register.

Login with username, password and session length

Author Topic: AHP: Macro w/ conditional works then stops working  (Read 4895 times)

ultradianguy

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 42
AHP: Macro w/ conditional works then stops working
« on: May 30, 2006, 11:49:35 PM »

Hi -
I recently purchased AHP.  I'm experiencing problems that seem to come up here a lot but it's not clear if people eventually solved them or not.

 I tried to do something that others have also mentioned.  I have an Active Eye motion sensor near front door (B14).  I want it to ring a chime when motion detected, but then be ignored for a couple minutes.  I set as conditionals a) time within a certain range (9am -9 pm), and flag 2 is clear.

Macro triggers on B14 on,  (if flag 2 is clear and time within a range), 1) turns on chime (G15), 2) sets flag.  3) Delay 2 minute, 4) clear flag.
 As an alternative, I tried creating a dummy module on the monitored house code (H1) and used this instead of a flag.  In that case, macro condition is that H1 is off.  I also tried using B14 off from the activeeye to turn off H1 instead of turning it off after a delay.

The first time I wrote the code - it worked as expected - if I used a remote to send B14, chime would ring.  But after a few times, it stopped working.  I deleted macro, rewrote using a different method (ie changed from flag to dummy module) and it worked again - then it stopped working, too!  The exact same code worked at first, then didn't with no changes in between.

Here are things I've worked through to try and solve:

1) I can ring chime by RF signal to G15 on (direct to chime) - so RF is picked up and chime works.
2) I can ring chime by clicking the button that says Play Macro.  So macro code itself works.
3)  Macro is downloaded to CM15 - not running from AHP.
4) I made sure macro was not in same room as sensor or chime in AHP.
5) Sensor and chime are on different house codes.
6) At one point, I tried playing with changing the monitored housecode to the same as the sensor housecode - again, seemed to fix things, then stopped working. It's almost as if any change to the macro code corrects it, then it goes bad again.
7) Also tried clearing and completely resetting CM15 (unplug, remove batteries)

When sensor is triggered, the activity monitor reports:
Receive RF B14 On
Receive RF B14 On
Receive B14 (Doorbell sensor)
Receive B On (Doorbell sensor)
Macro G15
Macro G On

But it doesn't ring.  If I use a palmpad to send B14 On - same problem as from sensor.

Help! Does anyone have a suggestion? Do I have a bad CM15?  I just purchased a couple weeks ago so I assume I have recent versions of hardware and software.

Thanks,
Michael
Logged

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: AHP: Macro w/ conditional works then stops working
« Reply #1 on: August 20, 2007, 02:14:39 AM »

Have you tried using "Clear Interface Memory" (under the "Tools" menu) before downloading timers & macros?
Logged
-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!

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: AHP: Macro w/ conditional works then stops working
« Reply #2 on: August 20, 2007, 08:59:05 AM »

Also try setting HouseCode 'B' to Transceive.

Normally this is not required to trigger a macro via RF that is saved within the CM15A; but with all the different firmware versions out there, your one may need it transceived to trigger reliably.
Logged

Boiler

  • Guest
Re: AHP: Macro w/ conditional works then stops working
« Reply #3 on: August 20, 2007, 06:41:46 PM »


...When sensor is triggered, the activity monitor reports:
Receive RF B14 On
Receive RF B14 On (Double RF trigger - normal)
Receive B14 (Doorbell sensor)
Receive B On (Doorbell sensor) (Transceived output)
Macro G15
Macro G On

Michael,

From the above, it looks like you're getting mutiple RF triggers (normal) and your are transceiving the output onto the powerline. 

For starters, I'd turn off the transceived output unless you need it for other units on this house code.  Doing this will make things a bit easier on the CM15a and will clean up excess traffic on your powerline.

Using your macro sequence, invert steps 1 and 2 to prevent multiple triggers.

Macro (B14)
Trigger B14 on
Conditions H1 Off and Time Between XX and XX
H1 On (set this first to prevent multiple triggers)
Delay (1 sec)
G15 On
Delay (2:00 min)
H1 Off
delay (1 sec)

Let us know the results.  It's possible you have noise on your powerline that is making things intermittent.

Boiler
Logged

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: AHP: Macro w/ conditional works then stops working
« Reply #4 on: August 20, 2007, 07:34:33 PM »

Good catch Boiler.
Logged
 

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