Hi. I'm kind of new here.
I have AHP with SmartMacros and I'm wondering if it is possible to write a conditional macro like this:
When the macro is triggered it activates a device
THEN, only if it is nighttime does it activate another device
Is it possible to do that within just one macro?
Thank you.
What you want to do IS possible, but I would do it a different way.
If you create two macros with the same trigger address, AHP will treat them as "OR" conditions, based on the order of the tabs at the top (AHP will add a tab for each one).
so, your first macro will be:
If it is Nighttime:
Turn on Module 1
Turn on Module 2
The second macro will be:
Turn on Module 1
Since the second one is the "else" condition, it should only run when the first one's condition is invalid.
Therefore, at night, both modules will be turned on, but during the day, only the first one will be turned on.
I think that is what you were trying to accomplish.