I recently rearranged all my module codes to arrange my transceivers in a more reasonable way (one house code/transceiver per floor.) I knew from past experience that this would create some unexpected problem and I was not disappointed!
Here's what happened. I have two slimline switches that trigger macros to turn on two lights in the basement (in a hallway and the staircase) and turn off all the lights in the basement. One is on the entrance from the garage and the other is at the top of the stairs from the main level. They make entering and exiting the basement easier. I had originally had both switches on the same house code as all the basement lights but this created reception problems (especially for the one at the top of the stairs.) What I did was change the house code for the switch at the top of the stairs and create identical macros (B2 ON: A7, A8 ON, B2 OFF: A7, A8, A9, A10 OFF.) The macros are identical to
the ones programmed at the entrance to the garage the only difference is the trigger for that one is on the A house code.
Should work, right...
So the garage entrance works fine. The head of the stairs fails 100% of the time (sluggishly turns on/off only some of the lights). If I look at the activity monitor what seems to be happening is a continuous loop where the macro keeps triggering over and over. Based on a suggestion that I found while searching for a similar problem I added a one second delay to the start of the macro and lo and behold its all good now!
Can anyone explain this odd behaviour? Is this a problem that is well described? If this is a common problem should there be a default one second delay (or a suggestion from the software to insert one?) I can't think of anything in the macro that should trigger it to run again.
I'm delighted that this was my only problem and it only took a few hours to fix! (Oh how my expectations have decreased...)
Paul,
First, please check to make sure that you have your CM15a set to
not transceive housecodes A and B (my apologies if you've already done this).
Past that, disabling the "transceive houscode function" will not prevent the CM15a from receiving the RF and triggering your macro. The option only prevents the CM15a from retransmitting the RF command on your powerline.
Are you using Flags to lock out multiple triggers? If I understand your post correctly, It sounds as if your CM15a is launching multiple "copies" of your macro (it's receiving both RF and powerline On commands) and that is messing up the works.
By adding a 1 second delay at the beginning of the macro, you've allowed it to be "re-entered". This can work, but I prefer using Flags to prevent re-calling the macro. Here's a thread dealing with macro re-entry -
http://www.x10community.com/forums/index.php?topic=15204.msg84874#msg84874Earlier in the same thread, I have and example of how to use Flags to prevent "multiple triggers" of a macro.
Let us know how things turn out,
Boiler