Make sure your AHP recycle bin is empty. (AHP has ben know to run deleted macros timers if this isn't cleared.)
Then clear the interface and purge delayed macros.
Then upload to the interface. Flags getting set is software related not hardware (cm15)
It may be possible a neighbour has just started using X10 and using the same address as you. (this would explain unexpected flags status changes and unexplained x10 signals)
You may wish to try other house codes for your phantom module.
Also be sure AHP is set to only transceive house codes you have in your setup( not all house codes.
Recycle bin is empty. I did clear the interface and purge delayed macros. Then I disconnected the cm15a and removed all power including the batteries. Waited a few minutes and inserted the batteries and plugged it back in to the outlet. Downloaded the macros once again and the problem was still there. So I did that all once again but this time I changed the hardware from auto house codes to just the codes I use. Problem still there.
I also asked my neighbor if they use X10 and he didn't know what it was. Besides, I don't have very close neighbors so I doubt that would be a problem anyway. But for some reason when I check for house codes in use, E shows full and I do not use E.
What I have noticed is the flags being set is random but I haven't figured out if it's happening constantly with one of my macros. But I suspect it might be happening mostly, if not always when it happens, when the front door is opened. That is a ds10a that runs a macro that turns on a phantom module and sets flag 3, delay 30 seconds and clears flag 3 (that keeps the chime from sounding for 30 seconds). Then there is a macro triggered by the phantom module that turns on a lamp, clears flag 1, delay 4 seconds and turn off the lamp. When the door closes the phantom module turns off and sets flag 1. This way when the front door is left open and does it hourly heartbeat check, it doesn't keep turning the light on and off.
Here is the macros.
Trigger - Front Door with DS10a
Turn P1 on and set flag 3
Wait 30 seconds
Clear flag 3
Trigger Condition P1 on and flag 1 on
Turn I2 on
Clear flag 1
Wait 4 seconds
Turn I2 off
Trigger Front Door Closed
Wait 4 seconds
Turn flag 1 on
I've also noticed, but doesn't seem to be happening for the past few days, when I leave in the mornings and set the alarm, it would turn on the wrong light and not turn it back off. My alarm is set to I1 and the porch light is I1 but setting the alarm would turn on I2. So now I'm wondering is my alarm console is sending out the strange codes.