This is especially useful if you need to get a text message every 10 minutes based on the status of a device (like a water sensor displaying wet status).
Create a virtual switch and set up an automation to repeatedly turn it on and off based on your desired schedule or conditions. Then, you can create a routine that uses the virtual switch's status as the trigger. You can also include the status of other devices as preconditions for the routine to run.
1. Create a virtual switch (US/Canada only - all other regions must use zVirtualEdge driver):
- Open SmartThings
- Tap Menu
- Tap Labs (beaker icon)
- Tap "Virtual Switch"
- Tap + at the top right
- Input:
- Name of the virtual switch
- Location
- Room
- Save it
You can do this with any device if you want to trigger an automation multiple times while a device in your network stays in a specific state.