FAQ: An Overview of Using Custom Code in SmartThings (SmartThings Classic, Groovy Code)

***The following refers to the original smartthings architecture, which was in place through the end of 2021 and a little beyond. Custom code was written in the groovy programming language and ran in the smartthings cloud.

All of this was replaced by a new architecture. Cloud to cloud integrations use the smartthings API. Hub connected devices, mostly Zigbee and zwave, now use “Edge Drivers,” written in the LUA programming language. Here’s the official announcement on those:

The process for using a custom Edge Driver is completely different and considerably easier: you just click on a link the author gives you, and the Edge Driver will be automatically installed on your hub.

Until the transition is complete, the following FAQ may still be helpful.***

So you’re new to SmartThings, you asked a question, and someone suggested “custom code” as an answer.

Or you were browsing the forums, and you found something that sounded like it would be perfect for what you wanted, but again, “uses custom code.”

What does that mean, how hard is it to do, and what’s the difference between a “SmartApp” and a “Device Type Handler”?

(Note: the official terminology has changed a couple of times. “device type handler,” “device handler,” “DTH,” and “device type” all mean the same thing, and you will find all these terms used in the forums.)


SmartAPPS: Tiny Programs to decide what a specific device should do when, or to collect the information from a specific device

SmartApps, including the various functions included in the official SmartThings app, are just tiny programs (written in the Groovy programming language) that handle “Do this when” kinds of situation for one specific device. Whether it’s “Let me know if motion sensor 1 goes off before motion sensor 2” or “Change the setpoint on the thermostat based on the lux level in the sitting room,” a SmartApp is a way of either using information from a device or controlling that device. Most solve a very specific problem. (The exception is the very popular WebCore which is a smartapp that is a very sophisticated rules engine. Each WebCore “piston” solves a specific problem while WebCore lets you create those rules.)

Many community members enjoy writing custom smartapps, and either share them for others to use or are happy to help write new ones if you have a problem that hasn’t already been solved.

See the community-created smartapps area of the forum for some of the most popular smartapps:

You can also quick browse the section if you only want to see smartapps for lighting or HVAC or security, etc.


Or ask in the New SmartApp Ideas topic for help if you can’t find what you want:

Device Type Handlers (Also called Device Types or Device Handlers)

Like a smartapp, this is another tiny program. Instead of controlling what happens when, though, the device type handler has an even simpler job. It just translates commands from smartapps into the exact format a particular device requires, and vice versa. A printer driver is one kind of device type handler for a laptop. In a home automation system, every connected device needs a device type handler.

SmartThings provides a bunch of standard device type handlers, as well as specialized device type handlers for devices on the official “Works with SmartThings” list.

But quite often a new device comes along that has features that aren’t yet supported in the standard device type handler. Or a community member comes up with a more efficient way to talk to a particular device.

Then someone will publish a “custom device type handler” so that other people can use it. These will usually be published in the Community-created Device Types category of the forum, but may be linked directly from the topic for a particular SmartApp that needs that device type handler to work properly.

Note that the physical device has to already be manufactured to provide the feature. The device type handler code (DTH) just sets up the request in the right format.


You can also quick browse the section and look at just DTHs for lighting or security devices or motion sensors, etc.:


If the device type handler is still being developed, you will probably find a discussion thread in the devices section of the forum.



This involves two steps.

A one time process to “publish” the smartapp code to yourself using the Developers section of the SmartThings website so it is available for future installation.

Then using the official SmartThings mobile app to install it so you can use it with specific devices.

First, the One Time Process to Publish it to Yourself

SA1) Copy the code from the author.

SA2) Sign in to the Developers section of the SmartThings website so you can access the IDE (Integrated Development Environment).

The URL: http://ide.smartthings.com/ should take you to your account if you are in North America.

If you are in the UK/EU, use

SA3) Choose SmartApps, then Add a New SmartApp from Code.

SA4) Paste in the code you copied, change anything necessary based on the author’s instructions, then PUBLISH it to yourself.

SA5) Make any additional edits according to the author’s instructions, such as enabling OAUTH.

Now when you open the classic SmartThings mobile app, this new custom smartapp will appear as a choice under My SmartApps in the SmartApp section in the Marketplace.

In the new V3 app, it will appear under “SmartApps.” At the time of this writing, those were under the 3 horizontal lines icon in the top left of the main screen.

Next, the Install Process to Assign that SmartApp to a Specific Device..

To assign that SmartApp to a specific device in the classic app:

SA6) Open the ST mobile app.

SA7) Go to the Dashboard, then click on the Marketplace icon (the multicolored asterisk in the lower right).

SA8) Choose SmartApps

SA9) Scroll down to the MY SMARTAPPS section and choose it.

SA10) Scroll down to find the custom smartapp you want, then install it.

SA11) Follow the set up wizard instructions for that smartapp.

Steps SA6-SA11 are a little different in the new V3 app. Just find the SmartApps section (at the time of the writing it was an option on the three horizontal line icon in the upper right) and you should see the smartapps listed that you added through the IDE.

Some custom SmartApps also require a custom Device Handler to work. If so, the author will mention that in the installation instructions



These steps assume you have already added the device to your account through the SmartThings mobile app. It may be using a standard device type handler, or it may just have been added as a “thing”, but it should show up on the list of devices for your account.

(If this is an ip-addressable device like a camera you may not have been able to add it to your account through the SmartThings mobile app, so the system will not assign it a device ID. In that case you will need to sign into the Developers section (IDE) and first choose My Devices and then use the ADD NEW DEVICE button to enter a placeholder for the device and assign it a unique device ID. You can choose any device type handler for the placeholder since you’re going to change it in a minute anyway. Then you can continue with the following steps.)

DT1) Copy the code from the author.

DT2) Sign in to the Developers section of the SmartThings website so you can access the IDE (Integrated Development Environment).

The URL: https://account.smartthings.com should take you to your account.

DT3) Choose My Device Handlers, then Add a New Device Handler from Code.

