Task randomly executing on its own
-
- HouseBot Special Member
- Posts: 409
- Joined: Tue Jul 13, 2004 9:13 am
- Location: Tigard, OR
Task randomly executing on its own
I have a task that is set for Manual execution mode. A couple of times recently I've had this task execute when I didn't tell it to (for example, today it ran about 90 minutes after I'd already left the house for work). Is there any kind of trace I can turn on that would tell me why this task executed (what button or script or whatever fired it off)?
You can enable the Server Socket Tracing Profile (Settings/Tracing from the main menu) to get more info on if it is coming from a Software Remote.
Unfortunately, if it's coming from the script device, there's no way to trace it. If it continues to haunt you, I can add some additional tracing to the script device that you could use (it should probably have that tracing anyway).
Unfortunately, if it's coming from the script device, there's no way to trace it. If it continues to haunt you, I can add some additional tracing to the script device that you could use (it should probably have that tracing anyway).
Scott
-
- HouseBot Special Member
- Posts: 409
- Joined: Tue Jul 13, 2004 9:13 am
- Location: Tigard, OR
I found out what caused the task to be executed but I don't know why. I just recently added a condition-based task that calls the manual task I referred to. The conditions are an X-10 off (according to the history this device went off at 6:15am and didn't go on again until 8:40pm - the history information is *so* useful!).
The other conditions are System Time.Weekday = 1, Time Without Seconds > 5:30am, Time Without Seconds < 8:00am. Given these conditions I can't see a reason why this would have been triggered at 7:52am. Am I missing something?
-- Dave
The other conditions are System Time.Weekday = 1, Time Without Seconds > 5:30am, Time Without Seconds < 8:00am. Given these conditions I can't see a reason why this would have been triggered at 7:52am. Am I missing something?
-- Dave
This is the exact reason I implemented the history. For tracking down oddities like these (I've had one or two myself).dlmorgan999 wrote:the history information is *so* useful!).
I think I'm still missing something. Based on your setup, it seems like the task would execute every minute that the X10 is Off between 5:30 and 8 on weekdays.
Here's some things I would check.
- See if 7:52 (+- a few minutes) is about the same as your sunrise time. If you have something keying on the sunrise time, it may change around that time everyday which could trigger a task.
- If you have your system setup to auto set the PC clock via time service, this can make minor time anomalies when time is setup back (unlikely the problem).
- If you can set the X10 back On in the Task, it should prevent the Task from executing again. Although this may mess up something else in your system.
- Make sure the Task isn't being called from somewhere else.
Scott
-
- HouseBot Special Member
- Posts: 409
- Joined: Tue Jul 13, 2004 9:13 am
- Location: Tigard, OR
I think I'm still missing something. Based on your setup, it seems like the task would execute every minute that the X10 is Off between 5:30 and 8 on weekdays.
I understand what's going on now and you are right. At the end of the task I have a 10 minute delay and then I execute one final item. I looked at the power state history for one of the devices being turned on by the task and found that it was being turned on every 10 minutes starting at 5:30am (ooops!).
I think maybe I'll create a null device with a property and create a task that runs at 5:30am to turn this property on and another at 8am to turn it off. Then I can use that property to trigger the task. Can you think of a better way?
-- Dave