X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: Walt2 on December 18, 2006, 07:17:27 PM

Title: Does "Run Macro" bypass conditions?
Post by: Walt2 on December 18, 2006, 07:17:27 PM
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.
Title: Re: Does "Run Macro" bypass conditions?
Post by: Puck on December 18, 2006, 07:21:33 PM
Conditions are ignored when macros are manually pressed.
Like you said, good for verify the macro, bad for checking conditions.
Title: Re: Does "Run Macro" bypass conditions?
Post by: JMac on December 18, 2006, 07:21:54 PM
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)?
Title: Re: Does "Run Macro" bypass conditions?
Post by: Walt2 on December 18, 2006, 07:37:27 PM
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!).
Title: Re: Does "Run Macro" bypass conditions?
Post by: JMac on December 18, 2006, 07:39:35 PM
Well, change the conditional times to test the concept........
Title: Re: Does "Run Macro" bypass conditions?
Post by: TakeTheActive on December 19, 2006, 08:13:58 AM
Well, change the conditional times to test the concept........
:o
|
|
|
|
|
|
|
|
|
|
V
;)
Title: Re: Does "Run Macro" bypass conditions?
Post by: ajleduc on January 06, 2007, 10:49:12 PM
I have been using an phantom appliance module to trigger the macro and test conditions.