DT4) Paste in the code you copied, change anything necessary based on the author’s instructions, then CREATE it for yourself.

DT5) Once the Device Handler is published in your own library, select MY DEVICES in the IDE and choose the specific device you want to have use that new device handler.

DT6) Edit the Device so that it uses that device type handler.


Now any SmartApp that wants to talk to that device will be able to request the features specified in the custom device type handler. (Again, the physical device has to already support the features, the device type handler just translates the requests between SmartThings and the device.)



So that’s it. You’ll still use the regular SmartThings mobile app, you’ve just added some additional tiny programs to the ST cloud to give you some additional functionality for specific situations.

Some use cases will require a custom device type handler, especially if it’s a device feature which hasn’t been officially supported yet. A good example is when smart bulbs that could change color temperature first became available. (Cool white to warm white.) The standard device type handler could request a change red to blue color, but not request a change in color temperature for one color. The bulb could do it, but SmartThings didn’t know how to ask it to do it. A community member contributed a custom device type handler that could make those change requests.

Some use cases will require a custom SmartApp. For example, one person wanted to make sure the motion detector activated light didn’t come on when his family’s new baby was napping. So another member helped him write a custom smartapp that could disable the motion sensor temporarily when the parent turned off a specific switch in the baby’s room.

Some use cases will require both a custom device type handler and a custom SmartApp. If so, the author of the SmartApp will usually include those directions in the installation instructions.


If you need to access features that a physical device has, but the official SmartThings device type handler does not support, you may need a custom Device type handler.

If you want to control when a device does something in a way that the standard schedulers don’t handle, you probably need a custom SmartApp.

Some custom SmartApps also need a custom device type handler in order to work properly.

In all cases, you copy the custom code from the author, then use the Developers section of the SmartThings website to paste this into your own library.

Once it’s in your library:

For device type handlers, you can then edit a specific device profile to use that device type handler.

For SmartApps, you can then install the SmartApp through the Smart Setup feature of the official SmartThings mobile app. Usually the SmartApp will have a setup wizard that then lets you assign it to specific devices. You may want to use the same SmartApp multiple times for different devices, or perhaps for different situations like one way for “on vacation” and another way for “not on vacation.”

For questions on any specific custom code, ask the author in the topic devoted to it in the community forums.

Also remember that device type handlers are also called device types and device handlers, so you will find references to all three.

You don’t have to use custom code to use SmartThings. The standard features cover many different kinds of home automation use cases. However, if you do run into a device or a use case that isn’t covered by the built in options, it is pretty easy to get help from the community and add custom code to address many different situations.

A Note About “GitHub Integration”

Some author threads will recommend that you use “github integration” instead of the cut-and-paste method.

Github is a site where developers can set up their own code libraries and then share them with others. It’s not specific to SmartThings, but many SmartThings coders use it.

If you use a method called “github integration” you essentially link the developers code library to your smartthings account. Once you have done that, you can follow the publishing instructions from that developer and you probably won’t have to cut-and-paste. (All of the concepts described in the FAQ above still apply, the only difference is the exact process for getting someone else’s code published to your account.)

The initial set up to use github integration is somewhat more complicated than the cut-and-paste method, but it has the advantage that you will be automatically notified of updates to the code. With the cut-and-paste method, you have to check yourself from time to time to see if there is a new release of the code.

SmartThings added GitHub integration as an option for US accounts late in 2015. It is not yet available for the UK.

If you are in a region which does not support github integration or you just don’t want to use it, asking author’s thread if there is a way to “manually install” the code, which should be a cut-and-paste method.

