I've tried to do this several times. I have an idea why its not working, but I'd like to ask some advice.
I want the motion sensor to trigger an email on certain days of week, at certain times.
I work all days but sun/mon @ 5pm-2am. I setup a conditional macro between hours 5pm-2am, tues-sat
triggered by g16 (motion sensor), email myaddress@gmail.com
If I turn off the conditions it works fine. So its my fault
I wonder if two macros are needed (one for 5pm-12mid and another for 12mid-2am)
but I don't know how to make those macros interact.
Can someone help so that I won't have a hundred email in my inbox?
From my experience, (although others have reported otherwise), conditions that pass midnight work better when split up.
In your case, since you also need a day of the week condition, I'd set up two macros, using the same trigger address. That will cause it to work as an if-then-else statement. The weekday condition complicates things, because after midnight, the day changes, so you might not get the results you want.
I assume you want it to work tues-sat from 5pm to midnight, and also wed-sun from 12am-2am, right?
If so, here is how I would set up the conditions on the two macros:
First Macro:
If Day is Tue/Wed/Thu/Fri/Sat,
AND time is between 5:00PM and 11:59PM
Second Macro:
If Day is Wed/Thu/Fri/Sat/Sun,
AND time is between 12:00AM and 2:00AM
Keep in mind that if you test it by clicking on the "Run Macro" button in AHP, it ignores the conditions.
Use a PalmPAd or another plug-in controller to activate it for testing.