Routines - Can they be put on hold or "disabled"?


#1

I’ve got a morning routine that launches a bunch of actions if motion is detected between certain hours. It works great. However, they are some days that I’d like to be able to “disable” the routine so that it would not execute. Is there any way to “disable” routine without simply deleting it?


(Ron Talley) #2

I would suggest using webCoRE to add whatever restriction you like such as:
If motion changes to active
And
Time is between blah blah blah
And
Switch is on (Virtual Switch)
Then
Execute Routine

You can create Virtual Switches for pretty much anything you like. In this case, the VS would be always on which allows for the Routine to execute. Whenever you turn it off, then the Routine will not execute.

You could even make another webCoRE rule to automate when the VS turns on/off!


(Jimmy) #3

Create a mode call Automations Off and set the routine to not run in that mode.


(Ron Talley) #4

In my experience, creating Modes to disable individual automations is not advisable. Modes effect your HA in its entirety. However, that would work if you wanted to quickly set everything back to a dumb house!


#5

Once we are all migrated to the new app, this option will be available. (But don’t start using the new app until support tells you directly that your account has been migrated or you can run into problems. )

Meanwhile, I think a lot of people just use modes. :sunglasses:

Setup using SmartThings Classic

  1. create a mode to represent your disable condition, calling it whatever you want to. For example some people have a mode for “guests,” some have a mode for “test’,” some have a Mode for “sick day,” etc.
  1. Then change your routine settings so that particular routine will not run in that particular mode.

  2. Now create a new routine which does nothing except change to your disable condition mode.

Using your new disable condition Mode in SmartThings Classic

Now it’s simple. Anytime you want to disable your usual routines, just run the routine that changes to the disable mode. (You can also make that a widget if you want to.)

You can also use webcore if you like, but that’s sort of overkill for this particular use case If you aren’t already using it. :sunglasses:


#6

Thanks everyone. I had considered using WebCore (I use it for other things) but I wanted to keep this Morning Routine simple so that my wife could change it if needed (she doesn’t do WebCore). I had considered using a different mode as suggest but was aware that it effected everything else as was mentioned above.

I ended up solving this by replacing the Routine with a SmartLighting Automation to do the same thing as the Routine did. I then created a mode called “Hold” and set the SmartLighting Automation to only run when in “Hold” mode (which means it won’t run and is effectively now hold). When I later want to take it out of hold-mode then I will simply which it from “Hold” mode to “Home” mode. Mission accomplished (in a rather backward way).