I hadn't thought of that, but it would work. I guess I was hoping that there might be a simple check box I wasn't seeing. Better than deleting the whole thing!
Ok, so I think I'm starting to get my head wrapped around how to rewrite the macros to get things to work, but I have a question about delays that I'm not sure about. The way I had things working (which was pretty nice) was that the motion would turn on lights and turn them off after 16 minutes of no motion. It would also chime every time new motion was detected (no more often than 1/minute). The reason this would work is I leveraged the MS16A's continued sending of the ON code whenever it saw motion and only sending the OFF code when the timer ran out. This new motion sensor turns on when motion is detected and off after no motion for a selectable period (test =~5 seconds, 1 min, 5 min, 20 min).
What I want to do is have the chime work if motion is detected even if the sensor is already on. I know this a bit difficult when it doesn't have a way to send this info, but I think I can get the info even without the code being sent...maybe. Here's what I'm thinking: If motion detected in test mode, the motion sensor will trigger on and turn off after 5 seconds. If motion is still going after 5 seconds, it will remain on. So, if use that info, I know that if there is no OFF code sent after the delay I'm expecting, there is still motion outside, so I could simply trigger a chime if the motion sensor is still on after 1 minute since it should have turned off by then (55 seconds earlier). This would be an issue if I used the 20 minutes since 1 minute of initial motion would result in a 21 minute motion on time and chiming at 20 minutes would be 19 minutes too late.
Anyway, I'm just wondering if there's a slicker way I'm overlooking.
ALSO, I want to have 2 timers going at once...I think. I want to have a timer that keeps the light on for say 15 minutes after motion stops as well as one that chimes every 1-5 minutes of motion (I haven't decided on a time yet). So, say the motion sensor is on for 3 minutes and then turns off. I want the lights to stay on for a total of 18 minutes and the chime to have gone off at least initially and maybe additional times depending on the second timer. I'm not seeing an easy way to do 2 timers currently, which is why I'm asking...