This is a weird one. I have these macros for my remote chime that (1) will only let the chime sound once a minute or (2) keep the chime off while the front door is open. It all worked just fine until a few days ago. I know the usually thing to check first is what changed? Well, nothing changed, really, nothing. I didn't make any new macros or change any settings in AHP since it was working. No updates to AHP or windows for that matter. No new modules or anything. It's as simple as it worked, so I stopped, didn't touch anything and a few days later it stopped working.
The chime macro looks to see if flag 2 is clear, if it is then the macro sets flag 2, sounds the chime, waits one minute and clears flag 2. This keeps the chime from sounding with every move of the person on the porch. Works fine and still does. The problem was the flag for when the front door was opened was not being set. I have another macro for the front door to turn a phantom module on when the door is opened and off when closed. I use that to trigger a macro that simply sets flag 2 when on and wait a minute and clear flag 2 when closed. So when the door is opened, flag 2 is set and the chime macro will not run.
So here is the funny part. If I run the "Door Open No Chime" macro manually from AHP, the flag gets set. But if I open the door, the macro runs but the flag does not get set. I know AHP/CM15a is seeing the door open. I see it in the log and my living room light turns on. I have another chained macro that turns the light on if it's nighttime when the front door is opened. I can also see the macro run by watching it in AHP when I open the door.
I was at a total loss and ready to post here asking what on earth did I miss. So here is the kicker of the solution I found, but still don't believe. I moved AHP and the CM15a to another computer and now it works again. I knew the computer I was using is old and not very reliable, but really. Could the computer really have been my problem? The IT part of me says no. I defragged the hard drive. Cleared all temp files. Ran all updates. I even created a new ahx file and recreated the macros. Still no flag being set.
Only thing I can figure is a bad spot on the hard drive. Maybe this weekend I will run some diagnostics on the drive and ram. Something was wrong if a new computer with the same versions of OS and AHP works.
Just thought I would throw this experience out there.