www.homeseer.com

Go Back   HomeSeer Message Board > HomeSeer > General Discussion Area

General Discussion Area General discussion about HomeSeer that does not fall into any other category or are not specific to 1.x or 2.x versions of HomeSeer.

Reply
 
Thread Tools Display Modes
  #1  
Old November 5th, 2009, 09:32 PM
simonmason simonmason is offline
Seer Deluxe
 
Join Date: Nov 2001
Location: Chatham, NJ, USA
Posts: 338
Default How to cancel timer?

If I set a device to turn on with a delay, such as:

Basement Wiring Closet Sleep On Delay: 00:10:00

and let's say 5 minutes has gone by and I want to stop this Device from triggering, how do I stop it?

Thanks.
Reply With Quote
  #2  
Old November 5th, 2009, 09:52 PM
Uncle Michael's Avatar
Uncle Michael Uncle Michael is offline
Super Seer
 
Join Date: Feb 2006
Location: Rochester, NY
Posts: 1,736
Default

Can't you just delete the delayed event?
__________________
Mike____________________________________________________________ __________________
HSPro 2.4.0.11 || Plug-ins: Stargate | ACRF2 | VWSCSV | UltraStatus | BLRFID | PowerTrigger | NetCam | ActiveBackup | UPB | mcsXap | UltraMon | Russound
Scripts: Weather XML | PerfMon | VDGraph | ImageBuilder
HW:
EeeBox | JDS Stargate | NetworX NX-8E | CAV6.6 w ABUS | Slink-e / CDJ | Compose switches, keypads, firewalls | WGL800 | RFXCOM LAN2 | Quatech QSE100D | LaCrosse 2310

Reply With Quote
  #3  
Old November 6th, 2009, 06:52 AM
simonmason simonmason is offline
Seer Deluxe
 
Join Date: Nov 2001
Location: Chatham, NJ, USA
Posts: 338
Default

The event is one that I use every night. I don't create it dynamically through a script - it is created through the web interface and I invoke it when a certain time is reached - or manually. The logic is:

We tell homeseer to put the house to sleep (ie. lights off, thermostat setback, alarm, etc.)

I do this by setting a status called sleep to on with a delay of 10 minutes - gives us time to get up the stairs, etc.

But what if I come back down stairs looking for something, the 10 minute timer is still running and I know it is going to set sleep to on, and I want to stop that process.

If I delete the event then I would have to recreate it to run it again? Maybe I am not fully understanding your suggestion?

Thanks.
Reply With Quote
  #4  
Old November 6th, 2009, 07:07 AM
mrhappy mrhappy is offline
Seer Master
 
Join Date: Nov 2007
Location: UK
Posts: 886
Default

Try and check to see if the 'Remove Delayed Event Trigger' works from the action page (then put the house to sleep event as the one you wish to remove), I think it will do what you are asking.
Reply With Quote
  #5  
Old November 6th, 2009, 08:32 AM
caduceus caduceus is offline
Seer
 
Join Date: Apr 2003
Location: Seattle, WA
Posts: 18
Default

I think you can do it this way (as mrhappy said). Set up the actions in your original sleep status event in this order:

1. Remove Delayed Event Trigger for <your sleep status event>
2. Run the action that sets the sleep status, Delay: 00:10:00

This way, if you run the sleep event the first time, it runs as usual with a 10 minute delay (it simply skips the "remove delayed event trigger" because there isn't one).

If you trigger it a second time, it will cancel the first one, and reset the delay to 10 minutes.

The only issue you might have with this is that you cant actually stop the event, only delay it as many times as you want. You could create another event to actually stop the sleep status event (action would be step #1 above without the #2).

=caduceus=
Reply With Quote
  #6  
Old November 6th, 2009, 09:12 AM
Uncle Michael's Avatar
Uncle Michael Uncle Michael is offline
Super Seer
 
Join Date: Feb 2006
Location: Rochester, NY
Posts: 1,736
Default

Quote:
Originally Posted by simonmason View Post
But what if I come back down stairs looking for something, the 10 minute timer is still running and I know it is going to set sleep to on, and I want to stop that process.
If I delete the event then I would have to recreate it to run it again?
When you say you want to 'stop the process' do you mean you want to tell it to resume from where you stopped it, rather than start it over again? I don't know how to do that. As others have noted, if you just want to start the timer over, that should be fairly easy to set up.

On the other hand, if you put the house to sleep gradually over the 10 minutes (I didn't think that was what you are doing, but maybe I didn't understand), then it will depend on what those things are and the effect of repeating a sequence that was previously partially done has on each device. In our house our sleep function is in two steps, so I have added a 'reverse' function that will undo all the things the sleep function does in case we want to reset it and start over.

Note added: Just to be clear, when you execute an event to set a status on with a 10 min delay, HS creates a new event, with a time based trigger that is 10 min in the future. It is that event that I was referring to when I suggested deleting the delayed event.
__________________
Mike____________________________________________________________ __________________
HSPro 2.4.0.11 || Plug-ins: Stargate | ACRF2 | VWSCSV | UltraStatus | BLRFID | PowerTrigger | NetCam | ActiveBackup | UPB | mcsXap | UltraMon | Russound
Scripts: Weather XML | PerfMon | VDGraph | ImageBuilder
HW:
EeeBox | JDS Stargate | NetworX NX-8E | CAV6.6 w ABUS | Slink-e / CDJ | Compose switches, keypads, firewalls | WGL800 | RFXCOM LAN2 | Quatech QSE100D | LaCrosse 2310


Last edited by Uncle Michael; November 6th, 2009 at 09:17 AM. Reason: add clarification
Reply With Quote
  #7  
Old November 6th, 2009, 10:21 AM
megatron2 megatron2 is offline
Seer Deluxe
 
Join Date: May 2005
Location: Ohio
Posts: 209
Default

Interesting problem that I have ran into a few times...

The way I usually try to get around it is by using different logic.

What ever currently triggers "go to sleep event" occurs and sets a status device named "ready to sleep".

Then create an event that if no motion in said room for at least 10 minutes and ready to sleep is on... then procede with sleep mode actions... turning off lights etc.
Reply With Quote
  #8  
Old November 8th, 2009, 11:51 AM
simonmason simonmason is offline
Seer Deluxe
 
Join Date: Nov 2001
Location: Chatham, NJ, USA
Posts: 338
Default

It is the actual event that I sometimes want to stop. The only way I can think of to achieve this is to write two scripts?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:26 PM.


Copyright 1998-2008 HomeSeer Technologies, LLC