FAQ: An Overview of Using Custom Code in SmartThings


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 Rule Machine which is a smartapp that is a very sophisticated rules engine. Each RM rule solves a specific problem while rule machine 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.com 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). To get there, first click on "Community" at the top right of this page, then click on "Developer Tools" in the top right of that next page.

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 official SmartThings mobile app, this new custom smartapp will appear as a choice under My SmartApps in the SmartApp section in the Marketplace.

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

To assign that SmartApp to a specific device:

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.

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. (To get there, first click on "Community" at the top right of this page, then click on "Developer Tools" in the top right of that next page.)

DT3 Choose 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.com 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.

Installing published smartapps
Schlage or Kwikset?
[WITHDRAWN] MyQ LiftMaster/Chamberlain
Ecobee 3. I'm new :)
Updating Temp Sensor Device
Almond Click DTH
SmartThings GitHub Public Repository (includes The Big Switch and other deprecated smartapps)
How to add DIM WITH ME to MySmart Apps in IDE
My SmartThings Adventure: I Opened the Box. Now What?
FAQ: For those that are no good with coding? (Dashboards and Rules Engines)
JD's Welcome FAQ
HomeSeer HS-WD100+ do you need the HomeSeer Controller? How do I connect to SmartThings Hub?
Leviton releases 5 zwave plus devices--solves low load glow problem
Excited newbie (EU)
OSRAM Lightify surface light?
Idea: SmartApp directory
Multiple Motion Sensors to control one light switch?
Device handler for Fibaro heat controller
New to the Smart Home world - Starter questions
Virtual Thermostat for radiator using Multi Sensor & Fibaro relay (help a newbie!)
Trust ZPIR-8000 Zigbee motion sensorโ€” works with smartthings?
Linking Two Z-Wave Dimmers?
Fibaro RGBW controller as a open close sensor instead of on/off?
Power Allowance For AC Units
Frustrating first experience
New Fibaro wall plug
Leviton Z Wave Plus Devices Advanced Features
Recommendations for Smart Lock
Error installing SmartApp
Presence sensor smartapp that looks at state?
[HOW TO] Add your TP-Link HS-100 Wifi outlets to SmartThings
How can I check polling of a device?
New App: Vacation Light Director
FAQ: Solution for Linear/GoControl 3-way switches? (WD500Z-1 and WT00Z-1) (Association options)
Change tile layout in device type for Aeon Multisensor 6
All lights dim dimming and illuminate gradually when powered on and off
How to you create a virtual presence with IFTTT?
New Fibaro switches FGS-213/223
Light switch to run Smartthings Routines?
Best Door Lock ? Auto open when you come home - worst door lock?
How can I set custom color sequence with ST using Fibaro RGBW controller
Is anyone working on Leviton Vizia RF +?
The Laundry Has Finished
[RELEASE] Aeon RGBW LED Bulb Advanced Device Handler
Need help with Brimate Temp&Humidity Sensor
How to know when a device goes AWOL?
Notify if lock opened with a particular code
Using a smart dimmer switch control plugin dimmer
[BETA RELEASE ROUND 2] Curb Energy Monitor Integration
[RELEASE] Initial Setup for Ecobee3 & 4, Smart-SI, EMS, Smart-02 thermostats - My Ecobee Device
FAQ: How can I manage User Codes on a Lock with SmartThings?
Fibaro dimmer 2 not reporting status
Hue Ambiance Color A19 bulb without Hue Bridge
New to Smartthings, need help
How do I set up a rule to use the chimes on my dome siren?
Have big question--how do I find and use a custom app for my lock? And what will that change?
GFCI Outlet Monitoring for Water System (Heater, Iron Curtain, Softener, etc.)
Notifications for smart lock?
[RELEASE] Smart Vent Manager - smartapp commissioned by Keen Home
Showing 0 W on HEM and Smartthing
Alarm Control Panel
Lock manager, error refreshing page or problem processing request
Smart Home Kwikset 910 complete remote locking?
Smoke Alarm or Loud Noise Sensor
Trying to use two motion sensors on one switch
Can I use a button to toggle a device on and off? Can I use conditions in scenes?
Cooper Aspire Scene Controller RFWC5 and RFWC5D Device Handler [beta release]
Looking to Disarm ST Home Monitor but 1 motion sensor still active with notificationx
UX and Content Designers needed for ST
Configuration Issues - Any Genisus up for a challenge?
[Newbie question] Nst Manager code error
How to make the my alarm duration longer? (GoControl Siren)
[RELEASE] Device Monitor - Get Notified if Devices Stop Reporting
Group Set of Cree Bulbs?
Easiest way to get an alarm on my phone when sensor is tripped?
Fibaro Dimmer 2 (FGD-212) Pairs but Doesn't Work
Guide me!, add new device Single Switch 2 FIBARO
Help for a StaplesConnect Transplant?
WeMo Switch unresponsive
Calling all community members: New SmartApp Ideas
Leviton Dimmer advanced options - how to configure?
[RELEASE] zStat Manager 2.0
Information on connecting custom hardware to the hub?
Adjusting Osram Light Temperature Through Routines?
FAQ: How zwave direct association changed with zwave plus
New with Aeotec MultiSensor 6
Auto-Lock Door Only
Linear WO15Z-1 Nuisance with LED light
Using 2 Motion Sensors To Turn Off Lights
[RELEASE] HomeSeer Dimmer and Switch (HS-WD100+ / HS-WS100+) Device Handlers
Change Parameter 11 on MIMOlite
[RELEASE] RemindR ~ donโ€™t miss an important event!
Dimmer module that can be set to ramp up
New Device - Fibaro Keyfob - 24 actions
Virtual 3-Way Switch / Dimmer
[BETA v0515] Hampton Bay Zigbee Ceiling Fan/Light Controller
Lock Polling killing battery
Security camera options
Lock Polling killing battery
How do you submit your app for approval?
Fibaro motion sensor FGMS-001 reporting as Aeon Multisensor
[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
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)
IFTTT and SmartThings (UK accounts)
RELEASE: OSRAM Lightify Smart Dimmer Switch (button controller device handler and smart app)
New Zigbee Device (Securifi Key Fob)
Hue bulb without Hue Bridge?
Aspire Cooper RF9500 Device Type (basic DTH in post 6)
Improved Fibaro Button DH
New Fibaro switches FGS-213/223
Problem with False Alarms
Want to Switch from Nexia to Smartthings, need advice
Anyone have a good routine for open/close sensors with 1 presence sensor home out of 5
How to configure a simple dimmer? (Have one dimmer device follow another)
More phones? (UK)
Getting the most out of my Schlage FE599NX
Routine linked to smart weather app?
Newbie questions... any help appreciated for conditional programming
Devices we don't have
Help? How the Hell do i install Smart apps? from code?
Dome Motion Sensor
How to guides and where to start
PROMO: DIY Smart Home Online Course for just $15
Home Decorators Ceiling Fan/Light Controller MR101Z - First Impressions
Xiaomi devices on sale (buttons/sensors/cubes)
RELEASE: OSRAM Lightify Smart Dimmer Switch (button controller device handler and smart app)
Need help with Loadsensing for GE Plug-in Wireless Dimmer
Unknown light BULBS?
Zooz Siren (ZSE33)-How to make it chime in "Home" and Alarm in "Away"?
Integration of ST into Z-Wave
OSRAM Flex Full Color Control?
Everspring ST812 Flood Sensor
Aeotech Siren "muted" when alarm triggers
United security pressure mat
[RELEASE] Aeon WallMote Dual & Quad - 2 & 4 Button
Fibaro FGPB-101-1 US The Button, Z-Wave Scene Controller
Multisensor on door + audible chime?
HomeSeer HS-WD100+ Double Tap
[ABANDONED] Fibaro Wall Plug ZW5
Bali motorized blinds
(Tutorial) PC on/off and Activity Monitor with SmartThings
When/If ... Kumo wireless sensor tag integration with SmartThings hub?
Vacation Lighting Director
How to add device with custom DTH?
Iris Smart Button
Wemo Maker Integration--help needed
Help with adding new smart app
Eaton RF9540-NAW ASPIRE integration help
Fibaro dimmers wiring question (UK)
Newbie needing help with particle photon blinds
Where do i start?
[RELEASE] Remotec ZRC-90 Scene Master - Button Device Supporting 24 Unique Button Commands
Fibaro, parameter settings?
Osram Lightify Smart Dimmer "talk" to a GE Smart Dimmer?
Cannot dim down to 1%
Osram Lightify Smart Dimmer "talk" to a GE Smart Dimmer?
PetSafe SmartDoor Model HPA15-13808 (DTH in post 27)
Thinking Cleaner 2.x (Roomba Control)
When will Smart things and Nest get along?
Help to Start--How do I add GoControl Devices to my System?
[RELEASE] SmartLife (H801) RGBW LED Strip Wifi Controller & Bulb
PetSafe SmartDoor Model HPA15-13808 (DTH in post 27)
New to Smartthings and would like to know how to get echo to work with linear garage door opener
Wall Switch Controlling Multiple Lamps?
Fingerprints - What are they?
Smart Lighting Not Working
Compatibility with Z-wave
Iris Smart Plug, IDE, my first device handler... Please help :)
New Guy Getting Started
When is smartThings hub going to integrate Lutron?
[RELEASE] Virtual / Physical Switch Sync
Trying to add Osram Lightify Flex RGBW, but only coming up as "Thing"
RELEASE: OSRAM Lightify Smart Dimmer Switch (button controller device handler and smart app)
Change 3 way switch to 4 way with smart dimmers
Control GE Z-wave fan with a single push button?
[RELEASE] Neato (Connect) V1.2.1e (Botvac Connected Series)
Linking two locks?
Alternative to Enerwave Module Switch?
New user questions from someone used to Vera
Will it work with my existing philips dynalite
Does ST allow setting user codes for kwikset 914 lock?
Battery Operated 3 Toggle Switch for wallmount or table top use (SmartenIT ZBWS3B), Long Install FAQ
Step to add an z-wave device WD100?
Adding Dragon Tech/HomeSeer WD-100 to ST Hub
Older Leviton devices
2 doors open (not 1) triggers immediate Echo/Google voice warning?
Though off in the app, my bulbs turn on when there's an outage and power's restored
Fibaro RGBW Controller (DTH link in post 32, police light smartapp link in post 79)
How to set up a notification with event triggered by two device sequentially?
Help with camera
Connect door sensor to socket?
Garden Hue: New smartapp to change hue color on a cycle or random, sunset to sunrise
How to install community created smart app
Automation Dim Below 10%?
[UPDATED] Osram Lightify RGBW A19/BR30 US version (HA) DTH
Mi-Light GU10
[RELEASE] Remotec ZRC-90 Scene Master - Button Device Supporting 24 Unique Button Commands
[RELEASE] Simple Device Viewer
Virtual Motion Detector - Where do I start?
Simple Manual Scenes - Improve Phrases/Routines!
Play a message remotely on sensor trigger through Alexa Voice
How to set up home to randomly turn lights on and off when on vacation?
Set Color of Hue Bulbs without turning on?
How can I have my Aeron Siren give a short beep when a door is opened or closed?
Easy setup for Movie lighting using Hues?
Motion sensor tripped by bugs, animals...beam sensor?
What is a Device Handler / Device Type Handler / DTH
New App: Vacation Light Director
Is there a SmartApp to open/close Add-A-Motor curtains?
Oh GOD, a newbee question! (Iris Smart Fob)
[RELEASE] Remotec ZXT-120 AC IR Controller (2015)
A Short Intro to Scheduling/Device Control/Rules in SmartThings
Smart Home Monitor - open status improvements
Using an open/close sensor to send notice if open at time X
[RELEASE] Sonoff, Sonoff TH, S20, Dual, 4CH, POW, & Touch Device Handler & SmartApp ($5 & $10 Smart Switches)
Newbie I don't get routines, all I want to do is switch a sonos "doorbell" off
Triggering Sonos after motion has not been detected for awhile
[RELEASE] Aeon DSC17103 Micro Double Switch
Turning Motion Detection On or Off on Amcrest Camera
Need to reset Aeon outlet almost daily
Amateur Questions
Fibaro Dimmer 2 Integration
Presence sensors: how do you avoid smartthings from thinking you're home when you're not?
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
CentraLite Keypads
Use Iris Keypad to trigger alarm and Door Chime?
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?
[RELEASE] Evap Cooler Thermostat
Need Step-by-Step Instructions for Non-Developer to Integrate Somfy ZRTSI (Model 1811265) with Smart Things
FAQ: The Many Ways of Detecting Presence
[BETA] Hue (Re)Connect - with scene handling
[RELEASE] D-Link Camera Manager (Connect) - Add your D-Link IP Cameras to SmartThings! Video Streaming, Image Capture, Motion Detection and more
General zwave compatibility?
Looking for instructions - Adding Community App
Fibaro Motion Sensor - New device-handler with all settings and auto sync feature
Where to buy
Getting Started - What's popular or cool? SmartApps, Device Types, 3rd party apps, IDE, etc
SmartThings Hub & Motion Sensor, IFTTT & Lutron Caseta
Ceiling Fans & Switches
Publish SmartApps for private users
MultiChannel Association (For products like MCO HOME Switches)
[RELEASE] Manage TV/Game Console Access for your kids
[RELEASE] Smart Sump Pump Monitor based on dry/wet seasons and weather conditions
[RELEASE] Keenect V1.2.0, optional separate vo settings for cooling, vent obstruction auto clear
Changing Device Handler after Install
ZWN-SC7 Enerwave 7 Button Scene Controller
Cooper Aspire 4way controlling Hue bulbs
Best Motion Sensor
Dimming my lights with GE-Z Wave Smart Dimmer 12724 issue
How do you group lights so they dim together?
Aeon Labs Siren as door chime
FAQ Dimming and turning on/off multiple lights as a group
Chime alert - Apparently SmartThings doesn't have an answer for this?
GE Link Bulb automation not working
Automating En-Suite
[DISCONTINUED] Blink Camera Device Handler/SmartApp
New Virtual Thermostat With Device
Navigating this community - finding how-to's & ideas (newbies / dummy's guide to extending & leveraging ST)
Go Control battery thermostat partially works
[Alpha] Lutron Connected Bulb Remote
Smart lighting tweak - honor me turning the switch on
[RELEASE] 3 Speed Ceiling Fan Thermostat
Multiple users for prox sensing? Change from Iris?
Will these items work w/SmartThings - not seeing in the official list
Osram/Sylvania Lightify (it works)
Control of 2 dimmers with one app?
New Official Integration: Samsung Multiroom Audio
OMG - Accidentally blew it ALL away!
[Release] Z-Wave.me, Popp, & Devolo Wireless wall Controller & Key Fob (EU), with button controller dimming apps and CoRE integration
App to Manage Shop / Garage Dust Collector / Vacuum System
Double Tripping Sensor before Alarm Sounds?
Is there anyway to assign groups of lights within the app?
Devolo Home Control Kit
Insteon integration?
Honeywell WiFi Thermostat Setup Guide
Hue bulb without Hue Bridge?
FAQ: Fibaro FGS 222 Relay - Installation Guide / How to for beginner
Z-Wave Smart Fan Control Custom Device Type
Fibaro 2 Dimmer (212 not 211)
New to Smartthings and would like to know how to get echo to work with linear garage door opener
SwanOne Outlet (UK) Zigbee
Complete newbie wanting to learn how to install new device handler from published code
FAQ: For those that are no good with coding? (Dashboards and Rules Engines)
Quick Integration Help Needed
Working MIMOlite Device Type with Sensor
Yale locks - Remotely change codes?
Sonos and Hue
Any way to get a routine to dim to 15 percent?
Monitor/Control your Lights/Switches based on the power consumption and illuminance of your home
Osram Lightify and changing color temp question
Newbie help with first smartthings project: control light with motion sensor?
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?
Removal of Smartapps always has to be by emailing support?
New to smartthings, smart lighting apps are lacking
[BETA] Hue (Re)Connect - with scene handling
Adding punctuation on a line breaks the preview of the linked topic
Motion sensor inactivity turns lights off too early (2016 discussion)
Smartthings Roomba Control via Thinking Cleaner Version 1.5.1 Released
Writing code
FAQ: Github Integration How to Add and Update from Repositories
Link Cree LED bulbs
New Member
CentraLite Keypads
Maybe I don't need Rule Machine after all
Newbie just starting out
Fibaro motion sensor grrrrr
Bloomsky Weather Station
Connecting Hue directly to ST? Not yet configured listed
No smart apps have been added?
Potential SC/Wink user looking to convert. Any Quirky support?
[RELEASE] Iris Smart Plug (3210-L) Zigbee Plug with Z-wave Repeater
Looking For Info on Automating My Lights
Aeotech Multisensor 6 (gen 5 zwave plus, model ZW100-A)
SimpliSafe Alarm Integration (cloud to cloud)
Kodi/XBMC light control - a (relatively) simple how-to
Philips Hue Lux Device?
Pre-Release of Quirky (Connect) Service Manager and 7 Devices
Automating my home on the cheap, wired automation
D-Link IP Camera device type (DCS-930L tested)
Anyway to remove power consumption from GE zigbee light switch history
What is the difference between Smart App and Device Type
Buy now or wait?
[Depricated] Lock Code Manager
FAQ Request: Installing custom device type/device handler/smartapp
Adding SmartApps
Copy and Paste from Github.... Mimolite_garage_door_opener
[Depricated] Lock Code Manager
Temperature "Fibaro Motion Sensor" and SmartThings
Fibaro RGBW Controller (DTH link in post 32, police light smartapp link in post 79)
Z Wave Door-Open Chime support (Philio?)
Starting now.. and need advice
Install device handler into mobile app
Fibaro Things - General
Is there a high temperature weather forecast tile?
Aspire Cooper RF9500 Device Type (basic DTH in post 6)
Using "Hello Home" Phrases with Amazon Echo?
Is there a "guide for idiots" section somewhere?
Hue Dimmer Switch Connected to ST
Smart Power Outlet, configure/disable energy reporting?
Aeon Doorbell Type Beta
Android 2.0 Discussion
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?
[OBSOLETE] D-Link DCS-930L IP Camera DeviceType
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
[RELEASE] Enhanced Linear GD00Z-4/GD00Z-5/GoControl/Iris/others Device Handler with Switch and Automated Garage Door Open/Close when People Arrive/Leave
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?
[OBSOLETE] D-Link DCS-5020L Tilt/Pan Day/Night IP Camera DeviceType (Now With Video Streaming!)
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?
Basic ST Security set up? (newbie/potential customer question)
OSRAM E27 Edison Screw A60 ES 10W LED Lightify RGB Light Bulb
Osram/Sylvania Lightify (it works)
Wireless, Battery Operated Wall Switch
If you wrote a device type you want to share, read this! ๐Ÿ˜Ž
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?
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!
Rule machine - as per the app developer, this app is no longer available for new installs, distribution, or support
CentraLite Keypads
CentraLite Keypads
HELP! For a non techie, how do I add devices not supported my Smartthings
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
Hub v2 Siren Lost
Quirky Tripper Support?
PlantLink-DirectMonitor 1.2 Released
PlantLink Monitor 2.0 Released
Weather Panel 2.2: Released
Multi-sensor 70 degrees WAS 70 degrees - same values
Rule machine - as per the app developer, this app is no longer available for new installs, distribution, or support
How to install an app (for Fiabaro Motion Sensor)
Iris Smart Button
New App: Control lighting in great detail with button devices (Aeon Minimote, Enerwave ZWN-SC7)
Help with SmartThings and Lightify bulb
Can I create a new device and pull from a existing?
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
New to GitHub & smartapps
New Device Type Handler for an IP addressable device: How to add your own device type to SmartThings from code
Device handler question
Battery Operated 3 Toggle Switch for wallmount or table top use (SmartenIT ZBWS3B), Long Install FAQ
Install and integration question (Samsung Connect and Homeseer Switches)
Best Way to Learn Programming for the SmartThings Platform
Some general questions about zigbee compatibility and repeaters
Confused about SmartThings--how do I use the code?
Just wanted to say - Thank-you, Community!
Soffit rgbw strip lighting advice (UK)
Zen Thermostat Battery Error
Leak Gopher Valve only works as a valve requiring a leak?
Several sensors unavailable, yet no notifications of this, and system says "everything is ok"
Entry/Exit delay for SHM
Crawl space temperature sensor
Old thread: please delete
Device wrong Motion Listed as Door Sensor
Sensibo integration
Best way to control ceiling fan with lights from always on power (Honeywell 40015 receiver/remote)
Philips Hue with ST
New to Smartthings, help needed
Outlet Controlled by Temp and Garage Door Sensor
Holy Moly - has SmartThings come a long way
TP-LINK HS110 Smart Plug w/ Energy Monitoring, Wi-Fi Enabled
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
How to? Auto Door Lock after Unlock (Goodnight)
Battery level kwickset 914 not reporting
Run routines through Alexa
Fibaro RGBW with ST motion sensor not working
Real idiot here (used Hue bulbs without a hue bridge and now they don't work)
(Martin Jersonsky) #2

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


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.

OSRAM E27 Edison Screw A60 ES 10W LED Lightify RGB Light Bulb

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.


(Dale C) #5

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

(Mass Imo) #6

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:


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,


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!

(John) #13

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?

Use Iris Keypad to trigger alarm and Door Chime?

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?

(John) #17

Here you go:


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.

(Tim Slagle) #19

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

(Jeffrey Baclaski) #20

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.

(Scott) #22

@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 @jodyalbritton might know if there's a write up somewhere.