Delay Question

Started by azzar0, June 26, 2007, 03:45:41 PM

Previous topic - Next topic

azzar0

I know this topic has been covered before, but I don't remember the solution (if there is any).
Here is my setup:
I created a macro that turns on a ghost module, then waits 10 minutes, and repeats these 2 steps 6 times.
So, the macro looks like this:
Turn C11 on
delay 00:10:00
Turn C11 on
delay 00:10:00
Turn C11 on
delay 00:10:00
Turn C11 on
delay 00:10:00
Turn C11 on
delay 00:10:00
Turn C11 on
delay 00:10:00

Then I created a timer for the macro to run every hour. In case  you wonder, the idea is to turn on a phantom module every 10 minutes. This module is used by Bill's Voice Commander - BVC listens for that module to come on and when it does it executes a "Stop Listening command", so that it won't keep talking when he's not talked to.

OK, so I scheduled the macro to run and everything appears to be OK, however I see that the module is turned on at different times. It mostly sticks with the 10 minute delay, but sometimes it turns the module on 2 or 3 times in a row, in a matter of seconds. Then, 10 minutes later, it turns it on again, as it is supposed to. I can't cut & paste screen shots here, but basically the log shows something like this:



14:50:00 C11(Mute BVC)                                               <<< CORRECT <<<<
14:50:00 C On (Mute BVC)
....................................
15:00:01 C12(Start Mute BVC)                                       <<< CORRECT <<<<
15:00:01 C On (Start Mute BVC)
....................................
15:00:02 C11(Mute BVC)                                               <<< CORRECT <<<<
15:00:02 C On (Mute BVC)
....................................
15:10:01 C11(Mute BVC)                                               <<< CORRECT <<<<
15:10:01 C On (Mute BVC)
....................................
15:10:43 C11(Mute BVC)                                               <<< WTF??? <<<
15:10:43 C On (Mute BVC)
....................................
15:20:01 C11(Mute BVC)                                               <<< CORRECT <<<<
15:20:01 C On (Mute BVC)
....................................
15:23:01 C11(Mute BVC)                                               <<< WTF??? <<<
15:23:01 C On (Mute BVC)
....................................
15:30:00 C11(Mute BVC)                                               <<< CORRECT <<<<
15:30:00 C On (Mute BVC)

So in 40 minutes the module was turned on 7 times instead of 5 times. It looks like it executes 'extra' commands without being told to do so.

Does anyone know why this happens and what I can do to get rid of the extra commands? I triple checked my macro, it looks good... There are no conditions to make it fire up extra commands.

Thanks,

Azzar0

waterstom

I know you said you checked, but in either the Macro or Timer programmer (sorry, not at my AHP pc tonight) there's a box to check for REPEAT which supposedly sends whatever the command is supposed to be 3 times instead of just 1 (b/c x10 knows it is so bad they built in a failsafe I guess?)  In my experience, even THIS doesn't work each time.  Look for that box, it's on the right/bottom of the screen, in with Security and one other box for some other varialble you may not have noticed it checked??

Just throwing out straws...


SMF spam blocked by CleanTalk