Skip to content
WhySoGeek.
How To

Create SmartThings Routines and Automations

Automate your smart home with SmartThings routines that trigger lights, thermostats, and security on a schedule, sensor, or voice command.

Sam Carter 9 min read
Cover image for Create SmartThings Routines and Automations
Photo: infomatique / flickr (BY-SA 2.0)

A pile of smart gadgets is not a smart home. The thing that turns a drawer of bulbs, plugs, and sensors into something that actually saves you taps is the routine, and SmartThings makes them genuinely easy to build once you understand the If/Then model. This guide walks you from your first single-action routine to scenes worth keeping.

Quick answer

In SmartThings, a routine is an "If (this condition) then (these actions)" automation you build in the app. Tap the plus (+) icon, choose Create routine, set an If trigger (a time, a sensor, your location arriving or leaving, or a manual or voice start), add one or more Then actions, name it, and save. It then runs automatically whenever the condition is met. Start with one trigger and one action, confirm it works, then layer on more.

Key takeaways

  • A routine is an If (condition) then (action) automation in the SmartThings app.
  • Triggers can be a time, a device event, your location, or a manual or voice start, and you can combine several.
  • Add all your devices to SmartThings first so they are available to use in actions.
  • Combine multiple actions in one routine for a true scene like "Good morning" or "Leaving home."
  • Routines run automatically once their conditions are met, and most run on the hub or cloud even when your phone is off.

Add your devices first

Before building anything, make sure every device you want to control already appears in SmartThings and responds when you tap it. A routine can only act on devices the app already knows about, so this is the foundation. Open the app, check your lights, plugs, sensors, thermostat, and locks, and fix anything that shows as offline now rather than mid-build.

A few things that smooth this out: keep a SmartThings Hub (or a compatible Samsung TV or appliance acting as a hub) if you use Zigbee, Z-Wave, or Thread devices, since those need a hub to talk to. Wi-Fi and Matter devices can often join directly. Group devices into Rooms as you add them, because actions like "turn off all lights in the Living Room" are far cleaner when your rooms are set up.

A phone showing a smart home control app with device tiles
Photo: infomatique / flickr (BY-SA 2.0)

Understand the trigger types

The "If" side is where most of the power lives. SmartThings supports several trigger categories, and picking the right one is half the battle.

Trigger typeFires whenGood forWatch out for
TimeA set clock time or sunrise/sunset offsetWake-up, bedtime, scheduled lightsDaylight saving and time zone settings
Device eventA sensor or device changes state (motion, door open)Motion lighting, leak alertsSensor battery and placement
Location (geofence)Your phone enters or leaves homeArriving and leaving routinesNeeds location permission set to "Always"
Member presenceAnyone or everyone arrives/leavesHousehold-aware automationsAll members must have presence set up
Manual or voiceYou tap the routine or ask Bixby/Alexa/GoogleScenes, "movie night"Not automatic by definition

Geofence triggers are the most common source of "why didn't my routine run?" frustration, almost always because location permission is set to "While using the app" instead of "Always." Fix that in your phone's system settings, not inside SmartThings.

Build your first routine

    1. Open the SmartThings app and tap the plus (+) icon, then Create routine.
    2. Under If, tap + and set a condition, such as a time or a motion sensor detecting movement. Leave this blank for a manual scene.
    3. Under Then, tap + and add one or more actions, like turning on a light, adjusting the thermostat, or running another routine.
    4. Optionally set conditions like "only between sunset and sunrise" so the routine does not fire at the wrong time of day.
    5. Give the routine a clear name and tap Save. It now runs automatically whenever the condition is met.

Tip

Start simple with a single trigger and a single action, confirm it works, then layer on more actions. A routine that does five things is just five tested actions stacked together. Test by tapping the routine to run it manually before trusting the automatic trigger.

Three routines worth building

These three cover the bulk of what people actually want from a smart home.

RoutineTriggerActions
Good morningWake-up time or voice commandBedroom lights to 30 percent, thermostat to comfort, smart-plug coffee maker on
Leaving homeYour phone leaves the home geofenceAll lights off, thermostat to eco mode, security sensors armed
Good nightA set bedtime or a button pressLights off, doors locked, thermostat lowered, "do not disturb" set

Good morning greets you with a warm room and gentle light instead of a cold, dark scramble. Trigger it on your alarm time or a Bixby phrase, then stack the actions so the whole scene happens at once.

Leaving home is the routine that pays for itself in energy and peace of mind. Trigger on your phone leaving the home location, then kill the lights, drop the thermostat to an energy-saving mode, and arm your sensors so the house secures itself without a thought.

Good night ties the house down for the night. A bedtime trigger or a single physical button press locks doors, dims and kills lights, and lowers the heat.

Troubleshoot a routine that won't fire

If a routine does not run, work through these likely causes in order before assuming the app is broken.

SymptomLikely causeFix
Geofence routine never triggersLocation permission not set to "Always"Change in phone system settings, not SmartThings
Routine fires but a device ignores itDevice offline or unreachableCheck the device tile; power-cycle or re-pair it
Two routines fight each otherConflicting actions on the same deviceAdd time conditions or merge them into one
Time routine fires at the wrong hourHub time zone or DST mismatchConfirm hub location and phone time settings
Routine works manually but not on triggerThe condition is not actually being metTest the trigger in isolation (e.g. trip the sensor)

The reliable diagnostic move is to split testing in two: run the routine manually to confirm the actions work, then verify the trigger separately. If both pass but the routine still does not fire automatically, you almost certainly have a permissions or conflict problem rather than a device fault.

If a specific device keeps dropping off, our guide to a smart plug that won't connect to Wi-Fi covers the most common cause, and a solid mesh network helps every device stay reachable, see setting up a mesh Wi-Fi network the right way. If you are expanding into Thread and Matter devices, our Matter and Thread border router setup explains how the newer standards fit in.

Frequently asked questions

What can trigger a SmartThings routine?

A specific time (including sunrise and sunset offsets), a device event like a motion sensor or door contact, your location arriving or leaving, household member presence, or a manual or voice start. You can combine conditions for more precise automations.

Why isn't my routine running automatically?

Usually the trigger condition is not being met or a device is offline. Location triggers need location permission set to "Always" on your phone, and time triggers need the hub time zone set correctly. Run the routine manually to confirm the actions work, then test the trigger on its own.

Can one routine control multiple devices?

Yes. Add as many actions as you like under Then, so a single "Good morning" routine can light rooms, adjust the thermostat, and start appliances together. Stacking actions is the whole point of a scene.

Do routines work when my phone is off?

Time and device-event triggers run on the SmartThings hub or cloud and do not need your phone. Location-based triggers depend on your phone reporting its position, so those need the phone on and location permitted.

Do I need a SmartThings Hub?

Only for Zigbee, Z-Wave, and Thread devices, which need a hub to communicate. Many newer Samsung TVs and appliances include hub functionality. Wi-Fi and Matter-over-Wi-Fi devices can often connect directly without a separate hub.

#smart-home#smartthings#automation#samsung

Sources & further reading

Keep reading