Does "Run Macro" bypass conditions?

Started by Walt2, December 18, 2006, 07:17:27 PM

Previous topic - Next topic

Walt2

I verifying my macros, I have tried clicking on the blue "Run Macro" button.  What I have found, is that it seems to ignore any and all conditions I have set upon the macro, and goes ahead and executes the macro itself.  In other words, it doesn't seem to matter if the conditions currently evaluate to true or false, it just goes ahead and "does it thing".

Is that what other have found too?    ???

While I guess there is value in being able to verify the code part of the macro regardless of the state of any conditions at that moment, it prevents me from actually verifying the conditions themselves are correct too.
* Sears Home Control System, Radio Shack Plug 'n Power, NuTone, Stanley LightMaker, BSR, HomeLink.
* Tecmar Device Master, CP290 (LightHouse), CM11A (AH), CM14A (AH2), CM15A (AHPro).

Puck

Conditions are ignored when macros are manually pressed.
Like you said, good for verify the macro, bad for checking conditions.

JMac

Why don't you set a timer on the macro a few minutes in the future to check out your work (assuming that the conditionals are met)?

Walt2

Well for me, the conditions aren't that easy to test with a timer.    For example, I have a macro set to only run if it is between 5am and 6am (the newspaper is here!).  If I press "run macro", would expect it to not run right now (its almost 7:30pm).  So, nothing happening would be a 'test passed'.

However, it ran this evening when I pressed "Run Macro", and being new, I had wondered if I did something wrong with the conditions.  I guess not (thanks Puck!).
* Sears Home Control System, Radio Shack Plug 'n Power, NuTone, Stanley LightMaker, BSR, HomeLink.
* Tecmar Device Master, CP290 (LightHouse), CM11A (AH), CM14A (AH2), CM15A (AHPro).

JMac

Well, change the conditional times to test the concept........

TakeTheActive

#5
Quote from: JMac on December 18, 2006, 07:39:35 PM
Well, change the conditional times to test the concept........
:o
|
|
|
|
|
|
|
|
|
|
V
;)
Low Post Count != Low Knowledge - High Post Count != High Knowledge ;)

ADVICE TO X-10 NEWBIES FROM AN X-10 OLD-TIMER

ajleduc

I have been using an phantom appliance module to trigger the macro and test conditions.

SMF spam blocked by CleanTalk