SmartThings GitHub Public Repository (includes The Big Switch and other deprecated smartapps)
How to add DIM WITH ME to MySmart Apps in IDE
Almond Click DTH
JD's Welcome FAQ
Leviton Dimmer advanced options - how to configure?
HELP! For a non techie, how do I add devices not supported my Smartthings
[RELEASE] zStat Manager 2.0
Smart Power Outlet, configure/disable energy reporting?
Aeon Doorbell Type Beta
Android 2.0 Discussion
[RELEASE] Virtual / Physical Switch Sync
Zwave dimmer to dim OSRAM bulb
European Z-wave, and unsupported devices support question
Aeon Labs Z-Wave Smart Energy Switch not working properly
Turn off light after specific time
Alexa Helper - Change mode or phrase with a switch toggle
Quirky Tripper Support?
Aeotech Multisensor 6 (gen 5 zwave plus, model ZW100-A)
Actions based upon who is present?
Nest device type with a bunch of new features
Alexa Helper - Change mode or phrase with a switch toggle
Turn On Switch When Only One Particular Presence is Detected and No one Else is Home
Notify me of kids arrival/departure, but only when I'm not home
Adding smartapp later
Color Temp as a "Change Color" function?
Can I have 2 switches turn on/off a plug that is also on a timer?
Color Temp as a "Change Color" function?
What works in the UK?
Zwave locks/nexia/smartthings
CentraLite Keypads
Aeotech Multisensor 6 (gen 5 zwave plus, model ZW100-A)
Z-Wave Smart Fan Control Custom Device Type
How to change device type? Aeon Smart Switch to bmmiller custom device
Can locking my door arm a garage sensor?
Lowe's Iris Sensors (New CentraLite models)
FAQ: How do I change the parameters for a device?
Mimolite input capability?
OSRAM E27 Edison Screw A60 ES 10W LED Lightify RGB Light Bulb
If you wrote a device type you want to share, read this! 😎
Actually using ZRC-90 controller?
Wireless Sensor Tags Integration
When are "Hard Wired" Smoke detectors going to be supported by Smart Things
Is my home secure?
Using Securify Contact & Motion sensors with SmartThings
WeMo set-up in UK
How do I integrate my Craftsman AssureLink Garage Door Opener to my SmartThings v2 Hub?
Wemo Maker Integration--help needed
Fibaro 2 Dimmer (212 not 211)
Any pointers to luminance only sensors
GE Ceiling Fan Switch Custom Device Type - Low, Med, High buttons w/no slider!
CentraLite Keypads
CentraLite Keypads
Can A Dimmer Switch Trigger Other Events?
Netatmo for UK users (Temp workaround)
New Aeon Labs Doorbell: need device type help
Oh Look ST Automation takes a holiday too! Aww.. cute
Fibaro 2 Dimmer (212 not 211)
Fibaro 2x 1.5kW and momentry switches
Lowe's Iris Sensors (New CentraLite models)
How Can I Put Computer to sleep and Wake Computer with SmartThings
Icon shortcut to turn a group on
Zemismart blind motor (bead chain) - controls from ST?
Hub v2 Siren Lost
Run routines through Alexa
Quirky Tripper Support?
Battery level kwickset 914 not reporting
Eaton RF9540-NAW ASPIRE integration help
PlantLink-DirectMonitor 1.2 Released
PlantLink Monitor 2.0 Released
Weather Panel 2.2: Released
Multi-sensor 70 degrees WAS 70 degrees - same values
How to install an app (for Fiabaro Motion Sensor)
Iris Smart Button
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
New App: Control lighting in great detail with button devices (Aeon Minimote, Enerwave ZWN-SC7)
TP-LINK HS110 Smart Plug w/ Energy Monitoring, Wi-Fi Enabled
Help with SmartThings and Lightify bulb
Can I create a new device and pull from a existing?
Multiple Motion Sensors to control one light switch?
Lowe's Iris Sensors (New CentraLite models)
FAQ: When a community created device type is changed,do I have to manually update it myself?
Hue extension bulb direct control without hue hub, appearing as thing?
Help setting up House
Using 2 Motion Sensors To Turn Off Lights
New to GitHub & smartapps
New Device Type Handler for an IP addressable device: How to add your own device type to SmartThings from code
Osram Lightify Smart Dimmer "talk" to a GE Smart Dimmer?
When is smartThings hub going to integrate Lutron?
New Guy Getting Started
Cannot dim down to 1%
Iris Smart Plug, IDE, my first device handler... Please help :)
PetSafe SmartDoor Model HPA15-13808 (DTH in post 27)
Osram Lightify Smart Dimmer "talk" to a GE Smart Dimmer?
Compatibility with Z-wave
Confused and trying to get a security system running
Linear WO15Z-1 Nuisance with LED light
Help to Start--How do I add GoControl Devices to my System?
When will Smart things and Nest get along?
Potential SC/Wink user looking to convert. Any Quirky support?
Smart Lighting Not Working
No smart apps have been added?
Connecting Hue directly to ST? Not yet configured listed
Fibaro, parameter settings?
Bloomsky Weather Station
Fibaro motion sensor grrrrr
Newbie just starting out
Maybe I don't need Rule Machine after all
CentraLite Keypads
New Member
Fingerprints - What are they?
Link Cree LED bulbs
FAQ: Github Integration How to Add and Update from Repositories
Writing code
Smartthings Roomba Control via Thinking Cleaner Version 1.5.1 Released
How to? Auto Door Lock after Unlock (Goodnight)
Motion sensor inactivity turns lights off too early (2016 discussion)
Adding punctuation on a line breaks the preview of the linked topic
[BETA] Hue (Re)Connect - with scene handling
New to smartthings, smart lighting apps are lacking
Removal of Smartapps always has to be by emailing support?
Hue extension bulb direct control without hue hub, appearing as thing?
How Do I Create/Modify A Device Handler?
Hue extension bulb direct control without hue hub, appearing as thing?
Auto-Lock Door Only
Osram Lightify and changing color temp question
Monitor/Control your Lights/Switches based on the power consumption and illuminance of your home
Wall Switch Controlling Multiple Lamps?
New with Aeotec MultiSensor 6
Any way to get a routine to dim to 15 percent?
PetSafe SmartDoor Model HPA15-13808 (DTH in post 27)
Help with adding new smart app
New to Smartthings and would like to know how to get echo to work with linear garage door opener
Iris Smart Button
FAQ: How zwave direct association changed with zwave plus
Sonos and Hue
Information on connecting custom hardware to the hub?
Yale locks - Remotely change codes?
Working MIMOlite Device Type with Sensor
eGauge energy meter
Quick Integration Help Needed
Using a smart dimmer switch control plugin dimmer
Complete newbie wanting to learn how to install new device handler from published code
SwanOne Outlet (UK) Zigbee
How to add device with custom DTH?
New to Smartthings and would like to know how to get echo to work with linear garage door opener
United security pressure mat
Creating a device: what to fill in for Device Network ID
Fibaro 2 Dimmer (212 not 211)
Z-Wave Smart Fan Control Custom Device Type
Hue bulb without Hue Bridge?
Honeywell WiFi Thermostat Setup Guide
Insteon integration?
Devolo Home Control Kit
Is there anyway to assign groups of lights within the app?
Double Tripping Sensor before Alarm Sounds?
App to Manage Shop / Garage Dust Collector / Vacuum System
[Release] Z-Wave.me, Popp, & Devolo Wireless wall Controller & Key Fob (EU), with button controller dimming apps and CoRE integration
OMG - Accidentally blew it ALL away!
New Official Integration: Samsung Multiroom Audio
Control of 2 dimmers with one app?
Will these items work w/SmartThings - not seeing in the official list
Multiple users for prox sensing? Change from Iris?
[RELEASE] 3 Speed Ceiling Fan Thermostat
Smart lighting tweak - honor me turning the switch on
[Alpha] Lutron Connected Bulb Remote
Go Control battery thermostat partially works
Navigating this community - finding how-to's & ideas (newbies / dummy's guide to extending & leveraging ST)
Device handler question
Automating En-Suite
GE Link Bulb automation not working
Chime alert - Apparently SmartThings doesn't have an answer for this?
Aeon Labs Siren as door chime
How do you group lights so they dim together?
Dimming my lights with GE-Z Wave Smart Dimmer 12724 issue
Cooper Aspire 4way controlling Hue bulbs
ZWN-SC7 Enerwave 7 Button Scene Controller
Changing Device Handler after Install
[RELEASE] Keenect V1.2.0, optional separate vo settings for cooling, vent obstruction auto clear
Holy Moly - has SmartThings come a long way
[RELEASE] Smart Sump Pump Monitor based on dry/wet seasons and weather conditions
[RELEASE] Manage TV/Game Console Access for your kids
Publish SmartApps for private users
Ceiling Fans & Switches
SmartThings Hub & Motion Sensor, IFTTT & Lutron Caseta
Getting Started - What's popular or cool? SmartApps, Device Types, 3rd party apps, IDE, etc
Where to buy
Looking for instructions - Adding Community App
Lowe's Iris is officially history!
Can I add a 2nd ADT Panel
Can I add a 2nd ADT Panel
General zwave compatibility?
[BETA] Hue (Re)Connect - with scene handling
How to you create a virtual presence with IFTTT?
Change tile layout in device type for Aeon Multisensor 6
Presence sensors: how do you avoid smartthings from thinking you're home when you're not?
Fibaro Dimmer 2 Integration
Amateur Questions
Need to reset Aeon outlet almost daily
App Versus Website
Turning Motion Detection On or Off on Amcrest Camera
[RELEASE] Aeon DSC17103 Micro Double Switch
Triggering Sonos after motion has not been detected for awhile
Vacation Lighting Director
Newbie I don't get routines, all I want to do is switch a sonos "doorbell" off
Using an open/close sensor to send notice if open at time X
Notify if lock opened with a particular code
Smart Home Monitor - open status improvements
Complete frustration with my system
Calling all community members: New SmartApp Ideas
Oh GOD, a newbee question! (Iris Smart Fob)
Is there a SmartApp to open/close Add-A-Motor curtains?
New App: Vacation Light Director
What is a Device Handler / Device Type Handler / DTH
Lock app idea- enabled/disabled lock codes w/o deleting codes & for specific times
Motion sensor tripped by bugs, animals...beam sensor?
Easy setup for Movie lighting using Hues?
How can I have my Aeron Siren give a short beep when a door is opened or closed?
When/If ... Kumo wireless sensor tag integration with SmartThings hub?
WeMo Switch unresponsive
Set Color of Hue Bulbs without turning on?
Hampton Bay Zigbee Fan controller
How to set up home to randomly turn lights on and off when on vacation?
Play a message remotely on sensor trigger through Alexa Voice
Simple Manual Scenes - Improve Phrases/Routines!
A Short Intro to Scheduling/Device Control/Rules in SmartThings Classic
Virtual Motion Detector - Where do I start?
Multisensor on door + audible chime?
[RELEASE] Simple Device Viewer
Hampton Bay Zigbee Ceiling Fan/Light Controller installation HOWTO
HomeSeer HS-WD100+ Double Tap
[UPDATED] Osram Lightify RGBW A19/BR30 US version (HA) DTH
FAQ: Solution for Linear/GoControl 3-way switches? (WD500Z-1 and WT00Z-1) (Association options)
Automation Dim Below 10%?
(Tutorial) PC on/off and Activity Monitor with SmartThings
How to install community created smart app
Garden Hue: New smartapp to change hue color on a cycle or random, sunset to sunrise
Connect door sensor to socket?
How to set up a notification with event triggered by two device sequentially?
Fibaro RGBW Controller (DTH link in post 32, police light smartapp link in post 79)
Though off in the app, my bulbs turn on when there's an outage and power's restored
2 doors open (not 1) triggers immediate Echo/Google voice warning?
Older Leviton devices
With the ADT Smartthings HUB will I get alarm alerts on my phone without the monitoring service?
Step to add an z-wave device WD100?
Battery Operated 3 Toggle Switch for wallmount or table top use (SmartenIT ZBWS3B) [DEPRECATED: STOPPED WORKING IN 2018]
Does ST allow setting user codes for kwikset 914 lock?
Outlet Controlled by Temp and Garage Door Sensor
Will it work with my existing philips dynalite
Fibaro FGPB-101-1 US The Button, Z-Wave Scene Controller
New user questions from someone used to Vera
Bali motorized blinds
[RELEASE] Aeon WallMote Dual & Quad - 2 & 4 Button
Alternative to Enerwave Module Switch?
Linking two locks?
Control GE Z-wave fan with a single push button?
Change 3 way switch to 4 way with smart dimmers
Smoke Alarm or Loud Noise Sensor
Help for a StaplesConnect Transplant?
All lights dim dimming and illuminate gradually when powered on and off
Setting up Smartthings to replace my Iris setup. Some items of concern
Smart Home Kwikset 910 complete remote locking?
Hampton Bay Zigbee Fan controller
Hyperion Ambient Lighting
I thought this was supposed to be easy
Lock manager, error refreshing page or problem processing request
Coming over from Iris. Just hooked up ADT Smartthings Hub and totally lost
Easiest way to get an alarm on my phone when sensor is tripped?
Group Set of Cree Bulbs?
Searching for direction on motion-triggered lighting (will NestCams work?)
Alarm Control Panel
Showing 0 W on HEM and Smartthing
Dazed and confused former Iris user
[RELEASE] Smart Vent Manager - smartapp commissioned by Keen Home
Water leak sensor with alexa routine?
Simulated device script for Water Leak Sensor
Aeotech Siren "muted" when alarm triggers
Eaton Aspire Master and Accessory Association
Notifications for smart lock?
GFCI Outlet Monitoring for Water System (Heater, Iron Curtain, Softener, etc.)
[RELEASE] Device Monitor - Get Notified if Devices Stop Reporting
Have big question--how do I find and use a custom app for my lock? And what will that change?
How to make the my alarm duration longer? (GoControl Siren)
Cooper Aspire 9540-N and 9542-Z Switches Year 2020
Everspring ST812 Flood Sensor
OSRAM Flex Full Color Control?
BRK Smoke detectors and Ecolink door sensor
[Newbie question] Nst Manager code error
How to know when a device goes AWOL?
[NO LONGER SUPPORTED - 16/04/2018] - Message Central
Connect Powerview or hunter douglas hub to smartthings
Need help with Brimate Temp&Humidity Sensor
Gentle Wakeup Help Needed with Ikea Tradfri bulb (Colours aren’t right)
Improved Fibaro Button DH
How do I set up a rule to use the chimes on my dome siren?
OSRAM Lightify surface light?
Copy paste raw android help
New to Smartthings, need help
Hue Ambiance Color A19 bulb without Hue Bridge
The Laundry Has Finished
Integration of ST into Z-Wave
Is anyone working on Leviton Vizia RF +?
Zooz Siren (ZSE33)-How to make it chime in "Home" and Alarm in "Away"?
FAQ: How can I manage User Codes on a Lock with SmartThings?
UX and Content Designers needed for ST
Difficulty getting a published DH working
Unknown light BULBS?
How can I set custom color sequence with ST using Fibaro RGBW controller
[RELEASE] Initial Setup for Ecobee3 & 4, Smart-SI, EMS, Smart-02 thermostats - My Ecobee Device
Looking to Disarm ST Home Monitor but 1 motion sensor still active with notificationx
Need help with Loadsensing for GE Plug-in Wireless Dimmer
Cooper Aspire Scene Controller RFWC5 and RFWC5D Device Handler [beta release]
RELEASE: OSRAM Lightify Smart Dimmer Switch (button controller device handler and smart app)
[NO LONGER WORKING] Curb Energy Monitor Integration
Can I use a button to toggle a device on and off? Can I use conditions in scenes?
[RELEASE] Dome Mouser (Official)
Xiaomi devices on sale (buttons/sensors/cubes)
Home Decorators Ceiling Fan/Light Controller MR101Z - First Impressions
PROMO: DIY Smart Home Online Course for just $15
How to guides and where to start
Best Door Lock ? Auto open when you come home - worst door lock?
Dome Motion Sensor
New App: Vacation Light Director
Help? How the Hell do i install Smart apps? from code?
Iris Smart Button
Trying to use two motion sensors on one switch
Light switch to run Smartthings Routines?
Devices we don't have
Trust ZPIR-8000 Zigbee motion sensor— works with smartthings?
How can I check polling of a device?
Newbie questions... any help appreciated for conditional programming
Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc)
Routine linked to smart weather app?
Getting the most out of my Schlage FE599NX
More phones? (UK)
How to configure a simple dimmer? (Have one dimmer device follow another)
Anyone have a good routine for open/close sensors with 1 presence sensor home out of 5
Virtual Thermostat for radiator using Multi Sensor & Fibaro relay (help a newbie!)
Want to Switch from Nexia to Smartthings, need advice
[HOW TO] Add your TP-Link HS-100 Wifi outlets to SmartThings
Presence sensor smartapp that looks at state?
Problem with False Alarms
Error installing SmartApp
Recommendations for Smart Lock
ADT SmartThings Automations?
Help with Samsung Button in Alexa
Improved Fibaro Button DH
Leviton Z Wave Plus Devices Advanced Features
Aspire Cooper RF9500 Device Type (basic DTH in post 6)
New Zigbee Device (Securifi Key Fob)
RELEASE: OSRAM Lightify Smart Dimmer Switch (button controller device handler and smart app)
IFTTT and SmartThings (UK accounts)
RELEASE: OSRAM Lightify Smart Dimmer Switch (button controller device handler and smart app)
How to get a Z-Home Control ZHC5010 Z-Wave switch module to work? (DTH link in post 26)
[Release] Z-Wave.me, Popp, & Devolo Wireless wall Controller & Key Fob (EU), with button controller dimming apps and CoRE integration
[REMOVED] Nest Manager 4.0
Philips Hue with ST
How do you submit your app for approval?
Power Allowance For AC Units
Lock Polling killing battery
Security camera options
Lock Polling killing battery
[BETA v0515] Hampton Bay Zigbee Ceiling Fan/Light Controller
Fibaro RGBW controller as a open close sensor instead of on/off?
Entry/Exit delay for SHM
Virtual 3-Way Switch / Dimmer
New Device - Fibaro Keyfob - 24 actions
Dimmer module that can be set to ramp up
[RELEASE] RemindR ~ don’t miss an important event!
Change Parameter 11 on MIMOlite
[RELEASE] HomeSeer Dimmer and Switch (HS-WD100+ / HS-WS100+) Device Handlers
Linking Two Z-Wave Dimmers?
[WITHDRAWN] MyQ LiftMaster/Chamberlain
Best way to control ceiling fan with lights from always on power (Honeywell 40015 receiver/remote)
Sensibo integration
Crawl space temperature sensor
Device wrong Motion Listed as Door Sensor
Old thread: please delete
Leviton releases 5 zwave plus devices--solves low load glow problem
HomeSeer HS-WD100+ do you need the HomeSeer Controller? How do I connect to SmartThings Hub?
Several sensors unavailable, yet no notifications of this, and system says "everything is ok"
Leak Gopher Valve only works as a valve requiring a leak?
Detecting or being notified when my water sensor goes OFFLINE?
Zen Thermostat Battery Error
Soffit rgbw strip lighting advice (UK)
Just wanted to say - Thank-you, Community!
[Deprecated] Thinking Cleaner 2.x (Roomba Control)
Confused about SmartThings--how do I use the code?
Home Decorators Ceiling Fan/Light Controller MR101Z - First Impressions
Some general questions about zigbee compatibility and repeaters
Install and integration question (Samsung Connect and Homeseer Switches)
Battery Operated 3 Toggle Switch for wallmount or table top use (SmartenIT ZBWS3B) [DEPRECATED: STOPPED WORKING IN 2018]
[RELEASE] New Virtual Thermostat With Device
Iris Smart Plug WiFi
Multipurpose sensor on garage door - can it text me when status is open at night?
Best Motion Sensor (2014, now out of date)
Associating the WT00Z and the WS15Z-1?
Bloomsky Weather Station
Aeon Minimote Buttons Doesn't Show Buttons (January 26, 2018)
[ABANDONED] Fibaro Wall Plug ZW5
Stelpro Orleans SOR Series High End Convector
HOW-TO: Control your Curtains with an Amazon Echo (Alexa + SmartThings Hub + Aeotec)
Poor Mans Garage Door Opener help
[RELEASE] SmartLife (H801) RGBW LED Strip Wifi Controller & Bulb
[RELEASE] Neato (Connect) V1.2.6c (Botvac Connected Series)
Schlage FE599 Lever lock, need some info on settings and apps please
Any way to list Device activities?
Newbie Stumped after 12 hours research switches and relays: set up one to Control another?
[RELEASE] Remotec ZXT-120 AC IR Controller (2015)
[RELEASE] Sonoff, Sonoff TH, S20, Dual, 4CH, POW, & Touch Device Handler & SmartApp ($5 & $10 Smart Switches)
Room Fan Control using Temperature?
Somfy blinds and zrtsi
Getting started with Core (for Dummies)
Question about connecting 12 volt LED lights
How to get an alert in case of power outage/failure?
[RELEASE] Garadget (Connect)
How are you guys "Automation-triggering" your Fibaro RGBW (confused Noob here)
Trane XL624 Code
Use Iris Keypad to trigger alarm and Door Chime?
CentraLite Keypads
Presence detection on zone level
Where to start and is ST really the right tool for me? (Home theatre project)
ZIGBEE example error
Use a relay to control Pentair LED Pool Light?
Recycle timer / repeat on off command / cycle timer?
Lutron RadioRA (version 1) and SmartThings saga. (Prologue)
Yale lock notifications
Make house look occupied when we are away?
Integration of ZWN-SC7 with SmartHub
FAQ: How do I add / delete user codes on my new Schlage Connect lock?
Need Step-by-Step Instructions for Non-Developer to Integrate Somfy ZRTSI (Model 1811265) with Smart Things
[RELEASE] Evap Cooler Thermostat
Fibaro Motion Sensor - New device-handler with all settings and auto sync feature
Hue Motion Sensor
[DISCONTINUED] Blink Camera Device Handler/SmartApp
Wall controller to use instead of Leviton VRCZ4-MOZ?
Osram/Sylvania Lightify (it works)
FAQ: Fibaro FGS 222 Relay - Installation Guide / How to for beginner
RELEASE: OSRAM Lightify Smart Dimmer Switch (button controller device handler and smart app)
Newbie help with first smartthings project: control light with motion sensor?
[RELEASE] Iris Smart Plug (3210-L) Zigbee Plug with Z-wave Repeater
Rule machine - as per the app developer, this app is no longer available for new installs, distribution, or support
Rule machine - as per the app developer, this app is no longer available for new installs, distribution, or support
[OBSOLETE] D-Link DCS-930L IP Camera DeviceType
Need help with Vision in wall 2 relay switch
Osram/Sylvania Lightify (it works)
How do I add a custom device handler?
[OBSOLETE] D-Link DCS-5020L Tilt/Pan Day/Night IP Camera DeviceType (Now With Video Streaming!)
[RELEASE] TCP Connected bulbs work with SmartThings Again!
Aspire Cooper RF9500 Device Type (basic DTH in post 6)
[Depricated] Lock Code Manager
Copy and Paste from Github.... Mimolite_garage_door_opener
Z Wave Door-Open Chime support (Philio?)
Fibaro RGBW Controller (DTH link in post 32, police light smartapp link in post 79)
Updating Temp Sensor Device
Temperature "Fibaro Motion Sensor" and SmartThings
What is the difference between Smart App and Device Type
Looking For Info on Automating My Lights
FAQ Request: Installing custom device type/device handler/smartapp
[Depricated] Lock Code Manager
Schlage or Kwikset?
Automating my home on the cheap, wired automation
Ecobee 3. I'm new :)
Kodi/XBMC light control - a (relatively) simple how-to
Adding SmartApps
Triple Gang light switch replacement (UK)
Fibaro Single Switch 2 no longer responds to status (January 2020)
Post Requests for Edge Drivers Here (community-created)
Text/SMS Message when Hub Offline?
Gradually turn off and on GE dimmers?
New to ST SmartApp Help
Newbie needing Sonoff help....Please
[Release] SHM Delay TrueExit - Create a SmartHome True Exit Delay
[RELEASE] Alarm.com Z-Wave Thermostat ADC-T2000
[RELEASE] Enerwave ZWN-RSM2 (v1 & v2) & RSM2-Plus —Smart Dual Relay Switch Module
Program Wallmote and GoControl Wireless remote switch
Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc)
Help to Connect Fabriq speaker with ST for voice alerts
Bought a hue outdoor sensor - not supported in SmartThings?
How to add a Gitup File into Smartthings - Control ISY through Smartthings
Anyway to put a sleep timer on Nest Thermostat?
Wall-Mounted 120V Button Controller for Smartthings?
Door sensors to shut down AC?
[BETA] Hank One-key and Four-key Scene Controllers (Z-Wave)
Everspring SP816
Everspring SP816
Sensibo integration
2 Random disconnects overnight: Best ways to troubleshoot?
Difference between IFTTT, Stringify, WebCore, Device Handlers and SmartApps
TBK Dual Dimmer--setting associations?
ADT SmartThings Automations?
[RELEASE] Alarm.com Z-Wave Thermostat ADC-T2000
Notifications after multiple motion sensors?
2018 ST Motion Sensors - Any reviews yet? Comparisons to previous generations?
Loking for help with Aeotec HEM ZW095 Gen 5
[BETA v0515] Hampton Bay Zigbee Ceiling Fan/Light Controller
Recommend a temperature sensor? (2017)
Virtual Device Editing
Why DH over what exists when physical device exist?
Please help with device handlers
How does ST see a glass break sensor?
[Release] Vehicle Remote Start (SmartStart) Integration
Regretting SmartThings
Just bought a schlage lock...question
Low voltage 3 wire fireplace need to hook up to zwave switch
Newbee here, looking for some help with Yale YRD240 lock
Qubino z wave relay
Garage door sensor - what's everyone here using?
Event POST Webhooks for devices
Smart Things step by steps / explanation guides?
Wireless Tags for a beginner
Chamberlain MyQ Trouble
How do you use IDE?
HOW TO Install Smart App on Raspberry Pi?
[RELEASE] MyQ Lite Door and Lamp Control (for Liftmaster/Chamberlain)
GE/Jasco Switch Wired Correctly but "Upside down"
Best way to build 3, 4, 5-ways Z-wave association with SmartThings
Updated to Android 10, now my Kwikset 910 smart lock doesn't work
[RELEASE] Remotec ZRC-90 Scene Master - Button Device Supporting 24 Unique Button Commands (see post 177 for 2021 app version)
Unable to access smartthings.developer.samsung.com Workspace
[RELEASE] Remotec ZRC-90 Scene Master - Button Device Supporting 24 Unique Button Commands (see post 177 for 2021 app version)
[RELEASE] Sleep Number SleepIQ SmartThings Integration
New zigbee device handler for EMI Han Meter
Sonoff Zigbee BasicZBR3 not saving settings
Kwikset open outside not inside
Aeotec Minimote discontinued? (2018)
GE vs Inovelli vs Zooz
Eaton Aspire Master and Accessory Association
ABC - Advanced Button Controller - Newest Edition
Hampton Bay Zigbee Fan controller
Hampton Bay Zigbee Fan controller
FAQ Dimming and turning on/off multiple lights as a group (SmartThings Classic)
[RELEASE] Xiaomi Honeywell Zigbee Smoke Detector (Beta)
Bought a hue outdoor sensor - not supported in SmartThings?
FAQ: For those that are no good with coding? (Dashboards and Rules Engines) (SmartThings Classic)
[BETA v0515] Hampton Bay Zigbee Ceiling Fan/Light Controller
Slowly raise the light brightness
Wireless Sensor Tags Integration
New to SmartThings and have a question
Newby looking for some guidance (UK)
Z-Wave RF associations
[RELEASE] GoControl Smart Wireless Light Switch WA00Z-1 (see post #79 for Nov 2020 version)
[BETA] Z-Wave Tweaker (See post #209 for new V3 app version)
LINKIND door switches
SmartThings Button added, but Alexa says the "Device is Unresponsive"
Unable to add/find multiple devices (Sengland, Wemo, Google)
SmartThings momentary push switch
The method of retrieving a device handler from Github?
Best Outdoor Temperature Sensor (2021)
[RELEASE] Fibaro Single Switch 2 FGS-213 & Double Switch 2 FGS-223
Help adjusting ramp speed on light switch (GE Embrighten)
[Release] Virtual Alexa Switch/Button
Best integrated siren/horn? (2019)
[RELEASE] Remotec ZRC-90 Scene Master - Button Device Supporting 24 Unique Button Commands (see post 177 for 2021 app version)
Temperature sensor with 0.1 precision? (EU)
[BETA] GE/Jasco Z-Wave Plus Dimmer Switch With Double-Tap
Please Help! I thought I was tech savvy until I got SmartThings
GE/Jasco ZW+ In Wall Motion Sensor (26931) Misidentified and Motion Detection Mode Change
Switching from wink (IHome? Nuheat?)
[BETA v0515] Hampton Bay Zigbee Ceiling Fan/Light Controller
Lidl Smart Home with SmartThings
One Of The Guides I Wish We'd Had
Issues With Zigbee Sensor(s) Battery State Reporting?
Expandable Zigbee Repeater Solution (With Temperature, Humidity, Pressure and Light sensors)
Eaton dimmer 3 way configuration?
Noob question re GE smart dimmers
Getting fed up. SmartThings gets worse and worse (July 2021)
I'm just gonna ask: help explain automations to someone new? (2019)
[RELEASE] Remotec ZRC-90 Scene Master - Button Device Supporting 24 Unique Button Commands (see post 177 for 2021 app version)
Need a Keypad to arm and disarm ST hub that is battery powered and wall mounted
[RELEASE] Remotec ZRC-90 Scene Master - Button Device Supporting 24 Unique Button Commands (see post 177 for 2021 app version)
Basic ST Security set up? (newbie/potential customer question) (2015)
SmartenIT ZBWS3 [2014]
FAQ: For those that are no good with coding? (Dashboards and Rules Engines) (SmartThings Classic)
FAQ: Samsung SmartThings Button Works but Wont be Discovered by Alexa
[RELEASE] Enhanced Z-Wave Garage Door Controller GD00Z-4/GD00Z-5/Linear/GoControl/Iris/Nortek Device Handler with Switch and Automated Garage Door Open/Close when People Arrive/Leave/Timer
New Smarthings Layout with 200 devices (Europe)
[RELEASE] Remotec ZRC-90 Scene Master - Button Device Supporting 24 Unique Button Commands (see post 177 for 2021 app version)
Adding Smart Apps from the new developer interface help needed
[Release] [Closed] Google Assistant Relay V1 - Google Home Audio Notifications!
[RELEASE] Nuki smart lock device handler
[BETA] GE/Jasco Z-Wave Plus Dimmer Switch With Double-Tap
[RELEASE] D-Link Camera Manager (Connect) [Requires Classic App]
FAQ: The Many Ways of Detecting Presence (2020)
Best Way to Learn Programming for the SmartThings Legacy Platform (2017) [DEPRECATED]
Getting Sonoff SNZB-01 to work locally
Alexa opening and closing garage door?
Aeotech Multisensor 6 (gen 5 zwave plus, model ZW100-A)
SimpliSafe Alarm Integration (cloud to cloud)
Installing published smartapps
Philips Hue Lux Device?
Adjusting Osram Light Temperature Through Routines?
Pre-Release of Quirky (Connect) Service Manager and 7 Devices
Real idiot here (used Hue bulbs without a hue bridge and now they don't work)
D-Link IP Camera device type (DCS-930L tested)
Anyway to remove power consumption from GE zigbee light switch history
Device handler for Fibaro heat controller
Boat Alarm System
Trying to add Osram Lightify Flex RGBW, but only coming up as "Thing"
Idea: SmartApp directory
New to the Smart Home world - Starter questions
Connecting VRCZ4-MRZ - not to be confused with VRCS (DTH in post 20)
Fibaro RGBW with ST motion sensor not working
Starting now.. and need advice
Install device handler into mobile app
How to add/install app to smartapp list
Fibaro Things - General
Is there a high temperature weather forecast tile?
Using "Hello Home" Phrases with Amazon Echo?
Is there a "guide for idiots" section somewhere?
Hue Dimmer Switch Connected to ST

Once I have created a new device type, where do I see it in the smartphone?

1 Like

You will see the new device handler (formerly called a smart device type) in the IDE, which is a developer tool. You view it through a web browser, not through the phone app.

You should have created it through the IDE as well, so you go through the same process to sign in.

Some custom device types will automatically be assigned to a new device when it is paired. These are usually zigbee devices.

For the others, you sign in to the IDE and follow the instructions in DH5 and DH6 above.

1 Like

For some reason I can’t edit the first post in this thread anymore, but the forum categories for community created smart apps and community created device types have moved.

If you are looking for community created smartapps:


And device types ( this is a brand-new subcategory, so it may take a while to get populated. Also check the regular “connected devices” subcategory for now.)


But at this point there are so many different ones that it’s going to be faster to use the quick browse lists in the community – created wiki.



@JDRoberts Incredibly helpful in understanding the SmartThings system :+1:


If I want to develop a smart app where can I get the Dummys Book (and examples to copy from) to developing these apps. I want to do more functionality of my devices and I think I need to create something. I used to be a software developer and now just manage a team of developers for work, but would love to create some for my use and then share them.

Click on the “community” link at the top of this page and then look for the “developer documentation” link at the top right.

Follow-up questions can be asked in the developer section of this forum:


1 Like

Thank you JD! I’ve been “playing around” with my Smartthings system for about 2 years. And with the help of your tutorial, I just successfully “copied/used”, my first custom SmartApp & Device Type. A BloomSky weather camera.

Now I have 3 other things to attempt.

The hardest part was finding & figuring out that “Developers” site. I wish ST’s would make all of this “stuff” easier.

Many Thanks,

1 Like

I totally agree. Although new to ST, I find working w/ SmartApps and DTHs to be extremely painful. I have read blogs that mention apps, only to search without any success in finding them. If it takes 2 YEARS to learn enough to complete the first app, then ST is going back to the store. What happened to the IFTTT feature? That’s never spoken of!

ST is very extensible. Admittedly kind of misleading when people look at what you can do versus what’s available without learning a few things. You either live within the walls, find and use the community (requires some learning), or outright learn how to code. Personally, I love the flexibility. If you’re not a coder, checkout CoRE. If you are, it’s not that tough.

SmartThings is very versatile, but definitely lacks discoverability. A lot of that is made up for by this community, which I have found to be very helpful and very active, and which can get you a quick response to most questions. :sunglasses:

The following might also be of interest:

The official blog is always interesting, but unfortunately they don’t go back and update it as things change, and things change often.

Thx JD for the link to the article. While it definitely helps to understand the v2 app, I find ST lacks overall instruction and guidance. Connection was easy and quick which excited me. All my IRIS devices linked without issue BUT the keypad. My wife wants a simple chime to sound when a door is opened and a simple interface for arming. Since I am not a Java (or Groovy) programmer, I started with searching written DTHs to support devices and Apps to integrate actions. I tried to integrate Iris Keypad (which has a lot of discussion in the commune) but there appears to be no official app to support it. I tried one from Mitch ?? that partially works. Then I hear about CoRe and unlock manager and … but cannot find the apps within the smartapps due to poor organization and search tools. This has really frustrated me with a deadline to get done by Friday. Can anyone provide simple step by step directions and links to everything needed to make an IRIS keypad activate an alarm mode and chime with door openings?

1 Like

Thanks John. I agree it takes learning more than a few things, especially the community. I have seen several blogs re CoRE but have yet to find the app. Can you provide the link?

Here you go:

CoRE and Piston Rules Engine, first design steps

If you use the magnifying glass in the upper right, you can search this thread or any thread.

EDIT: Here’s the GitHub (it’s in the thread above; https://github.com/ady624/CoRE)

That project would be off topic for this particular thread, but I have started a new thread for you and hopefully people will be able to answer your questions about door chimes there.

3 posts were merged into an existing topic: Use Iris Keypad to trigger alarm and Door Chime?

So what does it mean if there is no create button?

As long as you’re working with a Device Handler, not a SmartApp, there should be a create button at the bottom of the “from code” form.

So check to make sure you’re in the correct section of the IDE.

If you are, and you don’t see the blue button, contact support.

@JDRoberts, can you link to how to add a custom device handler or SmartApp from GitHub. I’d rather not copy/paste, but use GitHub Integration to make it easier to get notifications and update it when there is an update.

Good idea! Someone else can add it if they like, either here or in the community created wiki. :sunglasses: I rely on text-to-speech software, so I can’t really do anything with Github.

The authors of most of the very popular code have generally put installation instructions in their author threads which would cover the github piece. They still refer people over to this thread to get an explanation of the concepts, but the specific installation process may be somewhat different.

I think somebody did a thread on github integration, but I don’t remember where that is. Again I can’t read most of those posts. @tgauchat or @jody.albritton might know if there’s a write up somewhere.